/* ALANKOR Coming Soon
   Implementation of the locked design board. Values below are transcribed
   from the board and are not open to adjustment without a design pass. */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Bodoni Moda';
  src: url('/fonts/bodoni-moda.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('/fonts/bodoni-moda-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Martel';
  src: url('/fonts/martel-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --ground: #0C0605;
  --ivory: #F3EEE5;
  --warm-ivory: #E8CFC2;
  --rose: #B96F58;
  --madder: #8A2E2B;
  --madder-deep: #7E2A27;
  --madder-deepest: #6E2321;
  --iron: #241C18;
  --indigo: #32405C;
  --paper: #EFE3D0;
  --alert: #E0A18E;

  --serif: 'Bodoni Moda', 'Times New Roman', serif;
  --body: 'Martel', 'Times New Roman', serif;
  --caps: 'Archivo', system-ui, sans-serif;

  /* settled threshold. Overridden per phase below. */
  --seam: 7%;
  --panel-dur: 1000ms;
  --cloth-draw-dur: 5600ms;
  --cloth-settle-dur: 1200ms;
  --text-dur: 1000ms;
  --cloth-bright: brightness(.62) saturate(.98);
  --cloth-bright-r: brightness(.57) saturate(.98);
  --text-o: 1;
  --house-o: 1;
  --identity-o: 1;
  --invitation-o: 1;
  --sweep-o: 0;
  --sweep-p: 100% 50%;

  /* 360 scale */
  --pad-x: 22px;
  --t-house: 38px;
  --t-house-ls: .15em;
  --t-caps: 8.5px;
  --t-place: 18px;
  --t-line-one: 14px;
  --t-line-two: 12px;
  --t-cta: 10px;
  --t-micro: 10.5px;
  --h-fashion: 430px;
  --h-macro: 264px;
  --pad-memory: 66px;
  --cols-memory: 1fr 48px;
  --pad-signup: 64px;
}

@media (min-width: 390px) {
  :root {
    --pad-x: 24px; --t-house: 41px; --t-house-ls: .16em; --t-caps: 8.5px;
    --t-place: 19px; --t-line-one: 14.5px; --t-line-two: 12.5px; --t-cta: 10px;
    --h-fashion: 460px; --h-macro: 280px; --pad-memory: 72px;
    --cols-memory: 1fr 52px; --pad-signup: 70px;
  }
}
@media (min-width: 430px) {
  :root {
    --pad-x: 26px; --t-house: 45px; --t-house-ls: .16em; --t-caps: 9px;
    --t-place: 21px; --t-line-one: 15px; --t-line-two: 13px; --t-cta: 10.5px;
    --h-fashion: 500px; --h-macro: 300px; --pad-memory: 80px;
    --cols-memory: 1fr 60px; --pad-signup: 78px;
  }
}
@media (min-width: 768px) {
  :root {
    --pad-x: 48px; --t-house: 70px; --t-house-ls: .18em; --t-caps: 10px;
    --t-place: 26px; --t-line-one: 17px; --t-line-two: 13.5px; --t-cta: 11px;
    --t-micro: 10px; --h-fashion: 600px; --h-macro: 380px; --pad-memory: 110px;
    --cols-memory: 260px 1fr; --pad-signup: 100px;
  }
}
@media (min-width: 1280px) {
  :root {
    --pad-x: 80px; --t-house: 108px; --t-house-ls: .2em; --t-caps: 10.5px;
    --t-place: 34px; --t-line-one: 19px; --t-line-two: 14px; --t-cta: 11.5px;
    --t-micro: 10.5px; --h-fashion: 740px; --h-macro: 500px; --pad-memory: 150px;
    --cols-memory: 340px 1fr; --pad-signup: 130px;
  }
}
@media (min-width: 1440px) {
  :root {
    --pad-x: 96px; --t-house: 126px; --t-house-ls: .2em; --t-caps: 11.5px;
    --t-place: 38px; --t-line-one: 20px; --t-line-two: 14.5px; --t-cta: 11.5px;
    --t-micro: 11px; --h-fashion: 840px; --h-macro: 560px; --pad-memory: 168px;
    --cols-memory: 380px 1fr; --pad-signup: 150px;
  }
}

/* ---------- reveal phases ---------- */
html[data-curtain='closed'] {
  --seam: .6%; --cloth-bright: brightness(.1) saturate(.7);
  --cloth-bright-r: brightness(.08) saturate(.7); --sweep-p: 0% 50%;
}
html[data-phase='still'] { --house-o: 0; --identity-o: 0; --invitation-o: 0; }
html[data-phase='house'] { --identity-o: 0; --invitation-o: 0; }
html[data-phase='identity'] { --invitation-o: 0; }
html[data-curtain='part'] {
  --seam: 6.2%; --panel-dur: var(--cloth-draw-dur);
  --cloth-bright: brightness(.58) saturate(.97);
  --cloth-bright-r: brightness(.53) saturate(.97);
  --sweep-o: 1; --sweep-p: 78% 50%;
}
html[data-curtain='settle'] {
  --seam: 7%; --panel-dur: var(--cloth-settle-dur);
  --sweep-o: 0; --sweep-p: 100% 50%;
}
html[data-curtain='complete'] { --seam: 7%; --panel-dur: 0ms; --sweep-o: 0; }
html[data-curtain='repeat'] { --seam: .6%; --panel-dur: 0ms; }
html[data-curtain='reduced'] { --panel-dur: 0ms; }
html[data-phase='reduced'] { --text-dur: 350ms; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ivory);
  font-family: var(--caps);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
/* The signup form and the message panel are gated with the hidden attribute.
   A class that sets display would otherwise outrank the user agent rule and
   render a form the page has no endpoint for. */
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.rule { display: block; width: 48px; height: 1px; background: rgba(232, 207, 194, .36); }

/* ---------- scene 1 · threshold ---------- */
.threshold {
  position: relative;
  height: 100svh;
  min-height: 640px;
  max-height: 920px;
  overflow: hidden;
  background: var(--ground);
}
.threshold__glimpse { position: absolute; inset: 0; }
.threshold__glimpse picture { display: block; width: 100%; height: 100%; }
.threshold__glimpse img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 26%;
  filter: brightness(.5) saturate(1.04);
}
.threshold__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 26% 52% at 50% 50%, rgba(243, 224, 199, .22), rgba(14, 6, 4, 0) 70%);
}
.threshold__sweep {
  position: absolute; inset: 0; pointer-events: none;
  opacity: var(--sweep-o);
  background: linear-gradient(102deg, transparent 30%, rgba(243, 224, 210, .16) 47%, transparent 60%);
  background-size: 300% 100%;
  background-position: var(--sweep-p);
  transition-property: opacity, background-position;
  transition-duration: 700ms, 2200ms;
  transition-timing-function: ease, cubic-bezier(.3, .2, .3, 1);
}
.threshold__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 84% 74% at 50% 45%, rgba(10, 4, 3, .1), rgba(10, 4, 3, .93) 100%);
}
@media (min-width: 1440px) {
  .threshold__vignette {
    background: radial-gradient(ellipse 66% 74% at 50% 45%, rgba(10, 4, 3, .1), rgba(10, 4, 3, .92) 100%);
  }
}

/* panels */
.panel {
  position: absolute; top: -3%; bottom: -3%; width: 53.5%; overflow: hidden;
  transition: transform var(--panel-dur) cubic-bezier(.28, .08, .22, 1);
  will-change: transform;
}
.panel--left { left: -2%; transform: translateX(calc(var(--seam) * -1)); }
.panel--right { right: -2%; transform: translateX(var(--seam)); }
.panel__breath { position: absolute; inset: -3%; }
.panel--left .panel__breath {
  transform-origin: 0% 30%;
  animation: breathL 5.4s cubic-bezier(.45, 0, .35, 1) .1s both;
}
.panel--right .panel__breath {
  transform-origin: 100% 30%;
  animation: breathR 5.9s cubic-bezier(.4, 0, .32, 1) .35s both;
}
.panel__cloth, .panel__hem {
  position: absolute;
  background-image: url('/images/cloth-plane.jpg');
  background-image: image-set(url('/images/cloth-plane-720.webp') 1x, url('/images/cloth-plane-1200.webp') 2x);
  background-repeat: no-repeat;
  transition: filter 900ms ease;
}
.panel--left .panel__cloth {
  inset: 0; background-size: auto 112%; background-position: 24% 40%;
  filter: var(--cloth-bright);
}
.panel--left .panel__hem {
  left: 0; right: 0; bottom: 0; height: 34%;
  background-size: auto 330%; background-position: 24% 96%;
  filter: var(--cloth-bright);
  transform-origin: 50% 0%;
  animation: hemL 6.1s cubic-bezier(.42, 0, .32, 1) .25s both;
}
.panel--right .panel__cloth {
  inset: 0; background-size: auto 114%; background-position: 78% 52%;
  filter: var(--cloth-bright-r);
}
.panel--right .panel__hem {
  left: 0; right: 0; bottom: 0; height: 30%;
  background-size: auto 380%; background-position: 78% 98%;
  filter: var(--cloth-bright-r);
  transform-origin: 50% 0%;
  animation: hemR 6.5s cubic-bezier(.4, 0, .3, 1) .5s both;
}
.panel__print { position: absolute; inset: 0; mix-blend-mode: multiply; }
.panel--left .panel__print { opacity: .32; }
.panel--right .panel__print { opacity: .28; }
.panel__weave, .panel__fall, .panel__ribs { position: absolute; inset: 0; pointer-events: none; }
.panel__weave { mix-blend-mode: soft-light; }
.panel--left .panel__weave {
  background: repeating-linear-gradient(93deg, rgba(255, 238, 222, .13) 0px, rgba(255, 238, 222, 0) 26px, rgba(10, 4, 3, .42) 52px, rgba(10, 4, 3, 0) 84px, rgba(255, 238, 222, .09) 112px, rgba(255, 238, 222, 0) 148px, rgba(10, 4, 3, .34) 176px, rgba(10, 4, 3, 0) 214px);
}
.panel--right .panel__weave {
  background: repeating-linear-gradient(87deg, rgba(255, 238, 222, .11) 0px, rgba(255, 238, 222, 0) 30px, rgba(10, 4, 3, .38) 62px, rgba(10, 4, 3, 0) 96px, rgba(255, 238, 222, .08) 128px, rgba(255, 238, 222, 0) 168px, rgba(10, 4, 3, .3) 198px, rgba(10, 4, 3, 0) 240px);
}
.panel--left .panel__fall {
  background: linear-gradient(90deg, rgba(14, 6, 4, .5), rgba(14, 6, 4, 0) 24%, rgba(14, 6, 4, .08) 52%, rgba(14, 6, 4, .66));
}
.panel--right .panel__fall {
  background: linear-gradient(90deg, rgba(14, 6, 4, .66), rgba(14, 6, 4, .08) 48%, rgba(14, 6, 4, 0) 76%, rgba(14, 6, 4, .5));
}
.panel--left .panel__ribs {
  background: repeating-linear-gradient(93deg, rgba(12, 5, 4, .16) 0px, rgba(12, 5, 4, 0) 46px, rgba(243, 227, 208, .05) 96px, rgba(12, 5, 4, 0) 156px);
}
.panel--right .panel__ribs {
  background: repeating-linear-gradient(87deg, rgba(12, 5, 4, .14) 0px, rgba(12, 5, 4, 0) 52px, rgba(243, 227, 208, .045) 118px, rgba(12, 5, 4, 0) 178px);
}

@keyframes breathL {
  0% { transform: skewY(.38deg) scaleY(1.006) translateX(.18%); }
  24% { transform: skewY(.13deg) scaleY(1.002) translateX(-.2%); }
  49% { transform: skewY(.25deg) scaleY(1.004) translateX(.08%); }
  73% { transform: skewY(.08deg) scaleY(1.001) translateX(-.04%); }
  100% { transform: skewY(0deg) scaleY(1) translateX(0); }
}
@keyframes breathR {
  0% { transform: skewY(-.32deg) scaleY(1.005) translateX(-.12%); }
  31% { transform: skewY(-.11deg) scaleY(1.001) translateX(.14%); }
  58% { transform: skewY(-.2deg) scaleY(1.003) translateX(-.06%); }
  82% { transform: skewY(-.05deg) scaleY(1.001) translateX(.02%); }
  100% { transform: skewY(0deg) scaleY(1) translateX(0); }
}
@keyframes hemL {
  0% { transform: translateX(.24%) rotate(.24deg) scaleY(1.008); }
  28% { transform: translateX(-.46%) rotate(-.08deg) scaleY(1.012); }
  57% { transform: translateX(.16%) rotate(.06deg) scaleY(1.005); }
  81% { transform: translateX(-.06%) rotate(-.02deg) scaleY(1.002); }
  100% { transform: translateX(0) rotate(0deg) scaleY(1); }
}
@keyframes hemR {
  0% { transform: translateX(-.18%) rotate(-.2deg) scaleY(1.006); }
  34% { transform: translateX(.4%) rotate(.08deg) scaleY(1.01); }
  62% { transform: translateX(-.12%) rotate(-.05deg) scaleY(1.004); }
  85% { transform: translateX(.04%) rotate(.02deg) scaleY(1.001); }
  100% { transform: translateX(0) rotate(0deg) scaleY(1); }
}

/* ---------- Gathering Cloth · ALANKOR original artwork ---------- */
.cloth {
  position: absolute; inset: 0; overflow: hidden;
  container-type: inline-size;
  font-size: clamp(6px, 1.5cqw, 15px);
}
.cloth--flipped { transform: scaleX(-1); }
.cloth__field {
  position: absolute; inset: 0; display: flex;
  transform-origin: 50% 0%;
  animation: clothSway 5.8s cubic-bezier(.42, 0, .28, 1) .2s both;
}
.cloth__field i {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(30, 20, 16, .46) 0 .075em, rgba(30, 20, 16, 0) .09em),
    radial-gradient(circle at 50% 50%, rgba(126, 42, 39, .34) 0 .13em, rgba(126, 42, 39, 0) .15em),
    radial-gradient(circle at 50% 50%, rgba(36, 28, 24, .26) 0 .05em, rgba(36, 28, 24, 0) .065em),
    repeating-linear-gradient(45deg, rgba(36, 28, 24, .05) 0 1px, rgba(36, 28, 24, 0) 1px 3.1em),
    repeating-linear-gradient(-45deg, rgba(36, 28, 24, .028) 0 1px, rgba(36, 28, 24, 0) 1px 3.1em),
    radial-gradient(ellipse 62% 44% at 28% 34%, rgba(36, 28, 24, .075), rgba(36, 28, 24, 0) 66%);
  background-size: 3.1em 3.1em, 3.1em 3.1em, 1.55em 1.55em, auto, auto, 7.4em 5.2em;
}
.cloth__field i:nth-child(1) { flex: 1.1; background-position: .2em 0, .33em .13em, .97em .77em, 0 0, 0 0, 0 0; filter: brightness(1); }
.cloth__field i:nth-child(2) { flex: .7; background-position: .9em .55em, 1.05em .66em, 1.67em 1.32em, .5em .3em, .5em .3em, 0 0; filter: brightness(.96); }
.cloth__field i:nth-child(3) { flex: 1.35; background-position: -.3em -.4em, -.16em -.28em, .47em .37em, -.2em 0, -.2em 0, 0 0; filter: brightness(1.03); }
.cloth__field i:nth-child(4) { flex: .9; background-position: .6em .8em, .74em .93em, 1.37em 1.57em, .3em .4em, .3em .4em, 0 0; filter: brightness(.95); }
.cloth__field i:nth-child(5) { flex: 1.6; background-position: -.1em .25em, .04em .36em, .67em 1.02em, 0 .2em, 0 .2em, 0 0; filter: brightness(1.01); }
.cloth__field i:nth-child(6) { flex: .8; background-position: .75em -.5em, .9em -.36em, 1.52em .27em, .4em -.3em, .4em -.3em, 0 0; filter: brightness(.94); }
.cloth__field i:nth-child(7) { flex: 1.15; background-position: -.45em .1em, -.3em .24em, .32em .87em, -.3em 0, -.3em 0, 0 0; filter: brightness(1); }
.cloth__field i:nth-child(8) { flex: 1.45; background-position: .15em .62em, .3em .75em, .92em 1.39em, .1em .4em, .1em .4em, 0 0; filter: brightness(.98); }
.cloth__field i:nth-child(9) { flex: .95; background-position: -.6em -.15em, -.45em -.02em, .17em .62em, -.4em 0, -.4em 0, 0 0; filter: brightness(.93); }

.cloth__border { position: absolute; top: 0; bottom: 0; right: 0; display: flex; }
.cloth__rule { width: .07em; background: var(--iron); }
.cloth__rule--wide { width: .1em; }
.cloth__gap { width: .3em; background: var(--paper); }
.cloth__gap--narrow { width: .22em; }
.cloth__outer { width: 1.1em; background: var(--madder-deep); }
.cloth__band { position: relative; width: 2.2em; background: var(--madder); }
.cloth__band b { position: absolute; }
.cloth__weft { inset: 0; background: repeating-linear-gradient(180deg, rgba(30, 20, 16, .3) 0 1px, rgba(30, 20, 16, 0) 1px 2.6em); }
.cloth__rekh { left: .42em; top: 0; bottom: 0; width: .055em; background: rgba(30, 20, 16, .62); }
.cloth__hair { left: .58em; top: 0; bottom: 0; width: .03em; background: rgba(239, 227, 208, .34); }
.cloth__datta {
  left: .86em; top: 0; bottom: 0; width: .5em;
  background-image: radial-gradient(circle at 50% 50%, rgba(30, 20, 16, .5) 0 .07em, rgba(30, 20, 16, 0) .085em);
  background-size: .5em 1.14em; background-position: 0 .28em;
}
.cloth__close { left: 1.52em; top: 0; bottom: 0; width: .05em; background: rgba(30, 20, 16, .55); }
.cloth__solid { left: 0; right: 0; top: 58%; height: 1.7em; background: var(--madder); }
.cloth__shade { inset: 0; background: linear-gradient(90deg, rgba(30, 20, 16, .22), rgba(30, 20, 16, 0) 60%); }

.cloth__hem {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  transform-origin: 50% 0%;
  animation: clothHem 6.8s cubic-bezier(.42, 0, .28, 1) .35s both;
}
.cloth__hem-gap { height: .22em; background: var(--paper); }
.cloth__hem-rule { height: .07em; background: var(--iron); }
.cloth__indigo { height: .3em; background: var(--indigo); }
.cloth--no-indigo .cloth__indigo { display: none; }
.cloth__hem-band { position: relative; height: 1.3em; background: var(--madder); }
.cloth__hem-band b { position: absolute; }
.cloth__hem-weft { inset: 0; background: repeating-linear-gradient(90deg, rgba(30, 20, 16, .26) 0 1px, rgba(30, 20, 16, 0) 1px 2.4em); }
.cloth__hem-datta {
  left: 0; right: 0; top: .3em; height: .42em;
  background-image: radial-gradient(circle at 50% 50%, rgba(30, 20, 16, .46) 0 .06em, rgba(30, 20, 16, 0) .075em);
  background-size: 1.08em .42em; background-position: .2em 0;
}
.cloth__hem-line { left: 0; right: 0; bottom: .16em; height: .045em; background: rgba(30, 20, 16, .5); }
.cloth__hem-shade { inset: 0; background: linear-gradient(90deg, rgba(30, 20, 16, .16), rgba(30, 20, 16, 0) 22%, rgba(239, 227, 208, .05) 54%, rgba(30, 20, 16, .13)); }
.cloth__hem-outer { height: .5em; background: var(--madder-deepest); }

@keyframes clothSway {
  0% { transform: skewX(.28deg) scaleX(.996); filter: brightness(.94); }
  36% { transform: skewX(-.12deg) scaleX(1.002); filter: brightness(1.03); }
  68% { transform: skewX(.06deg) scaleX(.999); filter: brightness(.98); }
  100% { transform: skewX(0deg) scaleX(1); filter: brightness(1); }
}
@keyframes clothHem {
  0% { transform: translateX(.24%) rotate(.1deg) scaleX(.995); }
  38% { transform: translateX(-.36%) rotate(-.1deg) scaleX(1.004); }
  69% { transform: translateX(.1%) rotate(.03deg) scaleX(.999); }
  100% { transform: translateX(0) rotate(0deg) scaleX(1); }
}

/* ---------- threshold type ---------- */
.threshold__type {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 var(--pad-x);
  opacity: var(--text-o);
  transition: opacity var(--text-dur) cubic-bezier(.2, .6, .2, 1);
}
.house {
  margin: 0;
  font-family: var(--serif); font-weight: 500;
  font-size: var(--t-house); letter-spacing: var(--t-house-ls);
  line-height: 1; color: var(--ivory);
  padding-left: var(--t-house-ls);
  opacity: var(--house-o);
  transition: opacity 700ms cubic-bezier(.2, .6, .2, 1);
}
.state, .chapter {
  margin: 0; font-size: var(--t-caps); text-transform: uppercase;
  color: rgba(232, 207, 194, .68);
}
.descriptor {
  margin: 11px 0 0;
  font-family: var(--body); font-weight: 300;
  font-size: 10.5px; line-height: 1.5; letter-spacing: .035em;
  color: rgba(243, 238, 229, .72);
}
.state { letter-spacing: .42em; padding-left: .42em; margin-top: 13px; }
.descriptor, .state, .threshold__type > .rule, .threshold__chapter {
  opacity: var(--identity-o);
  transition: opacity 900ms cubic-bezier(.2, .6, .2, 1);
}
.threshold__chapter, .threshold__invitation {
  display: flex; flex-direction: column; align-items: center;
}
.threshold__invitation {
  opacity: var(--invitation-o);
  pointer-events: none;
  transition: opacity 900ms cubic-bezier(.2, .6, .2, 1);
}
html[data-phase='invitation'] .threshold__invitation { pointer-events: auto; }
.chapter { letter-spacing: .34em; padding-left: .34em; margin-top: 36px; color: rgba(232, 207, 194, .58); }
.threshold__type .rule { margin-top: 38px; width: 42px; }
.place {
  margin: 12px 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: var(--t-place); letter-spacing: .28em; line-height: 1;
  color: var(--ivory); padding-left: .28em;
}
.line-one {
  margin: 30px 0 0;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: var(--t-line-one); color: rgba(232, 207, 194, .9);
}
.line-two {
  margin: 11px 0 0;
  font-family: var(--body); font-weight: 300;
  font-size: var(--t-line-two); letter-spacing: .015em;
  color: rgba(243, 238, 229, .7);
}
.cta {
  margin-top: 38px;
  font-family: inherit; font-size: var(--t-cta); letter-spacing: .22em;
  text-transform: uppercase; color: var(--ivory);
  background: transparent; border: 1px solid rgba(243, 238, 229, .7);
  border-radius: 0; padding: 15px 30px; min-height: 44px;
  cursor: pointer; transition: background-color 200ms ease, color 200ms ease;
}
.cta:hover { background: var(--ivory); color: var(--ground); }
.cta:active { background: var(--warm-ivory); color: var(--ground); }

@media (min-width: 1440px) {
  .descriptor { margin-top: 14px; font-size: 11.5px; }
  .state { letter-spacing: .44em; padding-left: .44em; margin-top: 18px; }
  .threshold__type .rule { margin-top: 52px; width: 48px; }
  .chapter { font-size: 10px; letter-spacing: .36em; padding-left: .36em; margin-top: 50px; }
  .place { margin-top: 16px; letter-spacing: .3em; padding-left: .3em; }
  .line-one { margin-top: 40px; }
  .line-two { margin-top: 13px; }
  .cta { margin-top: 52px; letter-spacing: .24em; padding: 16px 34px; }
}

/* ---------- scene 2 · fashion ---------- */
.fashion { height: var(--h-fashion); }
.fashion picture, .macro picture { display: block; width: 100%; height: 100%; }
.fashion img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }

/* ---------- scene 3 · memory ---------- */
.memory {
  padding: var(--pad-memory) var(--pad-x);
  display: grid; grid-template-columns: var(--cols-memory);
}
.memory picture { display: block; width: 100%; }
.memory img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 52% 46%; }

/* ---------- scene 4 · macro ---------- */
.macro { height: var(--h-macro); }
.macro img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }

/* ---------- scene 5 · invitation ---------- */
.signup { padding: var(--pad-signup) var(--pad-x); }
.signup__inner { max-width: 460px; margin: 0 auto; }
.signup__form { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.signup__control {
  flex: 1 1 170px; min-width: 170px;
  display: grid; gap: 6px;
}
.signup__label {
  font-family: var(--caps); font-size: 9px; line-height: 1;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(243, 238, 229, .7);
}
.signup__field {
  width: 100%; min-width: 170px;
  font-family: inherit; font-size: 12px; color: var(--ivory);
  background: transparent; border: 1px solid rgba(243, 238, 229, .42);
  border-radius: 0; padding: 15px 18px; min-height: 44px;
}
.signup__field:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; border-color: rgba(243, 238, 229, .85); }
.signup__button {
  flex-shrink: 0;
  font-family: inherit; font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  background: var(--ivory); color: var(--ground);
  border: 1px solid var(--ivory); border-radius: 0;
  padding: 16px 24px; min-height: 44px; cursor: pointer;
}
.signup__button:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; }
.signup__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup__note {
  margin: 14px 0 0;
  font-size: var(--t-micro); line-height: 1.8; text-align: center;
  color: rgba(243, 238, 229, .49);
}
.signup__legal {
  margin: 10px 0 0;
  font-size: var(--t-micro); line-height: 1.8; text-align: center;
  color: rgba(243, 238, 229, .49);
}
.signup__message { text-align: left; }
.signup__message .rule { background: var(--warm-ivory); }
.signup__message-title {
  margin: 16px 0 0;
  font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ivory);
}
.signup__message-body {
  margin: 8px 0 0;
  font-size: 11px; line-height: 1.8; color: rgba(243, 238, 229, .55);
}

.signup[data-state='invalid'] .signup__field,
.signup[data-state='failure'] .signup__field { border-color: rgba(224, 161, 142, .9); }
.signup[data-state='invalid'] .signup__note,
.signup[data-state='failure'] .signup__note { color: var(--alert); }
.signup[data-state='loading'] .signup__button { background: rgba(243, 238, 229, .5); border-color: rgba(243, 238, 229, .5); cursor: default; }

@media (min-width: 768px) {
  .signup__inner { max-width: 520px; }
  .signup__form {
    flex-wrap: nowrap; gap: 0;
    border: 1px solid rgba(243, 238, 229, .42);
    transition: border-color 200ms ease;
  }
  .signup__control { gap: 0; position: relative; }
  .signup__label {
    position: absolute; left: 22px; top: 11px; z-index: 1;
    pointer-events: none;
  }
  .signup__form:focus-within { outline: 2px solid var(--ivory); outline-offset: 2px; border-color: rgba(243, 238, 229, .85); }
  .signup__field { border: 0; padding: 27px 22px 11px; font-size: 13px; }
  .signup__field:focus-visible { outline: none; }
  .signup__button { font-size: 11.5px; letter-spacing: .22em; padding: 19px 32px; border: 0; }
  .signup__note { margin-top: 16px; font-size: 11px; }
  .signup[data-state='invalid'] .signup__form,
  .signup[data-state='failure'] .signup__form { border-color: rgba(224, 161, 142, .9); }
  .signup[data-state='invalid'] .signup__field,
  .signup[data-state='failure'] .signup__field { border-color: transparent; }
}
@media (min-width: 1440px) {
  .signup { padding: var(--pad-signup) var(--pad-x) 160px; }
}

/* ---------- scene 6 · footer ---------- */
.footer {
  border-top: 1px solid rgba(243, 238, 229, .12);
  padding: 26px var(--pad-x);
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 12px;
}
.footer__house {
  margin: 0;
  font-family: var(--serif); font-weight: 500;
  font-size: 12px; letter-spacing: .3em; color: var(--ivory);
}
.footer__nav ul { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin: 0; padding: 0; list-style: none; }
.footer__nav li:not([hidden]) + li:not([hidden])::before {
  content: '\00B7';
  margin-right: 6px;
  font-size: 9.5px;
  color: rgba(243, 238, 229, .48);
}
.footer__nav a {
  display: inline-block;
  padding: 16px 0;
  line-height: 12px;
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(243, 238, 229, .49); text-decoration: none;
}
.footer__nav a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
.footer__nav-action {
  display: inline-block;
  padding: 16px 0;
  line-height: 12px;
  font-family: var(--caps);
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(243, 238, 229, .49);
  background: transparent; border: 0; cursor: pointer;
}
.footer__nav-action:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1440px) {
  .footer { padding: 38px var(--pad-x); }
  .footer__house { font-size: 15px; letter-spacing: .34em; }
  .footer__nav ul { gap: 36px; }
  .footer__nav li + li::before { content: none; }
  .footer__nav a { font-size: 10.5px; letter-spacing: .2em; color: rgba(243, 238, 229, .5); }
  .footer__nav-action { font-size: 10.5px; letter-spacing: .2em; color: rgba(243, 238, 229, .5); }
}

/* ---------- consent ---------- */
/* A quiet bar in the page's own material: the footer's border, the hero
   action's button, the invitation's body type. Both choices carry identical
   weight, and nothing optional is ever preselected. */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 20px var(--pad-x) calc(20px + env(safe-area-inset-bottom));
  background: var(--ground);
  border-top: 1px solid rgba(243, 238, 229, .12);
  transform: translateY(100%); opacity: 0;
  transition: transform 600ms cubic-bezier(.16, 1, .3, 1), opacity 400ms ease;
}
.consent[data-shown] { transform: none; opacity: 1; }
.consent__inner { max-width: 1160px; margin: 0 auto; display: grid; gap: 16px; }
.consent__body {
  margin: 0; max-width: 64ch;
  font-family: var(--body); font-weight: 300;
  font-size: var(--t-micro); line-height: 1.8;
  color: rgba(243, 238, 229, .7);
}
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.consent__action {
  font-family: var(--caps);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory); background: transparent;
  border: 1px solid rgba(243, 238, 229, .7); border-radius: 0;
  padding: 14px 26px; min-height: 44px; cursor: pointer;
}
.consent__action:hover { background: var(--ivory); color: var(--ground); }
.consent__action:active { background: var(--warm-ivory); color: var(--ground); }
.consent__link {
  font-family: var(--caps);
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(243, 238, 229, .7); background: transparent; border: 0;
  padding: 14px 4px; min-height: 44px; cursor: pointer;
}
.consent__link:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
.consent__detail { display: grid; gap: 18px; }
.consent__categories { margin: 0; display: grid; gap: 14px; }
.consent__row { display: grid; gap: 4px; }
.consent__term {
  margin: 0;
  font-family: var(--caps);
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ivory);
}
.consent__desc {
  margin: 0; max-width: 64ch;
  font-family: var(--body); font-weight: 300;
  font-size: var(--t-micro); line-height: 1.8;
  color: rgba(243, 238, 229, .7);
}
.consent__toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.consent__toggle input { width: 16px; height: 16px; accent-color: #F3EEE5; }
.consent__detail .consent__action { justify-self: start; }
@media (min-width: 768px) {
  .consent { padding: 22px var(--pad-x); }
  .consent__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'body actions' 'detail detail';
    align-items: center; column-gap: 44px;
  }
  .consent__body { grid-area: body; }
  .consent__detail { grid-area: detail; }
  .consent__actions { grid-area: actions; justify-content: flex-end; }
}

@media (max-width: 767px) and (max-height: 740px) {
  body:has(.consent[data-shown]) .threshold__type {
    justify-content: flex-start;
    padding-top: max(18px, env(safe-area-inset-top));
  }
}

/* ---------- not found ---------- */
.notfound {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 var(--pad-x);
}
.notfound a { text-decoration: none; }
.notfound .line-two { margin-top: 24px; }

/* ---------- signup notice links ---------- */
/* The approved consent statement names the Privacy and Contact pages. These
   are those two pages, reachable at the point the address is asked for. */
.signup__legal-links { display: block; margin-top: 6px; white-space: nowrap; }
.signup__legal a { color: var(--warm-ivory); text-underline-offset: 3px; }
.signup__legal a:hover { color: var(--ivory); }

/* ---------- legal pages ---------- */
/* The house material set for reading. One column, a real measure, no motion,
   no third party request and nothing written to the browser. These pages load
   no script at all, which is why they can say truthfully that they store
   nothing. */
.legal__masthead { padding: 26px var(--pad-x) 0; }
.legal__home {
  display: inline-block; padding: 8px 0;
  font-family: var(--serif); font-weight: 500;
  font-size: 12px; letter-spacing: .3em; color: var(--ivory);
  text-decoration: none;
}
.legal__home:hover { text-decoration: underline; text-underline-offset: 5px; }
.legal { padding: 36px var(--pad-x) 68px; }
.legal__doc { max-width: 68ch; margin: 0 auto; }
.legal__title {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 4.6vw, 40px); line-height: 1.16;
  color: var(--ivory);
}
.legal__meta {
  margin: 14px 0 0;
  font-family: var(--caps);
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(243, 238, 229, .62);
}
.legal__doc .rule { margin: 24px 0 0; }
.legal__doc h2 {
  margin: 40px 0 0;
  font-family: var(--caps); font-weight: 600;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--warm-ivory);
}
.legal__doc h3 {
  margin: 24px 0 0;
  font-family: var(--serif); font-weight: 500;
  font-size: 15px; letter-spacing: .01em; color: var(--ivory);
}
.legal__doc p,
.legal__doc li {
  font-family: var(--body); font-weight: 300;
  font-size: 14px; line-height: 1.9;
  color: rgba(243, 238, 229, .86);
}
.legal__doc p { margin: 14px 0 0; }
.legal__doc ul { margin: 12px 0 0; padding-left: 20px; }
.legal__doc li { margin: 5px 0 0; }
.legal__doc a { color: var(--warm-ivory); text-underline-offset: 3px; }
.legal__doc a:hover { color: var(--ivory); }
.legal__doc .legal__lede { font-size: 15.5px; }
.legal__pending {
  display: inline-block;
  padding: 1px 7px;
  font-family: var(--caps); font-size: 10px; letter-spacing: .14em;
  color: var(--ground); background: var(--warm-ivory);
}
.legal__facts { margin: 14px 0 0; display: grid; gap: 10px; }
.legal__facts div { display: grid; gap: 2px; }
.legal__facts dt {
  font-family: var(--caps);
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(243, 238, 229, .62);
}
.legal__facts dd {
  margin: 0;
  font-family: var(--body); font-weight: 300;
  font-size: 14px; line-height: 1.7;
  color: rgba(243, 238, 229, .86);
}
.legal__doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em; color: var(--warm-ivory);
}
/* ---------- contact form ---------- */
/* An ordinary form post. No script, so it works with scripting off, and it sets
   no cookie. The controls borrow the signup field and button already in the
   system rather than inventing a second treatment. */
.legal__form { margin: 20px 0 0; display: grid; gap: 22px; max-width: 46ch; }
.legal__field { display: grid; gap: 7px; }
.legal__field label {
  font-family: var(--caps);
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--warm-ivory);
}
.legal__field input,
.legal__field select,
.legal__field textarea {
  font-family: var(--body); font-weight: 300;
  font-size: 14px; line-height: 1.6; color: var(--ivory);
  background: transparent;
  border: 1px solid rgba(243, 238, 229, .42);
  border-radius: 0;
  padding: 13px 15px; min-height: 44px;
  width: 100%;
}
.legal__field option { background: var(--ground); color: var(--ivory); }
.legal__field textarea { resize: vertical; min-height: 150px; }
.legal__field input:focus-visible,
.legal__field select:focus-visible,
.legal__field textarea:focus-visible {
  outline: 2px solid var(--ivory); outline-offset: 2px;
  border-color: rgba(243, 238, 229, .85);
}
.legal__doc .legal__hint {
  margin: 0;
  font-family: var(--body); font-weight: 300;
  font-size: 12.5px; line-height: 1.75;
  color: rgba(243, 238, 229, .62);
}
.legal__form .signup__button { justify-self: start; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 10;
  padding: 12px 18px;
  font-family: var(--caps); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  background: var(--ivory); color: var(--ground); text-decoration: none;
}
.skip:focus { left: var(--pad-x); top: 10px; }
@media (min-width: 768px) {
  .legal__masthead { padding: 34px var(--pad-x) 0; }
  .legal { padding: 44px var(--pad-x) 88px; }
  .legal__facts { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .panel__breath, .panel__hem, .cloth__field, .cloth__hem { animation: none !important; }
  .panel, .panel__cloth, .panel__hem, .threshold__sweep, .threshold__type { transition: none !important; }
  .consent { transition: none !important; transform: none; opacity: 1; }
  .threshold__sweep { opacity: 0; }
  html { scroll-behavior: auto; }
}
