/* OXUS, by Maryam Najvan. Landing page styles. 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;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --gutter: 16px;
  --maxw: 1680px;
  --section: clamp(104px, 13vw, 232px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --slow: 1.6s;
  --header-h: 64px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 76px; } }
@media (min-width: 1200px) { :root { --gutter: 64px; } }
@media (min-width: 1800px) { :root { --gutter: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 1200px) { body { font-size: 17px; } }
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 { margin: 0; }
em { font-style: italic; }
::selection { background: var(--stone); color: var(--ink); }
:focus-visible { outline: 1px solid var(--deep-gold); outline-offset: 4px; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--ivory); 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); }

/* ---------- type ---------- */
.label {
  font-family: var(--sans); font-weight: 400; font-size: 11px; line-height: 1.6;
  letter-spacing: .18em; text-transform: uppercase; color: var(--graphite);
}
@media (min-width: 1200px) { .label { font-size: 12px; } }
.dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; vertical-align: middle; margin: 0 .7em; opacity: .55; transform: translateY(-1px); }
.display, .h2, .h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -.005em; color: var(--ink); }
.display em, .h2 em, .h3 em { font-weight: 300; }
.h2 { font-size: clamp(40px, 2rem + 3.4vw, 96px); line-height: 1.02; }
.h3 { font-size: clamp(30px, 1.4rem + 2vw, 60px); line-height: 1.06; }
.body { max-width: 34em; color: var(--graphite); }
.body + .body { margin-top: 1.1em; }
.cap { font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin-top: 14px; }
.cap span:not(.dot) { color: var(--ink); margin-right: .9em; }
.section-no { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.section-no span { font-family: var(--serif); font-size: 15px; letter-spacing: .04em; color: var(--deep-gold); }
.section-no::after { content: ""; flex: 0 0 40px; height: 1px; background: var(--gold); opacity: .7; order: 1; }
.section-no span { order: 0; }
.section-head { max-width: 980px; margin-bottom: clamp(64px, 8vw, 128px); }
.section-head .h2 { margin-bottom: 28px; }
.section-head__lede { font-size: 1.0625em; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-no { justify-content: center; }
.section-head--center .section-head__lede { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--ink); color: var(--ink);
  font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; background: transparent; cursor: pointer; border-radius: 0;
  transition: background .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--ivory); }
.btn--solid { background: var(--ink); color: var(--ivory); width: 100%; }
.btn--solid:hover { background: var(--lapis); border-color: var(--lapis); }
.btn--light { border-color: rgba(243,238,229,.55); color: var(--ivory); }
.btn--light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.link-quiet {
  font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 14px 0; background: none; border: 0; cursor: pointer;
  background-image: linear-gradient(var(--gold), var(--gold)); background-size: 100% 1px; background-position: 0 calc(100% - 10px); background-repeat: no-repeat;
  transition: background-size .8s var(--ease);
}
.link-quiet:hover { background-size: 0 1px; background-position: 100% calc(100% - 10px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background .8s var(--ease), transform .8s var(--ease), box-shadow .8s var(--ease);
}
.site-header__inner { height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 24px; }
.site-header__cta { margin-left: auto; }
.site-header__mark { color: var(--ink); display: block; padding: 8px 0; }
.site-header__mark .letters { width: 92px; height: 19px; }
@media (min-width: 768px) { .site-header__mark .letters { width: 116px; height: 24px; } }
.site-nav { display: none; }
@media (min-width: 1100px) {
  .site-nav { display: flex; gap: clamp(22px, 2.2vw, 40px); margin-left: clamp(40px, 4vw, 80px); padding-left: clamp(40px, 4vw, 80px); border-left: 1px solid rgba(168,132,78,.45); }
  .site-nav a { font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--graphite); transition: color .4s; }
  .site-nav a:hover { color: var(--ink); }
}
.site-header__cta { font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--gold); white-space: nowrap; }
.site-header.is-solid { background: rgba(243, 238, 229, .9); -webkit-backdrop-filter: saturate(1.1) blur(14px); backdrop-filter: saturate(1.1) blur(14px); box-shadow: 0 1px 0 rgba(22,21,19,.08); }
.site-header.is-hidden { transform: translateY(-100%); }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1fr; min-height: 100svh; background: var(--ivory); }
.hero__figure { position: relative; height: 54svh; min-height: 380px; max-height: 620px; overflow: hidden; }
.hero__stage { position: absolute; inset: 0; }
.hero__stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%;
  mix-blend-mode: multiply; transform-origin: 50% 50%; transform: scale(var(--zoom, 1.5));
}
.hero__caption { position: absolute; left: var(--gutter); bottom: 6px; font-size: 10px; }
.hero__text { padding: 28px var(--gutter) 64px; display: flex; flex-direction: column; align-items: flex-start; }
.draw-mono { width: 36px; height: 36px; margin-bottom: 22px; fill: none; stroke: var(--gold); stroke-width: 3.2; stroke-linejoin: miter; }
.hero__kicker { margin-bottom: 18px; }
.hero__title { font-size: clamp(44px, 1.6rem + 6.2vw, 132px); line-height: .98; letter-spacing: -.012em; margin-bottom: 28px; }
.hero__title .line { display: block; }
.hero__title .nb { white-space: nowrap; }
.hero__title em { color: var(--deep-gold); }
.hero__lede { font-family: var(--serif); font-size: clamp(20px, 1rem + .7vw, 28px); line-height: 1.4; font-weight: 400; color: var(--graphite); max-width: 22em; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
@media (max-width: 420px) { .hero__actions .btn { width: 100%; } }

@media (min-width: 768px) {
  .hero__figure { height: 64svh; }
  .hero__text { padding-top: 56px; }
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); max-height: 1200px; min-height: max(100svh, 720px); }
  .hero__text { order: -1; justify-content: flex-end; padding: calc(var(--header-h) + 48px) 0 clamp(64px, 9vh, 120px) var(--gutter); max-width: calc(var(--maxw) * 11 / 24); margin-left: auto; width: 100%; }
  .hero__figure { height: auto; min-height: 0; max-height: none; }
  .hero__stage img { --zoom: 1.32; object-position: 50% 50%; }
  .hero__caption { left: auto; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); bottom: clamp(64px, 9vh, 120px); }
  .hero__title { font-size: clamp(60px, .25rem + 4.7vw, 124px); }
}
@media (min-width: 1800px) { .hero__stage img { --zoom: 1.24; } }

/* ---------- statement ---------- */
.statement { padding: var(--section) var(--gutter); text-align: center; border-top: 1px solid rgba(168,132,78,.25); }
.statement__text { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 1.2rem + 2.8vw, 72px); line-height: 1.14; max-width: 18em; margin: 0 auto; }
.statement__text em { color: var(--deep-gold); }
.statement__mono { width: 44px; height: 44px; margin: 56px auto 0; color: var(--gold); }

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; background: var(--stone); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--1 { aspect-ratio: 1; }
.media--45 { aspect-ratio: 4 / 5; }
.media--34 { aspect-ratio: 3 / 4; }
.media > img, .media > video { position: absolute; inset: 0; }
.panel { position: relative; background: var(--paper); overflow: hidden; aspect-ratio: 1; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel--contain img { object-fit: cover; mix-blend-mode: multiply; }
.panel--fill img { object-fit: cover; }
.panel--1 { aspect-ratio: 1; }
.panel--34 { aspect-ratio: 3 / 4; }

/* ---------- artist ---------- */
.artist__grid { display: grid; gap: 72px; }
.artist__text .h2 { margin-bottom: 32px; }
.disciplines { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 40px; color: var(--ink); }
.disciplines li { display: flex; align-items: center; }
.disciplines li:not(:last-child)::after { content: ""; width: 18px; height: 1px; background: var(--gold); margin: 0 12px; }
.artist__collage { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 12px; align-items: start; }
.artist__col { display: contents; }
.c--a { grid-column: 1 / -1; }
.c--c { margin-top: 64px; }
.c--d { grid-column: 1 / -1; width: 72%; justify-self: end; }
@media (min-width: 768px) {
  .artist__collage { gap: 24px; }
  .artist__col { display: flex; flex-direction: column; gap: 56px; }
  .artist__col--b { padding-top: 34%; }
  .c--a, .c--c, .c--d { grid-column: auto; margin-top: 0; width: auto; }
  .artist__col--a .c--c { width: 78%; align-self: flex-end; }
}
@media (min-width: 1024px) {
  .artist__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 140px); align-items: start; }
  .artist__text { position: sticky; top: calc(var(--header-h) + 64px); }
  .artist__collage { gap: clamp(24px, 3vw, 56px); }
  .artist__col { gap: clamp(56px, 6vw, 112px); }
}

/* ---------- pause ---------- */
.pause { position: relative; background: var(--ink); color: var(--ivory); overflow: hidden; }
.pause__media { position: relative; height: 92svh; max-height: 1100px; display: grid; grid-template-columns: 1fr; }
.pause__media .pane { position: relative; overflow: hidden; }
.pause__media .pane--2 { display: none; }
@media (min-width: 900px) { .pause__media { grid-template-columns: 1fr 1fr; } .pause__media .pane--2 { display: block; } }
.pause__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.pause__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,21,19,.0) 40%, rgba(22,21,19,.55) 100%); }
.pause__text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 96px); font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 1.4rem + 5vw, 128px); line-height: 1; color: var(--ivory); text-align: center; }
.pause__text em { color: #E6D3AE; }
@media (max-width: 599px) { .pause__text { font-size: 44px; } .pause__text em { display: block; } }

/* ---------- signature pairs ---------- */
.signature { background: var(--ivory); }
.pairs { display: grid; gap: clamp(112px, 14vw, 220px); }
.pair { display: grid; grid-template-columns: 1fr; }
.pair__link { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px 0; }
.pair__link::before, .pair__link::after { content: ""; width: 1px; height: 32px; background: var(--gold); opacity: .8; }
.pair__link span { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--deep-gold); padding: 10px 0; }
.piece { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; margin-top: 22px; align-items: baseline; }
.piece__no { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--deep-gold); grid-row: 1 / span 3; min-width: 1.4em; }
.piece__name { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 1.2rem + 1.4vw, 46px); line-height: 1.05; }
.piece__meta { margin-top: 8px; }
.piece__line { margin-top: 12px; font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--graphite); font-style: italic; }
.pair__art .media { margin-inline: calc(var(--gutter) * -1); }
.pair__art .cap { margin-top: 12px; }
@media (min-width: 768px) {
  .pair__art .media { margin-inline: 0; }
}
@media (min-width: 768px) {
  .pair { grid-template-columns: minmax(0, 6fr) minmax(0, 1.4fr) minmax(0, 5fr); align-items: center; }
  .pair__link { flex-direction: row; padding: 0; }
  .pair__link::before, .pair__link::after { width: auto; height: 1px; flex: 1; }
  .pair__link span { padding: 0 14px; }
  /* art always left, jewel always right; the rhythm alternates scale and offset, never the reading order */
  .pair--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 1.4fr) minmax(0, 6fr); align-items: start; }
  .pair--rev .pair__art { margin-top: 14%; }
  .pair--rev .pair__link { align-self: center; }
  .pair__jewel .piece { margin-top: 28px; }
}

/* worn */
.worn { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 12px; margin-top: clamp(120px, 14vw, 240px); align-items: end; }
.worn__a { grid-column: 1 / -1; }
.worn__b { grid-column: 1; }
.worn__c { grid-column: 2; }
@media (min-width: 768px) {
  .worn { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
  .worn__a { grid-column: 1 / span 5; }
  .worn__b { grid-column: 7 / span 3; margin-bottom: 18%; }
  .worn__c { grid-column: 10 / span 3; }
}

/* ---------- range ---------- */
.range { background: var(--paper); }
.registers { display: grid; gap: 80px; }
.register { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 12px; align-items: start; }
.register__title { grid-column: 1 / -1; font-family: var(--serif); font-size: clamp(28px, 1.2rem + 1.4vw, 48px); line-height: 1; text-align: center; color: var(--deep-gold); }
.register .r--1 { grid-column: 1 / -1; }
.register .r--3 { margin-top: 56px; }
.registers__rule { display: none; }
@media (min-width: 768px) {
  .registers { grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: clamp(32px, 4vw, 80px); }
  .registers__rule { display: block; background: linear-gradient(var(--gold), var(--gold)) center / 1px 100% no-repeat; opacity: .5; }
  .register { gap: 40px 24px; }
  .register .r--1 { grid-column: 1 / span 2; width: 72%; justify-self: center; }
  .register--arch { margin-top: 18%; }
}

/* ---------- atelier ---------- */
.atelier { background: var(--ivory); }
.commission { margin-bottom: clamp(80px, 9vw, 152px); }
.commission__head { display: grid; gap: 18px; margin-bottom: 40px; }
.commission__head .h3 em { color: var(--deep-gold); }
.commission__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 12px; align-items: start; }
.cm--model, .cm--ring { grid-column: 1 / -1; }
.cm--hand { grid-column: 1 / -1; width: 64%; justify-self: end; }
.cm .cap span:not(.dot) { display: block; margin: 0 0 4px; font-family: var(--serif); font-size: 15px; letter-spacing: .02em; text-transform: none; font-style: italic; color: var(--deep-gold); }
.media--43 { aspect-ratio: 4 / 3; }
.media--ink { background: #0b0b0a; }
@media (min-width: 768px) {
  .commission__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 64px 24px; }
  .cm .cap span:not(.dot) { display: inline; margin: 0 .9em 0 0; }
  .cm--model { grid-column: 1 / span 7; }
  .cm--cast { grid-column: 8 / span 5; margin-top: clamp(48px, 7vw, 128px); }
  .cm--set, .cm--ring, .cm--hand { grid-column: span 4; width: auto; justify-self: stretch; }
  .cm--ring { margin-top: clamp(40px, 5vw, 96px); }
  .cm--set .media, .cm--ring .panel, .cm--hand .media { aspect-ratio: 3 / 4; }
}
@media (min-width: 1200px) {
  .commission__head { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 56px; }
  .commission__grid { gap: 80px 32px; }
}
.steps { display: grid; grid-template-columns: 1fr; margin-top: clamp(80px, 9vw, 152px); border-top: 1px solid var(--stone); }
.steps li { display: grid; align-content: start; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 24px 0 26px; border-bottom: 1px solid var(--stone); }
.steps__no { font-family: var(--serif); font-size: 16px; color: var(--deep-gold); padding-top: 8px; grid-row: 1 / span 2; }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; margin-bottom: 6px; }
.steps p { color: var(--graphite); max-width: 26em; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--stone); }
  .steps li { grid-template-columns: 1fr; border-bottom: 0; padding: 32px 28px 36px 0; }
  .steps li + li { border-left: 1px solid var(--stone); padding-left: 28px; }
  .steps__no { grid-row: auto; padding: 0 0 22px; }
  .steps h3 { font-size: clamp(30px, 1rem + 1.2vw, 44px); margin-bottom: 12px; }
}

.archive { margin-top: clamp(112px, 13vw, 220px); }
.archive__head { display: grid; gap: 18px; margin-bottom: 48px; }
.archive__head .h3 em { color: var(--deep-gold); }
.archive__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; grid-auto-flow: row dense; }
.tile__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 1.8s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.04); }
.tile .cap { margin-top: 12px; font-size: 10px; }
.tile--feature { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; }
  .tile--feature { grid-column: span 2; grid-row: span 2; }
  .tile .cap { font-size: 11px; }
}
@media (min-width: 1200px) {
  .archive__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
  .archive__head { grid-template-columns: 1fr auto; align-items: end; }
  .tile--right { grid-column: 3 / span 2; }
}

/* ---------- heirlooms ---------- */
.heirlooms { background: var(--paper); border-top: 1px solid rgba(168,132,78,.25); }
.occasions { display: grid; gap: 48px; max-width: 1360px; margin-inline: auto; }
.occasion__title { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--gold); }
.occasion li { font-family: var(--serif); font-size: 21px; line-height: 1.35; padding: 7px 0; color: var(--ink); }
@media (min-width: 900px) {
  .occasions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 80px); }
  .occasion li { font-size: 22px; }
}
.scripts { margin: clamp(96px, 11vw, 176px) auto 0; text-align: center; max-width: 1360px; }
.scripts__label { margin-bottom: 40px; }
.scripts__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 12px; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); padding: 44px 0; }
.scripts__row li { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.scripts__row span { font-size: clamp(34px, 1.4rem + 2vw, 60px); line-height: 1.2; color: var(--deep-gold); font-weight: 300; font-family: "Noto Serif", "Times New Roman", serif; }
.scripts__row span[lang="hy"] { font-family: "Noto Serif Armenian", "Mshtakan", serif; }
.scripts__row span[lang="hi"] { font-family: "Noto Serif Devanagari", "Kohinoor Devanagari", "Devanagari Sangam MN", serif; }
.scripts__row span[lang="zh"] { font-family: "Songti SC", "Noto Serif SC", "STSong", serif; }
.scripts__row span[lang="he"] { font-family: "Noto Serif Hebrew", "Times New Roman", serif; }
.scripts__row span[lang="fa"], .scripts__row span[lang="ar"] { font-family: "Noto Naskh Arabic", "Geeza Pro", "Al Nile", serif; }
.scripts__row small { font-family: var(--sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--graphite); }
@media (min-width: 768px) { .scripts__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .scripts__row { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.heirlooms__close { margin-top: 56px; text-align: center; font-family: var(--serif); font-size: clamp(24px, 1rem + 1.2vw, 38px); line-height: 1.25; }
.heirlooms__close em { color: var(--deep-gold); }

/* ---------- links to the deeper pages ---------- */
.artist__more { display: inline-block; margin-top: 36px; }
.further { margin: 72px auto 0; max-width: 1360px; text-align: center; }
.further__label { margin-bottom: 20px; }
.further ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.further li { display: flex; align-items: center; }
.further li:not(:last-child)::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); margin: 0 18px; }
.further a { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.6; color: var(--deep-gold); text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .8s var(--ease); padding: 4px 0; }
.further a:hover { background-size: 100% 1px; }
@media (max-width: 767px) { .further ul { flex-direction: column; } .further li::after { display: none; } }
.inherited__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.link-quiet--light { color: var(--ivory); }

/* ---------- inherited ---------- */
.inherited { display: grid; background: var(--ink); color: var(--ivory); }
.inherited__media .media { aspect-ratio: 4 / 5; background: #2a2723; }
.inherited__media img { object-position: 44% 46%; }
.inherited__text { padding: 64px var(--gutter) 96px; }
.inherited .label, .inherited .section-no { color: rgba(243,238,229,.66); }
.inherited .section-no span { color: #C9A877; }
.inherited .h2 { color: var(--ivory); margin-bottom: 32px; }
.inherited .h2 em { color: #E6D3AE; }
.inherited .body { color: rgba(243,238,229,.78); font-size: 1.0625em; }
.inherited__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 40px 0 44px; border-top: 1px solid rgba(243,238,229,.16); }
.inherited__steps li { padding: 16px 0; border-bottom: 1px solid rgba(243,238,229,.16); color: var(--ivory); }
.inherited__steps span { font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0; text-transform: none; color: #C9A877; margin-right: 10px; }
@media (min-width: 1024px) {
  .inherited { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100svh; }
  .inherited__media .media { aspect-ratio: auto; height: 100%; min-height: 760px; }
  .inherited__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: var(--section) var(--gutter) var(--section) clamp(48px, 6vw, 128px); max-width: 860px; }
}

/* ---------- name ---------- */
.name { background: var(--lapis); color: var(--ivory); text-align: center; overflow: hidden; }
.name .section-no { justify-content: center; color: rgba(243,238,229,.66); }
.name .section-no span { color: #C9A877; }
.name__mark { margin: 24px auto 0; color: var(--gold); width: min(100%, 1180px); }
.name__mark .letters { width: 100%; height: auto; aspect-ratio: 680 / 136; }
.river { width: 100%; height: 56px; margin: clamp(40px, 5vw, 72px) 0; overflow: visible; }
.river path { fill: none; stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .8; }
.name__cols { display: grid; gap: 1.1em; max-width: 1080px; margin-inline: auto; text-align: left; }
.name .body { color: rgba(243,238,229,.82); max-width: none; font-size: 1.0625em; }
.name .body + .body { margin-top: 0; }
.name .body em { font-family: var(--serif); font-size: 1.25em; color: #E6D3AE; }
@media (min-width: 900px) { .name__cols { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); } }

/* credentials */
.credits { margin-top: 40px; border-top: 1px solid var(--stone); }
.credits div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--stone); align-items: baseline; }
.credits dt { color: var(--deep-gold); }
.credits dd { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.35; color: var(--ink); }
@media (min-width: 1200px) { .credits dd { font-size: 20px; } }

/* roots: Isfahan to Los Angeles */
.roots { display: grid; gap: 40px; max-width: 1080px; margin: clamp(80px, 10vw, 160px) auto 0; text-align: left; align-items: center; }
.roots .cap { color: rgba(243,238,229,.6); }
.roots__line { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 1.2rem + 2.6vw, 64px); line-height: 1.08; color: var(--ivory); margin-bottom: 28px; }
.roots__line em { color: #E6D3AE; }
@media (min-width: 900px) { .roots { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 112px); } }

/* ---------- appointment ---------- */
.appointment { background: var(--ivory); }
.appointment__grid { display: grid; gap: 56px; }
.appointment__intro .h2 { margin-bottom: 28px; }
.appointment__mono { width: 56px; height: 56px; color: var(--gold); margin-top: 48px; display: none; }
@media (min-width: 1024px) {
  .appointment__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(64px, 8vw, 180px); align-items: start; }
  .appointment__intro { position: sticky; top: calc(var(--header-h) + 64px); }
  .appointment__mono { display: block; }
}
.appointment__formwrap { background: var(--paper); padding: 40px 20px 32px; margin-inline: calc(var(--gutter) * -1 + 0px); }
@media (min-width: 768px) { .appointment__formwrap { padding: 64px 56px 48px; margin-inline: 0; } }
.form { display: grid; gap: 8px; }
.field { position: relative; padding-top: 22px; }
.field input, .field select, .field textarea {
  width: 100%; appearance: none; -webkit-appearance: none; border: 0; border-bottom: 1px solid var(--stone); border-radius: 0; background: transparent;
  font-family: var(--serif); font-size: 22px; line-height: 1.3; color: var(--ink); padding: 12px 0 12px; outline: none;
  transition: border-color .5s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { padding-right: 28px; cursor: pointer; }
.field--select::after { content: ""; position: absolute; right: 4px; bottom: 22px; width: 8px; height: 8px; border-right: 1px solid var(--graphite); border-bottom: 1px solid var(--graphite); transform: rotate(45deg); pointer-events: none; }
.field label {
  position: absolute; left: 0; top: 36px; font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--graphite);
  pointer-events: none; transform-origin: 0 0; transition: transform .5s var(--ease), color .5s var(--ease);
}
.field .opt { text-transform: none; letter-spacing: .02em; color: #8a857b; margin-left: 6px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--deep-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(-30px) scale(.86); color: var(--deep-gold); }
.field.is-invalid input, .field.is-invalid select { border-bottom-color: #8C3B2E; }
.form__error { min-height: 1.4em; font-size: 14px; color: #8C3B2E; margin-top: 4px; }
.form .btn--solid { margin-top: 12px; }
.form__note { font-size: 13px; color: var(--graphite); text-align: center; margin-top: 10px; }
.thanks { text-align: center; padding: 48px 0 32px; }
.thanks__mono { width: 64px; height: 64px; color: var(--gold); margin: 0 auto 32px; }
.thanks__title { margin-bottom: 18px; }
.thanks .body { margin: 0 auto 24px; }
.thanks:focus { outline: none; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--ivory); padding: clamp(80px, 9vw, 144px) 0 40px; }
.footer__inner { display: grid; gap: 48px; }
.footer__mark img { width: 200px; height: auto; margin-left: -18px; }
.footer .label { color: rgba(243,238,229,.6); }
.footer__cols { display: grid; gap: 28px; }
.footer__place { font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__nav a { text-decoration: none; color: rgba(243,238,229,.75); padding: 6px 0; }
.footer__nav a:hover { color: var(--ivory); }
.footer__legal { padding-top: 28px; border-top: 1px solid rgba(243,238,229,.14); font-size: 10px; }
@media (min-width: 900px) {
  .footer__inner { grid-template-columns: auto 1fr; align-items: start; column-gap: 96px; }
  .footer__mark img { width: 260px; }
  .footer__cols { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer__nav { grid-column: 1 / -1; }
  .footer__legal { grid-column: 1 / -1; }
}

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.js [data-reveal="media"] { transform: none; clip-path: inset(9% 0 0 0); transition: opacity 1.4s var(--ease), clip-path 1.8s var(--ease); }
.js [data-reveal="media"] img, .js [data-reveal="media"] video { transform: scale(1.06); transition: transform 2.6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.js [data-reveal="media"].is-in img, .js [data-reveal="media"].is-in video { transform: none; }
.js .tile.is-in:hover .tile__img img { transform: scale(1.04); }

.js .hero__stage img { opacity: 0; transform: scale(calc(var(--zoom, 1.5) * 1.06)); transition: opacity 2.2s var(--ease) .2s, transform 3.2s var(--ease) .2s; }
.js .hero__text > * { opacity: 0; transform: translateY(18px); transition: opacity 1.6s var(--ease), transform 1.6s var(--ease); }
.js .hero.is-in .hero__stage img { opacity: 1; transform: scale(var(--zoom, 1.5)); }
.js .hero.is-in .hero__text > * { opacity: 1; transform: none; }
.js .hero.is-in .hero__text > :nth-child(2) { transition-delay: .5s; }
.js .hero.is-in .hero__text > :nth-child(3) { transition-delay: .65s; }
.js .hero.is-in .hero__text > :nth-child(4) { transition-delay: .85s; }
.js .hero.is-in .hero__text > :nth-child(5) { transition-delay: 1.05s; }
.js .hero__caption { opacity: 0; transition: opacity 1.6s var(--ease) 1.4s; }
.js .hero.is-in .hero__caption { opacity: 1; }
.draw-mono__hex { stroke-dasharray: 520; stroke-dashoffset: 0; }
.draw-mono__stone { stroke-dasharray: 210; stroke-dashoffset: 0; }
.js .draw-mono__hex { stroke-dashoffset: 520; transition: stroke-dashoffset 2.4s var(--ease) .3s; }
.js .draw-mono__stone { stroke-dashoffset: 210; transition: stroke-dashoffset 1.6s var(--ease) 1.6s; }
.js .hero.is-in .draw-mono__hex, .js .hero.is-in .draw-mono__stone { stroke-dashoffset: 0; }
.river path { stroke-dasharray: 1400; stroke-dashoffset: 0; }
.js .river path { stroke-dashoffset: 1400; transition: stroke-dashoffset 4s var(--ease); }
.js .river.is-in path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal="media"], .js [data-reveal] img, .js [data-reveal] video,
  .js .hero__stage img, .js .hero__text > *, .js .hero__caption { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .js .hero__stage img { transform: scale(var(--zoom, 1.5)) !important; }
  .js .draw-mono__hex, .js .draw-mono__stone, .js .river path { stroke-dashoffset: 0 !important; transition: none !important; }
  .tile__img img, .btn, .link-quiet, .site-header { transition: none !important; }
}
