/* Two faces only, self-hosted: Bodoni Moda for the voice, Switzer for everything read. */
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url('/static/fonts/bodoni-moda-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url('/static/fonts/bodoni-moda-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/static/fonts/bodoni-moda-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/static/fonts/bodoni-moda-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Switzer'; font-style: normal; font-weight: 300; font-display: swap; src: url('/static/fonts/switzer-300.woff2') format('woff2'); }
@font-face { font-family: 'Switzer'; font-style: italic; font-weight: 300; font-display: swap; src: url('/static/fonts/switzer-300i.woff2') format('woff2'); }
@font-face { font-family: 'Switzer'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/switzer-400.woff2') format('woff2'); }
@font-face { font-family: 'Switzer'; font-style: italic; font-weight: 400; font-display: swap; src: url('/static/fonts/switzer-400i.woff2') format('woff2'); }
@font-face { font-family: 'Switzer'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/switzer-500.woff2') format('woff2'); }
@font-face { font-family: 'Switzer'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/switzer-600.woff2') format('woff2'); }

html.gift-html { background: #0c0512; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body.gift { margin: 0; }
.gift {
  --bg-solid: #0c0512;
  --text-primary: #fdf3f9; --text: #ead9e6; --text-muted: #c3abc0; --text-faint: #957d97;
  --gold: #f6c978; --gold-dim: #c9974a; --pearl: #f4e8ff; --rose: #ff9ccd;
  --hair: color-mix(in srgb, #fdf3f9 14%, transparent);
  --hair-strong: color-mix(in srgb, #fdf3f9 32%, transparent);
  --font-display: 'Bodoni Moda', 'Bodoni 72', Didot, Georgia, serif;
  --font-reading: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--font-reading);
  -webkit-font-smoothing: antialiased;
}
.gift *, .gift *::before, .gift *::after { box-sizing: border-box; }
.gift a { color: inherit; }
.gift p { margin: 0 0 1em; }
/* The gift desk (quintessence.love/gift), in the couture cut: square, hairlines, Bodoni for the
   voice, Switzer for every label, one solid pearl action per view. The armillary behind the page is
   the landing's Instrument, always showing a real sky. */
.gift {
  --ground: var(--bg-solid, #0c0512);
  --ink: var(--text-primary, #fdf3f9);
  --voice: var(--font-display);
  --read: var(--font-reading);
  --ease: cubic-bezier(.2, .7, .1, 1);
  background: var(--ground);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
.gift .g-sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.gift #instrument { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s var(--ease); }
.gift.gl #instrument { opacity: 1; }
.gift .g-labels { position: absolute; inset: 0; pointer-events: none; }
.gift .q-body-label { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 6px; margin: -10px 0 0 12px; padding: 4px 6px;
  background: none; border: 0; color: var(--text); font: 500 13px/1 var(--read); letter-spacing: .2em; text-transform: uppercase;
  pointer-events: none; white-space: nowrap; text-shadow: 0 0 8px var(--ground), 0 0 2px var(--ground); }
.gift .q-body-label i { font: 400 17px/1 var(--voice); font-style: normal; color: var(--gold); letter-spacing: 0; font-variant-emoji: text; }
.gift .q-body-label[data-body="You"] { margin: 10px 0 0 -8px; }
.gift .g-skycap { position: absolute; right: 4vw; bottom: 3.2vh; max-width: 44vw; margin: 0; text-align: right;
  font: 500 13px/1.6 var(--read); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }

.gift .g-top, .gift .g-main, .gift .g-foot, .gift .g-test { position: relative; z-index: 1; }
.gift .g-top { display: flex; justify-content: space-between; align-items: baseline; padding: 28px 7vw 0; }
.gift .g-mark { font: italic 400 22px/1 var(--voice); color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.gift .g-press { font: 500 13px/1 var(--read); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.gift .g-test { margin: 18px 7vw 0; padding: 10px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  font: 500 13px/1 var(--read); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); width: max-content; max-width: calc(100% - 14vw); }

.gift .g-main { width: min(600px, 86vw); margin: 0 0 0 7vw; padding: 8vh 0 12vh; }
.gift .g-kicker { margin: 0 0 18px; font: 500 13px/1.4 var(--read); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.gift h1 { margin: 0 0 28px; font: 400 clamp(52px, 7.4vw, 104px)/.96 var(--voice); color: var(--ink); letter-spacing: -.02em; }
.gift h1 em, .gift h2 em { font-style: italic; color: var(--pearl, var(--ink)); }
.gift h2 { margin: 0 0 22px; font: 400 clamp(36px, 4.4vw, 58px)/1 var(--voice); color: var(--ink); letter-spacing: -.01em; }
.gift h3 { margin: 0; font: 400 26px/1.1 var(--voice); color: var(--ink); }
.gift .g-lede { margin: 0 0 40px; font: 400 17px/1.65 var(--read); color: var(--text); max-width: 34em; }
.gift .g-fine { margin: 14px 0 0; font: 400 13px/1.6 var(--read); color: var(--text-muted); }
.gift .g-fine a { color: var(--text); text-underline-offset: 3px; }

/* the one action: a solid square block in pearl that turns rose */
.gift .g-act { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border: 1px solid var(--pearl, #f4e8ff);
  background: var(--pearl, #f4e8ff); color: var(--ground); font: 600 13px/1 var(--read); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .25s, border-color .25s, color .25s; border-radius: 0; }
.gift .g-act:hover, .gift .g-act:focus-visible { background: var(--rose); border-color: var(--rose); color: var(--ground); }
.gift .g-act:disabled { opacity: .55; cursor: progress; }
.gift .g-act.g-quiet { background: transparent; color: var(--ink); border-color: var(--hair-strong); }
.gift .g-act.g-quiet:hover { border-color: var(--rose); color: var(--rose); background: transparent; }

/* the form: words on hairlines, never boxes */
.gift .g-form { display: grid; gap: 22px; margin: 0 0 9vh; }
.gift .g-row.g-two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.gift .g-field { display: grid; gap: 8px; }
.gift .g-field > span, .gift .g-field > legend, .gift .g-skins legend { padding: 0; font: 400 15px/1.2 var(--read); letter-spacing: .01em; color: var(--text-muted); }
.gift .g-field small { font-size: 13px; letter-spacing: .14em; color: var(--text-faint); margin-left: 6px; }
.gift .g-field input, .gift .g-field textarea { width: 100%; box-sizing: border-box; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--hair-strong);
  background: transparent; color: var(--ink); font: 400 22px/1.3 var(--voice); border-radius: 0; color-scheme: dark; }
.gift .g-field textarea { font: italic 400 19px/1.5 var(--voice); resize: vertical; }
.gift .g-field input:focus, .gift .g-field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.gift .g-field input::placeholder, .gift .g-field textarea::placeholder { color: var(--text-faint); }
.gift .g-field input:disabled { opacity: .35; }
.gift .g-check { display: flex; gap: 10px; align-items: center; margin-top: -8px; font: 400 14px/1.4 var(--read); color: var(--text-muted); cursor: pointer; }
.gift .g-check input { accent-color: var(--gold); }
.gift .g-place { position: relative; }
.gift .g-places { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 0; padding: 0; list-style: none; background: var(--ground); border: 1px solid var(--hair-strong); border-top: 0; }
.gift .g-places li { padding: 12px 14px; font: 400 15px/1.3 var(--read); color: var(--text); cursor: pointer; border-top: 1px solid var(--hair); }
.gift .g-places li:hover, .gift .g-places li:focus { background: color-mix(in srgb, var(--gold) 10%, transparent); color: var(--ink); outline: none; }
.gift .g-skins { border: 0; margin: 0; padding: 0; display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.gift .g-skins legend { margin-bottom: 12px; padding: 0; }
.gift .g-skins label { display: flex; align-items: center; gap: 8px; font: 400 13px/1 var(--read); color: var(--text-muted); cursor: pointer; }
.gift .g-skins input { position: absolute; opacity: 0; pointer-events: none; }
.gift .sw { width: 22px; height: 22px; border: 1px solid var(--hair-strong); display: inline-block; }
.gift .sw-cosmos { background: #0c0512; box-shadow: inset 0 0 0 6px #0c0512, inset 0 0 0 7px #f6c978; }
.gift .sw-blush { background: #170a10; box-shadow: inset 0 0 0 6px #170a10, inset 0 0 0 7px #ffc9da; }
.gift .sw-amber { background: #130809; box-shadow: inset 0 0 0 6px #130809, inset 0 0 0 7px #ffbe7a; }
.gift .g-skins input:checked + .sw { border-color: var(--gold); outline: 1px solid var(--gold); outline-offset: 2px; }
.gift .g-skins input:checked ~ span { color: var(--ink); }
.gift .g-skins input:focus-visible + .sw { outline: 2px solid var(--rose); }
.gift .g-err { min-height: 1.4em; margin: 0; font: 400 14px/1.4 var(--read); color: var(--rose); }

.gift .g-example video, .gift .g-film video { width: min(360px, 100%); aspect-ratio: 9 / 16; display: block; background: #000; border: 1px solid var(--hair); }
.gift .g-example { margin: 0 0 9vh; }
.gift .g-ladder { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.gift .g-ladder li { display: grid; grid-template-columns: 80px 1fr; gap: 4px 18px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.gift .g-ladder b { grid-row: span 2; font: 400 28px/1 var(--voice); color: var(--gold); }
.gift .g-ladder span { font: 400 20px/1.2 var(--voice); color: var(--ink); }
.gift .g-ladder em { font: normal 400 14px/1.5 var(--read); color: var(--text-muted); }

/* a gift's page */
.gift .g-for h1 { margin-bottom: 14px; }
.gift .g-sky-line { margin: 0 0 30px; font: 500 13px/1.6 var(--read); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.gift .g-note { margin: 0 0 44px; padding: 0 0 0 22px; border-left: 1px solid var(--gold); font: italic 400 22px/1.5 var(--voice); color: var(--ink); max-width: 28em; }
.gift .g-note cite { display: block; margin-top: 10px; font: normal 500 13px/1 var(--read); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.gift .g-film { margin: 0 0 11vh; }
.gift .g-making { width: min(360px, 100%); aspect-ratio: 9 / 16; box-sizing: border-box; padding: 34px 28px; border: 1px solid var(--hair-strong);
  display: flex; flex-direction: column; justify-content: flex-end; background: color-mix(in srgb, var(--ground) 72%, transparent); }
.gift .g-steps { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: s; }
.gift .g-steps li { counter-increment: s; padding: 12px 0; border-top: 1px solid var(--hair); font: 400 17px/1.3 var(--voice); color: var(--text-faint); transition: color .8s var(--ease); }
.gift .g-steps li::before { content: counter(s, upper-roman) '  '; font: 500 13px/1 var(--read); letter-spacing: .2em; color: var(--gold-dim, var(--gold)); }
.gift .g-steps li.on { color: var(--ink); }
.gift .g-given { margin: 0 0 7vh; padding: 22px 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--hair); }
.gift .g-given p:last-child { margin: 0; font: 400 16px/1.6 var(--read); color: var(--ink); }

.gift .g-tiers, .gift .g-atelier, .gift .g-share { width: min(1180px, 86vw); margin: 0 0 12vh; }
.gift .g-tier-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair-strong); }
.gift .g-tier { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 34px 30px 30px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  background: color-mix(in srgb, var(--ground) 82%, transparent); }
.gift .g-tier:first-child { border-left: 1px solid var(--hair); }
.gift .g-tier.is-pick { border-top: 2px solid var(--gold); margin-top: -1px; }
.gift .g-pick { position: absolute; top: -9px; left: 30px; margin: 0; padding: 0 8px; background: var(--ground); font: 600 13px/18px var(--read); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.gift .g-price { margin: 0; font: 400 54px/1 var(--voice); color: var(--gold); letter-spacing: -.02em; }
.gift .g-tline { margin: 0; font: italic 400 17px/1.45 var(--voice); color: var(--ink); }
.gift .g-tier ul { margin: 6px 0 18px; padding: 0; list-style: none; flex: 1; }
.gift .g-tier li { padding: 10px 0; border-top: 1px solid var(--hair); font: 400 14px/1.5 var(--read); color: var(--text); }
.gift .g-tier .g-act { align-self: stretch; }
.gift .g-sealed { margin: 0; padding: 18px 0; border-top: 1px solid var(--gold); font: 600 13px/1 var(--read); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); text-align: center; }

/* the atelier: the art in the world, as a premium shop would shoot it */
.gift .g-atelier .g-lede { max-width: 40em; }
.gift .g-shop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }
.gift .g-piece { display: flex; flex-direction: column; gap: 10px; }
.gift .g-piece h3 { font-size: 22px; display: flex; justify-content: space-between; gap: 10px; }
.gift .g-piece h3 span { color: var(--gold); }
.gift .g-piece .g-tline { font-size: 15px; flex: 1; }
.gift .g-kind { margin: 6px 0 0; font: 500 13px/1 var(--read); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.gift .g-art svg { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; }
.gift .g-mock { position: relative; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: #e9e2d8; }
.gift .g-mock::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 30% 0%, rgba(255, 255, 255, .35), rgba(0, 0, 0, .14)); }
.gift .g-mock-frame .g-art { width: 60%; padding: 5%; background: #fbf8f2; box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 10px 22px -12px rgba(0, 0, 0, .45); }
.gift .g-mock-framed { background: #d9d1c5; }
.gift .g-mock-framed .g-art { width: 52%; padding: 8%; background: #f6f1e7; border: 11px solid #15110f; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(0, 0, 0, .12); }
.gift .g-mock-poster { background: #2b2428; }
.gift .g-mock-poster .g-art { width: 68%; box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .7); }
.gift .g-mock-poster .g-art::before, .gift .g-mock-poster .g-art::after { content: ''; position: absolute; top: calc(10% - 6px); width: 26px; height: 9px; background: #1a1614; }
.gift .g-mock-poster .g-art { position: relative; }
.gift .g-mock-poster .g-art::before { left: 14%; } .gift .g-mock-poster .g-art::after { right: 14%; }
.gift .g-mock-cards { background: #cfc4b4; }
.gift .g-card { position: absolute; width: 40%; aspect-ratio: 3 / 4; overflow: hidden; background: #0c0512; border: 4px solid #fbf8f2; box-shadow: 0 10px 18px -10px rgba(0, 0, 0, .55); }
.gift .g-card svg { display: block; width: 100%; height: 100%; }
.gift .g-card.c1 { transform: translate(-46%, 6%) rotate(-9deg); }
.gift .g-card.c2 { transform: translate(0, -4%) rotate(1deg); z-index: 2; }
.gift .g-card.c3 { transform: translate(46%, 8%) rotate(10deg); }

.gift .g-link { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.gift .g-link code { font: 400 15px/1.4 var(--read); color: var(--ink); word-break: break-all; flex: 1; }

/* the checkout: a card being sealed */
.gift .g-back { display: inline-block; margin-bottom: 6vh; font: 500 13px/1 var(--read); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; }
.gift .g-back::before { content: '← '; }
.gift .g-receipt { display: grid; grid-template-columns: 150px 1fr; gap: 28px; margin: 0 0 22px; padding: 26px 0; border-top: 1px solid var(--hair-strong); border-bottom: 1px solid var(--hair-strong); }
.gift .g-receipt-art { border: 1px solid var(--hair); align-self: start; }
.gift .g-receipt dl { margin: 0; display: grid; gap: 0; }
.gift .g-receipt dl div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.gift .g-receipt dt { font: 500 13px/1.8 var(--read); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.gift .g-receipt dd { margin: 0; font: 400 15px/1.5 var(--read); color: var(--ink); }
.gift .g-receipt .g-note-small { font: italic 400 16px/1.5 var(--voice); }
.gift .g-receipt .g-total dd { font: 400 32px/1 var(--voice); color: var(--gold); }
.gift .g-receipt .g-total s { color: var(--text-muted); font-size: 22px; margin-right: 8px; }
.gift .g-test-inline { margin: 0 0 18px; font: 500 13px/1.6 var(--read); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.gift .g-seal .g-act { width: 100%; }

.gift .g-foot { display: flex; justify-content: space-between; padding: 26px 7vw 36px; border-top: 1px solid var(--hair);
  font: 500 13px/1 var(--read); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.gift .g-foot a { color: var(--text-muted); text-decoration: none; }

@media (max-width: 1100px) {
  .gift .g-shop { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .gift .g-sky { position: absolute; height: 74vh; }
  .gift .g-skycap { left: 6vw; right: 6vw; max-width: none; text-align: left; bottom: 2vh; }
  .gift .g-main { margin: 0 auto; width: 88vw; padding-top: 58vh; }
  .gift .g-top, .gift .g-foot { padding-left: 6vw; padding-right: 6vw; }
  .gift .g-press { display: none; }
  .gift .g-test { margin-left: 6vw; }
  .gift h1 { font-size: 54px; }
  .gift .g-row.g-two { grid-template-columns: 1fr; }
  .gift .g-tier-row { grid-template-columns: 1fr; }
  .gift .g-tier { border-left: 1px solid var(--hair); }
  .gift .g-tiers, .gift .g-atelier, .gift .g-share { width: 88vw; }
  .gift .g-shop { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .gift .g-receipt { grid-template-columns: 1fr; }
  .gift .g-receipt-art { width: 140px; }
}
@media (prefers-reduced-motion: reduce) { .gift #instrument { transition: none; } }
/* the checkout's title names the gift and the person; it stays in its column, clear of the sphere */
.gift-checkout h1 { font-size: clamp(42px, 4.8vw, 70px); }

/* the first screen shows the thing itself: Luna's sample, one tap away */
.gift .g-peek { display: inline-flex; gap: 16px; align-items: center; margin: -12px 0 44px; text-decoration: none; color: var(--text); }
.gift .g-peek img { width: 54px; height: 96px; object-fit: cover; border: 1px solid var(--hair-strong); }
.gift .g-peek span { display: grid; gap: 6px; font: 400 14px/1.3 var(--read); color: var(--text-muted); }
.gift .g-peek b { font: italic 400 21px/1.1 var(--voice); color: var(--ink); }
.gift .g-peek:hover b { color: var(--rose); }

/* the birth moment written as a person says it: 21 · June · 1996, 5:12 am */
.gift .g-born { display: grid; grid-template-columns: 1fr 150px; gap: 26px; align-items: end; }
.gift fieldset.g-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.gift .g-dmy { display: grid; grid-template-columns: 56px 1fr 84px; gap: 14px; }
.gift .g-field select { width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--hair-strong); border-radius: 0; background: transparent; color: var(--ink);
  font: 400 22px/1.3 var(--voice); appearance: none; -webkit-appearance: none; cursor: pointer; color-scheme: dark; }
.gift .g-field select:focus { outline: none; border-bottom-color: var(--gold); }
.gift .g-field select option { background: #0c0512; color: #fdf3f9; font-family: var(--font-reading); }
.gift .g-field input.g-bad { border-bottom-color: var(--rose); }

/* the film's light, shown as the light itself: each tile is the print's ground with its ring */
.gift .g-skins { gap: 18px; }
.gift .g-skins legend { width: 100%; }
.gift .g-skins label { flex-direction: column; align-items: flex-start; gap: 10px; font: 400 14px/1 var(--read); }
.gift .sw { width: 78px; height: 98px; border: 1px solid var(--hair); position: relative; overflow: hidden; }
.gift .sw::before { content: ''; position: absolute; left: 50%; top: 46%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; border: 1px solid var(--ring); }
.gift .sw::after { content: ''; position: absolute; left: 50%; top: 46%; width: 4px; height: 4px; margin: -27px 0 0 8px; border-radius: 50%; background: var(--ring); }
.gift .sw-cosmos { --ring: #f6c978; background: radial-gradient(90% 70% at 50% 30%, #2a1236, #0c0512); box-shadow: none; }
.gift .sw-blush { --ring: #ffc9da; background: radial-gradient(90% 70% at 50% 30%, #3a1724, #170a10); box-shadow: none; }
.gift .sw-amber { --ring: #ffbe7a; background: radial-gradient(90% 70% at 50% 30%, #3a1a10, #130809); box-shadow: none; }
.gift .g-skins input:checked + .sw { border-color: var(--gold); outline: 1px solid var(--gold); outline-offset: 3px; }

@media (max-width: 760px) {
  .gift .g-sky { position: absolute; top: 0; left: 0; right: 0; height: 66vh; overflow: hidden; }
  .gift .g-skycap { bottom: 14px; }
  .gift .g-main { padding-top: 68vh; }
  .gift .g-born { grid-template-columns: 1fr; }
  .gift .g-hour { max-width: 180px; }
  .gift .g-peek { margin-top: 0; }
  .gift .sw { width: 70px; height: 88px; }
}
.gift .g-sky { overflow: hidden; }

/* a hint of the night behind the instrument, never a wash over the words */
html.gift-html { background: radial-gradient(70% 60% at 72% 34%, #1f0d2a 0%, #0c0512 70%) fixed #0c0512; }
.gift { background: transparent; }
.gift .g-check input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; border: 1px solid var(--hair-strong); background: transparent; cursor: pointer; flex: none; }
.gift .g-check input:checked { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 3px #0c0512; }
.gift .g-check input:focus-visible { outline: 1px solid var(--rose); outline-offset: 2px; }
@media (max-width: 760px) {
  /* the sphere sits left of centre so the names beside each planet stay on the screen */
  .gift .g-sky { left: 2vw; right: 16vw; height: 50vh; overflow: visible; }
  .gift .g-skycap { left: 4vw; right: -12vw; bottom: 6px; }
  .gift .g-main { padding-top: 50vh; }
  .gift h1 { font-size: 46px; margin-bottom: 20px; }
  .gift .g-lede { font-size: 16px; margin-bottom: 26px; }
}
@media (max-width: 760px) {
  /* on a phone the sky's caption reads under the sphere, never across the planets' names */
  .gift .g-skycap { top: calc(100% + 6px); bottom: auto; right: -12vw; }
  .gift .g-main { padding-top: calc(50vh + 64px); }
}

/* After the second Taste Guard read: nothing prints over the sphere, no stamped eyebrows. */
.gift .g-press { display: none; }
.gift .g-foot { background: #0c0512; }
.gift .g-kicker { font: italic 400 19px/1.3 var(--voice); letter-spacing: 0; text-transform: none; color: var(--gold); }
.gift .g-field input::placeholder, .gift .g-field textarea::placeholder { color: var(--text-muted); opacity: .7; }
@media (max-width: 760px) {
  .gift .g-sky { height: 40vh; }
  .gift .g-main { padding-top: calc(40vh + 58px); }
  .gift .g-top { padding-top: 18px; }
}

/* the film in a night window: the poster and one play mark, nothing grey */
.gift .g-reel { position: relative; width: min(360px, 100%); }
.gift .g-reel video { width: 100%; }
.gift .g-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 0 34px;
  border: 0; background: linear-gradient(to top, rgba(12, 5, 18, .78), rgba(12, 5, 18, 0) 46%); color: var(--ink); cursor: pointer; }
.gift .g-play span { display: grid; place-items: center; width: 74px; height: 74px; border: 1px solid var(--pearl); border-radius: 50%; font: italic 400 19px/1 var(--voice); transition: background .25s, color .25s; }
.gift .g-play em { font: normal 400 14px/1.3 var(--read); color: var(--text); }
.gift .g-play:hover span, .gift .g-play:focus-visible span { background: var(--pearl); color: #0c0512; }
.gift .g-reel.on .g-play { display: none; }
/* the chosen light re-lights the night behind the page */
html.gift-html[data-skin="blush"] { background: radial-gradient(70% 60% at 72% 34%, #34121f 0%, #170a10 70%) fixed #170a10; }
html.gift-html[data-skin="amber"] { background: radial-gradient(70% 60% at 72% 34%, #34170c 0%, #130809 70%) fixed #130809; }
html.gift-html { transition: background 1.2s; }

/* their year: plain sentences, each one a way to turn the sky */
.gift .g-year { margin: 0 0 11vh; }
.gift .g-year-lines { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--hair); }
.gift .g-year-lines button { display: grid; grid-template-columns: 34px 1fr; gap: 14px; width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid var(--hair);
  background: none; color: var(--text); text-align: left; cursor: pointer; font: 400 17px/1.55 var(--read); transition: color .3s; }
.gift .g-year-lines i { font: 400 24px/1.1 var(--voice); font-style: normal; color: var(--gold-dim); font-variant-emoji: text; transition: color .3s; }
.gift .g-year-lines button:hover, .gift .g-year-lines button.on { color: var(--ink); }
.gift .g-year-lines button.on i, .gift .g-year-lines button:hover i { color: var(--gold); }
.gift .g-year-lines button:focus-visible { outline: 1px solid var(--rose); outline-offset: 2px; }

/* ── Round three: the sphere is the stage ──────────────────────────────────────────────────────────
   The sky behind the page lights fully only where it is the subject (the first screen and the year),
   and steps back to a glow wherever words, prices or the film need the eye. Every body wears its
   glyph; only the one being spoken of says its name. Nothing prints over anything. */
.gift .q-body-label span { display: none; }
.gift .q-body-label.on span { display: inline; }
.gift .q-body-label.on { color: var(--ink); }
.gift .q-body-label.on i { color: var(--gold); }
.gift .q-body-label[data-body="Ghost"] i { color: var(--pearl); font-size: 15px; }
.gift .q-body-label[data-body="Ghost"] span { color: var(--pearl); letter-spacing: .08em; text-transform: none; font: italic 400 16px/1 var(--voice); }
.gift-page .g-skycap { display: none; }
.gift #instrument, .gift .g-labels { transition: opacity .9s var(--ease); }
.gift.gl[data-zone="film"] #instrument { opacity: .2; }
.gift.gl[data-zone="shop"] #instrument { opacity: .07; }
.gift[data-zone="film"] .g-labels, .gift[data-zone="shop"] .g-labels { opacity: 0; }

.gift-page .g-main { width: auto; margin: 0; padding: 0 0 6vh; }
.gift-page .g-main > section { padding-left: 7vw; padding-right: 7vw; }

/* the first screen: their name, the sky, Star's line in his hand and his voice */
.gift-page .g-hero { min-height: calc(100svh - 60px); display: flex; flex-direction: column; justify-content: center; max-width: calc(600px + 14vw); padding-top: 5vh; padding-bottom: 7vh; }
.gift .g-sky-line { font: 400 17px/1.55 var(--read); letter-spacing: 0; text-transform: none; color: var(--text); max-width: 30em; margin-bottom: 26px; }
.gift .g-cue { display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; margin: 0 0 40px; color: var(--ink); text-decoration: none; font: italic 400 21px/1.2 var(--voice); }
.gift .g-cue span { width: 46px; height: 46px; border: 1px solid var(--pearl); border-radius: 50%; position: relative; flex: none; transition: background .25s; }
.gift .g-cue span::after { content: ''; position: absolute; left: 18px; top: 14px; border-left: 14px solid var(--pearl); border-top: 9px solid transparent; border-bottom: 9px solid transparent; transition: border-color .25s; }
.gift .g-cue:hover span, .gift .g-cue:focus-visible span { background: var(--pearl); }
.gift .g-cue:hover span::after, .gift .g-cue:focus-visible span::after { border-left-color: #0c0512; }
.gift .g-cue:focus-visible { outline: none; }
.gift .g-star { margin: 0 0 30px; padding: 26px 0 0; border-top: 1px solid var(--hair); max-width: 30em; }
.gift .g-star blockquote { margin: 0 0 14px; font: italic 400 clamp(26px, 2.4vw, 34px)/1.28 var(--voice); color: var(--ink); }
.gift .g-star figcaption { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.gift .g-sign { display: block; width: 168px; aspect-ratio: 2055 / 1017; background: var(--gold);
  -webkit-mask: url('/static/gift/starheart.svg') center / contain no-repeat; mask: url('/static/gift/starheart.svg') center / contain no-repeat; transform: rotate(-2deg); }
.gift .g-hear { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; border: 0; background: none; color: var(--text); font: 400 15px/1 var(--read); cursor: pointer; }
.gift .g-hear i { width: 30px; height: 30px; border: 1px solid var(--hair-strong); border-radius: 50%; position: relative; flex: none; }
.gift .g-hear i::after { content: ''; position: absolute; left: 11px; top: 9px; border-left: 9px solid var(--gold); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.gift .g-hear.on i { border-color: var(--gold); }
.gift .g-hear.on i::after { left: 9px; top: 9px; width: 10px; height: 10px; border: 0; background: var(--gold); }
.gift .g-hear:hover span, .gift .g-hear:focus-visible span { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.gift .g-hear:focus-visible { outline: none; }
.gift .g-note-star { margin: 0; font: 400 15px/1.6 var(--read); color: var(--text-muted); max-width: 30em; }

/* the film and the one way to give it, side by side */
.gift .g-film { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 520px); gap: 6vw; align-items: center; min-height: 100svh; margin: 0; padding-top: 8vh; padding-bottom: 8vh; }
.gift-page .g-reel { width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid var(--hair-strong); background: var(--ground); }
.gift-page .g-reel video { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.gift-page .g-play { background: none; padding: 0; justify-content: center; }
.gift .g-cover { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gift-page .g-play-mark { position: absolute; z-index: 1; left: 50%; top: 47%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border: 1px solid var(--pearl); border-radius: 50%; background: color-mix(in srgb, #0c0512 62%, transparent); transition: background .25s; }
.gift-page .g-play-mark::after { content: ''; position: absolute; left: 31px; top: 25px; border-left: 22px solid var(--pearl); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.gift-page .g-play:hover .g-play-mark, .gift-page .g-play:focus-visible .g-play-mark { background: var(--pearl); }
.gift-page .g-play:hover .g-play-mark::after, .gift-page .g-play:focus-visible .g-play-mark::after { border-left-color: #0c0512; }
.gift-page .g-play em { position: relative; z-index: 1; margin-top: auto; padding: 0 18px 26px; font: normal 400 14px/1.35 var(--read); color: var(--text); text-align: center; }
.gift-page .g-play { flex-direction: column; }
.gift .g-give h2 { margin-bottom: 18px; }
.gift .g-give .g-lede { margin-bottom: 30px; }
.gift .g-give .g-act { min-width: 280px; }
.gift .g-also { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.gift .g-also a, .gift .g-also li > span { display: flex; justify-content: space-between; align-items: baseline; gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--hair);
  color: var(--text); text-decoration: none; font: 400 15px/1.5 var(--read); }
.gift .g-also b { font: 400 22px/1 var(--voice); color: var(--gold); white-space: nowrap; }
.gift .g-also a:hover span, .gift .g-also a:focus-visible span { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.gift .g-also a:focus-visible { outline: none; }

/* the year: a ring of days, each one the sky turning to it */
.gift .g-year { min-height: 100svh; margin: 0; padding-top: 10vh; padding-bottom: 8vh; max-width: calc(600px + 14vw); }
.gift .g-ruler { font-size: 17px; }
.gift .g-ring { position: relative; width: 100%; aspect-ratio: 640 / 290; margin: 26px 0 8px; touch-action: pan-y; cursor: grab; }
.gift .g-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gift .g-ring .g-arc { fill: none; stroke: var(--hair-strong); stroke-width: 1; }
.gift .g-ring .g-arc-lit { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease); }
.gift .g-ring line { stroke: var(--hair-strong); stroke-width: 1; }
.gift .g-ring text { fill: var(--text-muted); font: 400 15px var(--read); text-anchor: middle; dominant-baseline: middle; }
.gift .g-stop { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--text-muted); cursor: pointer; }
.gift .g-stop i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hair-strong); background: var(--ground); font: normal 400 19px/1 var(--voice); color: var(--gold-dim); font-variant-emoji: text; transition: all .3s var(--ease); }
.gift .g-stop span { position: absolute; top: calc(100% + 4px); font: 400 13px/1 var(--read); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.gift .g-stop:hover span, .gift .g-stop.on span, .gift .g-stop:focus-visible span { opacity: 1; }
.gift .g-stop:hover i, .gift .g-stop:focus-visible i { border-color: var(--gold); color: var(--gold); }
.gift .g-stop.on i { width: 46px; height: 46px; border-color: var(--gold); background: var(--gold); color: #0c0512; font-size: 23px; }
.gift .g-stop.on span { color: var(--ink); }
.gift .g-stop:focus-visible { outline: none; }
.gift .g-stop:focus-visible i { box-shadow: 0 0 0 2px var(--ground), 0 0 0 3px var(--rose); }
.gift .g-stop-read { min-height: 9.5em; }
.gift .g-stop-day { margin: 0 0 8px; font: 400 15px/1.3 var(--read); color: var(--gold); }
.gift .g-stop-read h3 { margin: 0 0 10px; font: 400 clamp(28px, 2.6vw, 38px)/1.1 var(--voice); }
.gift .g-stop-read p:last-child { margin: 0; font: 400 17px/1.6 var(--read); color: var(--text); max-width: 32em; }
.gift .g-steer { display: flex; gap: 26px; margin: 22px 0 0; }
.gift .g-step { padding: 6px 0; border: 0; border-bottom: 1px solid var(--hair-strong); background: none; color: var(--text); font: italic 400 19px/1.2 var(--voice); cursor: pointer; }
.gift .g-step:hover, .gift .g-step:focus-visible { color: var(--ink); border-bottom-color: var(--gold); outline: none; }
.gift .g-step:disabled { opacity: .35; cursor: default; }

/* the atelier: one piece at a time, large enough to read, turned in the hand */
.gift .g-atelier { width: auto; margin: 0; padding-top: 12vh; padding-bottom: 10vh; }
.gift .g-ate { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: 5vw; align-items: start; max-width: 1180px; }
.gift .g-ate-stage { position: relative; perspective: 1400px; }
.gift .g-ate-stage .g-mock { aspect-ratio: 5 / 6; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.gift .g-ate-stage .g-mock[hidden] { display: none; }
.gift .g-ate-stage .g-mock-frame .g-art { width: 58%; }
.gift .g-ate-stage .g-mock-framed .g-art { width: 50%; }
.gift .g-ate-stage .g-mock-poster .g-art { width: 62%; }
.gift .g-pieces { border-top: 1px solid var(--hair); margin: 0 0 30px; }
.gift .g-piece-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; width: 100%; padding: 18px 0 18px 18px; border: 0; border-bottom: 1px solid var(--hair); border-left: 2px solid transparent;
  background: none; text-align: left; cursor: pointer; color: var(--text); transition: border-color .3s, background .3s; }
.gift .g-piece-row .g-pn { font: 400 23px/1.15 var(--voice); color: var(--ink); }
.gift .g-piece-row b { font: 400 23px/1.15 var(--voice); color: var(--gold); }
.gift .g-piece-row em { grid-column: 1 / -1; font: normal 400 14px/1.5 var(--read); color: var(--text-muted); max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.gift .g-piece-row[aria-checked="true"] { border-left-color: var(--gold); background: color-mix(in srgb, var(--gold) 6%, transparent); }
.gift .g-piece-row[aria-checked="true"] em { max-height: 5em; }
.gift .g-piece-row:hover .g-pn { color: var(--rose); }
.gift .g-piece-row:focus-visible { outline: 1px solid var(--rose); outline-offset: -1px; }
.gift .g-ate-pick .g-act { width: 100%; }
.gift .g-share { width: auto; margin: 0; padding-bottom: 6vh; max-width: calc(760px + 14vw); }

@media (max-width: 1100px) {
  .gift .g-film { grid-template-columns: minmax(220px, 300px) 1fr; gap: 5vw; }
  .gift .g-ate { grid-template-columns: 1fr; }
  .gift .g-ate-stage { max-width: 560px; }
}
@media (max-width: 760px) {
  /* on a phone the sphere keeps the top of the screen as its window, and the page passes under it */
  .gift-page .g-sky { position: fixed; top: 0; left: 0; right: 0; height: 42svh; z-index: 2; overflow: hidden;
    background: radial-gradient(90% 80% at 50% 45%, #1f0d2a 0%, #0c0512 75%); transition: transform .7s var(--ease); }
  html.gift-html[data-skin="blush"] .gift-page .g-sky { background: radial-gradient(90% 80% at 50% 45%, #34121f 0%, #170a10 75%); }
  html.gift-html[data-skin="amber"] .gift-page .g-sky { background: radial-gradient(90% 80% at 50% 45%, #34170c 0%, #130809 75%); }
  .gift-page .g-sky::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair); }
  .gift-page[data-zone="film"] .g-sky, .gift-page[data-zone="shop"] .g-sky, .gift-page[data-zone="film"] .g-top, .gift-page[data-zone="shop"] .g-top { transform: translateY(-101%); }
  .gift-page .g-top { transition: transform .7s var(--ease); }
  .gift-page .g-top { position: fixed; z-index: 3; left: 0; right: 0; top: 0; padding-top: 14px; pointer-events: none; }
  .gift-page .g-top a { pointer-events: auto; }
  .gift-page .g-main { padding-top: 42svh; }
  .gift-page .g-main > section { padding-left: 6vw; padding-right: 6vw; }
  .gift-page.gl[data-zone] #instrument { opacity: 1; }
  .gift-page .g-labels { opacity: 1 !important; }
  .gift-page .g-hero { min-height: 0; padding-top: 26px; padding-bottom: 8vh; justify-content: flex-start; }
  .gift-page .g-hero h1 { font-size: 50px; margin-bottom: 12px; }
  .gift .g-sky-line { font-size: 15px; margin-bottom: 18px; }
  .gift .g-cue { margin-bottom: 30px; font-size: 19px; }
  .gift .g-star blockquote { font-size: 24px; }
  .gift .g-sign { width: 132px; }
  .gift .g-film { grid-template-columns: 1fr; min-height: 0; padding-top: 4vh; gap: 40px; }
  .gift-page .g-reel { width: min(320px, 82vw); margin: 0 auto; }
  .gift .g-give .g-act { width: 100%; min-width: 0; }
  .gift .g-year { min-height: 0; padding-top: 6vh; }
  .gift .g-ring { margin-top: 30px; }
  .gift .g-stop i { width: 30px; height: 30px; font-size: 16px; }
  .gift .g-stop.on i { width: 38px; height: 38px; font-size: 19px; }
  .gift .g-ring text { font-size: 25px; }
  .gift .g-stop-read h3 { font-size: 27px; }
  .gift .g-atelier { padding-top: 8vh; }
}
@media (prefers-reduced-motion: reduce) {
  .gift .g-ate-stage .g-mock, .gift-page .g-sky, .gift .g-ring .g-arc-lit { transition: none; }
}

/* the play mark sits on the centre of their wheel; the month names read inside the ring */
.gift .g-ring text { fill: var(--text-faint); }

/* ── Round four: the gift lives inside the sphere ─────────────────────────────────────────────────
   The sphere never fades to wallpaper: it is the stage of the first screen, moves aside while the
   blessing book, the year and the film are read beside it, and only recedes at the very end. Their
   name sits over it; the sky turns from tonight back to the day they arrived; Star's tag draws itself
   as it lands. One way to give, sealed like a letter; the atelier has its own address. */
.gift.gl[data-zone="film"] #instrument { opacity: 1; }
.gift.gl[data-zone="shop"] #instrument { opacity: .5; }
.gift[data-zone="film"] .g-labels { opacity: 1; }
.gift[data-zone="shop"] .g-labels { opacity: 0; }

/* the first screen: their name above the turning sky, Star's line and hand beneath it */
.gift-page .g-hero.g-for { max-width: none; min-height: 100svh; align-items: center; justify-content: space-between; text-align: center; padding-top: 8vh; padding-bottom: 4vh; }
.gift-page .g-for-top, .gift-page .g-for-foot { width: min(36em, 100%); display: flex; flex-direction: column; align-items: center; }
.gift-page .g-for h1 { margin: 0 0 14px; font-size: clamp(64px, 7.6vw, 124px); line-height: .95; }
.gift-page .g-for .g-sky-line { margin: 0 auto 18px; font-size: 17px; color: var(--ink); opacity: .9; text-shadow: 0 1px 18px #0c0512; transition: opacity .6s var(--ease); }
.gift-page .g-for .g-star { margin: 0 0 14px; padding: 0; border: 0; max-width: 30em; }
.gift-page .g-for .g-star blockquote { text-shadow: 0 2px 22px #0c0512; }
.gift-page .g-for .g-star figcaption { justify-content: center; gap: 26px; }
.gift-page .g-note-star { color: var(--text); font-size: 16px; text-shadow: 0 1px 14px #0c0512; }
.gift .g-tag { display: block; width: 200px; transform: rotate(-3deg); }
.gift .g-tag svg { display: block; width: 100%; height: auto; }

/* the blessing book: three pages read beside the sphere, the one being read lit */
.gift .g-bless { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: calc(560px + 7vw); padding-top: 10vh; padding-bottom: 10vh; }
.gift .g-pages { list-style: none; margin: 0; padding: 0; }
.gift .g-page-line { padding: 30px 0; border-top: 1px solid var(--hair); opacity: .42; transition: opacity .6s var(--ease); }
.gift .g-page-line:last-child { border-bottom: 1px solid var(--hair); }
.gift .g-page-line.on { opacity: 1; }
.gift .g-said { margin: 0 0 12px; font: 400 clamp(26px, 2.3vw, 34px)/1.25 var(--voice); color: var(--ink); }
.gift .g-why { display: flex; gap: 12px; align-items: baseline; margin: 0; font: 400 16px/1.55 var(--read); color: var(--text); }
.gift .g-why i { font: normal 400 20px/1 var(--voice); color: var(--gold); font-variant-emoji: text; }

/* the year: the day reads between its own arrows, no orphaned links, no dead band */
.gift .g-year { min-height: 0; padding-top: 12vh; padding-bottom: 10vh; max-width: calc(560px + 7vw); }
.gift .g-stop-read { min-height: 0; }
.gift .g-stop-row { display: flex; align-items: center; gap: 16px; margin: 0 0 10px; }
.gift .g-stop-row .g-stop-day { margin: 0; min-width: 9em; text-align: center; font-size: 16px; }
.gift .g-stop-row .g-step { width: 44px; height: 44px; display: grid; place-items: center; padding: 0 0 3px; border: 1px solid var(--hair-strong); border-radius: 50%; font: 400 26px/1 var(--voice); color: var(--ink); }
.gift .g-stop-row .g-step:hover, .gift .g-stop-row .g-step:focus-visible { border-color: var(--gold); color: var(--gold); }
.gift .g-stop-read p:last-child { font-size: 18px; }
.gift .g-ruler { font-size: 18px; color: var(--ink); opacity: .88; }

/* the film: a true frame of it, the play mark at its heart, and the seal beside it */
.gift .g-film { grid-template-columns: minmax(250px, 320px) minmax(0, 440px); gap: 5vw; max-width: calc(760px + 12vw); justify-content: start; }
.gift-page .g-reel-fig { margin: 0; }
.gift-page .g-reel { position: relative; }
.gift-page .g-play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; cursor: pointer; }
.gift-page .g-reel.on .g-play { display: none; }
.gift-page img.g-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gift-page .g-reel-fig figcaption { margin-top: 14px; text-align: center; font: italic 400 18px/1.35 var(--voice); color: var(--text); }
.gift .g-give .g-lede { font-size: 18px; color: var(--ink); opacity: .88; }
.gift .g-seal-act { display: inline-flex; align-items: center; gap: 16px; padding: 14px 26px 14px 14px; border: 1px solid var(--pearl); border-radius: 999px; color: var(--ink); text-decoration: none;
  font: italic 400 22px/1.1 var(--voice); letter-spacing: 0; text-transform: none; background: color-mix(in srgb, #0c0512 40%, transparent); transition: background .3s var(--ease), color .3s var(--ease); }
.gift .g-seal-act b { font: 400 22px/1 var(--voice); color: var(--gold); margin-left: 6px; }
.gift .g-wax { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #ffb8d9 0%, var(--rose) 38%, #b8456f 100%);
  color: #3a0d20; font: normal 400 20px/1 var(--read); box-shadow: inset 0 0 0 3px color-mix(in srgb, #3a0d20 22%, transparent), 0 2px 10px #0006; transition: transform .5s var(--ease); }
.gift .g-seal-act:hover, .gift .g-seal-act:focus-visible { background: var(--pearl); color: #0c0512; outline: none; }
.gift .g-seal-act:hover b, .gift .g-seal-act:focus-visible b { color: #7a4a10; }
.gift .g-seal-act:hover .g-wax, .gift .g-seal-act:focus-visible .g-wax { transform: rotate(-24deg) scale(1.06); }
.gift .g-give .g-fine { margin-top: 22px; font-size: 15px; color: var(--text); max-width: 30em; }

/* the end: the atelier through its own door, and their link */
.gift .g-share { padding-top: 10vh; max-width: calc(560px + 7vw); }
.gift .g-to-atelier { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 26px 0; margin-bottom: 34px; border-top: 1px solid var(--hair-strong); border-bottom: 1px solid var(--hair-strong);
  color: var(--ink); text-decoration: none; font: 400 clamp(26px, 2.4vw, 36px)/1.15 var(--voice); }
.gift .g-to-atelier i { font-style: normal; color: var(--gold); transition: transform .4s var(--ease); }
.gift .g-to-atelier:hover i, .gift .g-to-atelier:focus-visible i { transform: translateX(8px); }
.gift .g-to-atelier:focus-visible { outline: none; color: var(--rose); }

/* the atelier's own page */
.gift-atelier .g-atelier { padding-top: 16vh; }
.gift-atelier .g-atelier h1 { margin: 0 0 6vh; font-size: clamp(48px, 5.4vw, 84px); }
.gift .g-back { display: inline-flex; gap: 10px; margin-bottom: 26px; color: var(--text); text-decoration: none; font: italic 400 19px/1 var(--voice); }
.gift .g-back:hover, .gift .g-back:focus-visible { color: var(--ink); outline: none; text-decoration: underline; text-underline-offset: 5px; }
.gift-atelier .g-ate-pick .g-seal-act { width: 100%; }
.gift-atelier.gl #instrument { opacity: .55; }

@media (max-width: 760px) {
  .gift-page .g-hero.g-for { min-height: 0; padding-top: 0; padding-bottom: 7vh; justify-content: flex-start; gap: 34px; }
  .gift-page .g-for h1 { font-size: 64px; text-shadow: 0 2px 26px #0c0512; }
  .gift-page .g-for .g-sky-line { font-size: 15px; }
  .gift .g-tag { width: 160px; }
  .gift .g-bless { min-height: 0; padding-top: 4vh; padding-bottom: 6vh; }
  .gift .g-said { font-size: 25px; }
  .gift .g-film { grid-template-columns: 1fr; max-width: none; }
  .gift .g-seal-act { width: 100%; font-size: 20px; }
  .gift-atelier .g-atelier { padding-top: 5vh; }
  .gift-atelier .g-main { padding-top: 42svh; }
}
@media (prefers-reduced-motion: reduce) {
  .gift .g-wax, .gift .g-to-atelier i, .gift .g-page-line { transition: none; }
}

/* round four, second pass: the play mark sits below the name on the film's frame; the seal reads on one line */
.gift-page .g-play-mark { top: 80%; }
.gift .g-seal-act span:not(.g-wax) { white-space: nowrap; }
.gift .g-film { grid-template-columns: minmax(240px, 300px) minmax(0, 400px); }
@media (max-width: 760px) {
  .gift-page .g-for-top { margin-top: 6px; }
  .gift-page .g-for .g-sky-line { margin-bottom: 14px; }
}
.gift-page .g-hero.g-for { padding-top: 6vh; }
.gift-page .g-for .g-sky-line { margin-bottom: 0; }
.gift-page .g-for .g-star blockquote { font-size: clamp(24px, 2.1vw, 30px); margin-bottom: 8px; }
.gift-page .g-for .g-tag { width: 160px; }
.gift-page .g-for .g-note-star { margin: 4px 0 0; }
.gift-page .g-hero.g-for { padding-top: 4vh; padding-bottom: 3vh; }

/* ── Round five: the sky is the room ──────────────────────────────────────────────────────────────
   The sphere fills the first screen and the words stand inside it, low and to the left, where only
   its outer rings pass. Star's tag presents the gift at a proud size and his voice is the first
   thing to touch. Each light has its own palette: blush is a dawn, peach on indigo rising to rose,
   never the tag's golds. Focus in the blessing book is shown by a rule and full ink, never by
   fading the other pages out of reach. */
html.gift-html[data-skin="blush"] { background: linear-gradient(180deg, #120a1c 0%, #1a0f28 40%, #34152f 70%, #6a2d3f 90%, #9a4b4c 100%) fixed #120a1c; }
html.gift-html[data-skin="blush"] .gift { --bg-solid: #120a1c; --gold: #ffb98f; --gold-dim: #d98a66; --rose: #ff8fa8; --pearl: #fff0e8;
  --text-primary: #fff4ee; --text: #f1dcd6; --text-muted: #cfb2b3; --text-faint: #a88a92; background: transparent; }
html.gift-html[data-skin="blush"] .gift-page .g-sky { background: none; }

/* the first screen */
.gift-page .g-hero.g-for { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left;
  min-height: 100svh; max-width: none; padding: 5vh 7vw 7vh; }
.gift .g-presents { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.gift .g-presents .g-tag { display: block; width: clamp(200px, 19vw, 280px); height: auto; transform: rotate(-4deg); transform-origin: left center; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .45)); }
.gift .g-presents-line { margin: 0 0 12px 6px; font: italic 400 clamp(20px, 1.7vw, 25px)/1.3 var(--voice); color: var(--ink); text-shadow: 0 1px 16px var(--ground); }
.gift .g-presents .g-hear { margin-left: 4px; }
.gift-page .g-for-name { max-width: min(40em, 52vw); }
.gift-page .g-for-name h1 { margin: 0 0 18px; font-size: clamp(76px, 9.4vw, 156px); line-height: .9; text-shadow: 0 2px 40px var(--ground); }
.gift .g-star-said { margin: 0 0 16px; padding: 0; border: 0; font: italic 400 clamp(24px, 2vw, 32px)/1.3 var(--voice); color: var(--ink); text-shadow: 0 1px 20px var(--ground); max-width: min(17em, 36vw); }
.gift-page .g-for-name .g-sky-line { margin: 0; font: 400 17px/1.55 var(--read); color: var(--text); text-shadow: 0 1px 14px var(--ground); max-width: 32em; }
.gift-page .g-for-name .g-note, .gift-page .g-for-name .g-note-star { margin: 22px 0 0; }

/* the blessing book: every page readable; the one being read carries a peach rule and full ink */
.gift .g-page-line { opacity: 1; padding-left: 0; border-left: 0; transition: padding .5s var(--ease); position: relative; }
.gift .g-page-line .g-said { color: var(--text); transition: color .5s var(--ease); }
.gift .g-page-line::before { content: ''; position: absolute; left: 0; top: 30px; bottom: 30px; width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.gift .g-page-line.on { padding-left: 26px; }
.gift .g-page-line.on::before { transform: scaleY(1); }
.gift .g-page-line.on .g-said { color: var(--ink); }

/* the year: month names you can read, and its steps said in words */
.gift .g-ring text { font-size: 19px; fill: var(--text-muted); }
.gift .g-stop-row .g-step { width: auto; height: auto; padding: 8px 2px; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: none;
  font: italic 400 19px/1 var(--voice); color: var(--text); cursor: pointer; }
.gift .g-stop-row .g-step i { font-style: normal; color: var(--gold); }
.gift .g-stop-row .g-step:hover, .gift .g-stop-row .g-step:focus-visible { border-bottom-color: var(--gold); color: var(--ink); outline: none; }
.gift .g-stop-row .g-step { white-space: nowrap; flex: none; }
.gift .g-stop-row .g-stop-day { font: 500 15px/1 var(--read); letter-spacing: .08em; color: var(--ink); }

/* the film: the frame where their name lands, set like a print */
.gift-page .g-reel { box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 50%, transparent), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.gift-page .g-play-mark { top: 86%; }
.gift .g-film, .gift .g-film > * { min-width: 0; }

/* one way to give: a square seal in the press's own hand, no pill, no orb */
.gift .g-seal-act { border-radius: 0; padding: 16px 24px; gap: 14px; border-color: var(--gold); background: color-mix(in srgb, var(--ground) 55%, transparent); }
.gift .g-wax { width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; color: var(--gold); font: normal 400 18px/1 var(--voice); }
.gift .g-seal-act:hover, .gift .g-seal-act:focus-visible { background: var(--gold); color: var(--ground); }
.gift .g-seal-act:hover .g-wax, .gift .g-seal-act:focus-visible .g-wax { color: var(--ground); transform: rotate(-24deg); }
.gift .g-seal-act:hover b, .gift .g-seal-act:focus-visible b { color: var(--ground); }

/* the atelier: the sphere stands behind the pieces on the left, never over the list; the walls are the night's */
.gift-atelier.gl #instrument { opacity: .7; }
.gift .g-mock-framed { background: radial-gradient(70% 60% at 50% 30%, rgba(59, 35, 53, .62) 0%, rgba(28, 18, 34, .5) 75%); }
.gift .g-mock-poster { background: radial-gradient(70% 60% at 50% 30%, rgba(51, 32, 49, .62) 0%, rgba(23, 15, 30, .5) 75%); }
.gift .g-mock-cards { background: radial-gradient(70% 60% at 50% 30%, rgba(58, 36, 49, .62) 0%, rgba(27, 18, 32, .5) 75%); }
.gift .g-mock-frame { background: radial-gradient(70% 60% at 50% 30%, rgba(47, 29, 46, .62) 0%, rgba(21, 13, 27, .5) 75%); }
/* the sphere turns behind the piece, through the gallery's own dusk */
.gift-atelier .g-mock::after { opacity: .5; }
.gift .g-ate-pick { position: relative; z-index: 2; padding: 26px 28px; background: color-mix(in srgb, var(--ground) 82%, transparent); }

@media (max-width: 760px) {
  /* on a phone the sky's window dissolves into the page like a horizon: no seam to slice the words */
  .gift-page .g-sky::after { height: 72px; background: linear-gradient(to bottom, transparent, var(--sky-fade, #0c0512)); }
  html.gift-html[data-skin="blush"] .gift-page .g-sky { background: radial-gradient(90% 80% at 50% 45%, #2a1530 0%, #120a1c 78%); --sky-fade: #120a1c; }
  html.gift-html[data-skin="amber"] .gift-page .g-sky { --sky-fade: #130809; }
  html.gift-html[data-skin="blush"] { background: #120a1c; }
  .gift-page .g-main { padding-top: calc(42svh - 10px); }
  .gift-page .g-hero.g-for { min-height: 0; padding: 0 6vw 7vh; gap: 30px; }
  .gift .g-presents .g-tag { width: 190px; }
  .gift .g-presents-line { font-size: 19px; }
  .gift-page .g-for-name { max-width: none; }
  .gift-page .g-for-name h1 { font-size: 68px; }
  .gift .g-star-said { font-size: 23px; }
  .gift-page .g-for-name .g-sky-line { font-size: 15px; }
  .gift .g-film { grid-template-columns: 1fr; max-width: none; gap: 44px; }
  .gift .g-give h2 { font-size: 38px; }
  .gift .g-seal-act { display: flex; width: 100%; font-size: 19px; padding: 15px 18px; }
  .gift .g-seal-act span:not(.g-wax) { white-space: normal; flex: 1; }
  .gift .g-ring text { font-size: 26px; }
  .gift .g-ate-pick { padding: 0; background: none; }
}

/* round five, second pass: the tag stands on the sky with no cloud behind it; words carry no smudge;
   a number is never broken at its hyphen; the atelier's list stands on its own solid ground */
.gift .g-presents .g-tag { filter: none; }
.gift .g-nb { white-space: nowrap; }
.gift-page .g-for-name .g-sky-line, .gift .g-presents-line, .gift .g-star-said { text-shadow: none; }
.gift-page .g-for-name h1 { text-shadow: 0 2px 30px color-mix(in srgb, var(--ground) 60%, transparent); }
.gift .g-ate-pick { background: var(--ground); }
@media (max-width: 760px) {
  .gift .g-star-said { max-width: none; }
  .gift .g-presents .g-tag { width: 210px; transform: rotate(-3deg); margin-right: 24px; }
}

/* Round six: Star's own lines, as couplets; a preview says it is one */
.gift .g-bless:has(.g-verse){max-width:calc(780px + 14vw)}
.gift .g-said.g-verse{font-size:clamp(20px,1.75vw,27px);line-height:1.36}
.gift .g-verse span{display:block;padding-left:1.1em;text-indent:-1.1em}
@media (max-width:720px){.gift .g-said.g-verse{font-size:21px}}
.gift .g-preview{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:30;margin:0;padding:6px 14px;font:italic 14px/1.3 var(--serif,Georgia,serif);color:var(--pearl);background:rgba(18,10,28,.78);border:1px solid var(--gold-dim);letter-spacing:.02em}
