/* s7b "left, smaller" (client Sissy 2026-11-30: "Or you can leave coming soon where its at but make it smaller /
   It just doesn't look aligned"). s7a's card and photo; COMING SOON stays on the text column's left edge
   (same x as the intro and the form), smaller, and ends before the photo, so the column reads as one block. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap;
  src: url("../fonts/cormorant-garamond-light-italic-latin.woff2") format("woff2"); }

html, body { background: var(--ground); }
:root { --ground: #c4beb6; --paper: #ffffff; --ink: #1c1c1c; --ink-soft: #4a4746; --btn: #0d0d0d; --hl: #0d0d0d; }
body { font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif; color: var(--ink); }

.stage {
  /* ground margins and card */
  --gx: clamp(12px, 3.1vw, 72px); --gy: clamp(12px, 4.4svh, 64px);
  --cw: calc(100vw - 2 * var(--gx)); --ch: calc(100svh - 2 * var(--gy));
  /* corner UI inset */
  --cx: clamp(22px, 4.2vw, 72px); --cy: clamp(20px, 4.6svh, 52px);
  /* photo on the RIGHT as in the sample: right edge at 86% of the screen, ~78% of the card's height */
  --pt: max(80px, calc(var(--ch) * .15));
  /* s7: the client's box photo, exactly 1620:2000. Its left edge sits --dl em (of s7a's headline size --Fa)
     right of the card's centre, where the gap between COMING and SOON falls when the headline is centred. */
  --rt: .81;
  --Fa: calc(var(--ch) * .08);
  --dl: .80;
  --pl: calc(var(--cw) / 2 + var(--Fa) * var(--dl));
  --H: min(calc(var(--ch) - var(--pt) - max(56px, calc(var(--ch) * .07))), calc((var(--cw) - var(--pl) - var(--cx)) / var(--rt)));
  --W: calc(var(--H) * var(--rt));
  /* text column starts at 15% of the screen, as in the sample */
  --tl: max(var(--cx), calc(15vw - var(--gx)));
  --tw: min(max(calc(var(--k) * 28), 380px), calc(var(--pl) - var(--tl) - clamp(40px, 5vw, 120px)));
  /* headline: "SOON" (4 letters) on the photo's wall, "COMING " on the paper. --wc / --ws = measured
     advance widths of "COMING " and "SOON" in em at this tracking. S starts 4% inside the photo edge,
     N's ink ends <= 90% across. Height: photo y .255 = middle of the band (y .12-.39, above the box)
     where near-black ink is >= 3:1 against the photo all the way across (measured 2026-11-30);
     set at .28 so the caps (~.10 of the photo tall) sit lower in that band. */
  --wc: 5.286; --ws: 3.283;
  /* s6c: the headline's SIZE (and, desktop only, tracking .14em -> .17em) so exactly "ON" sits whole on the
     photo with a clean break before it. Starting on the text column, the photo edge falls at --e em of the
     headline. Ink positions measured from PIXELS in both Chromium and WebKit (identical to ~.005em; the
     earlier WebKit canvas measureText numbers were wrong): see the report / tools/check_s6c.py. */
  /* s7b: as large as fits on the column without reaching the photo: 8.95em = measured headline width at .17em */
  --F: min(var(--Fa), calc((var(--pl) - var(--tl) - clamp(28px, 3.2vw, 72px)) / 8.95));
  --xs: calc(var(--pl) + var(--W) * .04 - var(--F) * var(--wc));
  --hy: calc(var(--pt) + var(--H) * .28);
  --k: min(1vw, 1.6svh); --ui: clamp(11px, calc(var(--k) * .82), 19px);
  position: absolute; left: round(var(--gx), 1px); top: round(var(--gy), 1px); width: var(--cw); height: var(--ch);
  background: var(--paper); border-radius: clamp(10px, .85vw, 18px); overflow: clip;
}

/* corner UI */
.logo { position: absolute; z-index: 5; left: var(--cx); top: var(--cy); height: max(15.5px, calc(var(--ui) * 1.3)); color: var(--ink); }
.foot { position: absolute; z-index: 5; right: var(--cx); top: var(--cy); margin: 0; line-height: max(15.5px, calc(var(--ui) * 1.3));
  font-size: var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }

/* headline: ONE colour, crossing from the paper onto the photo's wall */
.headline-copy { margin: 0; position: absolute; white-space: nowrap; font-weight: 400; font-size: var(--F);
  line-height: 1; letter-spacing: .14em; }
.h-ink { z-index: 3; left: var(--tl); top: calc(var(--hy) - var(--F) * .5); color: var(--hl); }   /* s6: on the text column */
.h-ink { letter-spacing: .17em; }   /* s6c: +.03em so the two Os leave room for a clean break at the photo edge */
/* whole-pixel placement: a fractional offset makes the browser resample (soften) the photo */
.trav { position: absolute; z-index: 2; left: round(var(--pl), 1px); top: round(var(--pt), 1px); width: round(var(--W), 1px); }

/* text column: purity line + intro at the top, sign-up at the bottom */
.purity { position: absolute; margin: 0; left: var(--tl); top: calc(var(--pt)); width: var(--tw);
  font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 300;
  font-size: clamp(19px, calc(var(--k) * 1.55), 40px); line-height: 1.2; color: var(--ink); }
.stack { position: static; }
.lede { position: absolute; margin: 0; left: var(--tl); width: var(--tw);
  top: calc(var(--pt) + clamp(19px, calc(var(--k) * 1.55), 40px) * 1.2 + 10px);
  font-size: clamp(14px, calc(var(--k) * 1.1), 24px); line-height: 1.5; letter-spacing: .005em; color: var(--ink-soft); }
.notify { position: absolute; left: var(--tl); width: var(--tw); bottom: calc(var(--ch) - var(--pt) - var(--H) * .93);
  --rule: #1c1c1c; --focus: #0d0d0d; --ph: #6d6968; }
.notify-label { font-size: clamp(14px, calc(var(--k) * 1.08), 23px); letter-spacing: .01em; margin-bottom: 14px; color: var(--ink); }
.row { gap: clamp(12px, 1.2vw, 20px); align-items: flex-end; }
.field { border-bottom: 1px solid var(--rule); }
.field input { font-size: clamp(14px, calc(var(--k) * 1.04), 22px); letter-spacing: .03em; padding: 10px 0 9px; }
.notify button { height: calc(clamp(14px, calc(var(--k) * 1.04), 22px) * 1.55 + 19px); padding: 0 clamp(14px, 1.1vw, 22px);
  background: var(--btn); color: #fff; font-size: clamp(14px, calc(var(--k) * 1.04), 22px); font-weight: 400; letter-spacing: .08em; }
.notify button:hover { background: #333; }
.notify button .arrow { display: none; }
.thanks { font-size: clamp(14px, calc(var(--k) * 1.08), 23px); color: var(--ink); padding: 10px 0; }

/* sign-up wiring (as s3d): honeypot off-screen; the error takes the label's slot */
.hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.hp input { border: 0; padding: 0; }
.notify-form { position: relative; }
.form-error { position: absolute; left: 0; right: 0; top: 0; margin: 0; font-size: 13px; line-height: 18px; color: #8a2a1f; }
.form-error[hidden] { display: none; }
.notify-form.has-error .notify-label { visibility: hidden; }

/* ---------- portrait / phone: the same reading order stacked, the photo the hero ---------- */
@media (max-width: 760px), (orientation: portrait) {
  .stage {
    --gx: clamp(8px, 2.4vw, 28px); --gy: clamp(8px, 1.4svh, 24px);
    --cx: clamp(20px, 6vw, 56px); --cy: clamp(18px, 2.6svh, 40px);
    --ui: clamp(10.5px, 1.2vw + 6px, 14px);
    --F: min(calc((var(--cw) - 2 * var(--cx)) / 8.75), 64px);
    --top0: calc(var(--cy) + var(--ui) * 1.22 + clamp(18px, 3svh, 44px));         /* purity line top */
    --introH: calc(clamp(18px, 1.6vw + 12px, 26px) * 1.2 + 8px + clamp(13px, .6vw + 11px, 17px) * 1.5 * 2);
    --hT0: calc(var(--top0) + var(--introH) + clamp(14px, 2.4svh, 36px));          /* headline top */
    --formH: calc(clamp(13px, .45vw + 11px, 17px) * 1.55 + 12px + 46px);
    --pt0: calc(var(--hT0) + var(--F) + clamp(12px, 1.8svh, 28px));
    --Hb: calc(var(--ch) - var(--pt0) - var(--formH) - clamp(18px, 3svh, 40px) - clamp(18px, 2.6svh, 40px));
    /* s7: the wider 1620:2000 photo is limited by the card's width on phones; the height it leaves over is
       split evenly above the intro and below the photo instead of pooling above the form */
    --W: min(calc(var(--Hb) * .81), calc(var(--cw) - 2 * var(--cx)));
    --H: calc(var(--W) / .81);
    --off: max(0px, calc((var(--Hb) - var(--H)) / 2));
    --top: calc(var(--top0) + var(--off)); --hT: calc(var(--hT0) + var(--off)); --pt: round(calc(var(--pt0) + var(--off)), 1px);
    --pl: calc((var(--cw) - var(--W)) / 2);
    --tl: var(--cx); --tw: min(calc(var(--cw) - 2 * var(--cx)), 560px);
  }
  .purity { top: var(--top); font-size: clamp(18px, 1.6vw + 12px, 26px); }
  .lede { top: calc(var(--top) + clamp(18px, 1.6vw + 12px, 26px) * 1.2 + 8px); font-size: clamp(13px, .6vw + 11px, 17px); }
  .headline-copy { left: var(--cx); top: var(--hT); }
  .h-ink { left: var(--cx); letter-spacing: .14em; }   /* s6: flush left on the column; phone tracking unchanged */
  .notify { bottom: clamp(18px, 2.6svh, 40px); }
  .notify-label { font-size: clamp(13px, .45vw + 11px, 17px); margin-bottom: 12px; }
  .notify button { height: 46px; font-size: 14px; }
  .field input { font-size: 16px; }
}
.purity { white-space: nowrap; }
