/* nikhilkale.ai, coming soon (2026-10-06). The desk's palette and type; the photo of Nikhil made of light. */
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('../fonts/geist-latin.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/geist-mono-latin.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --bg: #0B0A08; --ink: #E9E1D0; --soft: rgba(233, 225, 208, .66); --faint: rgba(233, 225, 208, .52);
  --card: #13110D; --rule: rgba(233, 225, 208, .18); --bronze: #C9A46A; --bronze-hi: #DDBE8C;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { position: relative; font-family: var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--card); padding: 8px 12px; font: 12px var(--mono); }
.skip:focus { left: 8px; }

/* the Krystal grid, drawing itself out of AzurA behind everything */
#grid { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .5; overflow: hidden; }
html { overflow-x: clip; }
#grid * { fill: none; stroke: var(--ink); }
#grid .g-major { opacity: .34; } #grid .g-hex { opacity: .3; } #grid .g-cube { opacity: .18; } #grid .g-minor { opacity: .1; } #grid .g-hatch { opacity: .06; }
#grid .g-spiral { opacity: .5; } #grid .s { stroke: var(--bronze); stroke-width: calc(.9 * var(--px, .02px)); } #grid .s.sq { opacity: .4; stroke-width: calc(.6 * var(--px, .02px)); }
#grid .m { stroke-width: calc(1.1 * var(--px, .02px)); } #grid .h { stroke-width: calc(.9 * var(--px, .02px)); }
#grid .f, #grid .c, #grid line { stroke-width: calc(.6 * var(--px, .02px)); }
#grid .n { fill: var(--ink); stroke: none; opacity: .5; } #grid .n.azura { fill: var(--bronze); opacity: 1; }
#grid [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); transition-delay: var(--d, 0s); }
#grid.drawn [pathLength] { stroke-dashoffset: 0; }

/* header */
.top { position: fixed; left: 0; right: 0; top: 0; z-index: 5; display: flex; align-items: center; padding: 26px 28px; }
.mark { margin: 0; display: flex; align-items: center; gap: 10px; font: 500 13.5px var(--sans); letter-spacing: .01em; text-transform: uppercase; }
.mark .role { color: var(--faint); letter-spacing: .02em; }
.sun { width: 13px; height: 13px; border: 1px solid var(--bronze); border-radius: 50%; position: relative; flex: none; }
.sun::after { content: ''; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; border-radius: 50%; background: var(--bronze); }

/* the photograph, after Aurora's hero: the full frame of Nikhil in the garden, graded toward dusk,
   blurred and dark until the page opens, then a slow settle; a veil carries it into the dark column */
.photo { position: fixed; left: 0; top: 0; bottom: 0; width: 56vw; margin: 0; z-index: 1; overflow: hidden; }
.photo img { display: none; }
.photo canvas { position: absolute; inset: 0; width: 100%; height: 100%; transform: scale(1.06); filter: sepia(.14) saturate(.82) contrast(1.06) brightness(.42) blur(14px);
  transition: transform 14s cubic-bezier(.2, .6, .2, 1), filter 2.4s var(--ease); }
body.in .photo canvas { transform: scale(1); filter: sepia(.14) saturate(.82) contrast(1.06) brightness(.88) blur(0); }
.veil { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 10, 8, 0) 40%, rgba(11, 10, 8, .28) 70%, rgba(11, 10, 8, .4) 100%),
    linear-gradient(180deg, rgba(11, 10, 8, .55) 0%, rgba(11, 10, 8, 0) 18%, rgba(11, 10, 8, 0) 72%, rgba(11, 10, 8, .8) 100%); }
/* the join: the photograph dissolves to transparent instead of meeting a painted edge, so the dark
   side and its grid run underneath it (2026-10-06) */
@media (min-width: 901px) {
  .photo {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 44%, rgba(0, 0, 0, .78) 56%, rgba(0, 0, 0, .42) 70%, rgba(0, 0, 0, .14) 85%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 44%, rgba(0, 0, 0, .78) 56%, rgba(0, 0, 0, .42) 70%, rgba(0, 0, 0, .14) 85%, transparent 100%);
  }
  /* one room: a low bronze warmth spanning both halves */
  body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(60% 70% at 46% 62%, rgba(201, 164, 106, .09), transparent 70%), radial-gradient(40% 50% at 78% 30%, rgba(201, 164, 106, .045), transparent 70%); }
}
.hint { position: absolute; left: 34%; bottom: 74px; transform: translateX(-50%); margin: 0; font: 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--soft); opacity: 0; transition: opacity 1.2s var(--ease); white-space: nowrap; }
.hint.on { opacity: 1; }

/* the grid lives in the dark on the right, where Aurora's code falls */
#grid { -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000 66%); mask-image: linear-gradient(90deg, transparent 38%, #000 66%); }
.stage { position: relative; z-index: 2; min-height: 100vh; display: flex; align-items: center; justify-content: flex-end; padding: 96px clamp(24px, 6vw, 110px) 96px 0; pointer-events: none; }
.stage > .column, .stage > .photo { pointer-events: auto; }
.column { position: relative; z-index: 2; width: min(470px, 38vw); }
.column > * { opacity: 0; transform: translateY(14px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
body.in .column > * { opacity: 1; transform: none; }
body.in .column > :nth-child(2) { transition-delay: .15s; } body.in .column > :nth-child(3) { transition-delay: .3s; } body.in .column > :nth-child(4) { transition-delay: .45s; }
.eyebrow { margin: 0 0 18px; font: 10.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); }
.title { margin: 0 0 18px; font: 340 clamp(38px, 4.2vw, 64px)/1.02 var(--serif); letter-spacing: -.025em; font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 1; }
.title em { font-style: italic; font-weight: 300; color: var(--bronze); }
.lede { margin: 0 0 28px; font-size: 15.5px; line-height: 1.6; color: var(--soft); max-width: 34em; }

/* the offer: the Activation, framed like the desk's windows */
.offer { background: var(--card); box-shadow: inset 0 0 0 1px var(--bronze), 0 0 0 5px var(--card), 0 0 0 6px var(--rule), 0 40px 90px -40px rgba(0,0,0,.7); }
.offer-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--rule); font: 500 13px var(--sans); letter-spacing: .02em; text-transform: uppercase; }
.seal svg { width: 18px; height: 18px; fill: none; stroke: var(--bronze); stroke-width: 1.2; display: block; }
.meta { margin-left: auto; font: 10px var(--mono); letter-spacing: .08em; color: var(--faint); }
.offer-body { padding: 18px 20px 20px; font-size: 14.5px; line-height: 1.6; }
.offer-body p { margin: 0 0 .9em; }
.offer-body em { font-family: var(--serif); font-style: italic; color: var(--bronze); }
.big { font: 340 clamp(24px, 2.2vw, 32px)/1.08 var(--serif); letter-spacing: -.02em; }
.note { font: 10.5px/1.5 var(--mono); text-transform: uppercase; color: var(--faint); margin: 1em 0 0 !important; }
.note a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.note a:hover { color: var(--bronze); }
.sub { display: flex; margin-top: 16px; box-shadow: inset 0 0 0 1px var(--bronze); border-radius: 24px; overflow: hidden; }
.sub[hidden] { display: none; }
.sub input[type="email"] { flex: 1; min-width: 0; height: 46px; padding: 0 16px; background: transparent; border: 0; color: inherit; font: 16px var(--serif); }
.sub input::placeholder { color: var(--faint); font-style: italic; }
.sub input:focus { outline: none; }
.sub:focus-within { box-shadow: inset 0 0 0 1px var(--bronze-hi), 0 0 0 3px rgba(201, 164, 106, .18); }
.sub button { padding: 0 18px; background: var(--bronze); color: var(--card); font: 500 12.5px var(--sans); text-transform: uppercase; letter-spacing: .02em; }
.sub button:disabled { opacity: .7; }

/* the player, as on the desk */
.act { display: grid; grid-template-columns: 64px 1fr; align-items: center; column-gap: 16px; row-gap: 14px; margin-top: 18px; padding: 16px 16px 14px; box-shadow: inset 0 0 0 1px var(--rule); animation: rise .7s var(--ease); }
.act[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: scale(.97); } }
.act-play { width: 64px; height: 64px; border-radius: 50%; }
.act-play svg { width: 64px; height: 64px; overflow: visible; display: block; }
.act-play .halo { fill: none; stroke: var(--bronze); stroke-width: 1; opacity: 0; transform-origin: 32px 32px; }
.act-play .track { fill: none; stroke: var(--rule); stroke-width: 1.4; }
.act-play .fill { fill: none; stroke: var(--bronze); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 32px 32px; transition: stroke-dashoffset .3s linear; }
.act-play .ico-play { fill: var(--bronze); }
.act-play .ico-pause { fill: none; stroke: var(--bronze); stroke-width: 2.4; stroke-linecap: round; display: none; }
.act.playing .ico-play { display: none; } .act.playing .ico-pause { display: inline; }
.act.playing .halo { animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .1; transform: scale(.94); } 45% { opacity: .5; transform: scale(1.06); } }
.act-play:focus-visible { outline: 1px solid var(--bronze); outline-offset: 4px; }
.act-meta p { margin: 0 !important; }
.act-title { font: 340 23px/1.1 var(--serif); letter-spacing: -.015em; }
.act-time { margin-top: 6px !important; font: 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-variant-numeric: tabular-nums; }
.act-seek { grid-column: 1 / -1; width: 100%; height: 20px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; --p: 0%; }
.act-seek::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(var(--bronze), var(--bronze)) 0 0 / var(--p) 100% no-repeat, var(--rule); }
.act-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: var(--bronze); border: 0; }
.act-seek::-moz-range-track { height: 1px; background: var(--rule); border: 0; }
.act-seek::-moz-range-progress { height: 1px; background: var(--bronze); }
.act-seek::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; background: var(--bronze); border: 0; }
.act-seek:focus { outline: none; }

/* footer */
.foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 28px; }
.links { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.links a { white-space: nowrap; text-decoration: none; font: 500 13px var(--sans); letter-spacing: .02em; text-transform: uppercase; }
.links a span { color: var(--bronze); margin-left: 4px; font-size: 11px; }
.links a:hover { color: var(--bronze); }
.credit { margin: 0; font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); text-align: right; }

/* phones and narrow screens: the photograph is the first screen, the words rise out of its dark foot */
@media (max-width: 900px) {
  .photo { position: absolute; width: 100%; height: 100svh; bottom: auto; }
  .veil { background: linear-gradient(180deg, rgba(11, 10, 8, .5) 0%, rgba(11, 10, 8, 0) 14%, rgba(11, 10, 8, 0) 40%, rgba(11, 10, 8, .7) 58%, rgba(11, 10, 8, .95) 72%, var(--bg) 84%); }
  #grid { -webkit-mask-image: linear-gradient(180deg, transparent 55%, #000 85%); mask-image: linear-gradient(180deg, transparent 55%, #000 85%); }
  .stage { display: block; padding: max(45svh, calc(100svh - 380px)) 20px 32px; }
  .column { width: auto; max-width: 520px; margin: 0 auto; }
  .title { font-size: clamp(34px, 10vw, 48px); }
  .foot { position: relative; z-index: 2; flex-direction: column; align-items: flex-start; padding: 24px 20px 32px; }
  .credit { text-align: left; }
  .top { position: absolute; padding: 20px; }
  .mark .role { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* the grid is not a background any more: it is seen only through the veil, around the cursor (2026-10-06) */
#grid { display: none; }
/* the gift, after signup */
.gift[hidden] { display: none; }
.gift { margin-top: 16px; animation: rise .7s var(--ease); }
.dl { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 22px; background: var(--bronze); color: var(--card); text-decoration: none; font: 500 12.5px var(--sans); letter-spacing: .02em; text-transform: uppercase; }
.dl::before { content: '↓'; font-size: 14px; }
.dl:hover { background: var(--bronze-hi); }
.dl:focus-visible { outline: 1px solid var(--bronze-hi); outline-offset: 3px; }
.bonus { margin: 18px 0 0 !important; font: 340 17px/1.3 var(--serif); font-style: italic; color: var(--soft); }
.offer-body .bonus + .act, .gift + .act { margin-top: 10px; }

/* the right side's quieter veil: behind the column and the photograph (2026-10-06) */
#veil-right { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* the footer never squeezes the links: the credit takes what is left, and wraps */
.credit { max-width: 60ch; }
/* phones: a button in the first screen that goes to the offer, as on Aurora's */
.jump { display: none; }
@media (max-width: 900px) {
  .jump { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; margin: 4px 0 6px; padding: 0 20px; border-radius: 23px; background: var(--bronze); color: var(--card); text-decoration: none; font: 500 12.5px var(--sans); letter-spacing: .02em; text-transform: uppercase; }
  .jump::after { content: '↓'; font-size: 13px; }
  .lede { margin-bottom: 18px; }
}

/* short landscape screens on the wide layout (big phones held sideways): the words start high and the jump shows */
@media (min-width: 901px) and (max-height: 560px) {
  .stage { align-items: flex-start; padding-top: 64px; }
  .jump { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 0 8px; padding: 0 18px; border-radius: 22px; background: var(--bronze); color: var(--card); text-decoration: none; font: 500 12.5px var(--sans); letter-spacing: .02em; text-transform: uppercase; }
  .jump::after { content: '↓'; font-size: 13px; }
  .title { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 12px; }
  .lede { font-size: 14px; margin-bottom: 14px; }
  .eyebrow { margin-bottom: 10px; }
}
/* phones held sideways: side by side, as on Aurora's (photo left, words right) */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 560px) {
  .photo { position: fixed; width: 46vw; height: 100svh; }
  .veil { background: linear-gradient(90deg, rgba(11, 10, 8, 0) 50%, rgba(11, 10, 8, .7) 82%, var(--bg) 100%), linear-gradient(180deg, rgba(11, 10, 8, .5) 0%, rgba(11, 10, 8, 0) 22%); }
  .stage { padding: 56px 22px 28px 48vw; }
  .eyebrow { margin-bottom: 8px; }
  .title { font-size: clamp(26px, 4.4vw, 36px); margin-bottom: 10px; }
  .lede { font-size: 13.5px; line-height: 1.5; margin-bottom: 12px; }
  .jump { min-height: 44px; margin: 0 0 6px; }
  .foot { padding-left: 48vw; }
  .top { position: fixed; }
}

/* ============ v13: touch, safe areas, the phone footer (2026-10-07) ============ */
/* the photo takes horizontal drags for the light; vertical drags still scroll the page */
.photo { touch-action: pan-y; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
/* the notch and the home bar */
.top { padding-top: max(26px, env(safe-area-inset-top)); padding-left: max(28px, env(safe-area-inset-left)); padding-right: max(28px, env(safe-area-inset-right)); }
.foot { padding-bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px)); padding-left: max(28px, env(safe-area-inset-left)); padding-right: max(28px, env(safe-area-inset-right)); }
@media (max-width: 900px) {
  .top { padding-top: max(20px, env(safe-area-inset-top)); padding-left: max(20px, env(safe-area-inset-left)); }
  .stage { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .foot { padding-bottom: max(32px, calc(env(safe-area-inset-bottom) + 16px)); padding-left: max(20px, env(safe-area-inset-left)); }
  /* the hint sits just above the words, where the thumb is */
  .hint { left: 50%; bottom: auto; top: calc(max(45svh, 100svh - 380px) - 30px); color: var(--ink); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
}
@media (max-width: 900px) and (orientation: landscape) and (max-height: 560px) {
  .stage { padding-left: calc(48vw + env(safe-area-inset-left) * 0); padding-right: max(22px, env(safe-area-inset-right)); }
  .hint { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); left: 23vw; }
}
/* phones: the footer keeps the links; the long credit stays on wider screens */
@media (max-width: 600px) { .credit { display: none; } }

/* ============ the cursor: the desk's bronze ring and dot (v13, 2026-10-07) ============ */
#cursor { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; display: none; opacity: 0; transition: opacity .3s; }
#cursor.on { opacity: 1; }
#cursor i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--bronze); transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
#cursor i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; border-radius: 50%; background: var(--bronze); transition: background .3s; }
#cursor.hot i { transform: scale(1.9); background: color-mix(in srgb, var(--bronze) 14%, transparent); }
/* over the photograph: wider and lighter, the rim of the light */
#cursor.light i { transform: scale(2.4); box-shadow: inset 0 0 0 1px rgba(255, 238, 205, .75), 0 0 14px rgba(255, 230, 190, .25); }
#cursor.light i::after { background: #FFF1D6; }
#cursor.press i { transform: scale(1.4); }
#cursor.light.press i { transform: scale(2); }
@media (pointer: fine) {
  #cursor { display: block; }
  body, body * { cursor: none !important; }
}
@media (prefers-reduced-motion: reduce) { #cursor i { transition: none; } }
#cursor.fill i { background: transparent; box-shadow: inset 0 0 0 1.2px var(--card); }
#cursor.fill i::after { background: var(--card); }
/* the waitlist confirmation reads as an answer, not as fine print */
.note.done { font: 340 19px/1.35 var(--serif); text-transform: none; color: var(--ink); letter-spacing: 0; margin-top: 18px !important; }
.note.done:focus { outline: none; }

/* ============ one veil, and no edge (v13, 2026-10-08) ============ */
/* the light: one overlay above the photograph and below the words, blended as light */
#veil { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
#veil-right { display: none; }
/* the photograph never ends mid-screen: a deep, blurred copy of the same garden lies behind it,
   so the sharp image melts into its own blur instead of meeting the dark */
.ambient { display: none; }
@media (min-width: 901px) {
  .ambient { display: block; position: fixed; inset: -6%; z-index: 0; pointer-events: none;
    background: url('../img/nikhil-garden.webp') 28% 42% / cover no-repeat;
    filter: blur(46px) saturate(.75) brightness(.3); opacity: .7;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 38%, rgba(0, 0, 0, .55) 70%, rgba(0, 0, 0, .15) 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 38%, rgba(0, 0, 0, .55) 70%, rgba(0, 0, 0, .15) 100%); }
  /* a longer, softer fade on the sharp photograph */
  .photo { -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0, 0, 0, .7) 58%, rgba(0, 0, 0, .3) 78%, rgba(0, 0, 0, .08) 92%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0, 0, 0, .7) 58%, rgba(0, 0, 0, .3) 78%, rgba(0, 0, 0, .08) 92%, transparent 100%); }
}

/* ============ first name, and the thank-you (2026-10-08) ============ */
.signup { margin-top: 16px; display: grid; gap: 10px; }
.signup .sub { margin-top: 0; }
.pill { display: flex; box-shadow: inset 0 0 0 1px var(--rule); border-radius: 24px; overflow: hidden; transition: box-shadow .3s; }
.pill:focus-within { box-shadow: inset 0 0 0 1px var(--bronze-hi), 0 0 0 3px rgba(201, 164, 106, .18); }
.pill input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; background: transparent; border: 0; color: inherit; font: 16px var(--serif); }
.pill input::placeholder { color: var(--faint); font-style: italic; }
.pill input:focus { outline: none; }
.thanks[hidden] { display: none; }
.thanks { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); animation: rise .8s var(--ease); }
.thanks-h { margin: 0 0 8px !important; font: 340 clamp(28px, 2.6vw, 36px)/1.05 var(--serif); letter-spacing: -.02em; color: var(--bronze); font-style: italic; }
.thanks-h:focus { outline: none; }
.thanks-b { margin: 0 0 4px !important; font-size: 15px; line-height: 1.55; color: var(--ink); }
.thanks .note { margin-top: 12px !important; text-transform: none; letter-spacing: .02em; font-size: 11px; color: var(--soft); }
.signup[hidden] { display: none; }
#sub-msg[hidden] { display: none; }

/* ============ the signup as one piece (2026-10-08) ============
   One bordered panel: first name and email side by side with a hairline between (stacked on narrow
   cards), labels always visible, the button joined to the bottom edge, full width. */
.signup { margin-top: 18px; display: block; border-radius: 16px; overflow: hidden; background: rgba(233, 225, 208, .025);
  box-shadow: inset 0 0 0 1px rgba(201, 164, 106, .55); transition: box-shadow .3s var(--ease); }
.signup:focus-within { box-shadow: inset 0 0 0 1px var(--bronze-hi), 0 0 0 3px rgba(201, 164, 106, .14); }
.cells { display: grid; grid-template-columns: 1fr 1.35fr; }
.cell { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 64px; padding: 11px 16px 10px; cursor: text; transition: background .3s; }
.cell + .cell { box-shadow: inset 1px 0 0 rgba(233, 225, 208, .14); }
.cell:focus-within { background: rgba(233, 225, 208, .045); }
.cell-l { font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); transition: color .3s; }
.cell:focus-within .cell-l { color: var(--bronze); }
.cell input { width: 100%; min-width: 0; height: 26px; padding: 0; margin: 0; background: transparent; border: 0; color: var(--ink); font: 17px var(--serif); letter-spacing: -.005em; caret-color: var(--bronze); }
.cell input:focus { outline: none; }
/* browsers' autofill paint, toned to the panel */
.cell input:-webkit-autofill { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 40px #1a1712 inset; transition: background-color 9999s; }
.signup .go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 18px; background: var(--bronze); color: var(--card);
  font: 500 13px var(--sans); letter-spacing: .04em; text-transform: uppercase; border-radius: 0; transition: background .25s; }
.signup .go:hover { background: var(--bronze-hi); }
.signup .go:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.signup .go:disabled { opacity: .75; }
/* narrow cards (phones, and the side-by-side sideways layout): the two fields stack */
@media (max-width: 480px), (max-width: 900px) and (orientation: landscape) and (max-height: 560px) {
  .cells { grid-template-columns: 1fr; }
  .cell + .cell { box-shadow: inset 0 1px 0 rgba(233, 225, 208, .14); }
}
/* short portrait phones with the browser's bars showing (iPhone SE in Safari is 553 px tall):
   the words start higher and set a little tighter, so the button sits well clear of the edge */
@media (max-width: 900px) and (orientation: portrait) and (max-height: 620px) {
  .stage { padding-top: 33svh; }
  .eyebrow { margin-bottom: 10px; }
  .title { font-size: clamp(30px, 8.8vw, 38px); margin-bottom: 10px; }
  .lede { font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
  .hint { top: calc(33svh - 28px); }
  /* the darkening starts higher too, so the words never sit on the bright suit */
  .veil { background: linear-gradient(180deg, rgba(11, 10, 8, .5) 0%, rgba(11, 10, 8, 0) 10%, rgba(11, 10, 8, .08) 20%, rgba(11, 10, 8, .72) 33%, rgba(11, 10, 8, .9) 46%, var(--bg) 62%); }
}
