:root {
  --bg: #0a0a0f;
  --surface: #15121c;
  --line: #4a2a78;
  --text: #ede7f6;
  --text-sub: #b79ced;
  --accent: #8b3fd9;
  --accent-hover: #7a34c2;
  --accent-text: #a061e0;
  --on-accent: #ede7f6;
  --glow: color-mix(in srgb, var(--accent) 10%, transparent);
}
:root {
  --radius: 4px;
  --radius-pill: 999px;

  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --gutter: max(clamp(1.25rem, 4vw, 3rem), env(safe-area-inset-left), env(safe-area-inset-right));
  --page-max: 76rem;
  --inline: max(var(--gutter), (100% - var(--page-max)) / 2);
  --header-h: 3.5rem;
  --hero-pad-top: clamp(1.5rem, 4vw, 2.5rem);
  --hero-pad-bottom: clamp(2rem, 5vw, 3rem);
  --measure: 34em;
  --section-space: clamp(4.5rem, 14vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (min-width: 48em) {
  html { font-size: 106.25%; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.9;
  letter-spacing: .04em;
  font-feature-settings: "palt" 0;
  overflow-wrap: anywhere;
  line-break: strict;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

.skip-link {
  position: absolute; left: var(--inline); top: -100%;
  z-index: 20; padding: .5rem 1rem; background: var(--text); color: var(--bg);
}
.skip-link:focus { top: .5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 3.25rem; padding: .75rem 1.5rem;
  font-weight: 700; letter-spacing: .08em; text-decoration: none;
  border-radius: var(--radius);
  -webkit-tap-highlight-color: transparent;
}
.btn--dm { background: var(--accent); color: var(--on-accent); }
.btn--dm:hover { background: var(--accent-hover); }
.btn--dm:active { transform: translateY(1px); }
.btn--compact { min-height: 2.75rem; padding: .5rem 1rem; font-size: .875rem; }

.btn__icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
}
.btn__icon circle:last-child { fill: currentColor; stroke: none; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
  padding: .375rem var(--inline);
  padding-top: max(.375rem, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
}
.site-header__brand {
  font-family: var(--font-display);
  font-size: 1.0625rem; letter-spacing: .12em; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.hero {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100svh - var(--header-h));
  padding: var(--hero-pad-top) var(--inline) var(--hero-pad-bottom);
  overflow: hidden;
  isolation: isolate;
}
.hero__visual {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .9;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, var(--glow), transparent 70%),
    linear-gradient(to bottom, color-mix(in srgb, var(--bg) 0%, transparent) 35%, color-mix(in srgb, var(--bg) 92%, transparent) 78%);
}

.hero__catch {
  justify-self: start; align-self: end;
  margin: 0 0 2rem; padding-top: 1rem;
  max-width: 14em;
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(2.1rem, 8.5vw, 3.5rem);
  line-height: 1.55;
  letter-spacing: .04em;
  background: linear-gradient(var(--accent), var(--accent)) left top / 2.5rem 2px no-repeat;
  text-shadow: 0 0 .2em var(--bg), 0 0 .45em var(--bg), 0 0 .9em var(--bg), 0 0 1.5em var(--bg), 0 0 2.4em var(--bg);
}
.hero__catch-seg { display: inline-block; max-width: 100%; }
.hero__catch-em { color: var(--accent-text); }

.hero__body { max-width: var(--measure); }
.hero__name { position: relative; margin: 0 0 1.5rem; }
@media (min-width: 30em) {
  .hero__name { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .25rem .75rem; }
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: .1em;
}
.hero__subtitle {
  display: block; margin-top: .35rem;
  font-family: var(--font-body); font-weight: 400;
  font-size: 1rem; letter-spacing: .12em; color: var(--text-sub);
}
@media (min-width: 48em) { .hero__subtitle { font-size: .875rem; } }
.hero__badge {
  position: absolute; top: .35rem; right: 0;
  margin: 0; padding: .15rem .65rem;
  border: 1px solid var(--accent-text);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--accent-text);
  font-size: .875rem; font-weight: 700;
  line-height: 1.6; letter-spacing: .08em;
  white-space: nowrap;
}
@media (min-width: 30em) { .hero__badge { position: static; margin-top: .35rem; } }
.hero__lead { margin: 0 0 1.5rem; line-height: 1.8; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 1rem; }
.hero .btn--dm { width: 100%; }
.hero__guide { width: 100%; }
@media (min-width: 30em) { .hero .btn--dm, .hero__guide { width: auto; } }

.hero__info {
  display: grid; gap: .25rem;
  margin: 0; padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}
.hero__info div { display: flex; gap: 1rem; }
.hero__info dt { flex: none; color: var(--text-sub); }
.hero__info dd { margin: 0; }

.style-band {
  position: relative;
  padding: .875rem 0;
  border-block: 1px solid var(--line);
}
.style-band__list {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 0; padding: 0 var(--inline); list-style: none;
}
.style-band__viewport { display: none; }
@media (prefers-reduced-motion: no-preference) {
  [data-motion="on"] .style-band__list {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap; border: 0;
  }
  [data-motion="on"] .style-band__viewport {
    display: block;
    overflow-x: auto; overflow-y: hidden;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    cursor: grab;
    user-select: none; -webkit-user-select: none;
  }
  [data-motion="on"] .style-band__viewport::-webkit-scrollbar { display: none; }
  [data-motion="on"] .style-band__viewport.is-dragging { cursor: grabbing; }
  [data-motion="on"] .style-band::before,
  [data-motion="on"] .style-band::after {
    content: ""; position: absolute; top: 0; bottom: 0; z-index: 1;
    width: 12%; pointer-events: none;
  }
  [data-motion="on"] .style-band::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
  [data-motion="on"] .style-band::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
}
.style-band__track { display: flex; width: max-content; will-change: transform; }
.style-band__group {
  display: flex; flex: none;
  margin: 0; padding: 0; list-style: none;
}
.style-band__group .style-band__item { margin-right: .5rem; }
.style-band__item {
  white-space: nowrap;
  padding: .25rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--accent-text);
  font-size: .875rem;
  line-height: 1.6;
  letter-spacing: .06em;
}

.hero__terms {
  display: grid; gap: .35rem;
  margin: 1.5rem 0 0; padding: .875rem 1rem;
  list-style: none;
  border-left: 2px solid var(--accent);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  font-size: 1rem;
  line-height: 1.7;
}
.hero__terms li { position: relative; padding-left: 1.1em; }
.hero__terms li::before {
  content: ""; position: absolute; left: 0; top: .75em;
  width: .45em; height: .45em; border-radius: 50%;
  background: var(--accent-text);
}
.intro { padding-top: 2.5rem; }
.intro > * { max-width: var(--measure); }

@media (min-width: 48em) {
  .hero__catch, .hero__body { justify-self: center; width: 100%; max-width: 40rem; }
}
@media (min-width: 64em) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: end; }
  .hero__catch { font-size: clamp(2.5rem, 4.5vw, 3.5rem); }
}

.page { padding: 1.5rem var(--inline) 0; }
.page > :where(p, ul, ol, dl, .faq__list) { max-width: var(--measure); }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; font-size: .875rem; color: var(--text-sub); }
.breadcrumb__list li + li::before { content: "›"; margin-right: .5rem; color: var(--text-sub); }
.breadcrumb__list a { display: inline-block; padding: .5rem 0; color: var(--accent-text); text-underline-offset: .2em; }
.breadcrumb__list [aria-current="page"] { padding: .5rem 0; }
.page__title {
  margin: 0 0 2rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  line-height: 1.4;
  letter-spacing: .12em;
}
.page__section { margin-top: 3rem; max-width: var(--measure); }
.page__section:first-of-type { margin-top: 0; }
.page__section > p { margin: 0 0 1rem; }
.page__heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 5vw, 1.625rem);
  line-height: 1.5;
  letter-spacing: .08em;
}
.page__list { display: grid; gap: .75rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.page__list li { position: relative; padding-left: 1.25em; }
.page__list li::before { content: ""; position: absolute; left: 0; top: .8em; width: .45em; height: .45em; border-radius: 50%; background: var(--accent-text); }
.page a:not(.btn), .page-link a { color: var(--accent-text); text-underline-offset: .2em; }
.page-link { margin: 1.5rem 0 0; }
.page-link a { display: inline-block; padding: .5rem 0; }
.page__heading { scroll-margin-top: calc(var(--header-h) + 1rem); }
.page__section { scroll-margin-top: calc(var(--header-h) + 1rem); }

.section {
  padding: var(--section-space) var(--inline) 0;
}
.section > :where(p, ul, ol, dl) { max-width: var(--measure); }
.section__title {
  margin: 0 0 1.5rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 6vw, 2.125rem);
  line-height: 1.4;
  letter-spacing: .12em;
}
.section__pending { color: var(--text-sub); }

.site-footer {
  margin-top: var(--section-space);
  padding: 2rem var(--inline) max(2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--text-sub);
  text-align: center;
}
.site-footer__copy { margin: 0; }

.about__lead {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 2;
  letter-spacing: .08em;
}
.about__grid {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}
@media (min-width: 64em) {
  .about__grid { grid-template-columns: repeat(2, minmax(0, var(--measure))); column-gap: 4rem; }
}
.about__subtitle {
  margin: 0 0 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .12em;
}
.about__note { margin: 1.25rem 0 0; color: var(--text-sub); font-size: 1rem; }

.styles { display: grid; gap: 1.5rem; margin: 0; }
.styles__item { padding-left: 1rem; border-left: 2px solid var(--accent); }
.styles__item dt {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: .1em;
}
.styles__item dd { margin: .25rem 0 0; color: var(--text-sub); }

.hygiene { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.hygiene li { position: relative; padding-left: 1.25em; }
.hygiene li::before {
  content: ""; position: absolute; left: 0; top: .85em;
  width: .5em; height: 1px; background: var(--text-sub);
}

.artists__list {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.artist {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
@media (min-width: 40em) {
  .artists__list { grid-template-columns: minmax(0, 44rem); }
}
.artist {
  display: grid;
  grid-template-columns: minmax(6.5rem, 34%) minmax(0, 1fr);
  column-gap: 1.25rem;
  align-items: start;
}
.artist__photo { grid-row: span 4; }
.artist__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--surface);
  border-radius: 2px;
}
.artist:not(:has(> .artist__photo)) { grid-template-columns: minmax(0, 1fr); }
.artist__photo--real { border-radius: 1rem; }
.artist__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .14em;
}
.artist__specialty { margin: .25rem 0 0; color: var(--accent-text); font-size: 1rem; letter-spacing: .06em; }
.artist__bio { margin: .75rem 0 0; }
.artist__link { margin: .75rem 0 0; }
.artist__link a { display: inline-block; padding: .5rem 0; color: var(--accent-text); text-underline-offset: .2em; }
@media (min-width: 40em) {
  .artist { grid-template-columns: 12rem minmax(0, 1fr); column-gap: 1.75rem; padding: 1.75rem; }
  .artist__photo { grid-row: span 4; }
}

.works__group { margin-top: 2.5rem; }
.works__heading {
  margin: 0;
  font-size: 1.125rem;
  letter-spacing: .08em;
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  max-width: 60rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.works__grid > li:first-child:nth-last-child(2n + 1) { grid-column: span 2; }
@media (min-width: 40em) {
  .works__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
  .works__grid > li:first-child:nth-last-child(2n + 1) { grid-column: auto; }
}
@media (min-width: 64em) {
  .works__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.works__figure { margin: 0; }
.works__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin: .375rem 0 0;
  padding: 0;
  list-style: none;
}
.works__tags li {
  padding: 0 .5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-sub);
  font-size: .75rem;
  line-height: 1.6;
}
.works__caption { margin-top: .375rem; color: var(--text-sub); font-size: .875rem; line-height: 1.6; }
.works__item { display: block; border-radius: 2px; }
.works__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--surface);
  border-radius: 2px;
}
.works a:not(.works__item):not(.btn) { color: var(--accent-text); text-underline-offset: .2em; }

.works { position: relative; }
.works__group { position: relative; isolation: isolate; }
.works__group::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -1rem -1rem -1.25rem;
  border-radius: 2px;
}
.works__group--dark::before {
  background:
    radial-gradient(ellipse 85% 45% at 50% 0%, rgb(201 178 124 / .12), transparent 72%),
    radial-gradient(ellipse 110% 55% at 50% 105%, rgb(140 130 120 / .14), transparent 70%),
    linear-gradient(#08070a, #0d0b0f);
  box-shadow: inset 0 0 0 1px rgb(201 178 124 / .22), inset 0 0 3.5rem rgb(0 0 0 / .55);
}
.works__group--dark .works__heading {
  color: #d3c08f;
  font-family: var(--font-display);
  letter-spacing: .2em;
}
.works__group--dark .works__heading::after {
  content: ""; display: block; height: 1px; margin-top: .6rem;
  background: linear-gradient(to right, #8c7545, rgb(140 117 69 / 0));
}
.works__group--dark .works__item img {
  border: 1px solid rgb(201 178 124 / .3);
  filter: saturate(.9) contrast(1.04);
}
.works__group--dark .works__caption { color: #b3a998; letter-spacing: .06em; }
.works__group--color::before {
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgb(160 97 224 / .30), transparent 72%),
    radial-gradient(ellipse 65% 50% at 92% 100%, rgb(255 140 200 / .20), transparent 72%),
    linear-gradient(#150f22, #1d1230);
  box-shadow: inset 0 0 0 1px rgb(183 156 237 / .28);
}
.works__group--color .works__heading { color: #f3c9ff; }
.works__group--color .works__heading::before { content: "✦"; content: "✦" / "";  margin-right: .5em; color: #ff9bd5; }
.works__group--color .works__item img { border: 1px solid rgb(183 156 237 / .35); border-radius: 6px; }

html:has(.lightbox[open]) { overflow: hidden; }
.lightbox {
  width: min(100% - 2rem, 48rem, 100vh - 9rem);
  width: min(100% - 2rem, 48rem, 100svh - 9rem);
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}
.lightbox::backdrop { background: color-mix(in srgb, var(--bg) 94%, transparent); }
.lightbox__figure { margin: 0; padding-top: 3.5rem; }
.lightbox__img {
  width: 100%;
  object-fit: contain;
}
.lightbox__caption { margin-top: .75rem; color: var(--text-sub); font-size: 1rem; text-align: center; }
.lightbox__close {
  position: absolute; top: 0; right: 0;
  min-width: 3rem; min-height: 3rem; padding: .5rem 1rem;
  border: 1px solid var(--line); border-radius: 2px;
  background: var(--bg); color: var(--text);
  font: inherit; letter-spacing: .08em;
  cursor: pointer;
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lightbox-in .2s ease-out; }
}
@keyframes lightbox-in {
  from { opacity: 0; transform: scale(.98); }
  to   { opacity: 1; transform: none; }
}

.price-table {
  width: 100%;
  max-width: 44rem;
  margin-top: 2rem;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}
.price-table tr { border-bottom: 1px solid var(--line); }
.price-table th,
.price-table td { display: block; padding: 0; text-align: left; vertical-align: top; }
.price-table th {
  padding-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: .1em;
}
.price-table td { padding: .25rem 0 1.25rem; color: var(--text-sub); }
.price-table__amount {
  display: block;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 40em) {
  .price-table th,
  .price-table td { display: table-cell; padding: 1.5rem 0; }
  .price-table th { width: 11em; padding-right: 1.5rem; }
}
.price-note { margin: .75rem 0 0; font-size: .875rem; color: var(--text-sub); }
.price-sizes { display: grid; gap: .25rem; margin: 0; }
.price-sizes div { display: flex; justify-content: space-between; gap: 1rem; max-width: 20rem; }
.price-sizes dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.flow__steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.flow__step {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.75rem 3.5rem;
}
.flow__step::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border: 1px solid var(--accent-text);
  border-radius: 50%;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1;
}
.flow__step:not(:last-child)::after {
  content: "";
  position: absolute; left: calc(1.125rem - .5px); top: 2.75rem; bottom: .5rem;
  width: 1px;
  background: var(--line);
}
.flow__step-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 2.25rem;
  letter-spacing: .1em;
}
.flow__step p { margin: .25rem 0 0; color: var(--text-sub); }

.flow__notice {
  margin: .5rem 0 0;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--accent);
  background: var(--surface);
}

.dm-template {
  max-width: 36rem;
  margin-top: 3rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.dm-template__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .12em;
}
.dm-template__lead { margin: .25rem 0 1rem; color: var(--text-sub); font-size: 1rem; }
.dm-template__text {
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  white-space: pre-wrap;
  -webkit-user-select: text;
  user-select: text;
}
.dm-template__actions {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: 1rem;
}
.dm-template__actions .btn { flex: 1 1 16rem; white-space: nowrap; }
.dm-template__status {
  min-height: 1.9em;
  margin: .75rem 0 0;
  color: var(--accent-text);
  font-size: 1rem;
}

.btn--ghost {
  border: 1px solid var(--text-sub);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
}
.btn--ghost:hover { border-color: var(--text); }
.btn--ghost:active { transform: translateY(1px); }
.btn[hidden] { display: none; }

.faq__list { max-width: 44rem; margin-top: 2rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  position: relative;
  display: block;
  padding: 1.125rem 2.5rem 1.125rem 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: .08em;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before,
.faq__q::after {
  content: "";
  position: absolute; right: .25rem; top: 50%;
  width: .875rem; height: 1px;
  background: var(--accent-text);
}
.faq__q::after { transform: rotate(90deg); }
.faq__item[open] > .faq__q::after { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .faq__q::after { transition: transform .2s ease-out; }
}
.faq__a { padding: 0 0 1.5rem; color: var(--text-sub); }
.faq__a p { margin: 0; }
.faq__a ul { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.faq__a ul + p { margin-top: .75rem; }
.faq__a li { position: relative; padding-left: 1.25em; }
.faq__a li::before {
  content: ""; position: absolute; left: 0; top: .95em;
  width: .5em; height: 1px; background: var(--text-sub);
}

.access__layout { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 48em) {
  .access__layout { max-width: 36rem; margin-inline: auto; }
}
.access__info { display: grid; margin: 0; border-top: 1px solid var(--line); }
.access__row {
  display: grid;
  grid-template-columns: 5.5em minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.access__row dt { color: var(--text-sub); }
.access__row dd { margin: 0; }
.access__route { display: block; margin-top: .375rem; color: var(--text-sub); font-size: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

main > section[id] { scroll-margin-top: var(--header-h); }
.section__title, .faq__item { scroll-margin-top: calc(var(--header-h) + 1rem); }

.site-nav { margin-left: auto; }
.site-nav__toggle {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  cursor: pointer;
  list-style: none;
  border-radius: 2px;
}
.site-nav__toggle::-webkit-details-marker { display: none; }
.site-nav__bars,
.site-nav__bars::before,
.site-nav__bars::after {
  display: block;
  width: 1.25rem; height: 1px;
  background: var(--text);
}
.site-nav__bars { position: relative; }
.site-nav__bars::before,
.site-nav__bars::after { content: ""; position: absolute; left: 0; }
.site-nav__bars::before { top: -.4rem; }
.site-nav__bars::after { top: .4rem; }
.site-nav__menu[open] .site-nav__bars { background: transparent; }
.site-nav__menu[open] .site-nav__bars::before { top: 0; transform: rotate(45deg); }
.site-nav__menu[open] .site-nav__bars::after { top: 0; transform: rotate(-45deg); }

.site-nav__list {
  position: absolute; left: 0; right: 0; top: 100%;
  margin: 0;
  padding: .5rem var(--inline) 1rem;
  list-style: none;
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-nav__list a {
  display: block;
  padding: .75rem 0;
  text-decoration: none;
  letter-spacing: .1em;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
}
.site-nav__list li:last-child a { border-bottom: 0; }
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: var(--accent-text); }

@media (min-width: 64em) {
  .site-nav__toggle { display: none; }
  .site-nav__menu::details-content { content-visibility: visible; display: contents; }
  .site-nav__list {
    position: static;
    display: flex; gap: clamp(.75rem, 1.6vw, 1.5rem);
    padding: 0;
    background: none; border: 0;
    font-size: .875rem;
  }
  .site-nav__list a { padding: .5rem 0; border: 0; white-space: nowrap; }
}

.site-footer { text-align: left; padding-top: var(--section-space); }
.site-footer__cta { max-width: var(--measure); margin-bottom: 4rem; color: var(--text); }
.site-footer__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  line-height: 1.6;
  letter-spacing: .1em;
}
.site-footer__lead { margin: 0 0 1.75rem; }
.site-footer__cta .btn--dm { width: 100%; }
@media (min-width: 30em) { .site-footer__cta .btn--dm { width: auto; } }
.site-footer__alt { margin: 1.25rem 0 0; color: var(--text-sub); font-size: 1rem; }
.site-footer__alt a { color: var(--accent-text); text-underline-offset: .2em; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.site-footer__links a { display: inline-block; padding: .5rem 0; color: var(--text-sub); text-underline-offset: .2em; }
.site-footer__links a:hover, .site-footer__links a[aria-current="page"] { color: var(--accent-text); }
.site-footer__copy { padding-top: 1.5rem; border-top: 1px solid var(--line); }

.sticky-dm {
  position: fixed; z-index: 9;
  left: 0; right: 0; bottom: 0;
  padding: .75rem var(--gutter) max(.75rem, env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
}
.sticky-dm__btn { width: 100%; }
.sticky-dm.is-hidden { visibility: hidden; opacity: 0; transform: translateY(1rem); }
@media (prefers-reduced-motion: no-preference) {
  .sticky-dm { transition: opacity .2s ease-out, transform .2s ease-out, visibility .2s; }
}
@media (min-width: 48em) {
  .sticky-dm { display: none; }
}
@media (max-width: 47.99em) {
  body:has(.sticky-dm:not([hidden])) { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}
html:has(.lightbox[open]) .sticky-dm { visibility: hidden; }

.site-header__brand { flex: 0 1 auto; min-width: 0; }
.site-header .btn--dm,
.site-nav { flex: none; }
.site-header .btn--dm { white-space: nowrap; }
@media (max-width: 29.99em) {
  .site-header { gap: .5rem; }
  .site-header__brand { font-size: 1rem; letter-spacing: .08em; }
  .site-header .btn--compact { padding-inline: .75rem; }
}

.not-found-page { display: flex; flex-direction: column; min-height: 100svh; }
.not-found { flex: 1 0 auto; }
.not-found-page .site-footer { margin-top: var(--section-space); padding-top: 2rem; }
.not-found-page .site-footer__copy { padding-top: 0; border-top: 0; }
.not-found__alt { margin: 1.25rem 0 0; color: var(--text-sub); font-size: 1rem; }
.not-found__alt a { color: var(--accent-text); text-underline-offset: .2em; }
.phrase { display: inline-block; max-width: 100%; }
.nobr { white-space: nowrap; }
a .phrase { text-decoration: underline; text-underline-offset: .2em; }
.not-found__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.not-found__actions .btn { flex: 1 1 14rem; white-space: nowrap; text-decoration: none; }

@media (forced-colors: active) {
  .works__group::before { border: 1px solid CanvasText; background: none; box-shadow: none; }
}

@property --bg { syntax: "<color>"; inherits: true; initial-value: #0a0a0f; }
@property --surface { syntax: "<color>"; inherits: true; initial-value: #15121c; }
@property --line { syntax: "<color>"; inherits: true; initial-value: #4a2a78; }
@property --text { syntax: "<color>"; inherits: true; initial-value: #ede7f6; }
@property --text-sub { syntax: "<color>"; inherits: true; initial-value: #b79ced; }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #8b3fd9; }
@property --accent-hover { syntax: "<color>"; inherits: true; initial-value: #7a34c2; }
@property --accent-text { syntax: "<color>"; inherits: true; initial-value: #a061e0; }
@property --on-accent { syntax: "<color>"; inherits: true; initial-value: #ede7f6; }

html[data-world] { background: var(--bg); }
html[data-world] body { background: transparent; }
html[data-world="dark"] {
  --bg: #07060a;
  --surface: #0f0d12;
  --line: #5b4a2a;
  --text: #ece4d2;
  --text-sub: #bbb095;
  --accent: #b8943f;
  --accent-hover: #a37f31;
  --accent-text: #d6bb6c;
  --on-accent: #0a0805;
}
html[data-world="color"] {
  --bg: #100a21;
  --surface: #15121c;
}
@media (prefers-reduced-motion: no-preference) {
  html[data-motion="on"][data-world] {
    transition: --bg .9s ease, --surface .9s ease, --line .9s ease, --text .9s ease, --text-sub .9s ease,
                --accent .9s ease, --accent-hover .9s ease, --accent-text .9s ease, --on-accent .9s ease;
  }
}

#world-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

html[data-world] .hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url(../img/works/dark-02-800.webp) center 25% / cover no-repeat;
  opacity: .3;
  filter: grayscale(.55) contrast(1.1) brightness(.9);
  -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 25%, transparent 88%);
}
html[data-world] .hero__visual { opacity: .25; }
html[data-world="dark"] .hero__catch-em { color: var(--accent-text); }

@media (prefers-reduced-motion: no-preference) {
  html[data-motion="on"][data-world] .hero::before { animation: hero-drift 26s ease-in-out infinite alternate; }
  @keyframes hero-drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
  html[data-motion="on"] .hero__catch { animation: world-fade 1.1s ease both; }
  html[data-motion="on"] .hero__body { animation: world-fade 1.1s .35s ease both; }
  @keyframes world-fade { from { opacity: 0; } to { opacity: 1; } }
  html[data-motion="on"] .reveal { opacity: 0; filter: blur(6px); transition: opacity .9s ease, filter .9s ease; }
  html[data-motion="on"] .reveal.is-in { opacity: 1; filter: none; }
}

.works__cta { display: grid; justify-items: center; gap: 1rem; margin-top: 3rem; text-align: center; }
.works__cta-text { margin: 0; font-family: var(--font-display); font-size: 1.125rem; letter-spacing: .08em; color: var(--text); }
.works__cta .btn { width: 100%; max-width: 22rem; }

html[data-world]::before, html[data-world]::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0;
}
html[data-world="dark"]::before { opacity: 1; }
html[data-world="color"]::after { opacity: 1; }
html[data-world]::before {
  background:
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 45%, rgba(0, 0, 0, .62) 100%),
    linear-gradient(112deg, transparent 30%, rgba(214, 187, 108, .075) 44%, transparent 56%),
    linear-gradient(104deg, transparent 52%, rgba(214, 187, 108, .05) 62%, transparent 70%),
    radial-gradient(ellipse 80% 40% at 20% 100%, rgba(120, 100, 70, .12), transparent 70%),
    radial-gradient(ellipse 70% 35% at 90% 85%, rgba(90, 80, 70, .10), transparent 70%);
}
html[data-world]::after {
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(255, 120, 200, .10), transparent 70%),
    radial-gradient(ellipse 70% 50% at 90% 90%, rgba(139, 63, 217, .16), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .35) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  html[data-motion="on"][data-world]::before, html[data-motion="on"][data-world]::after { transition: opacity .9s ease; }
  html[data-motion="on"][data-world="dark"]::before { animation: fog-drift 38s ease-in-out infinite alternate; }
  @keyframes fog-drift { from { transform: translate3d(-2%, 0, 0) scale(1.06); } to { transform: translate3d(2%, -1.5%, 0) scale(1.1); } }
}
html[data-world="dark"] body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

html[data-world="dark"] .section__title { position: relative; border-bottom-color: transparent; }
html[data-world="dark"] .section__title::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(to right, var(--accent-text), color-mix(in srgb, var(--accent-text) 25%, transparent) 55%, transparent);
}
html[data-world="dark"] .section__title::before {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 7px; height: 7px;
  background: var(--accent-text); transform: rotate(45deg);
}
html[data-world="dark"] .hero__catch {
  font-family: var(--font-display); font-weight: 700; letter-spacing: .06em;
  text-shadow: 0 0 .2em var(--bg), 0 0 .45em var(--bg), 0 0 .9em var(--bg), 0 0 1.5em var(--bg), 0 0 2.4em var(--bg), 0 0 36px rgba(214, 187, 108, .18);
}
html[data-world="dark"] .hero::before { opacity: .42; }
html[data-world="dark"] .hero::after {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(214, 187, 108, .16), transparent 70%),
    linear-gradient(to bottom, color-mix(in srgb, var(--bg) 0%, transparent) 35%, color-mix(in srgb, var(--bg) 92%, transparent) 78%);
}
@media (prefers-reduced-motion: no-preference) {
  html[data-motion="on"][data-world="dark"] :is(.hero, .works__cta) .btn--dm {
    background-image: linear-gradient(105deg, transparent 38%, rgba(255, 245, 210, .38) 50%, transparent 62%);
    background-size: 250% 100%; background-repeat: no-repeat; background-position: 130% 0;
    animation: gold-sheen 5.5s ease-in-out 1.5s infinite;
  }
  @keyframes gold-sheen { 0%, 60% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
}

@media (prefers-reduced-motion: no-preference) {
  html[data-motion="on"][data-world="dark"] .hero::before {
    animation: hero-drift 26s ease-in-out infinite alternate, hero-cycle 30s linear infinite;
  }
  @keyframes hero-cycle {
    0%   { background-image: url(../img/works/dark-02-800.webp); opacity: 0; }
    5%   { background-image: url(../img/works/dark-02-800.webp); opacity: .42; }
    30%  { background-image: url(../img/works/dark-02-800.webp); opacity: .42; }
    33%  { background-image: url(../img/works/dark-02-800.webp); opacity: 0; }
    34%  { background-image: url(../img/works/dark-01-800.webp); opacity: 0; }
    38%  { background-image: url(../img/works/dark-01-800.webp); opacity: .42; }
    63%  { background-image: url(../img/works/dark-01-800.webp); opacity: .42; }
    66%  { background-image: url(../img/works/dark-01-800.webp); opacity: 0; }
    67%  { background-image: url(../img/works/dark-03-800.webp); opacity: 0; }
    71%  { background-image: url(../img/works/dark-03-800.webp); opacity: .42; }
    96%  { background-image: url(../img/works/dark-03-800.webp); opacity: .42; }
    100% { background-image: url(../img/works/dark-03-800.webp); opacity: 0; }
  }
}

html[data-world="color"] .section__title { position: relative; border-bottom-color: transparent; }
html[data-world="color"] .section__title::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(to right, #f3c9ff, color-mix(in srgb, var(--accent-text) 45%, transparent) 55%, transparent);
}
html[data-world="color"] .section__title::before {
  content: "✦"; position: absolute; right: 0; top: .1em; font-size: .55em; line-height: 1; color: #f3c9ff; opacity: .85;
}
html[data-world="color"] .site-footer__cta { position: relative; isolation: isolate; }
html[data-world="color"] .site-footer__cta::before {
  content: ""; position: absolute; inset: -2rem -1rem; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255, 120, 200, .16), rgba(139, 63, 217, .12) 50%, transparent 75%);
}

@media (min-width: 700px) {
  html[data-world] .hero::before { background-image: url(../img/works/dark-02-1200.webp); }
}
@media (min-width: 700px) and (prefers-reduced-motion: no-preference) {
  html[data-motion="on"][data-world="dark"] .hero::before { animation: hero-drift 26s ease-in-out infinite alternate, hero-cycle-wide 30s linear infinite; }
  @keyframes hero-cycle-wide {
    0%   { background-image: url(../img/works/dark-02-1200.webp); opacity: 0; }
    5%   { background-image: url(../img/works/dark-02-1200.webp); opacity: .42; }
    30%  { background-image: url(../img/works/dark-02-1200.webp); opacity: .42; }
    33%  { background-image: url(../img/works/dark-02-1200.webp); opacity: 0; }
    34%  { background-image: url(../img/works/dark-01-1200.webp); opacity: 0; }
    38%  { background-image: url(../img/works/dark-01-1200.webp); opacity: .42; }
    63%  { background-image: url(../img/works/dark-01-1200.webp); opacity: .42; }
    66%  { background-image: url(../img/works/dark-01-1200.webp); opacity: 0; }
    67%  { background-image: url(../img/works/dark-03-1200.webp); opacity: 0; }
    71%  { background-image: url(../img/works/dark-03-1200.webp); opacity: .42; }
    96%  { background-image: url(../img/works/dark-03-1200.webp); opacity: .42; }
    100% { background-image: url(../img/works/dark-03-1200.webp); opacity: 0; }
  }
}

.page { position: relative; isolation: isolate; }
.page::before {
  content: ""; position: absolute; left: 0; right: 0; top: -2rem; height: 22rem; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 20% 0%, rgba(255, 120, 200, .10), rgba(139, 63, 217, .10) 50%, transparent 75%);
}
.page__title { position: relative; padding-right: 1.5em; border-bottom-color: transparent; }
.page__title::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(to right, #f3c9ff, color-mix(in srgb, var(--accent-text) 45%, transparent) 55%, transparent);
}
.page__title::before { content: "✦"; content: "✦" / ""; position: absolute; right: 0; top: .1em; font-size: .5em; line-height: 1; color: #f3c9ff; opacity: .85; }
@media (forced-colors: active) {
  .page__title { border-bottom-color: CanvasText; }
  .page__title::after, .page__title::before, .page::before { display: none; }
}

.lightbox__img { box-shadow: 0 0 48px -12px color-mix(in srgb, var(--accent-text) 40%, transparent); outline: 1px solid color-mix(in srgb, var(--accent-text) 28%, transparent); outline-offset: 0; }
@media (forced-colors: active) { .lightbox__img { box-shadow: none; outline-color: CanvasText; } }
