/* OXUS, night edition (Lapis and Ink). An alternate direction of the landing page. Tokens from ~/Oxus/BRIEF.md */
:root {
  --ivory: #F3EEE5;
  --paper: #FAF7F1;
  --ink: #161513;
  --graphite: #5A564E;
  --stone: #D9D2C5;
  --gold: #A8844E;
  --deep-gold: #7E6136;
  --lapis: #1E2C55;
  --emerald: #1F5B4A;

  /* night derivations (from the tokens above) */
  --night: #0F1420;              /* ink pulled toward lapis, the deepest ground */
  --ivory-2: rgba(243, 238, 229, .74);
  --ivory-3: rgba(243, 238, 229, .56);
  --hair: rgba(168, 132, 78, .38);
  --hair-ivory: rgba(243, 238, 229, .14);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --gutter: 16px;
  --maxw: 1600px;
  --section: clamp(96px, 14vw, 240px);
  --ease: cubic-bezier(.2, .7, .15, 1);
  --header-h: 60px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 76px; } }
@media (min-width: 1200px) { :root { --gutter: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); background: var(--night); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--night); color: var(--ivory);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 10px 16px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.on-lapis { background: var(--lapis); }
.on-ink { background: var(--ink); }

/* ---------- type ---------- */
.label { font-family: var(--sans); font-weight: 400; font-size: 11px; line-height: 1.6; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-2); }
@media (min-width: 1200px) { .label { font-size: 12px; } }
.dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); vertical-align: middle; margin: 0 .8em; transform: translateY(-1px); }
.display, .h2, .h3 { font-family: var(--serif); font-weight: 300; color: var(--ivory); letter-spacing: -.01em; }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--stone); }
.h2 { font-size: clamp(44px, 1.6rem + 5.2vw, 128px); line-height: .98; }
.h3 { font-size: clamp(30px, 1.2rem + 2.4vw, 64px); line-height: 1.04; }
.body { max-width: 32em; color: var(--ivory-2); font-size: 16px; }
@media (min-width: 1200px) { .body { font-size: 17px; } }
.body + .body { margin-top: 1.1em; }
.cap { font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-3); margin-top: 14px; }
.cap b { font-weight: 400; color: var(--ivory); margin-right: .8em; }
.kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.kicker__no { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: 0; color: var(--gold); font-style: italic; }
.kicker::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--gold); }

/* ghost numeral: huge, gold hairline, behind the section head */
.ghost { display: none; position: absolute; z-index: 0; font-family: var(--serif); font-weight: 300; font-style: italic; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--hair); font-size: clamp(180px, 42vw, 520px); pointer-events: none; user-select: none; }
@media (min-width: 900px) { .ghost { display: block; } }
.ghost--r { right: calc(var(--gutter) * -.4); top: calc(var(--section) * .35); }
.ghost--l { left: calc(var(--gutter) * -.4); top: calc(var(--section) * .35); }
.section > .wrap { position: relative; z-index: 1; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border: 1px solid var(--gold); background: transparent; color: var(--ivory); font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .5s var(--ease), color .5s var(--ease); }
.btn:hover, .btn:focus-visible { background: var(--gold); color: var(--ink); }
.btn--solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--ivory); border-color: var(--ivory); }
.link-quiet { font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-2); text-decoration: none; padding: 18px 0; border-bottom: 1px solid var(--hair); background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.link-quiet:hover { color: var(--ivory); border-color: var(--gold); }

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; background: #0b0f18; }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.r-45 { aspect-ratio: 4 / 5; } .r-34 { aspect-ratio: 3 / 4; } .r-1 { aspect-ratio: 1; } .r-916 { aspect-ratio: 9 / 16; } .r-169 { aspect-ratio: 16 / 9; }
/* Paper panel: white-background product shots never sit on dark */
.plate { position: relative; background: var(--paper); overflow: hidden; }
.plate > img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.plate--cover > img { object-fit: cover; }
.plate--pad > img { padding: 6%; }
.plate::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(168, 132, 78, .28); pointer-events: none; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .6s var(--ease), transform .6s var(--ease), border-color .6s; border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(15, 20, 32, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--hair-ivory); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--gutter); max-width: var(--maxw); margin-inline: auto; }
.site-header__mark { color: var(--gold); display: block; }
.site-header__mark .letters { width: 92px; height: 19px; }
.site-nav { display: none; gap: 34px; }
.site-nav a { font: 400 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-2); text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: var(--ivory); }
.site-header__cta { font: 400 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); text-decoration: none; padding: 12px 0 10px; border-bottom: 1px solid var(--gold); white-space: nowrap; }
@media (min-width: 1100px) { .site-nav { display: flex; } .site-header__mark .letters { width: 110px; height: 22px; } }

/* ---------- 00 hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 28px) var(--gutter) 40px; display: grid; align-content: center; gap: 36px; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 30%, #22305a 0%, var(--lapis) 32%, var(--night) 78%); }
.hero__bigword { position: absolute; left: 50%; top: 50%; width: 132vw; max-width: none; transform: translate(-50%, -58%); color: transparent; opacity: .9; pointer-events: none; }
.hero__bigword use { fill: none; stroke: rgba(168, 132, 78, .5); stroke-width: 2.2; }
@media (min-width: 1024px) { .hero__bigword use { stroke-width: 1; } }
.hero__plate { position: relative; z-index: 1; width: min(78vw, 520px); justify-self: center; aspect-ratio: 1; box-shadow: 0 40px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(168, 132, 78, .35); }
.hero__plate img { transform: scale(1.06); transition: transform 3.2s var(--ease); }
.hero.is-in .hero__plate img { transform: scale(1); }
.hero__plate figcaption { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--graphite); font: 400 10px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; z-index: 2; }
.hero__plate figcaption .dot { background: var(--deep-gold); }
.hero__text { position: relative; z-index: 1; text-align: center; }
.hero__kicker { margin-bottom: 18px; }
.hero__title { font-size: clamp(42px, 1.4rem + 6vw, 132px); line-height: .96; }
.hero__title .line { display: block; }
.hero__title em { color: var(--gold); }
.hero__lede { margin: 22px auto 0; max-width: 26em; color: var(--ivory-2); }
.hero__actions { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero__actions .btn { width: 100%; max-width: 340px; }
.hero__scroll { position: absolute; left: 50%; bottom: 0; width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); z-index: 1; }
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4vw; padding-inline: var(--gutter); }
  .hero__text { text-align: left; order: -1; }
  .hero__lede { margin-left: 0; }
  .hero__actions { flex-direction: row; gap: 36px; align-items: center; }
  .hero__actions .btn { width: auto; }
  .hero__plate { width: min(40vw, 640px); }
  .hero__bigword { width: 118vw; transform: translate(-50%, -50%); }
}
/* opening motion */
.js .hero__text > *, .js .hero__plate { opacity: 0; transform: translateY(18px); transition: opacity 1.6s var(--ease), transform 1.6s var(--ease); }
.js .hero.is-in .hero__text > *, .js .hero.is-in .hero__plate { opacity: 1; transform: none; }
.js .hero.is-in .hero__plate { transition-delay: .1s; }
.js .hero.is-in .hero__text > :nth-child(2) { transition-delay: .35s; }
.js .hero.is-in .hero__text > :nth-child(3) { transition-delay: .55s; }
.js .hero.is-in .hero__text > :nth-child(4) { transition-delay: .75s; }

/* ---------- statement ---------- */
.statement { padding: clamp(80px, 12vw, 180px) var(--gutter); background: var(--night); text-align: center; border-top: 1px solid var(--hair-ivory); }
.statement p { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 1rem + 3.4vw, 64px); line-height: 1.16; max-width: 20em; margin-inline: auto; }
.statement em { color: var(--stone); }
.statement__mono { width: 44px; height: 44px; color: var(--gold); margin: 40px auto 0; }

/* ---------- 01 artist ---------- */
.artist__head { display: grid; gap: 28px; margin-bottom: clamp(48px, 7vw, 112px); }
@media (min-width: 1024px) { .artist__head { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 6vw; } }
.facts { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.facts li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair-ivory); }
.facts__k { font: 400 11px/1.8 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-3); }
.facts__v { font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--ivory); }
.facts__v em { color: var(--stone); }
/* the filmstrip: swipe on phones, a wide row on desktop */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 74vw; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip > figure { scroll-snap-align: center; }
@media (min-width: 768px) { .strip { grid-auto-columns: 38vw; gap: 20px; } }
@media (min-width: 1200px) { .strip { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; } .strip > figure:nth-child(even) { margin-top: 12vh; } }
.strip__hint { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.strip__hint::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
@media (min-width: 1200px) { .strip__hint { display: none; } }

/* ---------- cinema pause ---------- */
.cinema { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #000; }
.cinema video, .cinema img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.cinema::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,32,.85) 0%, rgba(15,20,32,0) 30%, rgba(15,20,32,0) 55%, rgba(15,20,32,.92) 100%); }
.cinema__text { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 96px); font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 1rem + 8vw, 168px); line-height: .92; }
.cinema__text em { color: var(--gold); display: block; }

/* ---------- 02 signature: scenes ---------- */
.scene { display: grid; gap: 0; margin-top: clamp(72px, 10vw, 160px); position: relative; }
.scene:first-of-type { margin-top: 0; }
.scene__art { position: relative; }
.scene__art .media { aspect-ratio: 4 / 5; }
.scene__jewel { position: relative; z-index: 2; width: 78%; margin: -28% 0 0 auto; }
.scene--rev .scene__jewel { margin: -28% auto 0 0; }
.scene__jewel .plate { aspect-ratio: 1; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.scene__becomes { position: absolute; z-index: 3; left: 0; bottom: calc(100% - 28% * 1.28 + 10px); font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); }
.piece { margin-top: 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; }
.piece__no { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--gold); grid-row: span 3; }
.piece__name { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 1rem + 2vw, 46px); line-height: 1.05; }
.piece__meta { margin-top: 8px; }
.piece__line { margin-top: 8px; color: var(--ivory-2); font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; }
.scene__artcap { margin-top: 12px; }
@media (min-width: 900px) {
  .scene { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .scene__art { grid-column: 1 / span 7; grid-row: 1; }
  .scene__jewel { grid-column: 8 / span 5; grid-row: 1; width: auto; margin: 22% 0 0; }
  .scene__jewel .plate { margin-left: -22%; }
  .scene--rev .scene__art { grid-column: 6 / span 7; }
  .scene--rev .scene__jewel { grid-column: 1 / span 5; margin: 22% 0 0; }
  .scene--rev .scene__jewel .plate { margin-left: 0; margin-right: -22%; }
}
.worn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(80px, 12vw, 180px); }
.worn > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .worn { grid-template-columns: 1.3fr .9fr .8fr; gap: 24px; align-items: end; } .worn > :first-child { grid-column: auto; } }

/* ---------- commission ---------- */
.commission { background: linear-gradient(180deg, var(--night) 0%, var(--lapis) 18%, var(--lapis) 82%, var(--night) 100%); }
.commission__head { max-width: 980px; margin-bottom: clamp(56px, 8vw, 120px); }
.commission__head .h2 { margin-bottom: 26px; }
.cad { position: relative; margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 768px) { .cad { margin-inline: 0; } }
.cad .media { aspect-ratio: 896 / 576; background: #000; }
.cad__tag { position: absolute; left: 16px; top: 16px; z-index: 1; background: rgba(15, 20, 32, .72); padding: 8px 12px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cad figcaption { padding-inline: var(--gutter); }
@media (min-width: 768px) { .cad figcaption { padding-inline: 0; } }
.stages { position: relative; margin-top: clamp(56px, 8vw, 112px); display: grid; gap: 56px; padding-left: 44px; }
.stages::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gold), rgba(168,132,78,.2)); }
.stage { position: relative; }
.stage__no { position: absolute; left: -44px; top: -4px; width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; background: var(--lapis); border: 1px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ivory); }
.stage .plate { aspect-ratio: 3 / 4; }
.stage .plate--sq { aspect-ratio: 1; }
.stage__title { font-family: var(--serif); font-size: 26px; line-height: 1.15; margin-top: 18px; }
.stage__line { color: var(--ivory-2); margin-top: 6px; max-width: 26em; }
@media (min-width: 900px) {
  .stages { padding-left: 0; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .stages::before { left: 0; right: 0; top: 14px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(168,132,78,.25)); }
  .stage { padding-top: 52px; }
  .stage__no { left: 0; top: 0; }
  .stage .plate, .stage .plate--sq { aspect-ratio: 3 / 4; }
}
.finale { display: grid; gap: 16px; margin-top: clamp(64px, 9vw, 140px); }
.finale__plate { aspect-ratio: 1; }
.finale__film .media { aspect-ratio: 9 / 16; }
.finale__text { padding-top: 12px; }
.finale__text .h3 { margin-bottom: 18px; }
@media (min-width: 900px) { .finale { grid-template-columns: 1.25fr .7fr 1fr; gap: 28px; align-items: end; } }
.finale__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
@media (min-width: 900px) { .finale__row { display: contents; } }

/* ---------- 03 range ---------- */
.registers { display: grid; gap: 64px; }
.register__title { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 1rem + 3vw, 72px); color: var(--stone); margin-bottom: 22px; display: flex; align-items: baseline; gap: 18px; }
.register__title::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.register__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.register__grid > :first-child { grid-row: span 2; }
.register__grid .media, .register__grid .plate { height: 100%; }
.register__grid figure { display: flex; flex-direction: column; }
.register__grid figure > :first-child { flex: 1; min-height: 0; }
@media (min-width: 1024px) { .registers { grid-template-columns: 1fr 1fr; gap: 5vw; } .register__grid { gap: 20px; } }

/* ---------- 04 atelier ---------- */
.atelier__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .atelier__grid { grid-template-columns: .9fr 1.1fr; gap: 6vw; align-items: start; } }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tools li { border: 1px solid var(--hair); padding: 8px 12px; font: 400 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-2); }
.steps { counter-reset: s; border-top: 1px solid var(--hair); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 6px 14px; padding: 24px 0; border-bottom: 1px solid var(--hair-ivory); }
.steps__no { font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--gold); grid-row: span 2; }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.steps p { color: var(--ivory-2); }
.archive { margin-top: clamp(80px, 12vw, 180px); }
.archive__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 32px; }
.archive__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.archive__grid .plate { aspect-ratio: 1; }
.archive__grid li:first-child { grid-column: 1 / -1; }
.archive__grid li:first-child .plate { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .archive__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } .archive__grid li:first-child { grid-column: span 2; grid-row: span 2; } .archive__grid li:first-child .plate { aspect-ratio: 1; } }

/* ---------- 05 heirlooms ---------- */
.heirlooms__head { text-align: center; max-width: 900px; margin: 0 auto clamp(56px, 8vw, 112px); }
.heirlooms__head .kicker { justify-content: center; }
.heirlooms__head .kicker::before { content: ""; flex: 0 0 48px; height: 1px; background: var(--gold); }
.heirlooms__head .body { margin: 26px auto 0; }
.occasions { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.occasion { padding: 30px 0; border-bottom: 1px solid var(--hair-ivory); }
.occasion__title { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 34px; color: var(--stone); margin-bottom: 14px; }
.occasion li { font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--ivory); }
@media (min-width: 900px) { .occasions { grid-template-columns: repeat(3, 1fr); gap: 0 4vw; border-top: 0; } .occasion { border-top: 1px solid var(--hair); border-bottom: 0; } }
.scripts { margin-top: clamp(64px, 9vw, 140px); text-align: center; }
.scripts__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 8px; margin-top: 30px; }
.scripts__row li { display: grid; gap: 8px; justify-items: center; }
.scripts__row span { font-size: clamp(26px, 1rem + 2.2vw, 46px); line-height: 1.2; color: var(--ivory); font-family: var(--serif); }
.scripts__row small { font: 400 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-3); }
@media (min-width: 900px) { .scripts__row { grid-template-columns: repeat(6, 1fr); } }
.heirlooms__close { margin-top: clamp(56px, 8vw, 112px); text-align: center; font-family: var(--serif); font-size: clamp(26px, 1rem + 2vw, 44px); }
.heirlooms__close em { color: var(--gold); }

/* ---------- 06 inherited ---------- */
.inherited { position: relative; overflow: hidden; background: var(--night); }
.inherited__media { position: relative; aspect-ratio: 4 / 3; }
.inherited__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .9; }
.inherited__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,32,0) 72%, var(--night) 100%); }
.inherited__text { position: relative; z-index: 1; padding: 8px var(--gutter) var(--section); max-width: 980px; }
.inherited__text .h2 { margin-bottom: 26px; }
.inherited__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 30px 0 36px; }
.inherited__steps li span { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 18px; letter-spacing: 0; margin-right: 8px; text-transform: none; }
@media (min-width: 1024px) {
  .inherited { min-height: 100svh; display: grid; align-items: center; background: #000; }
  .inherited__media { position: absolute; inset: 0 0 0 38%; aspect-ratio: auto; }
  .inherited__media::after { display: none; }
  .inherited__media img { object-position: 55% 88%; opacity: .82; }
  .inherited::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, var(--night) 36%, rgba(15,20,32,.4) 60%, rgba(15,20,32,0) 100%); }
  .inherited__text { padding: var(--section) var(--gutter); max-width: 760px; }
  .inherited__steps { grid-template-columns: repeat(4, auto); }
}

/* ---------- 07 name ---------- */
.name { text-align: center; overflow: hidden; }
.name .kicker { justify-content: center; }
.name .kicker::before { content: ""; flex: 0 0 48px; height: 1px; background: var(--gold); }
.name__mark { color: var(--gold); margin: 10px auto 0; width: min(88vw, 1100px); }
.name__mark img { width: 100%; height: auto; }
.river { width: 100%; height: 60px; margin: 28px 0 44px; }
.river path { fill: none; stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2400; stroke-dashoffset: 2400; transition: stroke-dashoffset 4s var(--ease); }
.river.is-in path { stroke-dashoffset: 0; }
.name__cols { display: grid; gap: 22px; text-align: left; max-width: 1100px; margin-inline: auto; }
@media (min-width: 900px) { .name__cols { grid-template-columns: 1fr 1fr; gap: 5vw; } }
.name__line { margin-top: clamp(56px, 8vw, 112px); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(30px, 1rem + 3vw, 68px); line-height: 1.1; color: var(--ivory); }
.name__line small { display: block; margin-top: 18px; font: 400 11px/1.6 var(--sans); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-3); }

/* ---------- 08 appointment ---------- */
.appointment__grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .appointment__grid { grid-template-columns: .9fr 1.1fr; gap: 7vw; } }
.appointment__mono { width: 64px; height: 64px; color: var(--gold); margin-top: 44px; }
.reach { margin-top: 34px; display: grid; gap: 4px; }
.reach a { font-family: var(--serif); font-size: 22px; text-decoration: none; color: var(--ivory); border-bottom: 1px solid transparent; justify-self: start; }
.reach a:hover { border-color: var(--gold); }
.form { display: grid; gap: 8px; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; font: 300 18px/1.4 var(--sans); color: var(--ivory); background: transparent; border: 0; border-bottom: 1px solid rgba(243, 238, 229, .28); border-radius: 0; padding: 30px 0 12px; -webkit-appearance: none; appearance: none; transition: border-color .4s; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; }
.field select option { color: var(--ink); background: var(--paper); }
.field--select::after { content: ""; position: absolute; right: 4px; bottom: 22px; width: 7px; height: 7px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); pointer-events: none; }
.field label { position: absolute; left: 0; top: 32px; font: 300 17px/1.2 var(--sans); color: var(--ivory-3); pointer-events: none; transform-origin: 0 0; transition: transform .4s var(--ease), color .4s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label { transform: translateY(-22px) scale(.72); color: var(--ivory-2); letter-spacing: .04em; }
.opt { font-size: .8em; color: var(--ivory-3); margin-left: .4em; }
.field.is-invalid input, .field.is-invalid select { border-color: #c98f7a; }
.mode { border: 0; padding: 22px 0 6px; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mode legend { padding: 0; margin-bottom: 12px; font: 300 13px/1.2 var(--sans); color: var(--ivory-3); width: 100%; }
.mode label { position: relative; }
.mode input { position: absolute; opacity: 0; }
.mode span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(243, 238, 229, .28); font: 400 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-2); cursor: pointer; transition: all .4s var(--ease); }
.mode input:checked + span { border-color: var(--gold); color: var(--ink); background: var(--gold); }
.mode input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }
.form__error { min-height: 1.4em; font-size: 14px; color: #e0b3a3; margin-top: 8px; }
.form .btn { margin-top: 8px; justify-self: start; }
.form__note { font-size: 13px; color: var(--ivory-3); margin-top: 14px; }
.thanks { padding-top: 12px; }
.thanks__mono { width: 48px; height: 48px; color: var(--gold); margin-bottom: 26px; }
.thanks__title { margin-bottom: 18px; }
.thanks .body { margin-bottom: 26px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); padding: clamp(72px, 10vw, 140px) 0 40px; border-top: 1px solid var(--hair); }
.footer__inner { display: grid; gap: 48px; }
.footer__mark img { width: min(64vw, 300px); height: auto; }
.footer__cols { display: grid; gap: 24px; }
.footer__place { font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer__nav a { text-decoration: none; padding: 8px 0; }
.footer__nav a:hover { color: var(--ivory); }
.footer__legal { color: var(--ivory-3); }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1fr 1.2fr; align-items: start; } .footer__legal { grid-column: 1 / -1; } }

/* ---------- reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.js [data-reveal="media"] { transform: none; clip-path: inset(8% 0 0 0); transition: opacity 1.6s var(--ease), clip-path 1.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .hero__text > *, .js .hero__plate { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .river path { stroke-dashoffset: 0; transition: none; }
}
