/* ==========================================================================
   371AURELIAR
   Film-led, editorial. The page is a sequence of scenes, each with one
   layout idea and one motion idea. Nothing moves unless it tells you
   something: where you are, what is next, what is alive.

   Shape rule
     interactive elements  -> full pill
     frames, cards, bands  -> square
     inputs                -> square, hairline underline only
     the manifesto's inline pictures are the one deliberate exception
   ========================================================================== */

:root {
  /* surfaces */
  --ink:        #0E0E0F;
  --ink-2:      #141416;
  --ink-3:      #1C1C1F;

  --cream:      #F2EFE9;
  --cream-2:    #E9E4DA;
  --cream-3:    #DCD5C7;

  /* one champagne accent, calibrated per surface:
     --gold / --gold-soft on ink, --gold-ink on cream (AA) */
  --gold:       #C9A66B;
  --gold-soft:  #DCC49B;
  --gold-ink:   #7E6034;

  --on-ink:        #F2EFE9;
  --on-ink-dim:    rgba(242, 239, 233, 0.74);
  --on-ink-faint:  rgba(242, 239, 233, 0.56);
  --hair-ink:      rgba(242, 239, 233, 0.14);
  --hair-ink-2:    rgba(242, 239, 233, 0.28);

  --on-cream:       #17171A;
  --on-cream-dim:   rgba(23, 23, 26, 0.78);
  --on-cream-faint: rgba(23, 23, 26, 0.64);
  --hair-cream:     rgba(23, 23, 26, 0.14);
  --hair-cream-2:   rgba(23, 23, 26, 0.30);

  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans:  'Archivo', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --band-y: clamp(6rem, 13vw, 12rem);
  --maxw:   1560px;
  --head-h: 5.25rem;

  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-p: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  /* intro timing: the hero waits for the curtain on a first visit */
  --intro-base: 1.55s;

  --z-media: 0;
  --z-scrim: 2;
  --z-copy:  3;
  --z-menu:  95;
  --z-head:  100;
  --z-grain: 250;
  --z-curtain: 300;
}

html.is-seen { --intro-base: 0.15s; }

/* ------------------------------------------------------------- reset --- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--head-h);
}

html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--sans);
  font-size: 15.75px;
  font-weight: 300;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-feature-settings: "tnum" 0;
}

body.is-locked { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold-ink); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 400;
  padding: 0.8rem 1.2rem; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: 0.8rem;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------------------------------------------------------- curtain --- */

.curtain {
  position: fixed; inset: 0; z-index: var(--z-curtain);
  display: none; place-items: center;
  background: var(--ink);
  pointer-events: none;
}

html.js:not(.is-seen) .curtain {
  display: grid;
  animation: curtain-up 1.05s var(--ease-io) 1.15s forwards;
}

.curtain__mark { display: grid; justify-items: center; gap: 0.9rem; }

.curtain__word {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
  padding-left: 0.34em;
  clip-path: inset(0 100% 0 0);
  animation: wipe 0.9s var(--ease-p) 0.1s forwards;
}

.curtain__rule {
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0);
  animation: grow 0.8s var(--ease-p) 0.35s forwards;
}

.curtain__sub {
  font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--on-ink-faint);
  opacity: 0;
  animation: fade 0.6s var(--ease) 0.55s forwards;
}

@keyframes curtain-up { to { transform: translateY(-100%); } }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 1; } }

/* page leave: the curtain comes back down before navigating */
body.is-leaving .curtain {
  display: grid;
  animation: curtain-down 0.6s var(--ease-io) forwards;
  transform: translateY(100%);
}
body.is-leaving .curtain__mark { display: none; }
@keyframes curtain-down { to { transform: translateY(0); } }

/* ------------------------------------------------------------- grain --- */

.grain {
  position: fixed; inset: -50%; z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* -------------------------------------------------------- type system --- */

.display {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.018em;
  font-variant-ligatures: common-ligatures discretionary-ligatures;
  text-wrap: balance;
}

.display em, .hero__title em, .film__quote em, .idea__text em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-soft);
}

.display--xl { font-size: clamp(3.1rem, 8.6vw, 9.5rem); line-height: 0.96; letter-spacing: -0.028em; }
.display--l  { font-size: clamp(2.6rem, 6.2vw, 6.6rem); line-height: 0.98; letter-spacing: -0.024em; }
.display--m  { font-size: clamp(2.1rem, 4.1vw, 4.3rem); }
.display--s  { font-size: clamp(1.75rem, 2.6vw, 2.75rem); line-height: 1.08; }

.lede {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.75;
  color: var(--on-ink-dim);
  max-width: 42ch;
}

.meta {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
  font-feature-settings: "tnum" 1;
}

/* section label: an index number in italic serif and a tracked caption */
.label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.9rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.label span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--gold);
}

.cap {
  display: block;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--on-ink-faint);
}

/* ---------------------------------------------------------- buttons --- */

.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.05rem 1.7rem 1.05rem 1.85rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}

/* a fill that rises from below on hover */
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--gold-soft);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease-p);
}

.btn:hover::before { transform: translateY(0); }
.btn svg { flex: 0 0 auto; transition: transform 0.5s var(--ease-p); }
.btn:hover svg { transform: translateX(4px); }

/* rolling label: JS wraps the text in .roll; the copy waits underneath */
.btn > span { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll { display: inline-block; transition: transform 0.6s var(--ease-p); }
.roll::after {
  content: attr(data-t);
  position: absolute; left: 0; top: 100%;
}
.btn:hover .roll { transform: translateY(-100%); }

.btn--sm { padding: 0.72rem 1.1rem 0.72rem 1.3rem; font-size: 0.6875rem; gap: 0.7rem; }
.btn--lg { padding: 1.3rem 2.1rem 1.3rem 2.3rem; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--on-ink);
  box-shadow: inset 0 0 0 1px var(--hair-ink-2);
}
.btn--ghost::before { background: var(--on-ink); }
.btn--ghost:hover { --btn-fg: var(--ink); }

.btn--glass {
  --btn-bg: rgba(242, 239, 233, 0.1);
  --btn-fg: var(--on-ink);
  box-shadow: inset 0 0 0 1px var(--hair-ink-2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn--glass::before { background: var(--gold); }
.btn--glass:hover { --btn-fg: var(--ink); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--cream); }
.btn--dark::before { background: var(--gold-ink); }

.btn[disabled] { opacity: 0.55; pointer-events: none; }
.btn.is-busy { opacity: 0.7; pointer-events: none; }

.textlink {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 0.4rem;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  transition: background-size 0.6s var(--ease-p), color 0.4s var(--ease);
}
.textlink:hover { background-size: 0 1px; background-position: 100% 100%; }
.textlink--quiet { color: var(--on-ink-faint); }

/* ------------------------------------------------------------ header --- */

.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-head);
  color: var(--on-ink);
  transition: transform 0.7s var(--ease-p), background-color 0.5s var(--ease);
}

.header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(14, 14, 15, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--hair-ink);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.header.is-stuck::before { opacity: 1; }

.header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(var(--sp, 0));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.header.is-stuck::after { opacity: 0.9; }
.header.is-hidden { transform: translateY(-100%); }
body.is-menu .header { transform: none; }
body.is-menu .header::before { opacity: 0; }

.header__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--head-h);
  padding-inline: var(--gutter);
}

.header__cta { justify-self: end; }

.menu-btn {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  padding: 0.6rem 0;
}

.menu-btn__lines { position: relative; width: 26px; height: 9px; }
.menu-btn__lines span {
  position: absolute; left: 0; height: 1px; background: currentColor;
  transition: transform 0.6s var(--ease-p), width 0.6s var(--ease-p);
}
.menu-btn__lines span:first-child { top: 0; width: 100%; }
.menu-btn__lines span:last-child  { bottom: 0; width: 62%; }
.menu-btn:hover .menu-btn__lines span:last-child { width: 100%; }

body.is-menu .menu-btn__lines span:first-child { transform: translateY(4px) rotate(45deg); }
body.is-menu .menu-btn__lines span:last-child  { width: 100%; transform: translateY(-4px) rotate(-45deg); }

.mark {
  display: inline-grid;
  justify-items: center;
  gap: 0.35rem;
  color: var(--on-ink);
}
.mark__word {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  text-transform: uppercase;
  line-height: 1;
}
.mark__rule { width: 100%; height: 1px; background: var(--gold); transform-origin: center; transition: transform 0.6s var(--ease-p); }
.mark:hover .mark__rule { transform: scaleX(0.4); }

@media (max-width: 640px) {
  :root { --head-h: 4.5rem; }
  .mark__word { font-size: 0.82rem; letter-spacing: 0.26em; padding-left: 0.26em; }
  .menu-btn__label { display: none; }
  .header__cta svg { display: none; }
}

/* -------------------------------------------------------------- menu --- */

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: grid;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease-io);
  visibility: hidden;
}

body.is-menu .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu:not([aria-hidden="true"]) { visibility: visible; }

@media (min-width: 900px) { .menu { grid-template-columns: 0.9fr 1.1fr; } }

.menu__media { position: relative; overflow: hidden; display: none; }
@media (min-width: 900px) { .menu__media { display: block; } }
.menu__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9);
  transform: scale(1.12);
  transition: transform 1.4s var(--ease-p), opacity 0.5s var(--ease);
}
body.is-menu .menu__media img { transform: scale(1); }
.menu__media img.is-swapping { opacity: 0.2; }

.menu__nav {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--head-h) + 3vh) var(--gutter) clamp(2rem, 5vh, 3.5rem);
  overflow-y: auto;
}

.menu__list { display: grid; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--hair-ink); }
.menu__list a {
  display: flex; align-items: baseline; gap: 1.25rem;
  padding-block: clamp(0.35rem, 1.2vh, 0.8rem);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 5.4vh, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transform: translateY(105%);
  transition: transform 0.9s var(--ease-p), color 0.4s var(--ease), padding 0.5s var(--ease-p);
}
.menu__list li:nth-child(1) a { transition-delay: 0.18s, 0s, 0s; }
.menu__list li:nth-child(2) a { transition-delay: 0.23s, 0s, 0s; }
.menu__list li:nth-child(3) a { transition-delay: 0.28s, 0s, 0s; }
.menu__list li:nth-child(4) a { transition-delay: 0.33s, 0s, 0s; }
.menu__list li:nth-child(5) a { transition-delay: 0.38s, 0s, 0s; }
.menu__list li:nth-child(6) a { transition-delay: 0.43s, 0s, 0s; }
body.is-menu .menu__list a { transform: none; }
.menu__list a:hover { color: var(--gold-soft); padding-left: 0.75rem; }

.menu__no {
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  transform: translateY(-1.1em);
}

.menu__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem; margin-top: 2.5rem;
  opacity: 0; transition: opacity 0.6s var(--ease) 0s;
}
body.is-menu .menu__foot { opacity: 1; transition-delay: 0.5s; }

.menu__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-size: 0.8125rem; color: var(--on-ink-dim); }
.menu__meta a:hover { color: var(--gold-soft); }

/* ------------------------------------------------------ line reveals --- */

/* Each line is a mask. The padding gives ascenders, descenders and italic
   overhang room inside the mask; the negative margin gives it back so the
   layout is unchanged. */
.line {
  display: block;
  overflow: hidden;
  padding: 0.16em 0.12em 0.1em 0;
  margin: -0.16em -0.12em -0.1em 0;
}
.line > span { display: inline-block; }

html.js .split-lines .line > span {
  transform: translateY(130%);
  transition: transform 1.2s var(--ease-p);
}
html.js .split-lines .line:nth-child(2) > span { transition-delay: 0.09s; }
html.js .split-lines .line:nth-child(3) > span { transition-delay: 0.18s; }
html.js .split-lines.is-in .line > span { transform: none; }

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.1s var(--ease), transform 1.2s var(--ease-p);
  transition-delay: var(--delay, 0s);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

/* -------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  min-height: max(100svh, 640px);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: var(--on-ink);
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: var(--z-media); }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-settle 2.6s var(--ease-p) calc(var(--intro-base) - 0.5s) both;
}
@keyframes hero-settle { from { transform: scale(1.18); } to { transform: scale(1.06); } }

.hero__scrim {
  position: absolute; inset: 0; z-index: var(--z-scrim);
  background:
    linear-gradient(180deg, rgba(14,14,15,0.55) 0%, rgba(14,14,15,0) 22%),
    linear-gradient(0deg, rgba(14,14,15,0.92) 0%, rgba(14,14,15,0.55) 34%, rgba(14,14,15,0.08) 62%),
    linear-gradient(90deg, rgba(14,14,15,0.58) 0%, rgba(14,14,15,0.28) 45%, rgba(14,14,15,0) 75%);
}

.hero__top, .hero__body { position: relative; z-index: var(--z-copy); }

.hero__top {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: calc(var(--head-h) + 1.25rem) var(--gutter) 0;
}

.hero__body {
  align-self: end;
  padding: 0 var(--gutter) clamp(2rem, 5.5vh, 3.75rem);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 10.4vw, 12.75rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-left: -0.04em;
}
.hero__title .line:nth-child(2) { padding-left: clamp(0rem, 11vw, 14rem); }

.hero__foot {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2rem, 4.5vh, 3.25rem);
  padding-top: clamp(1.5rem, 3vh, 2rem);
  border-top: 1px solid var(--hair-ink-2);
}

@media (min-width: 900px) {
  .hero__foot { grid-template-columns: 1fr auto; align-items: end; }
}

.hero__lede { display: grid; gap: 1.5rem; }
.hero__lede p { max-width: 44ch; color: var(--on-ink-dim); font-size: clamp(0.95rem, 1.1vw, 1.05rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__now {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 2rem;
  row-gap: 0.2rem;
  align-items: end;
  padding-left: clamp(0rem, 2vw, 2rem);
}
@media (min-width: 900px) { .hero__now { border-left: 1px solid var(--hair-ink-2); } }

.hero__now-label {
  grid-column: 1;
  font-size: 0.625rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.hero__now-label::before { content: ""; width: 1.5rem; height: 1px; background: var(--gold); }

.hero__now-title { grid-column: 1; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; transition: color 0.3s var(--ease); }
.hero__now-title { display: inline-flex; align-items: center; gap: 0.75rem; }
.hero__now-title svg { opacity: 0; transform: translateX(-6px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-p); }
a.hero__now-title:hover { color: var(--gold-soft); }
a.hero__now-title:hover svg { opacity: 1; transform: none; }
.hero__now-sub { grid-column: 1; font-size: 0.8125rem; color: var(--on-ink-faint); }
.hero__now .vid-toggle { grid-column: 2; grid-row: 1 / span 3; }

.vid-toggle {
  display: inline-flex; align-items: center; gap: 0.7rem;
  height: 3rem; padding: 0 1.1rem 0 0.5rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--hair-ink-2);
  font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase;
  transition: box-shadow 0.4s var(--ease), background-color 0.4s var(--ease);
}
.vid-toggle:hover { background: rgba(242, 239, 233, 0.08); box-shadow: inset 0 0 0 1px var(--on-ink-dim); }
.vid-toggle__icon {
  position: relative; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--on-ink);
}
.vid-toggle__icon::before, .vid-toggle__icon::after {
  content: ""; position: absolute; top: 50%; width: 2px; height: 9px; margin-top: -4.5px; background: var(--ink);
}
.vid-toggle__icon::before { left: calc(50% - 3.5px); }
.vid-toggle__icon::after  { left: calc(50% + 1.5px); }
.vid-toggle.is-paused .vid-toggle__icon::before {
  left: calc(50% - 2px); width: 0; height: 0; margin-top: -5px; background: none;
  border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--ink);
}
.vid-toggle.is-paused .vid-toggle__icon::after { display: none; }


/* the hero's own entrance, keyed off the curtain */
html.js [data-intro] {
  animation: intro-rise 1.3s var(--ease-p) both;
  animation-delay: calc(var(--intro-base) + var(--i, 0) * 90ms);
}
html.js .line > [data-intro] { animation-name: intro-line; }

@keyframes intro-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes intro-line { from { transform: translateY(130%); } to { transform: none; } }

@media (max-width: 899px) {
  .hero__title { font-size: clamp(3.4rem, 15vw, 6rem); }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__now { grid-template-columns: 1fr auto; padding-left: 0; }
  .meta--right { display: none; }
}

/* -------------------------------------------------------------- idea --- */

.idea {
  background: var(--cream);
  color: var(--on-cream);
  padding-block: var(--band-y);
}

.idea .label { color: var(--on-cream-dim); }
.idea .label span { color: var(--gold-ink); }

.idea__text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.35vw, 4.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-indent: clamp(0rem, 12vw, 14rem);
}

/* words are split by JS and brighten with scroll */
.idea__text .w { opacity: var(--o, 1); transition: opacity 0.25s linear; }
html.js .idea__text .w { --o: 0.22; }

.pill-img {
  display: inline-block;
  width: 1.65em; height: 0.82em;
  margin-inline: 0.08em;
  border-radius: 999px;
  overflow: hidden;
  vertical-align: -0.04em;
  text-indent: 0;
  transform: scale(var(--s, 1));
  transition: transform 0.8s var(--ease-p);
}
html.js .pill-img { --s: 0.4; }
html.js .pill-img.is-on { --s: 1; }
.pill-img img { width: 100%; height: 100%; object-fit: cover; }

.idea__foot { margin-top: clamp(4rem, 8vw, 7rem); }

.figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.figures > div { border-top: 1px solid var(--hair-cream-2); padding-top: 1.1rem; }
.figures dt {
  font-size: 0.6875rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--on-cream-faint);
}
.figures dd {
  margin-top: 0.5rem;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.35rem, 2.4vw, 2.3rem);
  line-height: 1.1;
}

@media (max-width: 640px) {
  .figures { grid-template-columns: 1fr; }
  .idea__text { text-indent: 0; }
}

/* -------------------------------------------------------------- club --- */

.club { padding-block: var(--band-y) calc(var(--band-y) * 0.6); background: var(--ink); }

.sec-head { margin-bottom: clamp(3rem, 7vw, 6rem); }
.sec-head .lede { margin-top: 1.75rem; }

.sec-head--row { display: grid; gap: 1.75rem; }
@media (min-width: 900px) {
  .sec-head--row { grid-template-columns: 1fr auto; align-items: end; }
  .sec-head--row .lede { margin-top: 0; max-width: 34ch; }
}

.club__grid { display: grid; gap: 3rem; }

@media (min-width: 900px) {
  .club__grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 8rem); }
}

.club__stage { display: none; }

@media (min-width: 900px) {
  .club__stage {
    display: block;
    position: sticky;
    top: calc(var(--head-h) + 3vh);
    height: calc(100svh - var(--head-h) - 8vh);
    align-self: start;
  }
}

.club__frame {
  position: relative;
  height: calc(100% - 2.5rem);
  overflow: hidden;
  background: var(--ink-3);
}

.club__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0);
  transform: scale(1.14);
  transition: clip-path 1.1s var(--ease-io), transform 1.6s var(--ease-p);
}
.club__frame img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.club__frame img.is-leaving { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 0; }

.club__count {
  margin-top: 1rem;
  font-size: 0.75rem; letter-spacing: 0.2em;
  color: var(--on-ink-faint);
  font-feature-settings: "tnum" 1;
}
.club__count span { color: var(--gold); }

.pillar {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hair-ink);
  transition: opacity 0.6s var(--ease);
}

@media (min-width: 900px) {
  .pillar {
    min-height: 50vh;
    display: flex; flex-direction: column; justify-content: center;
    opacity: 0.28;
  }
  .pillar.is-active { opacity: 1; }
  .pillar:last-child { min-height: 62vh; }
}

.pillar__img { margin-bottom: 1.75rem; aspect-ratio: 4 / 5; overflow: hidden; }
.pillar__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .pillar__img { display: none; } }

.pillar__no {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  color: var(--gold);
}
.pillar__title {
  margin: 0.75rem 0 1.25rem;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 5.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.pillar p { max-width: 38ch; color: var(--on-ink-dim); font-size: 1.02rem; }

/* -------------------------------------------------------------- film --- */

.film { position: relative; height: 200vh; background: var(--ink); }

.film__sticky {
  position: sticky; top: 0;
  height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
}

.film__frame {
  --p: 0;
  position: absolute; inset: 0;
  clip-path: inset(calc((1 - var(--p)) * 22%) calc((1 - var(--p)) * 30%));
  will-change: clip-path;
}

.film__frame video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.3 - var(--p) * 0.3));
}

.film__scrim {
  position: absolute; inset: 0;
  background: rgba(14, 14, 15, calc(0.1 + var(--p) * 0.42));
}

.film__quote {
  position: relative; z-index: var(--z-copy);
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  padding-inline: var(--gutter);
  pointer-events: none;
}

html.js .film__quote .line > span { transform: translateY(130%); transition: transform 1.2s var(--ease-p); }
html.js .film__quote .line:nth-child(2) > span { transition-delay: 0.1s; }
html.js .film.is-open .film__quote .line > span { transform: none; }

.film__cap {
  position: absolute; z-index: var(--z-copy);
  left: var(--gutter); bottom: clamp(1.5rem, 4vh, 2.5rem);
  opacity: 0; transition: opacity 0.8s var(--ease);
}
.film.is-open .film__cap { opacity: 1; }

/* ----------------------------------------------------------- moments --- */

.moments { position: relative; background: var(--ink); }

.moments__pin {
  padding-block: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.moments__head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}
.moments__head .label { margin-bottom: 0.25rem; }
.moments__hint { display: none; align-items: center; gap: 0.8rem; color: var(--on-ink-faint); }

.moments__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline-offset: -4px;
}
.moments__track::-webkit-scrollbar { display: none; }

.shot { flex: 0 0 auto; scroll-snap-align: start; margin: 0; }
.shot__img { overflow: hidden; background: var(--ink-3); }
.shot__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.shot figcaption {
  display: flex; gap: 1rem;
  margin-top: 0.9rem;
  font-size: 0.75rem; letter-spacing: 0.04em; color: var(--on-ink-dim);
}
.shot figcaption span { font-family: var(--serif); font-style: italic; color: var(--gold); }

.shot--tall  .shot__img { width: 68vw; aspect-ratio: 4 / 5; }
.shot--wide  .shot__img { width: 82vw; aspect-ratio: 3 / 2; }
.shot--small .shot__img { width: 52vw; aspect-ratio: 4 / 5; }
.shot--end {
  width: 70vw;
  align-self: center;
  display: grid; gap: 1.5rem; justify-items: start;
}

.moments__progress { display: none; }

@media (min-width: 900px) {
  /* desktop: the section pins and the track travels sideways with scroll */
  html.js .moments.is-pinned .moments__pin {
    position: sticky; top: 0;
    height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding-block: calc(var(--head-h) + 1rem) 2rem;
  }
  html.js .moments.is-pinned .moments__track {
    overflow: visible;
    scroll-snap-type: none;
    will-change: transform;
    padding-right: 12vw;
  }
  .moments__head { grid-template-columns: 1fr auto; align-items: end; }
  .moments__head .label { grid-column: 1 / -1; }
  .moments__hint { display: inline-flex; }

  .shot--tall  .shot__img { width: auto; height: 48vh; }
  .shot--wide  .shot__img { width: auto; height: 36vh; }
  .shot--small .shot__img { width: auto; height: 30vh; }
  .shot--low  { margin-top: 9vh; }
  .shot--high { margin-top: -2vh; }
  .shot--small { margin-top: 15vh; }
  .shot--end { width: 30vw; margin-left: 4vw; }

  html.js .moments.is-pinned .moments__progress {
    display: block;
    position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.5rem;
    height: 1px; background: var(--hair-ink);
  }
  .moments__progress span {
    position: absolute; inset: 0;
    background: var(--gold);
    transform-origin: left;
    transform: scaleX(var(--hp, 0));
  }
}

/* ------------------------------------------------------ introduction --- */

.intro { padding-block: var(--band-y) calc(var(--band-y) * 0.7); background: var(--cream); color: var(--on-cream); }

.intro__grid { display: grid; gap: 3.5rem; }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 5fr 6fr; gap: clamp(4rem, 8vw, 9rem); align-items: center; }
}

.intro__figure .cap { color: var(--on-cream-faint); }
.intro__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-3); }
.intro__img img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--py, -8%)); }

.intro__body { display: grid; gap: 2rem; justify-items: start; }
.intro__body .display em { color: var(--gold-ink); }
.intro__body .lede { color: var(--on-cream-dim); }

.ticks { width: 100%; max-width: 30rem; }
.ticks li {
  display: flex; gap: 1.25rem;
  padding-block: 0.95rem;
  border-top: 1px solid var(--hair-cream);
  font-size: 0.975rem;
  color: var(--on-cream-dim);
}
.ticks li:last-child { border-bottom: 1px solid var(--hair-cream); }
.ticks li span { font-family: var(--serif); font-style: italic; color: var(--gold-ink); min-width: 1.75rem; }

/* --------------------------------------------------------- chapter v --- */

.next { padding-block: var(--band-y); background: var(--cream); color: var(--on-cream); border-top: 1px solid var(--hair-cream); }
.next .label { color: var(--on-cream-dim); }
.next .label span, .intro .label span { color: var(--gold-ink); }
.intro .label { color: var(--on-cream-dim); margin-bottom: 0; }

.next__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) {
  .next__grid { grid-template-columns: 1.15fr 1fr; gap: clamp(3rem, 7vw, 8rem); align-items: end; }
}

.next__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(6rem, 21vw, 22rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  margin-left: -0.05em;
}
.next__title .line:nth-child(2) { padding-left: 0.62em; margin-top: -0.06em; }
.next__title em { font-style: italic; color: var(--gold-ink); }

.next__side { display: grid; gap: 1.5rem; justify-items: start; padding-bottom: 1rem; }
.next__side .lede { color: var(--on-cream-dim); }
.next__date {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-ink);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 30rem;
  margin-block: 0.75rem 1rem;
  border-top: 1px solid var(--hair-cream-2);
  border-bottom: 1px solid var(--hair-cream-2);
}
.countdown > div { padding: 1.1rem 0 1rem; display: grid; gap: 0.2rem; }
.countdown > div + div { border-left: 1px solid var(--hair-cream); padding-left: 1rem; }
.countdown span {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}
.countdown small {
  font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--on-cream-faint);
}

.letter { display: grid; gap: 1.1rem; max-width: 46ch; }
.letter p { color: var(--on-cream-dim); font-size: 1.02rem; }

/* -------------------------------------------------------- membership --- */

.membership {
  position: relative;
  padding-block: var(--band-y);
  overflow: hidden;
  isolation: isolate;
}

.membership__bg { position: absolute; inset: -12% 0; z-index: -2; }
.membership__bg img { width: 100%; height: 100%; object-fit: cover; }
.membership__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(14,14,15,0.8) 20%, rgba(14,14,15,0.86) 60%, rgba(14,14,15,0.94) 85%, var(--ink) 100%);
}

.membership .label span { color: var(--gold); }
.membership .sec-head .lede { max-width: 40ch; }

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem); } }

.step {
  padding-block: 2rem 2.5rem;
  border-top: 1px solid var(--hair-ink-2);
}
.step__no {
  display: block;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 1;
  color: var(--gold);
  margin-bottom: 1.75rem;
}
.step h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.6rem; line-height: 1.2;
  margin-bottom: 0.75rem;
}
.step p { color: var(--on-ink-dim); max-width: 32ch; }

.membership__cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.membership__cta .meta { color: var(--on-ink-faint); }

/* --------------------------------------------------------------- faq --- */

.faq { padding-block: var(--band-y); background: var(--cream); color: var(--on-cream); }
.faq .display em { color: var(--gold-ink); }
.faq .label { color: var(--on-cream-dim); }
.faq .label span { color: var(--gold-ink); }
.faq .lede { color: var(--on-cream-dim); margin-block: 1.75rem 1.5rem; }

.faq__grid { display: grid; gap: 3.5rem; }
@media (min-width: 1000px) {
  .faq__grid { grid-template-columns: 5fr 7fr; gap: clamp(4rem, 8vw, 9rem); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--head-h) + 3rem); }
}

.qas { border-top: 1px solid var(--hair-cream-2); }

.qa { border-bottom: 1px solid var(--hair-cream-2); }

.qa summary {
  list-style: none;
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding-block: clamp(1.4rem, 2.2vw, 1.9rem);
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }

.qa__no { font-family: var(--serif); font-style: italic; color: var(--gold-ink); }
.qa__q {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
}
.qa summary:hover .qa__q { color: var(--gold-ink); }

.qa__sign {
  position: relative; width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--hair-cream-2);
  align-self: center;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.6s var(--ease-p);
}
.qa__sign::before, .qa__sign::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 11px; height: 1px; margin: -0.5px 0 0 -5.5px;
  background: currentColor;
  transition: transform 0.5s var(--ease-p);
}
.qa__sign::after { transform: rotate(90deg); }
.qa summary:hover .qa__sign { background: var(--on-cream); color: var(--cream); box-shadow: none; }
.qa.is-open .qa__sign, html:not(.js) .qa[open] .qa__sign { transform: rotate(180deg); }
.qa.is-open .qa__sign::after, html:not(.js) .qa[open] .qa__sign::after { transform: rotate(0deg); }

.qa__a { display: grid; grid-template-rows: 1fr; }
html.js .qa__a { grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease-p); }
html.js .qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p {
  padding: 0 3.5rem 1.9rem 3.5rem;
  max-width: 60ch;
  color: var(--on-cream-dim);
}
@media (max-width: 640px) { .qa__a p { padding-inline: 0; } .qa summary { grid-template-columns: 2rem 1fr auto; } }

/* ------------------------------------------------------------ footer --- */

.footer { position: relative; background: var(--ink); padding-bottom: 2rem; overflow: hidden; }

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--hair-ink);
  padding-block: 1.4rem;
}
.marquee__track {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--on-ink-dim);
  white-space: nowrap;
}
.marquee__track i { font-style: normal; font-size: 0.6em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

.footer__cta {
  display: grid; justify-items: start; gap: 2.75rem;
  padding-block: clamp(5rem, 11vw, 9rem) clamp(4rem, 8vw, 6rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--hair-ink);
}
@media (min-width: 900px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }

.footer h4 {
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer__grid p, .footer__grid li { font-size: 0.9375rem; color: var(--on-ink-dim); }
.footer__grid li + li { margin-top: 0.35rem; }
.footer__grid a { transition: color 0.3s var(--ease); }
.footer__grid a:hover { color: var(--gold-soft); }
[data-clock] { font-feature-settings: "tnum" 1; color: var(--on-ink); }

.footer__word {
  margin-top: clamp(3rem, 6vw, 5rem);
  text-align: center;
  font-size: 13.6vw;
  line-height: 1;
  padding-top: 0.08em;
  height: 0.9em;
  overflow: hidden;
  user-select: none;
}
.footer__word span {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1em;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-soft) 0%, rgba(201, 166, 107, 0.2) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(var(--fy, 30%));
}

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  margin-top: 1.75rem; padding-top: 1.5rem;
  border-top: 1px solid var(--hair-ink);
  font-size: 0.8125rem; color: var(--on-ink-faint);
}

/* ============================================================== apply === */

.apply { display: grid; min-height: 100svh; background: var(--cream); }

@media (min-width: 1000px) { .apply { grid-template-columns: 0.9fr 1.1fr; } }

.apply__aside {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 3rem;
  min-height: 78svh;
  padding: clamp(1.75rem, 4vh, 2.5rem) var(--gutter) clamp(2.5rem, 6vh, 4rem);
  overflow: hidden;
  color: var(--on-ink);
  isolation: isolate;
}

@media (min-width: 1000px) { .apply__aside { position: sticky; top: 0; height: 100svh; } }

.apply__media { position: absolute; inset: 0; z-index: -2; }
.apply__media img, .apply__media video { width: 100%; height: 100%; object-fit: cover; animation: apply-drift 24s ease-in-out infinite alternate; }
@keyframes apply-drift { from { transform: scale(1.04); } to { transform: scale(1.14) translateX(-2%); } }

.apply__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,14,15,0.6) 0%, rgba(14,14,15,0.25) 22%, rgba(14,14,15,0.62) 48%, rgba(14,14,15,0.95) 100%),
    linear-gradient(90deg, rgba(14,14,15,0.5) 0%, rgba(14,14,15,0) 70%);
}

.apply__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.apply__aside .mark { justify-items: start; }
.apply__aside .lede { color: rgba(242, 239, 233, 0.84); }
.apply__aside h1 { margin-top: 0; }

.apply__points { display: grid; gap: 0; max-width: 28rem; }
.apply__points li {
  display: flex; gap: 1.25rem;
  padding-block: 0.85rem;
  border-top: 1px solid var(--hair-ink-2);
  font-size: 0.9375rem; color: var(--on-ink-dim);
}
.apply__points li span { font-family: var(--serif); font-style: italic; color: var(--gold); min-width: 1.75rem; }

.apply__main {
  background: var(--cream);
  color: var(--on-cream);
  padding: clamp(3rem, 8vh, 6rem) var(--gutter) clamp(4rem, 9vh, 6.5rem);
}

.apply__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.apply__head .label { margin: 0; color: var(--on-cream-dim); }
.apply__head .label span { color: var(--gold-ink); }

.progress-steps {
  display: flex; gap: 0.4rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.progress-steps span {
  flex: 1; height: 2px; background: var(--hair-cream);
  position: relative; overflow: hidden;
}
.progress-steps span::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-ink);
  transform: scaleX(var(--f, 0)); transform-origin: left;
  transition: transform 0.6s var(--ease-p);
}

.form { max-width: 46rem; }

.fieldset { border: 0; margin: 0 0 clamp(3rem, 6vw, 4.5rem); padding: 0; }

.fieldset__head {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  margin-bottom: 2.25rem;
}
.fieldset__head span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-ink);
}
.fieldset__head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--on-cream);
}

.grid-2 { display: grid; gap: clamp(1.75rem, 2.8vw, 2.5rem) clamp(1.5rem, 3vw, 2.75rem); }
@media (min-width: 680px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-cream-faint);
  margin-bottom: 0.6rem;
  transition: color 0.3s var(--ease);
}
.field:focus-within label { color: var(--gold-ink); }
.field label .opt { opacity: 0.7; letter-spacing: 0.12em; }

.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair-cream-2);
  border-radius: 0;
  padding: 0.55rem 0 0.85rem;
  color: var(--on-cream);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 300;
  transition: border-color 0.35s var(--ease);
}

.field textarea { resize: vertical; min-height: 6.5rem; line-height: 1.5; }

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--on-cream-faint) 50%),
                    linear-gradient(135deg, var(--on-cream-faint) 50%, transparent 50%);
  background-position: right 6px center, right 1px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input::placeholder, .field textarea::placeholder { color: var(--on-cream-faint); font-style: italic; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold-ink);
  box-shadow: 0 1px 0 0 var(--gold-ink);
}

.field__error {
  font-size: 0.75rem;
  color: #97331F;
  min-height: 1.1rem;
  margin-top: 0.45rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #97331F; }
.field.has-error .field__error, .consent.has-error + .field__error { opacity: 1; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--on-cream-dim);
  line-height: 1.7;
  cursor: pointer;
}

.consent input {
  appearance: none;
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 0.3rem;
  border: 1px solid var(--hair-cream-2);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.consent input:checked {
  background: var(--gold-ink);
  border-color: var(--gold-ink);
  background-image: linear-gradient(45deg, transparent 46%, #fff 46% 56%, transparent 56%),
                    linear-gradient(-45deg, transparent 46%, #fff 46% 56%, transparent 56%);
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.form__submit {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--hair-cream);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.form__status { font-size: 0.875rem; color: var(--on-cream-dim); }
.form__status[data-state="error"] { color: #97331F; }

.confirm { display: none; max-width: 40rem; min-height: 60vh; align-content: center; }
.confirm > * + * { margin-top: 1.5rem; }
.confirm .display em { color: var(--gold-ink); }
.confirm .lede { color: var(--on-cream-dim); }
.confirm .label { color: var(--on-cream-dim); }
.confirm .label span { color: var(--gold-ink); }
body.is-submitted .form, body.is-submitted .progress-steps { display: none; }
body.is-submitted .confirm { display: grid; animation: intro-rise 1s var(--ease-p) both; }

/* ---------------------------------------------------- reduced motion --- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .curtain, html.js:not(.is-seen) .curtain { display: none; }
  .grain { animation: none; }
  html.js [data-intro] { animation: none; }
  html.js .reveal, html.js .split-lines .line > span, html.js .film__quote .line > span { opacity: 1; transform: none; }
  html.js .idea__text .w { --o: 1; }
  html.js .pill-img { --s: 1; }
  .film { height: auto; }
  .film__sticky { position: relative; }
  .film__frame { --p: 1 !important; }
  .film__cap { opacity: 1; }
  .marquee__track { animation: none; }
}
