/* Growth Shiksha, sample A: Editorial Warm. Tokens documented in DESIGN.md */
:root {
  --paper: #F8F2E6;
  --paper-deep: #EEE3CC;
  --ink: #18203A;
  --ink-soft: #4B5169;
  --marigold: #E9961A;
  --marigold-ink: #9A5200;
  --rule: rgba(24, 32, 58, .16);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(20px, 4vw, 56px);
  --gap: clamp(16px, 2.2vw, 32px);
  --section: clamp(72px, 10vw, 152px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 420; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--marigold-ink); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 30;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(1320px + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- type primitives ---------- */
h1, h2 { font-family: var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.06; font-variation-settings: "opsz" 60; max-width: 18ch; text-wrap: balance; }
.standfirst {
  font-family: var(--serif); font-variation-settings: "opsz" 16;
  font-size: clamp(1.15rem, 1.4vw, 1.35rem); line-height: 1.5; color: var(--ink-soft); max-width: 46ch;
}
.kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .01em; color: var(--marigold-ink); margin-bottom: 18px; }
.kicker-light { color: var(--marigold); }

/* ---------- wordmark ---------- */
.wordmark {
  font-family: var(--serif); font-variation-settings: "opsz" 36; font-weight: 560; font-size: 1.5rem;
  letter-spacing: -0.025em; text-decoration: none; line-height: 1; display: inline-flex; align-items: baseline;
}
.bindu {
  display: inline-block; width: .3em; height: .3em; border-radius: 50%;
  background: var(--marigold); margin: 0 .06em; transform: translateY(-.02em);
}
.wordmark-lg { font-size: clamp(2.4rem, 6vw, 4.6rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  background: var(--marigold); color: var(--ink); border: 0; cursor: pointer;
  font: 600 1rem/1 var(--sans); padding: 16px 24px; border-radius: 999px; text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.btn i { font-size: 1.3em; }
.btn:hover { background: #F1A63A; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { padding: 11px 18px; font-size: .9375rem; }
.link-call {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--rule); padding-bottom: 2px; transition: border-color .25s var(--ease);
}
.link-call i { font-size: 1.25em; }
.link-call:hover { border-color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- masthead ---------- */
.masthead {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px;
  background: linear-gradient(var(--rule), var(--rule)) center bottom / calc(100% - var(--pad) * 2) 1px no-repeat;
}
.nav { display: none; gap: 32px; font-size: .9375rem; }
.nav a, .masthead-tel { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.masthead-actions { display: flex; align-items: center; gap: 20px; }
.masthead-tel { display: none; align-items: center; gap: 6px; font-size: .9375rem; font-weight: 600; }
@media (min-width: 900px) { .nav, .masthead-tel { display: flex; } }
@media (max-width: 420px) { .masthead .btn-sm { padding: 10px 14px; font-size: .875rem; } .masthead .wordmark { font-size: 1.3rem; } }

/* ---------- cover ---------- */
.cover {
  display: grid; gap: 36px; padding-top: clamp(32px, 5vw, 64px); padding-bottom: var(--section);
}
.cover h1 { font-size: clamp(2.6rem, 4.6vw, 4.5rem); line-height: 1.03; margin-bottom: 24px; max-width: 14ch; text-wrap: balance; }
.cover .standfirst { margin-bottom: 32px; max-width: 34ch; }
.cover-figure { margin: 0 calc(var(--pad) * -1); }
.cover-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3.15; background: var(--paper-deep); }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cover-figure figcaption, .feature-figure figcaption {
  font-size: .875rem; line-height: 1.45; color: var(--ink-soft); margin-top: 12px; padding-inline: var(--pad);
}
@media (min-width: 1000px) {
  .cover { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; }
  .cover-copy { grid-column: 1 / span 6; padding-bottom: 40px; padding-right: 24px; }
  .cover-figure { grid-column: 7 / -1; margin: 0 calc(var(--pad) * -1) 0 0; position: relative; }
  .cover-figure::before {
    content: ""; position: absolute; z-index: -1; left: -24px; top: -24px; width: 46%; height: 58%;
    background: var(--paper-deep);
  }
  .cover-figure figcaption { padding-inline: 0; max-width: 46ch; }
}

/* ---------- numbers ---------- */
.numbers { border-block: 1px solid var(--ink); }
.numbers-row { display: grid; grid-template-columns: repeat(2, 1fr); }
.num { padding: 28px 0; }
.num:nth-child(odd) { padding-right: 16px; }
.num:nth-child(n+3) { border-top: 1px solid var(--rule); }
.num dt {
  font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 400;
  font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 6px;
}
.star { color: var(--marigold); font-size: .62em; transform: translateY(-.12em); }
.num dd { font-size: .9375rem; color: var(--ink-soft); margin-top: 8px; max-width: 22ch; }
@media (min-width: 900px) {
  .numbers-row { grid-template-columns: repeat(4, 1fr); }
  .num { padding: 40px 28px; }
  .num:first-child { padding-left: 0; }
  .num:nth-child(n+3) { border-top: 0; }
  .num + .num { border-left: 1px solid var(--rule); }
}

/* ---------- feature ---------- */
.feature { display: grid; gap: 40px; padding-block: var(--section); }
.feature h2 { margin-bottom: 24px; max-width: 16ch; }
.feature .standfirst { margin-bottom: 40px; max-width: 52ch; }
.columns p { max-width: 64ch; margin-bottom: 1.1em; }
.dropcap::first-letter {
  float: left; font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 500;
  font-size: 5.1em; line-height: .82; margin: .06em .1em 0 0; color: var(--marigold-ink);
}
.byline { font-size: .9375rem; font-weight: 600; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--rule); display: inline-block; }
.feature-figure { margin: 56px calc(var(--pad) * -1) 0; }
.feature-frame { overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-deep); }
.feature-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.factbox dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; border-top: 3px solid var(--marigold); padding-top: 20px; }
.factbox dt { font-size: .8125rem; color: var(--ink-soft); }
.factbox dd { font-family: var(--serif); font-variation-settings: "opsz" 24; font-size: 1.15rem; line-height: 1.3; margin-top: 2px; }
@media (min-width: 1000px) {
  .feature { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .factbox { grid-column: 1 / span 3; order: 0; }
  .factbox { padding-top: 10px; }
  .factbox dl { grid-template-columns: 1fr; }
  .feature-body { grid-column: 5 / -1; }
  .columns { columns: 2; column-gap: 48px; }
  .columns p { break-inside: avoid-column; }
  .feature-figure { margin: 64px calc(var(--pad) * -1) 0 0; }
  .feature-figure figcaption { padding-inline: 0; }
}

/* ---------- contents ---------- */
.contents { padding-block: 0 var(--section); }
.contents-head { margin-bottom: 40px; }
.contents-head h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.toc { border-top: 1px solid var(--ink); counter-reset: none; }
.toc li {
  display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 8px; row-gap: 6px;
  padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.toc-n { font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 36; color: var(--marigold-ink); font-size: 1.35rem; }
.toc h3 { font-family: var(--serif); font-variation-settings: "opsz" 36; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -0.01em; }
.toc-lead { display: none; }
.toc p { grid-column: 2; color: var(--ink-soft); font-size: 1rem; max-width: 52ch; }
@media (min-width: 900px) {
  .toc li { grid-template-columns: 4.5rem auto minmax(40px, 1fr) minmax(0, 30rem); column-gap: 20px; padding: 26px 0; }
  .toc-lead { display: block; border-bottom: 1px dotted rgba(24, 32, 58, .35); transform: translateY(-.35em); }
  .toc p { grid-column: auto; }
}
.formats {
  display: grid; gap: 28px; margin-top: 48px; padding: clamp(28px, 4vw, 48px); background: var(--paper-deep);
}
.format-n { font-family: var(--serif); font-variation-settings: "opsz" 72; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 10px; }
.format p:last-child { color: var(--ink-soft); max-width: 34ch; }
.format-notes { display: grid; gap: 10px; font-size: .9875rem; }
.format-notes li { display: flex; gap: 10px; align-items: baseline; }
.format-notes i { color: var(--marigold-ink); transform: translateY(2px); }
@media (min-width: 900px) {
  .formats { grid-template-columns: 1fr 1fr 1.3fr; gap: 48px; }
  .format-notes { border-left: 1px solid var(--rule); padding-left: 40px; align-content: center; }
}

/* ---------- tools ---------- */
.tools { padding-block: 0 var(--section); }
.tools-head { margin-bottom: 36px; }
.tools-head h2 { margin-bottom: 14px; max-width: 20ch; }
.tools-head p { color: var(--ink-soft); max-width: 48ch; }
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); }
.tool-grid li {
  display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule);
  font-size: .9375rem;
}
.tool-grid img { width: 24px; height: 24px; object-fit: contain; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; opacity: .9; flex: none; }
@media (min-width: 640px) { .tool-grid { grid-template-columns: repeat(4, 1fr); column-gap: 24px; } }
@media (min-width: 1100px) { .tool-grid { grid-template-columns: repeat(7, 1fr); } }

/* ---------- stories ---------- */
.stories { padding-block: 0 var(--section); }
.stories h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); margin-bottom: 48px; }
.portrait {
  position: relative; display: block; padding: 0; border: 0; background: var(--paper-deep); cursor: pointer;
  overflow: hidden; width: 100%; aspect-ratio: 4 / 5;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) sepia(.06); transition: transform .9s var(--ease); }
.portrait:hover img { transform: scale(1.03); }
.play {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--ink); font: 600 .875rem/1 var(--sans); padding: 10px 14px 10px 10px; border-radius: 999px;
}
.play i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--marigold); font-size: .95rem; }
.play-sm { padding: 6px; left: 10px; bottom: 10px; }

.lead-story { margin: 0 0 72px; display: grid; gap: 28px; }
.lead-quote { position: relative; }
.lead-quote .context { font-size: .9375rem; color: var(--ink-soft); margin-top: 18px; max-width: 40ch; }
.lead-quote blockquote { margin: 0; position: relative; }
.lead-quote blockquote::before {
  content: "“"; position: absolute; left: -.05em; top: -.08em; font-family: var(--serif); font-variation-settings: "opsz" 72;
  font-size: clamp(7rem, 14vw, 12rem); line-height: 1; color: var(--marigold); z-index: -1; opacity: .9;
}
.lead-quote blockquote p {
  font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 48; font-weight: 380;
  font-size: clamp(1.6rem, 2.9vw, 2.65rem); line-height: 1.2; letter-spacing: -0.01em; max-width: 24ch; padding-top: clamp(4.2rem, 8vw, 6.6rem);
}
figcaption strong { display: block; font-weight: 600; }
figcaption span { display: block; font-size: .875rem; color: var(--ink-soft); line-height: 1.4; }
.lead-quote figcaption { margin-top: 28px; padding-left: 16px; border-left: 3px solid var(--marigold); }
@media (min-width: 900px) {
  .lead-story { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; margin-bottom: 104px; }
  .portrait-lead { grid-column: 1 / span 4; max-width: 420px; }
  .lead-quote { grid-column: 6 / -1; }
}

.quote-grid { display: grid; gap: 40px; }
.q { margin: 0; display: grid; grid-template-columns: 104px 1fr; gap: 20px; align-items: start; }
.q blockquote { margin: 0 0 14px; }
.q blockquote p { font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 24; font-size: 1.3rem; line-height: 1.35; }
@media (min-width: 900px) {
  .quote-grid { grid-template-columns: 1fr 1fr; column-gap: calc(var(--gap) * 2.5); row-gap: 64px; }
  .q { grid-template-columns: 148px 1fr; gap: 28px; }
  .q:nth-child(even) { transform: translateY(72px); }
  .q blockquote p { font-size: 1.5rem; }
}

.workwith { margin-top: 96px; padding-top: 28px; border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .workwith { margin-top: 168px; } }
.workwith h3 { font-size: .9375rem; font-weight: 600; margin-bottom: 18px; font-family: var(--sans); }
.logo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; align-items: center; }
.logo-row img { width: 100%; max-width: 170px; height: auto; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .8; }
@media (min-width: 640px) { .logo-row { grid-template-columns: repeat(5, 1fr); } }

/* ---------- who ---------- */
.who { background: var(--paper-deep); padding-block: clamp(64px, 8vw, 120px); }
.who h2 { font-size: 1rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; margin-bottom: 20px; }
.who-list {
  font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 380;
  font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: 1.1; letter-spacing: -0.025em; max-width: 22ch; text-wrap: balance;
}
.who-note { margin-top: 28px; max-width: 46ch; font-size: 1.125rem; color: var(--ink-soft); }

/* ---------- team ---------- */
.team { padding-block: var(--section); }
.team h2 { margin-bottom: 40px; }
.crew { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.crew + .crew { border-top: 0; }
.crew li { display: flex; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.mono {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--ink); font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 24; font-size: 1.15rem;
}
.crew-founders .mono { background: var(--marigold); border-color: var(--marigold); }
.crew strong { display: block; font-family: var(--serif); font-variation-settings: "opsz" 30; font-weight: 450; font-size: 1.4rem; line-height: 1.2; }
.crew span:not(.mono) { display: block; color: var(--ink-soft); font-size: .9375rem; }
@media (min-width: 900px) {
  .crew-founders { grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
  .crew:not(.crew-founders) { grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); }
  .crew-founders li { padding: 32px 0; }
  .crew-founders .mono { width: 72px; height: 72px; font-size: 1.4rem; }
  .crew-founders strong { font-size: 1.8rem; }
}

/* ---------- visit ---------- */
.visit { display: grid; gap: 48px; padding-block: 0 var(--section); }
.visit h2 { margin-bottom: 32px; }
.dateline {
  font-style: normal; font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; letter-spacing: -0.015em;
}
.landmark { margin: 14px 0 32px; color: var(--ink-soft); }
.visit-facts { display: grid; gap: 0; border-top: 1px solid var(--ink); align-self: end; }
.visit-facts > div { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.visit-facts dt { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; margin-bottom: 6px; }
.visit-facts dt i { color: var(--marigold-ink); font-size: 1.15rem; }
.visit-facts dd a { font-family: var(--serif); font-size: 1.5rem; text-decoration: none; }
.towns dd { display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--serif); font-variation-settings: "opsz" 30; font-size: 1.5rem; line-height: 1.3; }
@media (min-width: 1000px) {
  .visit { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .visit-main { grid-column: 1 / span 6; }
  .visit-facts { grid-column: 8 / -1; }
}

/* ---------- insert (the one ink band) ---------- */
.insert { background: var(--ink); color: var(--paper); padding-block: clamp(72px, 9vw, 136px); }
.insert-inner { display: grid; gap: 48px; }
.insert h2 { margin-bottom: 20px; max-width: 14ch; }
.insert-copy p:last-child { color: rgba(248, 242, 230, .78); max-width: 44ch; font-size: 1.125rem; }
.waitlist { display: grid; gap: 22px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label { font-size: .875rem; font-weight: 600; color: rgba(248, 242, 230, .9); }
.field input {
  font: 400 1.0625rem/1.4 var(--sans); color: var(--paper); background: rgba(248, 242, 230, .06);
  border: 0; border-bottom: 1px solid rgba(248, 242, 230, .5); padding: 14px 14px; border-radius: 0;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.field input:focus { outline: none; border-bottom-color: var(--marigold); background: rgba(248, 242, 230, .1); }
.field input[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-bottom-color: #F4B860; }
.help { font-size: .875rem; color: rgba(248, 242, 230, .72); }
.form-error { font-size: .9375rem; color: #F6C77E; }
.waitlist .btn { justify-self: start; }
.success { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border: 1px solid rgba(233, 150, 26, .6); }
.success i { color: var(--marigold); font-size: 1.6rem; }
.waitlist.done .field, .waitlist.done .btn, .waitlist.done .help { display: none; }
@media (min-width: 1000px) {
  .insert-inner { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
  .insert-copy { grid-column: 1 / span 5; }
  .waitlist { grid-column: 7 / -1; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .waitlist .field:first-child, .waitlist .help, .waitlist .form-error, .waitlist .btn, .waitlist .success { grid-column: 1 / -1; }
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 40px; padding-block: var(--section); }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  padding: 22px 0; font-family: var(--serif); font-variation-settings: "opsz" 30; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--marigold-ink);
  transition: transform .35s var(--ease); flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 62ch; }
.faq details p a { color: var(--marigold-ink); }
@media (min-width: 1000px) {
  .faq { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .faq h2 { grid-column: 1 / span 4; }
  .faq-list { grid-column: 5 / -1; }
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--ink); padding-block: 56px 28px; }
.footer-inner { display: grid; gap: 36px; }
.footer-brand { position: relative; }
.deva { font-family: "Tiro Devanagari Hindi", var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); color: var(--marigold-ink); line-height: 1.2; margin-top: 6px; }
.footer-nap p { margin-bottom: 10px; font-size: .9875rem; }
.footer-nap a { text-decoration: none; font-weight: 600; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-base { margin-top: 48px; padding-top: 20px; background: linear-gradient(var(--rule), var(--rule)) center top / calc(100% - var(--pad) * 2) 1px no-repeat; font-size: .875rem; color: var(--ink-soft); }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 6fr 4fr 2fr; }
}

/* ---------- video dialog ---------- */
.video-dialog { border: 0; padding: 56px 0 0; background: transparent; max-width: min(420px, 92vw); overflow: visible; }
.video-dialog::backdrop { background: rgba(24, 32, 58, .82); }
.video-shell { position: relative; }
.video-shell video { width: 100%; height: auto; max-height: calc(88vh - 56px); background: var(--ink); }
.video-close {
  position: absolute; right: 0; top: -56px; background: var(--paper); color: var(--ink); border: 0; cursor: pointer;
  font: 600 .875rem/1 var(--sans); padding: 10px 16px; border-radius: 999px;
}

/* ---------- motion ---------- */
.js .load { opacity: 0; transform: translateY(22px); animation: rise .8s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 80ms); }
.js .cover-frame { clip-path: inset(0 0 0 100%); animation: unveil 1.2s cubic-bezier(.7, 0, .2, 1) .35s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0); } }

.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .q.rv:nth-child(even) { transform: translateY(90px); }
@media (min-width: 900px) { .js .q.rv.in:nth-child(even) { transform: translateY(72px); } }
@media (max-width: 899px) { .js .q.rv.in:nth-child(even), .js .q.rv:nth-child(even) { transform: none; } .js .q.rv:not(.in):nth-child(even) { transform: translateY(18px); } }

@supports (animation-timeline: view()) {
  .plx img { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes drift { from { transform: translateY(-5%) scale(1.12); } to { transform: translateY(5%) scale(1.12); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .load, .js .rv, .js .cover-frame { opacity: 1 !important; transform: none !important; animation: none !important; clip-path: none !important; transition: none !important; }
  .plx img { animation: none !important; transform: none !important; }
  .portrait img { transition: none; }
}
