/* The Wedding Vendor Guide · landing
   Theme = six engine tokens + four page tokens, redefined per palette.
   The engine (scrollcraft.css) is never edited. */

:root,
:root[data-theme="sage"] {
  --sc-canvas: #FAF7F2;
  --sc-surface: #FFFFFF;
  --sc-ink: #2B2A28;
  --sc-ink-soft: #6B665E;
  --sc-accent: #5E6E57;       /* deep sage: text, focus, selection */
  --sc-accent-ink: #FFFFFF;
  --accent-soft: #8A9A83;     /* the brief's sage, for fills and details */
  --tint: #EEF0EA;            /* chapter ground */
  --line: #D9CBB3;            /* champagne hairline */
  --veil: rgba(250, 247, 242, .72);
  --sc-shadow-color: 36 20% 30%;
}
:root[data-theme="rose"] {
  --sc-accent: #93645A;
  --accent-soft: #C9A9A0;
  --tint: #F4ECE8;
}
:root[data-theme="evening"] {
  --sc-canvas: #1C1B19;
  --sc-surface: #252420;
  --sc-ink: #F2EBDF;
  --sc-ink-soft: #B3A999;
  --sc-accent: #D9CBB3;
  --sc-accent-ink: #1C1B19;
  --accent-soft: #A8997F;
  --tint: #22211E;
  --line: #4A443A;
  --veil: rgba(28, 27, 25, .7);
  --sc-shadow-color: 30 20% 4%;
}

:root {
  --sc-font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sc-font-text: "Manrope", system-ui, sans-serif;
  --sc-track-tight: -0.012em;
  --sc-track-snug: -0.006em;
  --sc-leading-none: 1.0;
  --sc-r-sm: 4px; --sc-r-md: 6px; --sc-r-lg: 8px;
  --bar-h: 64px;
  color-scheme: light;
}
:root[data-theme="evening"] { color-scheme: dark; }
body { color: var(--sc-ink); transition: background-color 240ms var(--sc-ease-out); }
.sc-display { font-weight: 500; }
em, .it { font-style: italic; }

/* ------------------------------------------------------------ utilities -- */
.eyebrow {
  font-family: var(--sc-font-text); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--sc-accent); margin: 0;
}
.muted { color: var(--sc-ink-soft); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: 0 1.5rem; border-radius: var(--sc-r-sm);
  font: 600 0.9rem/1 var(--sc-font-text); letter-spacing: .02em; white-space: nowrap;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out),
              border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--sc-ink); color: var(--sc-canvas); }
.btn--secondary { border-color: color-mix(in oklab, var(--sc-ink) 45%, transparent); color: var(--sc-ink); background: transparent; }
.btn--ghost { color: var(--sc-ink); padding-inline: .5rem; background: transparent; }
.btn--ghost .icon { transition: transform 160ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: color-mix(in oklab, var(--sc-ink) 86%, var(--sc-canvas)); }
  .btn--secondary:hover { border-color: var(--sc-ink); background: color-mix(in oklab, var(--sc-ink) 5%, transparent); }
  .btn--ghost:hover .icon { transform: translateX(3px); }
}
.btn--sm { min-height: 40px; padding: 0 1.1rem; font-size: .84rem; }

/* ------------------------------------------------------------------ bar -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar-h);
  display: flex; align-items: center; gap: 2rem; padding-inline: var(--sc-gutter);
  background: color-mix(in oklab, var(--sc-canvas) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
}
.mark {
  font-family: var(--sc-font-display); font-weight: 500; font-size: 1.32rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.mark span { font-style: italic; color: var(--sc-accent); }
.toc { display: flex; gap: 1.75rem; margin-inline: auto; }
.toc a {
  font-size: .86rem; font-weight: 500; text-decoration: none; color: var(--sc-ink-soft);
  padding-block: .4rem; background: linear-gradient(var(--sc-ink), var(--sc-ink)) left bottom / 0 1px no-repeat;
  transition: color 160ms var(--sc-ease-out), background-size 240ms var(--sc-ease-out);
}
.toc a:hover, .toc a[aria-current="true"] { color: var(--sc-ink); background-size: 100% 1px; }
.bar__tools { display: flex; align-items: center; gap: 1.1rem; }
.langs { display: flex; gap: .15rem; font-size: .76rem; font-weight: 600; letter-spacing: .08em; }
.langs button {
  background: none; border: 0; padding: .45rem .4rem; color: var(--sc-ink-soft); cursor: pointer; border-radius: var(--sc-r-sm);
}
.langs button[aria-pressed="true"] { color: var(--sc-ink); text-decoration: underline; text-underline-offset: .35em; }
.langs a { padding: .45rem .4rem; color: var(--sc-ink-soft); text-decoration: none; border-radius: var(--sc-r-sm); transition: color 160ms var(--sc-ease-out); }
.langs a:hover { color: var(--sc-ink); }
.langs a[aria-current="true"] { color: var(--sc-ink); text-decoration: underline; text-underline-offset: .35em; }
.swatches { display: flex; gap: .4rem; align-items: center; }
.swatches button {
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--sc-ink) 25%, transparent);
  cursor: pointer; padding: 0; position: relative;
}
.swatches button[aria-pressed="true"]::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--sc-ink);
}
.sw-sage { background: #8A9A83; } .sw-rose { background: #C9A9A0; } .sw-evening { background: #2B2A28; }
.burger { display: none; background: none; border: 0; color: var(--sc-ink); padding: .5rem; margin-right: -.5rem; cursor: pointer; }
.burger .icon { width: 24px; height: 24px; }

.drawer {
  position: fixed; inset: 0; z-index: 70; background: var(--sc-canvas);
  display: flex; flex-direction: column; padding: 1.25rem var(--sc-gutter) 2rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 220ms var(--sc-ease-out), transform 220ms var(--sc-ease-out), visibility 0s linear 220ms;
}
.drawer[data-open="true"] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.drawer nav { display: flex; flex-direction: column; margin-top: 3rem; }
.drawer nav a {
  font-family: var(--sc-font-display); font-size: 2.1rem; text-decoration: none; padding: .55rem 0;
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
.drawer__foot { margin-top: auto; display: grid; gap: 1.25rem; }

@media (max-width: 1080px) {
  .toc, .bar__tools .langs, .bar__tools .swatches { display: none; }
  .burger { display: inline-flex; }
  .bar { justify-content: space-between; }
  .bar__tools { gap: .5rem; }
}
@media (max-width: 480px) { .bar__tools .btn { display: none; } }

/* ---------------------------------------------------------------- cover -- */
.cover .sc-stage { background: var(--sc-canvas); }
.cover__far {
  position: absolute; inset: -4%; z-index: 0;
  will-change: transform;
}
.cover__far img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.cover__light {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 50% at 70% 20%, rgba(255, 214, 160, .38), transparent 70%);
  mix-blend-mode: soft-light; will-change: opacity, transform;
}
/* The window. The city layer is clipped to the arch with clip-path (the stage
   ground is the ivory page), and the clip opens to the full frame on scroll.
   No oversized painted layer, so a fast scroll back never shows stale tiles.
   .cover__arch is only the geometry reference and the champagne hairline. */
.cover__window {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  clip-path: inset(var(--wt, 30%) var(--wr, 11%) 0 var(--wl, 60%) round var(--wrad, 999px) var(--wrad, 999px) 0 0);
}
.cover__arch {
  position: absolute; z-index: 2;
  width: var(--arch-w); height: var(--arch-h);
  right: var(--arch-r); bottom: var(--arch-b);
  border-radius: 999px 999px 0 0;
  will-change: opacity;
  pointer-events: none;
}
.cover__arch::after {
  content: ""; position: absolute; inset: -14px -14px 0 -14px;
  border: 1px solid var(--line); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.cover {
  --arch-w: clamp(300px, 29vw, 440px);
  --arch-h: min(70vh, calc(var(--arch-w) * 1.55));
  --arch-r: 11vw;
  --arch-b: 0px;
}
.cover__couple {
  position: absolute; z-index: 4; margin: 0;
  width: clamp(150px, 13vw, 210px); aspect-ratio: 4 / 5;
  right: calc(var(--arch-r) + var(--arch-w) - 64px); bottom: 11vh;
  box-shadow: var(--sc-e3);
  border: 6px solid var(--sc-surface);
  will-change: transform, opacity;
}
.cover__couple img { width: 100%; height: 100%; object-fit: cover; }
.cover__couple figcaption {
  position: absolute; left: 0; top: calc(100% + .6rem); width: max-content;
  font-size: .72rem; letter-spacing: .06em; color: var(--sc-ink-soft);
}
.cover__copy {
  position: absolute; z-index: 5; left: var(--sc-gutter);
  top: calc(var(--bar-h) + clamp(2rem, 12vh, 8rem));
  max-width: min(46rem, 52vw);
}
.cover__copy h1 {
  font-size: clamp(2.5rem, 1rem + 3.4vw, 4.4rem); line-height: 1.02; margin: 1.1rem 0 0;
  text-wrap: balance;
}
.cover__copy p.sub { margin: 1.5rem 0 0; max-width: 34ch; font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); }
.cover__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

.cover__scrim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(130% 100% at 0% 100%, rgba(20, 17, 14, .9) 0%, rgba(20, 17, 14, .78) 34%, rgba(20, 17, 14, .34) 62%, transparent 80%);
}
.cover__after {
  position: absolute; z-index: 5; left: var(--sc-gutter); bottom: clamp(2.5rem, 10vh, 7rem);
  max-width: min(44rem, 80vw); color: #FAF7F2;
}
.cover__after h2 { font-size: var(--sc-t-2xl); line-height: 1.08; margin: 0; color: #FAF7F2; }
.cover__after p { margin: 1rem 0 0; color: rgba(250, 247, 242, .86); max-width: 40ch; }

@media (max-width: 860px) {
  .cover {
    --arch-w: min(64vw, 300px);
    --arch-h: min(44svh, calc(var(--arch-w) * 1.4));
    --arch-r: calc((100vw - var(--arch-w)) / 2);
  }
  .cover__copy { top: calc(var(--bar-h) + 1.25rem); max-width: none; right: var(--sc-gutter); }
  .cover__copy h1 { font-size: clamp(2.25rem, 1.4rem + 4.4vw, 2.6rem); margin-top: .8rem; }
  .cover__copy p.sub { font-size: 1rem; margin-top: .9rem; }
  .cover__ctas { margin-top: 1.25rem; }
  .cover__ctas .btn { flex: 1 1 auto; }
  .cover__couple { width: 30vw; right: auto; left: 6vw; bottom: 5svh; border-width: 4px; }
  .cover__couple figcaption { display: none; }
  .cover__after h2 { font-size: 2rem; }
  .cover__scrim { background: linear-gradient(to top, rgba(20, 17, 14, .92) 0%, rgba(20, 17, 14, .8) 30%, rgba(20, 17, 14, .35) 52%, transparent 70%); }
}
@media (max-width: 860px) and (max-height: 700px) {
  .cover__copy p.sub { display: none; }
  .cover { --arch-h: min(36svh, calc(var(--arch-w) * 1.3)); }
}

/* -------------------------------------------------------------- figures -- */
.figures { background: var(--sc-surface); padding-block: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent); }
.figures ul {
  list-style: none; margin: 0 auto; padding: 0 var(--sc-gutter); max-width: var(--sc-maxw);
  display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: .5rem 2.5rem;
}
.figures li { font-family: var(--sc-font-display); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); display: flex; align-items: baseline; gap: .6rem; }
.figures li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line); margin-right: 2rem; align-self: center; }
.figures b { font-weight: 500; }
.figures small { font-family: var(--sc-font-text); font-size: .88rem; color: var(--sc-ink-soft); }
@media (max-width: 600px) {
  .figures ul { flex-direction: column; align-items: center; gap: .9rem; }
  .figures li + li::before { display: none; }
}

/* ------------------------------------------------------ the pile (peak) -- */
.pile .sc-stage { background: var(--sc-surface); }
.pile__grid {
  position: absolute; inset: var(--bar-h) 0 0 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem;
  padding: clamp(1.5rem, 5vh, 4rem) var(--sc-gutter) clamp(1.5rem, 5vh, 4rem);
  max-width: 96rem; margin-inline: auto;
}
.pile__copy { position: relative; align-self: center; min-height: 22rem; }
.pile__state { position: absolute; inset: 0 0 auto 0; }
.pile__state h2 { font-size: var(--sc-t-2xl); line-height: 1.06; margin: 1rem 0 0; text-wrap: balance; }
.pile__state p { margin: 1.4rem 0 0; color: var(--sc-ink-soft); max-width: 40ch; }
.pile__state .btn { margin-top: 2rem; }
.pile__desk { position: relative; border-left: 1px solid color-mix(in oklab, var(--line) 70%, transparent); }
.pile__count {
  position: absolute; top: 0; left: 2rem; z-index: 30;
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--sc-ink-soft);
}
.pile__count b {
  min-width: 2.2rem; height: 1.6rem; padding: 0 .5rem; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--sc-ink); color: var(--sc-canvas); font-variant-numeric: tabular-nums; font-size: .82rem;
}
.slip {
  position: absolute; left: 0; top: 0; width: clamp(220px, 20vw, 290px);
  background: var(--sc-canvas); border: 1px solid color-mix(in oklab, var(--line) 80%, transparent);
  border-radius: var(--sc-r-md); padding: .85rem 1rem .8rem;
  box-shadow: var(--sc-e1); opacity: 0; will-change: transform, opacity;
  font-size: .86rem; line-height: 1.45;
}
.slip header { display: flex; align-items: center; gap: .55rem; font-size: .76rem; font-weight: 600; }
.slip header i {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  background: var(--tint); color: var(--sc-accent); font-size: .66rem; letter-spacing: 0;
}
.slip p { margin: .45rem 0 0; }
.slip footer { margin-top: .5rem; font-size: .7rem; color: var(--sc-ink-soft); display: flex; gap: .4rem; align-items: center; }
.slip footer::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }

.page {
  position: absolute; left: 50%; top: 50%; z-index: 20;
  width: min(34rem, 92%); translate: -50% -50%;
  background: var(--sc-canvas); border: 1px solid var(--line); border-radius: var(--sc-r-lg);
  padding: 1.6rem 1.75rem 1.2rem; box-shadow: var(--sc-e2);
  opacity: 0; will-change: transform, opacity;
}
.page__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.page__head h3 { font-family: var(--sc-font-display); font-weight: 500; font-size: 1.7rem; margin: 0; }
.page__head span { font-size: .76rem; color: var(--sc-ink-soft); }
.page table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.page td { padding: .7rem 0; border-bottom: 1px solid color-mix(in oklab, var(--line) 55%, transparent); vertical-align: middle; }
.page tr:last-child td { border-bottom: 0; }
.page td:first-child { font-weight: 600; }
.page td.num { text-align: right; white-space: nowrap; }
.page td.lang { color: var(--sc-ink-soft); font-size: .76rem; letter-spacing: .06em; padding-inline: 1rem; white-space: nowrap; }
.page td.ig { text-align: right; width: 1%; }
.page td.ig span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: var(--sc-r-sm); border: 1px solid var(--line); color: var(--sc-accent); }

@media (max-width: 860px) {
  .pile__grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 1rem; padding-top: 1.25rem; }
  .pile__copy { min-height: 15.5rem; align-self: start; }
  .pile__state h2 { font-size: 1.9rem; }
  .pile__state p { font-size: .95rem; margin-top: .8rem; }
  .pile__state .btn { display: none; }
  .pile__desk { border-left: 0; border-top: 1px solid color-mix(in oklab, var(--line) 70%, transparent); }
  .pile__count { left: 0; top: .75rem; }
  .slip { width: 64vw; font-size: .8rem; padding: .7rem .8rem; }
  .page { padding: 1.1rem 1rem .8rem; }
  .page__head h3 { font-size: 1.35rem; }
  .page td { padding: .55rem 0; font-size: .8rem; }
  .page td.lang { padding-inline: .5rem; }
}

/* ----------------------------------------------------------- categories -- */
.cats .sc-stage { background: var(--sc-canvas); display: flex; align-items: center; }
.rail {
  display: flex; align-items: flex-end; gap: clamp(1rem, 2vw, 1.75rem);
  padding: calc(var(--bar-h) + 2rem) var(--sc-gutter) 2rem; width: max-content;
}
.rail__lead { width: clamp(17rem, 30vw, 27rem); flex: none; align-self: center; padding-right: 2rem; }
.rail__lead h2 { font-size: var(--sc-t-3xl); line-height: 1.02; margin: 1rem 0 0; }
.rail__lead p { margin: 1.25rem 0 0; color: var(--sc-ink-soft); max-width: 30ch; }
.tile { width: clamp(15rem, 22vw, 21rem); flex: none; margin: 0; will-change: transform, opacity; }
.tile__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--sc-r-sm); background: var(--tint); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; filter: blur(5px) saturate(.9); transform: scale(1.08); transition: filter 240ms var(--sc-ease-out); }
.tile__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 24, 20, .35), transparent 45%); }
.tile__lock {
  position: absolute; z-index: 1; right: .8rem; top: .8rem; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--veil); color: var(--sc-ink);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.tile figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .9rem; }
.tile h3 { font-family: var(--sc-font-display); font-weight: 500; font-size: 1.45rem; margin: 0; line-height: 1.1; }
.tile span { font-size: .8rem; color: var(--sc-ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile__img img { filter: blur(2.5px) saturate(.95); } }
.rail__note { width: clamp(15rem, 22vw, 20rem); flex: none; align-self: center; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.rail__note p { margin: 0 0 1.25rem; font-family: var(--sc-font-display); font-size: 1.6rem; line-height: 1.2; }
@media (max-width: 860px) {
  .rail { padding-top: calc(var(--bar-h) + 1rem); }
  .rail__lead { width: 78vw; }
  .rail__lead h2 { font-size: 2.4rem; }
  .tile { width: 64vw; }
  .rail__note { width: 70vw; }
}

/* ------------------------------------------------------------- preview -- */
.preview { background: var(--sc-surface); }
.preview__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); align-items: start;
}
.preview__media { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.preview__main { grid-column: 1 / -1; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--sc-r-sm); margin: 0; }
.preview__main img, .preview__thumb img { width: 100%; height: 100%; object-fit: cover; }
.preview__thumb { aspect-ratio: 1; overflow: hidden; border-radius: var(--sc-r-sm); margin: 0; }
@media (min-width: 861px) {
  .preview__main { aspect-ratio: 3 / 2; }
}
.preview__info { position: sticky; top: calc(var(--bar-h) + 2rem); }
.preview__info h2 { font-size: var(--sc-t-2xl); line-height: 1.05; margin: .9rem 0 0; }
.badges { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.badge {
  display: inline-flex; align-items: center; gap: .35rem; height: 28px; padding: 0 .7rem;
  border: 1px solid var(--line); border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .04em;
}
.badge--fill { background: var(--tint); border-color: transparent; color: var(--sc-accent); }
.preview__desc { margin: 1.4rem 0 0; color: var(--sc-ink-soft); max-width: 46ch; }
.facts { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent); font-size: .92rem; }
.facts li span:first-child { color: var(--sc-ink-soft); }
.facts li span:last-child { font-weight: 600; text-align: right; }
.blur { filter: blur(6px); user-select: none; }
.locked {
  position: relative; margin-top: 1.75rem; padding: 1.25rem; border: 1px dashed var(--line); border-radius: var(--sc-r-md);
  display: grid; gap: .75rem;
}
.locked__row { display: flex; gap: .6rem; }
.locked__row .btn { flex: 1; pointer-events: none; }
.locked__veil {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: color-mix(in oklab, var(--sc-surface) 45%, transparent); border-radius: inherit;
}
.locked__veil span {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px;
  background: var(--sc-ink); color: var(--sc-canvas); font-size: .8rem; font-weight: 600;
}
.preview__cta { margin-top: 1.75rem; display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
@media (max-width: 860px) {
  .preview__grid { grid-template-columns: minmax(0, 1fr); }
  .preview__media, .preview__info { min-width: 0; }
  .locked__row { flex-wrap: wrap; }
  .locked__row .btn { min-width: 0; flex: 1 1 10rem; }
  .preview__info { position: static; }
  .preview__info h2 { font-size: 2.1rem; }
}

/* ---------------------------------------------------------------- steps -- */
.steps { background: var(--tint); }
.steps h2 { font-size: var(--sc-t-3xl); margin: 0; line-height: 1.02; }
.steps__row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2.75rem; }
.steps__line {
  position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--sc-ink);
  transform-origin: left; transform: scaleX(clamp(0, calc((var(--sc-p, 1) - 0.28) * 3.2), 1));
}
.step { position: relative; }
.step::before {
  content: ""; position: absolute; top: calc(-2.75rem - 5px); left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--tint); border: 1px solid var(--sc-ink);
}
.step b { font-family: var(--sc-font-display); font-weight: 500; font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--sc-accent); }
.step h3 { font-family: var(--sc-font-display); font-weight: 500; font-size: 1.75rem; line-height: 1.12; margin: 1rem 0 0; }
.step p { margin: .8rem 0 0; color: var(--sc-ink-soft); max-width: 32ch; }
@media (max-width: 860px) {
  .steps__row { grid-template-columns: 1fr; gap: 2.25rem; padding-top: 0; padding-left: 2rem; }
  .steps__line { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top;
    transform: scaleY(clamp(0, calc((var(--sc-p, 1) - 0.2) * 2.4), 1)); }
  .step::before { top: .7rem; left: calc(-2rem); }
  .steps h2 { font-size: 2.4rem; }
}

/* -------------------------------------------------------------- founder -- */
.founder { background: var(--sc-canvas); overflow: clip; }
.founder__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.founder__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--sc-r-sm); margin: 0; }
.founder__photo img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; max-width: none; }
.founder__photo figcaption { position: absolute; left: .8rem; bottom: .8rem; font-size: .68rem; color: #fff; opacity: .8; }
.founder blockquote { margin: 1.25rem 0 0; }
.founder blockquote p {
  font-family: var(--sc-font-display); font-size: clamp(1.7rem, 1.1rem + 1.7vw, 2.7rem); line-height: 1.16; margin: 0; text-wrap: pretty;
}
.founder blockquote p + p { font-family: var(--sc-font-text); font-size: 1rem; line-height: 1.65; color: var(--sc-ink-soft); margin-top: 1.5rem; max-width: 52ch; }
.founder__sign { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.founder__sign strong { font-family: var(--sc-font-display); font-style: italic; font-weight: 500; font-size: 1.6rem; }
.founder__sign span { font-size: .84rem; color: var(--sc-ink-soft); }
@media (max-width: 860px) { .founder__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ faq -- */
.faq { background: var(--sc-surface); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); }
.faq h2 { font-size: var(--sc-t-3xl); margin: 0; line-height: 1.02; }
.faq__aside p { color: var(--sc-ink-soft); margin: 1.25rem 0 1.5rem; max-width: 30ch; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.35rem 0; font-family: var(--sc-font-display); font-size: 1.45rem; line-height: 1.2; font-weight: 500;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { width: 20px; height: 20px; transition: transform 240ms var(--sc-ease-out); }
.acc details[open] summary .icon { transform: rotate(45deg); }
.acc details p { margin: 0 0 1.4rem; color: var(--sc-ink-soft); max-width: 62ch; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq h2 { font-size: 2.4rem; } .acc summary { font-size: 1.25rem; } }

/* ---------------------------------------------------------------- close -- */
.close { background: var(--sc-canvas); padding-top: var(--sc-section); }
.close__head { text-align: center; max-width: 40rem; margin: 0 auto; }
.close__head h2 { font-size: var(--sc-t-3xl); line-height: 1.02; margin: 1rem 0 0; }
.close__head p { color: var(--sc-ink-soft); margin: 1.25rem auto 0; max-width: 44ch; }
.plans { display: flex; justify-content: center; align-items: stretch; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap; }
.plan {
  position: relative; width: min(100%, 26rem); background: var(--sc-surface);
  border: 1px solid var(--line); border-radius: 13rem 13rem var(--sc-r-lg) var(--sc-r-lg);
  padding: 4.5rem 2.25rem 2.25rem; text-align: center; box-shadow: var(--sc-e2);
}
.plan::before {
  content: ""; position: absolute; inset: 10px 10px auto 10px; height: 60%; pointer-events: none;
  border: 1px solid color-mix(in oklab, var(--line) 70%, transparent); border-bottom: 0; border-radius: 13rem 13rem 0 0;
}
.plan h3 { font-family: var(--sc-font-text); font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sc-accent); margin: 0; }
.plan__term { font-family: var(--sc-font-display); font-size: 2rem; margin: .75rem 0 0; }
.plan__price { font-family: var(--sc-font-display); font-size: 4rem; line-height: 1; margin: .6rem 0 0; font-weight: 500; font-variant-numeric: lining-nums; }
.plan__price small { font-size: 1.4rem; }
.plan ul { list-style: none; padding: 0; margin: 1.75rem 0 0; text-align: left; display: grid; gap: .7rem; font-size: .92rem; }
.plan li { display: flex; gap: .7rem; align-items: flex-start; }
.plan li .icon { color: var(--sc-accent); margin-top: .2rem; }
.plan .btn { width: 100%; margin-top: 2rem; }
.plan__note { font-size: .78rem; color: var(--sc-ink-soft); margin: 1rem 0 0; }
.plan--soon {
  background: transparent; box-shadow: none; border-style: dashed; display: grid; place-content: center; gap: .75rem;
  color: var(--sc-ink-soft); min-height: 20rem;
}
.plan--soon::before { display: none; }
.plan--soon .plan__term { color: var(--sc-ink); margin: 0; }
@media (max-width: 860px) { .plan--soon { min-height: 10rem; padding-top: 2rem; border-radius: var(--sc-r-lg); } .close__head h2 { font-size: 2.4rem; } }

.foot { margin-top: var(--sc-section); border-top: 1px solid var(--line); padding-block: 3rem 2.25rem; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.foot h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sc-ink-soft); margin: 0 0 1rem; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .9rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; font-size: .78rem; color: var(--sc-ink-soft); }
.foot__mark p { color: var(--sc-ink-soft); max-width: 32ch; margin: 1rem 0 0; font-size: .9rem; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__mark { grid-column: 1 / -1; } }

/* ------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .cover__arch, .cover__far, .cover__couple, .slip, .page, .tile { transition: none !important; }
}

/* compact phones (360 × 640): the pile needs the room more than the paragraph */
@media (max-width: 860px) and (max-height: 700px) {
  .pile__state p:not(.eyebrow) { display: none; }
  .pile__copy { min-height: 8.5rem; }
  .page td { padding: .4rem 0; }
}
