/* Golden Hour (STAGING DRAFT 2026-11-14) — a 1970s editorial poster layer over the gatefold engine (see golden.js). Everything is
   scoped to html.gh-on (set by golden.js only when art.gh.on), so no other design is touched. Zero AI imagery: the buyer's photo,
   code-made grade / grain / light leak / sun / map, Google Fonts (Fraunces, Inter Tight — OFL). */
html.gh-on {
  --gh-sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif; --gh-disp: 'Fraunces', 'Cooper Black', Georgia, serif;
  --gh-soft: 'SOFT' 100, 'WONK' 0, 'opsz' 144;
  /* Sunset (default): tomato red + butter */
  --gh-cov: #3a170e; --gh-type: #ffd772; --gh-off: #e0452b; --gh-amp: #ffb35a; --gh-kick: #fff1d2;
  --gh-leak-a: rgba(255, 196, 112, .96); --gh-leak-b: rgba(255, 104, 50, .62); --gh-leak-c: rgba(214, 52, 30, .26); --gh-flash: rgba(255, 214, 150, .5);
  --gh-tint-t: #ffb347; --gh-tint-b: #d9432b; --gh-tint-o: .5; --gh-edge-c: rgba(255, 120, 60, .55);
  --gh-b2: #7d2716; --gh-b3: #c9512f; --gh-b4: #eb9a55; --gh-b5: #f5d39a;
  --gh-sky1: #2b120c; --gh-sky2: #93361b; --gh-sun1: #ffe390; --gh-sun2: #f7a640; --gh-sun3: #e0452b;
  --gh-map: color-mix(in srgb, var(--accent2) 16%, var(--paper)); --gh-field: color-mix(in srgb, var(--accent2) 26%, var(--paper));
  --gh-row: color-mix(in srgb, var(--accent2) 52%, transparent); --gh-water: color-mix(in srgb, #7fb0c8 60%, var(--paper));
  --gh-road: var(--paper); --gh-road-o: color-mix(in srgb, var(--ink) 22%, transparent); --gh-halo: color-mix(in srgb, var(--accent2) 22%, transparent);
  --gh-ink-soft: color-mix(in srgb, var(--ink) 45%, transparent);
}
html.gh-on[data-variant="tangerine"] { --gh-cov: #2c1230; --gh-type: #ffc58e; --gh-off: #e2602a; --gh-amp: #ff9a63; --gh-kick: #fff0e2;
  --gh-leak-a: rgba(255, 186, 120, .95); --gh-leak-b: rgba(240, 96, 60, .6); --gh-leak-c: rgba(150, 40, 110, .3); --gh-flash: rgba(255, 200, 170, .48);
  --gh-tint-t: #ff9a4d; --gh-tint-b: #8a2c6a; --gh-edge-c: rgba(240, 100, 80, .5);
  --gh-b2: #5e1f4f; --gh-b3: #a83a55; --gh-b4: #e9703a; --gh-b5: #f6b88a; --gh-sky1: #22102a; --gh-sky2: #7a2a5a; --gh-sun1: #ffd59a; --gh-sun2: #f58a45; --gh-sun3: #c63f62; }
html.gh-on[data-variant="olive"] { --gh-cov: #262612; --gh-type: #f6ecca; --gh-off: #9c9a3e; --gh-amp: #e2b45c; --gh-kick: #f8f2dc;
  --gh-leak-a: rgba(255, 214, 140, .92); --gh-leak-b: rgba(232, 150, 70, .52); --gh-leak-c: rgba(140, 130, 50, .25); --gh-flash: rgba(255, 228, 170, .45);
  --gh-tint-t: #f2c66b; --gh-tint-b: #5d6a2a; --gh-tint-o: .44; --gh-edge-c: rgba(245, 170, 80, .45);
  --gh-b2: #4a4c1f; --gh-b3: #7d7f38; --gh-b4: #b8b070; --gh-b5: #e3d9b0; --gh-sky1: #1d1d0e; --gh-sky2: #5f6127; --gh-sun1: #fbe6a6; --gh-sun2: #e3b45a; --gh-sun3: #a9763a;
  --gh-water: color-mix(in srgb, #8fae9a 60%, var(--paper)); }
html.gh-on[data-variant="sky"] { --gh-cov: #12304a; --gh-type: #ffd447; --gh-off: #3f8fc4; --gh-amp: #ffe48a; --gh-kick: #fff8e0;
  --gh-leak-a: rgba(255, 220, 120, .95); --gh-leak-b: rgba(255, 170, 60, .5); --gh-leak-c: rgba(80, 160, 210, .25); --gh-flash: rgba(255, 236, 180, .5);
  --gh-tint-t: #ffd86b; --gh-tint-b: #2f6f9f; --gh-tint-o: .42; --gh-edge-c: rgba(255, 190, 80, .5);
  --gh-b2: #22577e; --gh-b3: #4f8fba; --gh-b4: #a9cfe0; --gh-b5: #f3e7bf; --gh-sky1: #0f2a42; --gh-sky2: #3f86b6; --gh-sun1: #fff2b0; --gh-sun2: #ffd447; --gh-sun3: #f29a2e;
  --gh-water: color-mix(in srgb, var(--accent) 34%, var(--paper)); }

/* ───────── the poster ───────── */
html.gh-on .gh-hero .door, html.gh-on .gh-hero .shade, html.gh-on .gh-hero .hseam, html.gh-on .gh-hero .ed-photo, html.gh-on .gh-hero .kseam { display: none !important; }
html.gh-on .gh-hero .hn { opacity: 0 !important; pointer-events: none; } /* the engine's names stay for screen readers; the poster draws them */
html.gh-on .gh-hero .scene-clip { border-radius: 0; background: var(--gh-cov); }
html.gh-on .gh-hero .card::before { display: none; }
html.gh-on .gh-hero { background: var(--gh-cov); }
.gh, .gh-l { position: absolute; inset: 0; }
.gh { overflow: hidden; z-index: 1; }
.gh-ph { position: absolute; inset: 0; transform-origin: 50% 40%; will-change: transform; }
.gh-warm, .gh-cool { background-size: cover; background-position: 50% 30%; background-repeat: no-repeat; }
/* golden hour: the photo itself, a touch richer; the grade lives in .gh-tint (two palette colours in soft light) */
.gh-warm { filter: saturate(1.14) contrast(1.06) brightness(1.02); }
/* closed: the minute before the sun comes through — cool, muted, a little dim */
.gh-cool { filter: saturate(.38) contrast(.95) brightness(.84); }
.gh-cool::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(70, 96, 128, .34), rgba(30, 40, 60, .3)); mix-blend-mode: multiply; }
.gh-tint { background: linear-gradient(180deg, var(--gh-tint-t) 0%, color-mix(in srgb, var(--gh-tint-t) 60%, var(--gh-tint-b)) 45%, var(--gh-tint-b) 100%);
  mix-blend-mode: soft-light; opacity: 0; }
/* no photo: the typographic poster — a dusk sky, a striped 70s sun (it rises at the tap) */
.gh-sky { background: linear-gradient(180deg, var(--gh-sky1) 0%, color-mix(in srgb, var(--gh-sky1) 55%, var(--gh-sky2)) 28%, var(--gh-sky2) 52%,
  color-mix(in srgb, var(--gh-sky2) 50%, var(--gh-cov)) 70%, var(--gh-cov) 88%); }
.gh-sunwrap { position: absolute; left: 50%; top: calc(max(54px, 8.2svh) + 52px); width: min(76%, 42svh, 360px); aspect-ratio: 1; translate: -50% 0; transform: translateY(26%); opacity: .82; will-change: transform; }
.gh-sun { position: absolute; inset: 0; width: 100%; height: 100%; }
.gh-glow { position: absolute; inset: -55%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--gh-sun2) 46%, transparent), color-mix(in srgb, var(--gh-sun3) 16%, transparent) 55%, transparent); opacity: .35; }
.gh-dusk { background: linear-gradient(180deg, rgba(20, 24, 44, .5), rgba(20, 18, 30, .38)); }
.gh.typo .gh-tint { display: none; }
.gh-scrim { background: linear-gradient(180deg, color-mix(in srgb, var(--gh-cov) 38%, transparent) 0%, transparent 16%, transparent 38%,
  color-mix(in srgb, var(--gh-cov) 30%, transparent) 52%, color-mix(in srgb, var(--gh-cov) 66%, transparent) 70%, color-mix(in srgb, var(--gh-cov) 86%, transparent) 100%); }
.gh.typo .gh-scrim { opacity: .55; }
.gh-grain { overflow: hidden; opacity: .22; }
.gh-grain i { position: absolute; inset: -80px; background: var(--gh-grain, none); background-size: 96px; mix-blend-mode: overlay; animation: ghGrain .5s steps(1) infinite; }
@keyframes ghGrain { 0% { transform: translate(0, 0); } 25% { transform: translate(-29px, 19px); } 50% { transform: translate(21px, -37px); } 75% { transform: translate(-15px, -21px); } }
/* the light leak that stays: a warm burn at the top-right edge of the frame, like the end of a film roll */
.gh-edge { pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: radial-gradient(70% 46% at 104% 4%, var(--gh-edge-c), color-mix(in srgb, var(--gh-edge-c) 40%, transparent) 46%, transparent 74%),
    radial-gradient(40% 30% at -6% 62%, color-mix(in srgb, var(--gh-edge-c) 50%, transparent), transparent 70%); }
/* the sweep at the tap: a warm blob crossing the frame diagonally + a soft exposure flash */
.gh-leak { pointer-events: none; mix-blend-mode: screen; }
.gh-leak b { position: absolute; top: -40%; left: -30%; width: 130%; height: 120%; opacity: 0; transform: translate(70%, -60%) rotate(-24deg);
  background: radial-gradient(closest-side at 50% 50%, var(--gh-leak-a), var(--gh-leak-b) 40%, var(--gh-leak-c) 70%, transparent 100%); }
.gh-leak s { position: absolute; inset: 0; opacity: 0; background: linear-gradient(225deg, var(--gh-flash) 0%, transparent 70%); }
/* soft lower edge: the poster melts into the cover colour over the bottom ~22 % so the page below takes over from one flat colour */
.gh-fade { top: auto; height: 22%; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--gh-cov) 0%, transparent) 0%, color-mix(in srgb, var(--gh-cov) 10%, transparent) 18%,
    color-mix(in srgb, var(--gh-cov) 30%, transparent) 38%, color-mix(in srgb, var(--gh-cov) 56%, transparent) 58%, color-mix(in srgb, var(--gh-cov) 82%, transparent) 78%,
    color-mix(in srgb, var(--gh-cov) 96%, transparent) 92%, var(--gh-cov) 100%); }

/* the top badge: the occasion in spaced caps inside a thin pill (a 1970s poster's top line) */
.gh-top { position: absolute; z-index: 2; left: 0; right: 0; top: calc(env(safe-area-inset-top) + max(54px, 8.2svh)); display: flex; justify-content: center; }
.gh-top span { padding: 8px 14px 8px calc(14px + .4em); border: 1px solid color-mix(in srgb, var(--gh-kick) 62%, transparent); border-radius: 99px;
  font: 600 10.5px/1.2 var(--gh-sans); letter-spacing: .4em; text-transform: uppercase; color: var(--gh-kick); white-space: nowrap; text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
  background: color-mix(in srgb, var(--gh-cov) 14%, transparent); }

/* the names, the rule and the info row — anchored at the bottom, centred */
.gh-mast { position: absolute; z-index: 2; left: var(--gh-pad, 22px); right: var(--gh-pad, 22px); bottom: var(--gh-b, 92px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.gh-names { position: relative; font-family: var(--gh-disp); font-weight: 800; font-style: normal; font-variation-settings: var(--gh-soft); line-height: .9; letter-spacing: -.022em;
  font-size: 100px; color: var(--gh-type); max-width: 100%; }
.gh-line { display: block; overflow: hidden; padding: .12em .14em .16em; margin: -.12em -.14em -.16em; }
.gh-roll { position: relative; display: inline-block; white-space: nowrap; }
.gh-names.wrap { line-height: .98; }
.gh-names.wrap .gh-roll { white-space: normal; text-wrap: balance; }
.gh-sh { position: absolute; left: 0; top: 0; width: 100%; color: var(--gh-off); transform: translate(.045em, .05em); }
.gh-fg { position: relative; display: block; }
.gh-names.wrap .gh-sh, .gh-names.wrap .gh-fg { text-wrap: balance; }
.gh-probe { position: absolute; left: -9999px; top: 0; white-space: nowrap; font: inherit; visibility: hidden; }
/* QA 2026-11-18 g6 P2-9: the "&" at .5em / weight 500 read as a tiny squiggle between the huge names → a confident ~80 % ampersand
   with a touch more weight; the negative margins tuck it between the lines so the stack barely grows (fit() still re-checks the height) */
.gh-amp { display: block; line-height: .82; margin: -.06em 0 -.02em; font-size: .8em; }
.gh-amp i { display: inline-block; font-family: var(--gh-disp); font-style: italic; font-weight: 600; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; color: var(--gh-amp); letter-spacing: 0; }
.gh-names, .gh-info { position: relative; }
.gh-cta-hint { position: absolute; inset: 0; pointer-events: none; }
.gh-rule { width: 58px; height: 2px; border-radius: 2px; margin: 18px 0 13px; background: linear-gradient(90deg, var(--gh-off), var(--gh-type)); }
.gh-info { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; max-width: 380px; color: var(--gh-kick); }
.gh-info.two { grid-template-columns: 1fr auto; }
.gh-info.one { display: block; }
.gh-info span { font: 600 10.5px/1.35 var(--gh-sans); letter-spacing: .22em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); padding: 0 4px; }
.gh-info span:first-of-type { text-align: right; padding-right: 14px; }
.gh-info span:last-of-type { text-align: left; padding-left: 14px; }
.gh-info b.gh-c { font-family: var(--gh-disp); font-style: italic; font-weight: 500; font-variation-settings: 'SOFT' 100, 'WONK' 0, 'opsz' 72; font-size: clamp(21px, 6.5vw, 30px); line-height: 1;
  color: var(--gh-type); letter-spacing: .01em; font-variant-numeric: lining-nums; white-space: nowrap; padding: 4px 14px 6px;
  border-left: 1px solid color-mix(in srgb, var(--gh-kick) 45%, transparent); border-right: 1px solid color-mix(in srgb, var(--gh-kick) 45%, transparent); }
.gh-info.two b.gh-c { border-right: 0; } .gh-info.one b.gh-c { border: 0; }
.gh-info b.gh-c.words { font-size: clamp(19px, 6vw, 26px); white-space: normal; }
.gh-info b.gh-c em { font-style: normal; color: var(--gh-off); margin: 0 .04em; }
@media (max-width: 345px) { .gh-info span { letter-spacing: .16em; font-size: 9.5px; } .gh-info b.gh-c { padding: 4px 10px 6px; } .gh-info span:first-of-type { padding-right: 10px; } .gh-info span:last-of-type { padding-left: 10px; } }

/* closed: the badge only; everything else waits */
.gh-roll { transform: translateY(160%); }
.gh-sh { opacity: 0; transform: translate(0, 0); }
.gh-amp i { opacity: 0; transform: scale(.7) rotate(-8deg); }
.gh-rule { opacity: 0; transform: scaleX(0); }
.gh-c { opacity: 0; transform: translateY(10px); }
.gh-top span { opacity: .96; }

/* the themed tap hint: spaced caps after a small sun that breathes */
html.gh-on .gh-hero .hint { z-index: 4; display: inline-flex; align-items: center; gap: 12px; background: color-mix(in srgb, var(--gh-cov) 24%, transparent); border: 1px solid color-mix(in srgb, var(--gh-kick) 40%, transparent);
  box-shadow: none; border-radius: 99px; padding: 12px 18px 12px 14px; bottom: calc(6% + env(safe-area-inset-bottom) * .5); white-space: nowrap;
  font: 600 10.5px/1 var(--gh-sans); letter-spacing: .32em; color: var(--gh-kick); text-shadow: 0 1px 8px rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html.gh-on .gh-hero .hint::before { content: ''; flex: none; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, var(--gh-type), var(--gh-off));
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--gh-type) 60%, transparent); animation: ghSunHint 2.4s ease-in-out infinite; }
html.gh-on .gh-hero .hint::after { display: none; }
@keyframes ghSunHint { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gh-type) 55%, transparent); transform: scale(.92); } 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--gh-type) 0%, transparent); transform: scale(1.06); } }
html.gh-on .gh-hero .cue { --cue-ink: var(--gh-kick); color: var(--gh-kick); z-index: 4; }
html.gh-on .gh-hero .cue span { color: var(--gh-kick); font-family: var(--gh-sans); font-size: 10px; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }

/* ───────── the tap: leak (0–1.0 s) → golden hour (0.25–1.8 s) + push-in → names roll in (0.8 s…) → second ink → rule → info row ───────── */
.gh-hero.untie .hint { opacity: 0; transition: opacity .3s ease; }
.gh-hero.untie .gh-leak b { animation: ghLeak 1.05s cubic-bezier(.45, .05, .35, 1) .02s both; }
.gh-hero.untie .gh-leak s { animation: ghFlash 1.1s ease-out .12s both; }
.gh-hero.untie .gh-cool { animation: ghOut 1.5s cubic-bezier(.4, 0, .3, 1) .28s both; }
.gh-hero.untie .gh-dusk { animation: ghOut 1.6s cubic-bezier(.4, 0, .3, 1) .2s both; }
.gh-hero.untie .gh-tint { animation: ghTint 1.6s ease .35s both; }
.gh-hero.untie .gh-edge { animation: ghIn 1.6s ease .7s both; }
.gh-hero.untie .gh-ph { animation: ghPush 4s cubic-bezier(.22, .55, .25, 1) .02s both; }
.gh-hero.untie .gh-sunwrap { animation: ghRise 2s cubic-bezier(.3, .1, .2, 1) .1s both; }
.gh-hero.untie .gh-glow { animation: ghGlow 2s ease .4s both; }
.gh-hero.untie .gh-grain { animation: ghGrainO 1.6s ease .3s both; }
.gh-hero.untie .gh-roll { animation: ghRoll .95s cubic-bezier(.2, .75, .2, 1) calc(.8s + var(--k) * .36s) both; }
.gh-hero.untie .gh-line .gh-sh { animation: ghInk .7s cubic-bezier(.3, .6, .2, 1) calc(1.22s + var(--k) * .36s) both; }
.gh-hero.untie .gh-amp i { animation: ghAmp .8s cubic-bezier(.25, .8, .25, 1) 1.02s both; }
.gh-hero.untie .gh-rule { animation: ghRule .7s cubic-bezier(.5, 0, .2, 1) 1.7s both; }
.gh-hero.untie .gh-c { animation: ghUp .7s cubic-bezier(.2, .7, .2, 1) calc(1.84s + var(--j, 0) * .1s) both; }
@keyframes ghLeak { 0% { opacity: 0; transform: translate(70%, -60%) rotate(-24deg); } 28% { opacity: 1; } 72% { opacity: .85; } 100% { opacity: 0; transform: translate(-60%, 70%) rotate(-12deg); } }
@keyframes ghFlash { 0% { opacity: 0; } 36% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ghOut { to { opacity: 0; } }
@keyframes ghIn { to { opacity: 1; } }
@keyframes ghTint { to { opacity: var(--gh-tint-o); } }
@keyframes ghPush { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes ghRise { to { transform: none; opacity: 1; } }
@keyframes ghGlow { to { opacity: 1; } }
@keyframes ghGrainO { to { opacity: .16; } }
@keyframes ghRoll { from { transform: translateY(160%); } to { transform: none; } }
@keyframes ghInk { from { opacity: 0; transform: translate(0, 0); } to { opacity: 1; transform: translate(.045em, .05em); } }
@keyframes ghAmp { to { opacity: 1; transform: none; } }
@keyframes ghRule { to { opacity: 1; transform: none; } }
@keyframes ghUp { to { opacity: 1; transform: none; } }
/* ?open (studio / previews) and reduced motion: the finished poster at once */
html.gh-now .gh-hero.untie *, html.gh-now .gh-hero.untie *::before { animation-duration: 0s !important; animation-delay: 0s !important; }
html.gh-now .gh-hero.untie .gh-grain i { animation: none !important; }

/* ───────── the pages: a poster series ───────── */
/* the poster → the paper: a tall sunset band in its own space (no text ever sits on it) */
.gh-blend { position: relative; height: clamp(170px, 28svh, 280px); margin-bottom: -40px; pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, var(--gh-cov) 0%, color-mix(in srgb, var(--gh-cov) 70%, var(--gh-b2)) 10%, var(--gh-b2) 22%,
    color-mix(in srgb, var(--gh-b2) 50%, var(--gh-b3)) 33%, var(--gh-b3) 44%, color-mix(in srgb, var(--gh-b3) 50%, var(--gh-b4)) 55%, var(--gh-b4) 65%,
    color-mix(in srgb, var(--gh-b4) 50%, var(--gh-b5)) 75%, var(--gh-b5) 84%, color-mix(in srgb, var(--gh-b5) 40%, transparent) 93%, transparent 100%); }
.gh-blend i { position: absolute; inset: 0; background: var(--gh-grain, none); background-size: 96px; mix-blend-mode: overlay; opacity: .2;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 60%, transparent 95%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 60%, transparent 95%); }
html.gh-on #content > .gh-blend + .sec { position: relative; z-index: 1; }
html.gh-on #content > .sec:not(.foot) { text-align: center; padding: 56px 26px 54px; }
html.gh-on #content > .sec.note:not(.foot) { padding-top: 40px; padding-bottom: 40px; }
html.gh-on #content .sec p { font-family: var(--gh-disp); font-variation-settings: 'SOFT' 50, 'WONK' 0, 'opsz' 14; font-weight: 400; font-size: 18.5px; line-height: 1.55; max-width: 340px; }
html.gh-on .divider.ldiv { display: none; }
/* the small striped sun over a heading */
.gh-glyph { display: block; width: 30px; height: 15px; margin: 0 auto 14px; border-radius: 30px 30px 0 0;
  background: linear-gradient(180deg, var(--accent2) 0%, var(--accent) 100%);
  -webkit-mask: linear-gradient(180deg, #000 0 46%, transparent 46% 56%, #000 56% 70%, transparent 70% 80%, #000 80% 100%);
  mask: linear-gradient(180deg, #000 0 46%, transparent 46% 56%, #000 56% 70%, transparent 70% 80%, #000 80% 100%); }
html.gh-on .kicker { font-family: var(--gh-sans); font-size: 10.5px; letter-spacing: .32em; font-weight: 600; color: var(--accent); }
html.gh-on.gf-serifheads h2.script, html.gh-on.gf-serifheads .note h2.script { font-family: var(--gh-disp); font-weight: 800; font-variation-settings: var(--gh-soft); font-size: 44px; line-height: 1;
  letter-spacing: -.02em; text-transform: none; color: var(--ink); margin-top: 10px; text-wrap: balance; }
html.gh-on.gf-serifheads h2.script::after { display: none; }
@media (max-width: 340px) { html.gh-on.gf-serifheads h2.script, html.gh-on.gf-serifheads .note h2.script { font-size: 37px; } }
html.gh-on .btn { border-radius: 99px; font-family: var(--gh-sans); font-size: 11px; letter-spacing: .24em; font-weight: 600; text-transform: uppercase; padding: 15px 26px 15px calc(26px + .24em);
  min-height: 48px; border: 1.5px solid var(--accent); color: var(--accent); background: transparent; box-shadow: none; }
html.gh-on .btn.fill { background: var(--accent); color: var(--paper); border-color: var(--accent); box-shadow: 0 14px 24px -14px color-mix(in srgb, var(--accent) 80%, #000); }

/* the invitation: names with the poster's second ink, the words as the lead, the date as a poster row */
html.gh-on .sec.invite .names-big { font-family: var(--gh-disp); font-weight: 800; font-variation-settings: var(--gh-soft); font-size: 58px; line-height: .95; letter-spacing: -.022em; margin: 18px 0 6px;
  color: var(--accent); text-shadow: .045em .05em 0 color-mix(in srgb, var(--accent2) 70%, transparent); }
html.gh-on .sec.invite .names-big .amp { font-family: var(--gh-disp); font-style: italic; font-weight: 500; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-size: .44em; margin: .06em 0 .08em;
  color: var(--accent2); text-shadow: none; }
html.gh-on .gh-lead { font-size: 21px !important; line-height: 1.45 !important; font-style: italic; color: var(--ink); margin-top: 22px !important; text-wrap: pretty; }
html.gh-on .sec.invite .dateline { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; max-width: 340px; margin: 30px auto 0; padding: 14px 0; border: 0;
  border-top: 1.5px solid color-mix(in srgb, var(--ink) 70%, transparent); border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 70%, transparent); }
html.gh-on .sec.invite .dateline span { border: 0; padding: 0 8px; font-family: var(--gh-sans); font-size: 10.5px; letter-spacing: .24em; font-weight: 600; color: var(--ink); }
html.gh-on .sec.invite .dateline span:first-child { text-align: right; }
html.gh-on .sec.invite .dateline span:last-child { text-align: left; }
html.gh-on .sec.invite .dateline b { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 16px; font-family: var(--gh-disp); font-weight: 800; font-variation-settings: var(--gh-soft);
  font-size: 54px; line-height: .9; color: var(--accent); border-left: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); border-right: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); }
html.gh-on .sec.invite .dateline b small { margin: 0; font-family: var(--gh-sans); font-weight: 600; font-size: 10.5px; letter-spacing: .24em; color: var(--ink); }
html.gh-on .timeline-words { font-style: italic; font-size: 18px !important; color: var(--soft-ink); margin-top: 12px !important; }

/* Our Story: prints in thin poster frames — a fine accent keyline around a paper margin, the photo INTO the frame (inner shadow), a soft drop shadow */
html.gh-on .ed-print { width: 100%; margin: 26px 0 0; padding: 0; aspect-ratio: 4 / 5; background: none; border: 0; position: relative;
  box-shadow: 0 28px 40px -24px rgba(40, 20, 10, .55), 0 3px 8px rgba(40, 20, 10, .12); }
html.gh-on .ed-print::before, html.gh-on .gf-gal figure::before { content: ''; position: absolute; inset: -8px; border: 1.5px solid color-mix(in srgb, var(--accent) 70%, transparent); border-radius: 2px; pointer-events: none; }
html.gh-on .ed-print::after, html.gh-on .gf-gal figure::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent2) 45%, transparent), inset 0 2px 10px rgba(30, 14, 6, .32), inset 0 0 46px rgba(30, 14, 6, .22); }
html.gh-on .ed-print .ph { border-radius: 0; }
html.gh-on .gf-gal { width: 100%; margin: 36px 0 0; gap: 28px 20px; grid-template-columns: 1fr 1fr; }
html.gh-on .gf-gal figure { border-radius: 0; box-shadow: 0 20px 30px -18px rgba(40, 20, 10, .5), 0 2px 6px rgba(40, 20, 10, .1); position: relative; }
html.gh-on .gf-gal figure::before { inset: -6px; }
html.gh-on .gf-gal img { border-radius: 0; }
html.gh-on .gf-gal.odd figure:last-child { width: 100%; justify-self: stretch; }

/* the countdown: a big numeral poster on a colour band (feathered top and bottom — the text sits in the flat middle only) */
html.gh-on .sec.countdown { padding-top: 120px !important; padding-bottom: 120px !important; color: var(--gh-kick); isolation: isolate; }
.gh-band { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; pointer-events: none; background: var(--accent);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .1) 18px, rgba(0, 0, 0, .5) 44px, rgba(0, 0, 0, .9) 70px, #000 88px, #000 calc(100% - 88px), rgba(0, 0, 0, .9) calc(100% - 70px), rgba(0, 0, 0, .5) calc(100% - 44px), rgba(0, 0, 0, .1) calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .1) 18px, rgba(0, 0, 0, .5) 44px, rgba(0, 0, 0, .9) 70px, #000 88px, #000 calc(100% - 88px), rgba(0, 0, 0, .9) calc(100% - 70px), rgba(0, 0, 0, .5) calc(100% - 44px), rgba(0, 0, 0, .1) calc(100% - 18px), transparent 100%); }
.gh-band i { position: absolute; inset: 0; background: var(--gh-grain, none); background-size: 96px; mix-blend-mode: overlay; opacity: .18; }
.gh-band::after { content: ''; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent2) 42%, transparent), transparent 70%); }
.gh-band.soft { background: color-mix(in srgb, var(--accent2) 20%, var(--paper)); }
.gh-band.soft::after { display: none; }
html.gh-on .sec.countdown .gh-glyph { background: linear-gradient(180deg, var(--gh-kick), color-mix(in srgb, var(--gh-kick) 60%, var(--accent2))); }
html.gh-on .sec.countdown .kicker { color: var(--gh-kick); }
html.gh-on .countdown .framed, html.gh-on .countdown .framed.plain { width: 100%; padding: 0; border: 0; margin: 0; background: none; box-shadow: none; }
html.gh-on .countdown .framed::before, html.gh-on .countdown .framed::after { display: none; }
html.gh-on .countdown .framed-in, html.gh-on .countdown .framed.plain .framed-in { position: static; padding: 0; border: 0; align-items: center; text-align: center; background: none; }
html.gh-on .countdown .cd-days { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 10px 0 18px; }
html.gh-on .countdown .cd-days b { font-family: var(--gh-disp); font-weight: 800; font-variation-settings: var(--gh-soft); font-size: min(46cqw, 190px); line-height: .84; letter-spacing: -.04em;
  color: var(--gh-type); text-shadow: .04em .045em 0 color-mix(in srgb, var(--gh-cov) 55%, transparent); }
html.gh-on .countdown .cd-days span, html.gh-on .countdown .cd-row span { font-family: var(--gh-sans); font-weight: 600; font-size: 10.5px; letter-spacing: .3em; color: var(--gh-kick); }
html.gh-on .countdown .cd-row { gap: 0; max-width: 300px; margin: 0 auto; border-top: 1.5px solid color-mix(in srgb, var(--gh-kick) 60%, transparent); border-bottom: 1.5px solid color-mix(in srgb, var(--gh-kick) 60%, transparent); }
html.gh-on .countdown .cd-row > div { padding: 12px 0 10px; border-left: 1px solid color-mix(in srgb, var(--gh-kick) 35%, transparent); background: none; box-shadow: none; }
html.gh-on .countdown .cd-row > div:first-child { border-left: 0; }
html.gh-on .countdown .cd-row b { font-family: var(--gh-disp); font-weight: 700; font-variation-settings: var(--gh-soft); font-size: 34px; color: var(--gh-kick); }
html.gh-on .countdown .cd-t { font-family: var(--gh-disp); font-style: italic; font-size: 21px; margin-top: 16px; color: var(--gh-kick); }
html.gh-on .countdown .btn { border-color: var(--gh-kick); color: var(--gh-kick); }

/* the venue: the drawn map in a poster frame, then the name */
.gh-map { position: relative; display: block; width: 100%; max-width: 360px; margin: 30px auto 0; aspect-ratio: 32 / 22;
  box-shadow: 0 22px 34px -22px rgba(40, 20, 10, .5), 0 2px 6px rgba(40, 20, 10, .1); -webkit-tap-highlight-color: transparent; }
.gh-map svg { display: block; width: 100%; height: 100%; }
.gh-map::before { content: ''; position: absolute; inset: -8px; border: 1.5px solid color-mix(in srgb, var(--accent) 70%, transparent); border-radius: 2px; pointer-events: none; }
.gh-map::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent), inset 0 2px 12px rgba(30, 14, 6, .16); }
html.gh-on .venue-name { font-family: var(--gh-disp); font-weight: 800; font-variation-settings: var(--gh-soft); font-size: 32px; line-height: 1.05; letter-spacing: -.015em; text-transform: none; margin-top: 30px; color: var(--accent); }
html.gh-on .venue .addr { font-size: 18.5px; color: var(--soft-ink); }
html.gh-on .venue .when { font-style: italic; }

/* the day: a poster timetable — big italic times, bold titles */
html.gh-on .schedule .prog { max-width: 340px; margin: 26px auto 0; }
html.gh-on .schedule .prog li, html.gh-on .schedule .prog li.alt { display: block; text-align: center; padding: 20px 0 18px; position: relative; }
html.gh-on .schedule .prog li + li::before { content: ''; position: absolute; top: 0; left: 50%; width: 54px; height: 1.5px; translate: -50% 0; border-radius: 2px; background: color-mix(in srgb, var(--accent2) 80%, transparent); }
html.gh-on .schedule .prog .pi { display: none; }
html.gh-on .schedule .prog .pt { display: flex; flex-direction: column; align-items: center; }
html.gh-on .schedule .prog .pt time { order: 0; font-family: var(--gh-disp); font-style: italic; font-weight: 500; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 72; font-size: 22px; line-height: 1; color: var(--accent); letter-spacing: 0; text-transform: none; }
html.gh-on .schedule .prog .pt b { order: 1; margin: 6px 0 0; font-family: var(--gh-disp); font-weight: 800; font-variation-settings: var(--gh-soft); font-size: 30px; line-height: 1.05; letter-spacing: -.015em; text-transform: none; color: var(--ink); }
html.gh-on .schedule .prog .pt span { order: 2; font-family: var(--gh-disp); font-variation-settings: 'SOFT' 50, 'opsz' 14; font-style: italic; font-size: 17.5px; line-height: 1.4; margin-top: 6px; color: var(--soft-ink); max-width: 300px; }

/* dress code: colour chips as little suns */
html.gh-on .dress .dress-title { font-family: var(--gh-disp); font-style: italic; font-weight: 500; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 72; font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--accent); margin-top: 18px; }
html.gh-on .dress .palette { justify-content: center; gap: 12px; margin-top: 26px; }
html.gh-on .dress .palette span { width: 44px; height: 44px; border-radius: 50%; transform: none; background: var(--c); position: relative;
  box-shadow: 0 10px 16px -10px rgba(40, 20, 10, .5), inset 0 0 0 1px rgba(0, 0, 0, .08), inset 0 -6px 10px rgba(0, 0, 0, .12); }
html.gh-on .dress .palette span::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); }

/* notes (travel, gifts, own pages): no box, centred */
html.gh-on .note-card { max-width: 360px; margin: 0 auto; padding: 0; border: 0; outline: 0; background: none; box-shadow: none; text-align: center; }
html.gh-on .note-card::before, html.gh-on .note-card::after { display: none; }
html.gh-on .note-card .gh-glyph { margin-bottom: 12px; }
html.gh-on .note-card h2.script { font-size: 36px !important; }

/* the reply: a soft butter band, no wax seal (painted art), a big heading and a round button */
html.gh-on .sec.rsvp { padding-top: 104px !important; padding-bottom: 104px !important; isolation: isolate; }
html.gh-on .rsvp .seal { display: none; }
html.gh-on .rsvp h2.script { font-size: 50px !important; color: var(--accent) !important; }

/* the last line */
html.gh-on .sec.foot { text-align: center; padding-bottom: 72px; }
html.gh-on .sec.foot .sig { font-family: var(--gh-disp); font-style: italic; font-weight: 500; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 72; font-size: 26px; line-height: 1.3; color: var(--accent); }

/* ───────── 'top' placement (art.gh.placeFor — a photo whose people stand low): the title over the sky, the info row at the foot ───────── */
html.gh-on { --gh-tt: #d93f26; --gh-to: rgba(58, 23, 14, .88); --gh-ta: #3a170e; --gh-tk: #3a170e; }
html.gh-on[data-variant="tangerine"] { --gh-tt: #e0582a; --gh-to: rgba(74, 30, 71, .9); --gh-ta: #4a1e47; --gh-tk: #4a1e47; }
html.gh-on[data-variant="olive"] { --gh-tt: #575b22; --gh-to: rgba(255, 240, 200, .9); --gh-ta: #8a5a1c; --gh-tk: #2e2e16; }
html.gh-on[data-variant="sky"] { --gh-tt: #276fa3; --gh-to: rgba(255, 226, 138, .95); --gh-ta: #12304a; --gh-tk: #12304a; }
.gh.at-top .gh-top { top: calc(env(safe-area-inset-top) + max(50px, 7.6svh)); }
.gh.at-top .gh-top span { padding: 6px 0 6px .34em; border: 0; background: none; letter-spacing: .34em; color: var(--gh-tk); text-shadow: 0 0 14px rgba(255, 236, 200, .55); }
.gh.at-top .gh-mast { top: var(--gh-t, 44px); bottom: auto; }
.gh.at-top .gh-names { color: var(--gh-tt); }
.gh.at-top .gh-sh { color: var(--gh-to); }
.gh-ai { font-style: italic; font-weight: 500; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-size: .66em; letter-spacing: 0; margin-right: -.06em; }
.gh.at-top .gh-fg .gh-ai { color: var(--gh-ta); }
.gh.at-top .gh-rule { background: linear-gradient(90deg, var(--gh-tt), var(--gh-ta)); }
.gh-foot { position: absolute; z-index: 2; left: var(--gh-pad, 22px); right: var(--gh-pad, 22px); bottom: var(--gh-b, 92px); display: flex; justify-content: center; }
.gh.at-top .gh-scrim { background: linear-gradient(180deg, transparent 0%, transparent 52%, color-mix(in srgb, var(--gh-cov) 34%, transparent) 66%,
  color-mix(in srgb, var(--gh-cov) 70%, transparent) 82%, color-mix(in srgb, var(--gh-cov) 88%, transparent) 100%); }
/* a whisper of warm light behind the title so it reads on a busy sky */
.gh.at-top .gh-mast::before { content: ''; position: absolute; z-index: -1; left: -20%; right: -20%; top: -18%; bottom: -14%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 232, 186, .42), rgba(255, 232, 186, .16) 60%, transparent); }
.gh-hero.untie .gh.at-top .gh-mast::before { animation: ghIn 1.2s ease .6s both; }
.gh-info.two span { text-align: right !important; padding: 0 14px 0 4px !important; }
.gh-sh .gh-ai { color: transparent; }
.gh.at-top .gh-rule { display: none; }
.gh.at-top .gh-top span { letter-spacing: .3em; padding-left: .3em; }
@media (max-width: 380px) { .gh-info span { letter-spacing: .15em; font-size: 9.5px; } .gh-info b.gh-c { padding: 4px 11px 6px; } .gh-info span:first-of-type { padding-right: 11px; } .gh-info span:last-of-type { padding-left: 11px; } }
html.gh-on .sec.invite .names-big .amp { font-size: .56em; }

/* the info row, adaptive (QA 2026-11-14; golden.js fitInfo): .gh-meas = a one-line test pass; .tight = closer caps; .stack = the date
   alone, the weekday · city centred under it (wraps balanced, never an ellipsis) */
.gh-info.gh-meas { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.gh-info.two.gh-meas { grid-template-columns: minmax(0, 1fr) auto; }
.gh-info.gh-meas > span { white-space: nowrap; overflow: hidden; }
.gh-info.tight > span { letter-spacing: .12em; }
.gh-info .gh-sub { display: none; }
.gh-info.stack { display: flex; flex-direction: column; align-items: center; }
.gh-info.stack > span:not(.gh-sub) { display: none; }
.gh-info.stack b.gh-c { border: 0; padding: 2px 0 0; }
.gh-info.stack b.gh-c::after { content: ''; display: block; width: 34px; height: 1px; margin: 11px auto 10px; background: color-mix(in srgb, var(--gh-kick) 55%, transparent); }
.gh-info.stack .gh-sub { display: block; max-width: 100%; text-align: center !important; padding: 0 .2em 0 calc(.2em + .18em) !important; letter-spacing: .18em; line-height: 1.55; text-wrap: balance; }
.gh-info.stack .gh-sub em { font-style: normal; opacity: .7; }
