/* Layerwright Studio — Custom Figurines pages (v5.7: moved out of index.php so the
   gift and party pages share it). Same rules as v5.6.1, plus the v5.7 additions at the end. */
/* ============================================================
   LAYERWRIGHT STUDIO — Custom RPG figurines
   Built to the Layerwright Studio Messaging Canvas (v2).
   Controlling idea: Bring your character to life.

   Palette sampled from the logo artwork:
     navy  #0D2B3A   gold  #B78645   steel #90959E
   Sections alternate dark navy / white / light paper, so the
   page breathes instead of running black end to end.
   ============================================================ */

:root{
  /* --- brand constants --- */
  --navy:       #0D2B3A;
  --navy-deep:  #08202B;
  --navy-soft:  #123646;
  --gold:       #B78645;
  --gold-bright:#D3A05E;
  --gold-ink:   #8A6531;   /* darkened gold — legible on white at small sizes */
  --steel:      #90959E;
  --paper:      #FFFFFF;
  --paper-2:    #F3F5F6;

  /* --- type roles --- */
  --display: "Rozha One", "Palatino Linotype", Georgia, serif;
  --body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

  /* --- default scope = light; every band re-scopes below --- */
  --surface:   #FFFFFF;
  --text:      #0D2B3A;
  --text-2:    #54707E;
  --line:      #DDE3E6;
  --card:      #F3F5F6;
  --card-line: #DDE3E6;
  --accent-text: #8A6531;
  --layers: repeating-linear-gradient(to bottom, rgba(13,43,58,.17) 0 1px, transparent 1px 5px);
  --grid:
    repeating-linear-gradient(to right,  rgba(13,43,58,.10) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(to bottom, rgba(13,43,58,.10) 0 1px, transparent 1px 26px);
}

.on-dark{
  --surface:   var(--navy);
  --text:      #F1F5F6;
  --text-2:    #9EB2BC;
  --line:      #1D4457;
  --card:      #123646;
  --card-line: #215064;
  --accent-text: var(--gold);
  --layers: repeating-linear-gradient(to bottom, rgba(144,149,158,.34) 0 1px, transparent 1px 5px);
  --grid:
    repeating-linear-gradient(to right,  rgba(144,149,158,.18) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(to bottom, rgba(144,149,158,.18) 0 1px, transparent 1px 26px);
}
.on-light{
  --surface:#FFFFFF; --text:#0D2B3A; --text-2:#54707E;
  --line:#DDE3E6; --card:#F3F5F6; --card-line:#DDE3E6;
  --accent-text:#8A6531;
  --layers: repeating-linear-gradient(to bottom, rgba(13,43,58,.17) 0 1px, transparent 1px 5px);
  --grid:
    repeating-linear-gradient(to right,  rgba(13,43,58,.10) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(to bottom, rgba(13,43,58,.10) 0 1px, transparent 1px 26px);
}
.on-paper{
  --surface:#F3F5F6; --text:#0D2B3A; --text-2:#54707E;
  --line:#D6DDE1; --card:#FFFFFF; --card-line:#DDE3E6;
  --accent-text:#8A6531;
  --layers: repeating-linear-gradient(to bottom, rgba(13,43,58,.17) 0 1px, transparent 1px 5px);
  --grid:
    repeating-linear-gradient(to right,  rgba(13,43,58,.10) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(to bottom, rgba(13,43,58,.10) 0 1px, transparent 1px 26px);
}

*,*::before,*::after{ box-sizing:border-box; }

body{
  margin:0;
  background:var(--surface);
  color:var(--text);
  font-family:var(--body);
  font-size:1.0625rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

/* ---------- primitives ---------- */

.wrap{ width:100%; max-width:1140px; margin-inline:auto; padding-inline:24px; }
@media (max-width:520px){ .wrap{ padding-inline:16px; } }

.prose{ max-width:64ch; }

h1,h2{ font-family:var(--display); font-weight:400; text-wrap:balance; margin:0; line-height:1.08; }
h3{ font-family:var(--body); font-weight:700; font-size:1.14rem; line-height:1.3; margin:0; letter-spacing:-.005em; }
h2{ font-size:clamp(1.95rem,4.3vw,3rem); letter-spacing:.002em; }
p{ margin:0; }

/* the logo's own "— S T U D I O —" device, reused as the section label */
.eyebrow{
  display:flex; align-items:center; gap:14px;
  font-family:var(--body); font-size:.71rem; font-weight:600;
  letter-spacing:.24em; text-transform:uppercase;
  color:var(--accent-text); margin:0;
}
.eyebrow::after{
  content:""; flex:1; height:3px; min-width:24px;
  background-image:var(--layers); background-size:100% 3px;
}
.eyebrow.center{ justify-content:center; }
.eyebrow.center::before{
  content:""; flex:1; height:3px; max-width:90px;
  background-image:var(--layers); background-size:100% 3px;
}
.eyebrow.center::after{ max-width:90px; }
.eyebrow.plain::after{ display:none; }

.lead{ font-size:clamp(1.06rem,1.9vw,1.25rem); line-height:1.6; }
.muted{ color:var(--text-2); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.6em;
  font-family:var(--body); font-size:.95rem; font-weight:600; letter-spacing:.01em;
  padding:.92em 1.5em; border-radius:2px; border:1px solid transparent;
  cursor:pointer; text-decoration:none; text-align:center;
  transition:background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary{ background:var(--gold); color:#0D2B3A; border-color:var(--gold); }
.btn-primary:hover{ background:var(--gold-bright); border-color:var(--gold-bright); }
.btn-ghost{ background:transparent; color:var(--text); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--gold); color:var(--accent-text); }
.btn:active{ transform:translateY(1px); }
.btn-lg{ padding:1.05em 1.9em; font-size:1rem; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible{
  outline:2px solid var(--gold); outline-offset:3px;
}

/* photo slots — a build plate waiting for a print */
.shot{
  position:relative;
  background-color:var(--card);
  background-image:var(--grid);
  border:1px solid var(--card-line);
  border-radius:2px; overflow:hidden;
  display:flex; align-items:flex-end; max-width:100%;
}
.shot::after{
  content:attr(data-slot);
  font-family:var(--body); font-size:.63rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--text-2); opacity:.75;
  padding:11px 13px; line-height:1.6;
}
.shot img{ display:block; width:100%; height:100%; object-fit:cover; }

/* ============================================================
   HERO — navy
   ============================================================ */

.hero{ position:relative; overflow:hidden; background:var(--surface); color:var(--text); }
.hero::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(115% 95% at 80% 6%, rgba(183,134,69,.20) 0%, transparent 58%);
  pointer-events:none;
}
.hero .wrap{
  position:relative;
  display:grid; grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  gap:clamp(30px,5vw,64px); align-items:center;
  padding-block:clamp(54px,8vw,94px);
}
@media (max-width:900px){ .hero .wrap{ grid-template-columns:1fr; padding-block:46px 54px; } }

.hero-eyebrow{ margin-bottom:28px; }

h1{ font-size:clamp(2.6rem,6.6vw,4.6rem); letter-spacing:.004em; line-height:1.02; }
h1 .line{ display:block; overflow:hidden; }
h1 .line > span{ display:block; animation:rise .74s cubic-bezier(.2,.75,.25,1) backwards; }
h1 .line:nth-child(1) > span{ animation-delay:.04s; }
h1 .line:nth-child(2) > span{ animation-delay:.14s; }
h1 .line:nth-child(3) > span{ animation-delay:.24s; }
h1 .em{ color:var(--gold); font-style:normal; }

@keyframes rise{ from{ transform:translateY(106%); } }
@keyframes sweep{ from{ transform:scaleX(0); } }

.hero-rule{
  height:3px; width:96px; background-image:var(--layers); background-size:100% 3px;
  transform-origin:left center; animation:sweep .6s ease-out .36s backwards;
  margin:26px 0;
}
.hero-sub{ max-width:47ch; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.hero-fine{
  font-family:var(--body); font-size:.72rem; font-weight:600;
  letter-spacing:.15em; text-transform:uppercase;
  color:var(--text-2); margin-top:20px; line-height:1.8;
}

.hero-art{ position:relative; }
.hero-art .shot{ aspect-ratio:4/5; }
.tagplate{
  margin-top:14px; border:1px solid var(--card-line);
  background:var(--card); background-image:var(--layers);
  padding:17px 18px; text-align:center;
}
.tagplate .tag{
  font-family:var(--display); font-size:1.32rem; color:var(--gold); letter-spacing:.01em;
}

/* ============================================================
   TRUST STRIP — white
   ============================================================ */

.truststrip{ background:var(--surface); color:var(--text); border-bottom:1px solid var(--line); }
.truststrip .wrap{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:1px; padding-inline:0; background:var(--line);
}
.trust{ background:var(--surface); padding:22px 24px; display:flex; gap:13px; align-items:flex-start; }
.trust svg{ flex:none; margin-top:4px; }
.trust dt{
  font-family:var(--body); font-size:.63rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--text-2); margin-bottom:6px;
}
.trust dd{ margin:0; font-size:.95rem; font-weight:600; line-height:1.4; }
@media (max-width:520px){ .truststrip .wrap{ padding-inline:0; } .trust{ padding:18px 16px; } }

/* ============================================================
   BANDS
   ============================================================ */

section.band{ background:var(--surface); color:var(--text); padding-block:clamp(62px,8vw,100px); }
.band-head{ margin-bottom:clamp(32px,4vw,48px); }
.band-head .eyebrow{ margin-bottom:18px; max-width:30em; }
.band-head p{ margin-top:18px; }

/* ---------- problem / empathy ---------- */

.problem .wrap{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.78fr);
  gap:clamp(30px,5vw,60px); align-items:start;
}
@media (max-width:860px){ .problem .wrap{ grid-template-columns:1fr; } }

.pullquote{
  font-family:var(--display); font-weight:400;
  font-size:clamp(1.6rem,3.5vw,2.35rem);
  line-height:1.2; letter-spacing:.004em;
  border-left:3px solid var(--gold);
  padding-left:clamp(18px,2.5vw,28px);
  text-wrap:balance;
}
.empathy{ border:1px solid var(--card-line); background:var(--card); padding:28px; }
.empathy .eyebrow{ margin-bottom:16px; }
.empathy p + p{ margin-top:14px; }

/* ---------- the plan ---------- */

.steps{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px; background:var(--line); border:1px solid var(--line);
}
@media (max-width:760px){ .steps{ grid-template-columns:1fr; } }
.step{ background:var(--surface); padding:clamp(26px,3vw,36px); display:flex; flex-direction:column; gap:14px; }
.step-n{
  font-family:var(--body); font-size:.7rem; font-weight:600;
  letter-spacing:.22em; text-transform:uppercase; color:var(--gold);
  display:flex; align-items:center; gap:12px;
}
.step-n::after{ content:""; flex:1; height:3px; background-image:var(--layers); background-size:100% 3px; }
.step p{ color:var(--text-2); font-size:.98rem; }

/* ---------- the craft ---------- */

.craft-grid{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px; margin-bottom:clamp(36px,4vw,52px);
}
.craft-grid .shot{ aspect-ratio:1/1; }
.craft-grid .shot.wide{ grid-column:span 2; aspect-ratio:2.06/1; }
@media (max-width:760px){
  .craft-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .craft-grid .shot.wide{ grid-column:span 2; }
}
@media (max-width:460px){
  .craft-grid{ grid-template-columns:1fr; }
  .craft-grid .shot, .craft-grid .shot.wide{ grid-column:span 1; aspect-ratio:4/3; }
}

/* four items — 2x2 or 1x4, never a half-empty row */
.craftlist{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px; background:var(--line); border:1px solid var(--line);
}
@media (max-width:620px){ .craftlist{ grid-template-columns:1fr; } }
.craftitem{ background:var(--surface); padding:28px; display:flex; flex-direction:column; gap:11px; }
.craftitem .val{
  font-family:var(--body); font-size:.68rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--accent-text);
}
.craftitem p{ color:var(--text-2); font-size:.96rem; }

/* ---------- the offer ---------- */

.offer-wrap{
  display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
  gap:20px; align-items:start;
}
@media (max-width:860px){ .offer-wrap{ grid-template-columns:1fr; } }

.offer{
  border:2px solid var(--gold);
  background:var(--card);
  padding:clamp(28px,4vw,40px);
  display:flex; flex-direction:column;
}
.offer-name{ font-family:var(--display); font-size:1.75rem; line-height:1.1; }
.offer-price{
  font-family:var(--display);
  font-size:clamp(2.8rem,6vw,3.7rem); line-height:1;
  color:var(--accent-text); margin:18px 0 0; font-variant-numeric:tabular-nums;
}
.offer-price small{
  font-family:var(--body); font-size:.66rem; font-weight:600;
  letter-spacing:.16em; color:var(--text-2); text-transform:uppercase;
  display:block; margin-top:12px;
}
.offer ul{
  list-style:none; margin:26px 0 30px; padding:0;
  display:flex; flex-direction:column; gap:13px; font-size:.98rem; color:var(--text-2);
}
.offer li{ display:flex; gap:12px; align-items:flex-start; }
.offer li::before{ content:""; flex:none; width:11px; height:2px; background:var(--gold); margin-top:.66em; }
.offer li b{ color:var(--text); font-weight:600; }
.offer .btn{ width:100%; }

/* filament colors */
.colors{ border:0; margin:0 0 22px; padding:0; min-width:0; }
.colors legend{
  font-family:var(--body); font-size:.7rem; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--accent-text); margin-bottom:12px; padding:0;
}
.swatches{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
@media (max-width:520px){ .swatches{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
.swatch{
  position:relative; display:flex; flex-direction:column; cursor:pointer;
  border:1px solid var(--card-line); background:var(--card); transition:border-color .15s, box-shadow .15s;
}
.swatch input{ position:absolute; opacity:0; pointer-events:none; }
.swatch img{ display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; }
.swatch-name{
  font-size:.8rem; font-weight:600; text-align:center; padding:8px 4px; color:var(--text);
  border-top:1px solid var(--card-line);
}
.swatch:hover{ border-color:var(--gold); }
.swatch:has(input:checked){ border-color:var(--gold); box-shadow:0 0 0 2px var(--gold); }
.swatch:has(input:focus-visible){ outline:2px solid var(--gold); outline-offset:3px; }
.swatch:has(input:checked)::after{
  content:"✓"; position:absolute; top:6px; right:6px; width:22px; height:22px; border-radius:50%;
  background:var(--gold); color:#0D2B3A; font-size:.75rem; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.tier-label{
  margin:16px 0 8px; font-size:.7rem; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--text-2);
}
.tier-label span{ color:var(--accent-text); letter-spacing:.08em; }
.color-note{ margin:12px 0 0; font-size:.85rem; color:var(--text-2); }
.color-note b{ color:var(--text); }
.colors.need .swatches{ animation:nudge .35s ease 2; }
.colors.need .color-note{ color:#B23A2F; font-weight:600; }
@keyframes nudge{ 0%,100%{ transform:none } 50%{ transform:translateX(4px) } }
@media (prefers-reduced-motion:reduce){ .colors.need .swatches{ animation:none; } }
.offer-fine{
  font-family:var(--body); font-size:.68rem; font-weight:600;
  letter-spacing:.11em; text-transform:uppercase; color:var(--text-2);
  margin-top:18px; text-align:center; line-height:1.9;
}

.gift{
  border:1px solid var(--card-line); background:var(--card);
  padding:28px; display:flex; flex-direction:column; gap:14px;
}
.gift p{ color:var(--text-2); font-size:.95rem; }
.gift .shot{ aspect-ratio:4/3; margin-top:4px; }


/* ---------- v4.8: founding offer ---------- */
.founding-strip{
  display:flex; gap:12px; align-items:flex-start; margin:0 0 22px; padding:14px 16px;
  border:1px solid var(--gold); background:var(--card); font-size:.93rem; color:var(--text-2);
}
.founding-strip b{ color:var(--text); }
.founding-tag{
  flex:none; font-size:.62rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:#0D2B3A; background:var(--gold); padding:.35em .6em; margin-top:.1em;
}
.hero-founding{
  margin-top:16px; font-size:.86rem; color:var(--text-2); display:flex; gap:10px; align-items:center; flex-wrap:wrap;
}
.hero-founding b{ color:var(--text); }

/* ---------- v4.8: party builder ---------- */
.party{
  margin-top:20px; border:1px solid var(--card-line); background:var(--card);
  padding:clamp(24px,3.5vw,36px);
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px 40px; align-items:start;
}
@media (max-width:860px){ .party{ grid-template-columns:1fr; } }
.party h3{ font-family:var(--display); font-size:1.6rem; line-height:1.1; margin:6px 0 12px; font-weight:400; }
.party p{ color:var(--text-2); font-size:.96rem; }
.party ul{ list-style:none; margin:16px 0 0; padding:0; display:flex; flex-direction:column; gap:9px; font-size:.95rem; color:var(--text-2); }
.party li{ display:flex; gap:12px; }
.party li::before{ content:""; flex:none; width:11px; height:2px; background:var(--gold); margin-top:.66em; }
.party li b{ color:var(--text); font-weight:600; }
.stepper{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0; border-bottom:1px solid var(--line); }
.stepper label{ font-weight:600; font-size:.95rem; }
.stepper small{ display:block; font-weight:400; color:var(--text-2); font-size:.8rem; }
.stepper .ctl{ display:flex; align-items:center; border:1px solid var(--card-line); background:var(--surface); }
.stepper button{ width:40px; height:40px; border:0; background:transparent; font:inherit; font-size:1.2rem; cursor:pointer; color:var(--text); }
.stepper button:disabled{ opacity:.3; cursor:default; }
.stepper input{ width:48px; height:40px; border:0; border-left:1px solid var(--card-line); border-right:1px solid var(--card-line);
  text-align:center; font:inherit; font-weight:700; background:transparent; color:var(--text); -moz-appearance:textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.party-total{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:18px 0 4px; }
.party-total .big{ font-family:var(--display); font-size:2.4rem; line-height:1; color:var(--accent-text); font-variant-numeric:tabular-nums; }
.party-total .save{ font-size:.8rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-text); }
.party-sub{ font-size:.85rem; color:var(--text-2); margin:0 0 18px; }
.party .btn{ width:100%; }
.party-err{ border:1px solid #9C4238; color:#9C4238; padding:10px 14px; font-size:.9rem; margin-bottom:14px; background:var(--surface); }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.players{ display:flex; flex-direction:column; gap:10px; margin:10px 0 4px; }
.player{ border:1px solid var(--card-line); background:var(--surface); margin:0; padding:10px 12px 12px;
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,.9fr); gap:8px; min-width:0; }
.player[hidden]{ display:none; }
.player legend{ font-size:.66rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--accent-text); padding:0 4px; }
.player input, .player select{ width:100%; min-width:0; min-height:42px; font:inherit; font-size:.9rem; padding:.5em .6em;
  border:1px solid var(--card-line); background:var(--card); color:var(--text); border-radius:0; }
@media (max-width:560px){ .player{ grid-template-columns:1fr 1fr; } .player input[type=email]{ grid-column:1 / -1; grid-row:2; } }

/* ---------- what we need ---------- */

.needs .wrap{
  display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:clamp(30px,5vw,58px); align-items:start;
}
@media (max-width:860px){ .needs .wrap{ grid-template-columns:1fr; } }
.checklist{ list-style:none; margin:26px 0 0; padding:0; display:flex; flex-direction:column; gap:1px; background:var(--line); border:1px solid var(--line); }
.checklist li{
  background:var(--surface); padding:16px 20px; font-size:.96rem; color:var(--text-2);
  display:flex; gap:16px; align-items:flex-start;
}
.checklist .k{
  font-family:var(--body); font-size:.65rem; font-weight:600;
  letter-spacing:.18em; text-transform:uppercase; color:var(--gold);
  flex:none; width:78px; padding-top:.32em;
}
.checklist b{ color:var(--text); font-weight:600; }
@media (max-width:520px){
  .checklist li{ flex-direction:column; gap:7px; }
  .checklist .k{ width:auto; padding-top:0; }
}

/* ---------- story ---------- */

.story .wrap{ display:flex; flex-direction:column; align-items:center; text-align:center; }
.story .prose{ max-width:58ch; }
.story p + p{ margin-top:18px; }
/* long body copy reads better ranged left, even inside a centered block */
.story .prose .muted{ text-align:left; }
.story .mark{ width:104px; height:auto; margin-bottom:28px; }
.story .tagline{
  font-family:var(--display);
  font-size:clamp(1.8rem,4vw,2.6rem);
  color:var(--gold); margin-top:36px; letter-spacing:.005em;
}

/* ---------- faq ---------- */

.faq-list{ border-top:1px solid var(--line); }
.faq-list details{ border-bottom:1px solid var(--line); }
.faq-list summary{
  cursor:pointer; list-style:none; padding:21px 44px 21px 0; position:relative;
  font-family:var(--body); font-weight:600; font-size:1.03rem; color:var(--text);
}
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{
  content:"+"; position:absolute; right:8px; top:50%; transform:translateY(-50%);
  font-family:var(--body); font-weight:400; color:var(--gold); font-size:1.4rem; line-height:1;
}
.faq-list details[open] summary::after{ content:"–"; }
.faq-list .answer{ padding:0 44px 24px 0; color:var(--text-2); font-size:.98rem; max-width:68ch; }

/* ---------- final cta ---------- */

.finale{ text-align:center; position:relative; overflow:hidden; }
.finale::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(90% 130% at 50% 100%, rgba(183,134,69,.22) 0%, transparent 62%);
  pointer-events:none;
}
.finale .wrap{ position:relative; display:flex; flex-direction:column; align-items:center; gap:22px; }
.finale h2{ max-width:20ch; }
.finale .hero-ctas{ justify-content:center; }

.worksheet{
  margin-top:clamp(42px,5vw,60px); width:100%; max-width:570px;
  border:1px solid var(--card-line); background:var(--card); padding:28px; text-align:left;
}
.worksheet .eyebrow{ margin-bottom:14px; }
.worksheet p{ color:var(--text-2); font-size:.94rem; margin-bottom:18px; }
.worksheet form{ display:flex; gap:10px; flex-wrap:wrap; }
.worksheet input{ flex:1 1 200px; min-width:0; }
.worksheet form .btn{ flex:1 1 100%; }
.worksheet [hidden]{ display:none !important; }
.worksheet input[type=text],.worksheet input[type=email]{
  font:inherit; font-size:.95rem; padding:.8em .9em; border-radius:2px;
  border:1px solid var(--card-line); background:rgba(255,255,255,.06); color:inherit;
}
.worksheet input::placeholder{ color:inherit; opacity:.6; }
.worksheet input:focus{ outline:2px solid var(--gold); outline-offset:1px; border-color:var(--gold); }
.worksheet .sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.worksheet .hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.players{ display:flex; flex-direction:column; gap:10px; margin:10px 0 4px; }
.player{ border:1px solid var(--card-line); background:var(--surface); margin:0; padding:10px 12px 12px;
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,.9fr); gap:8px; min-width:0; }
.player[hidden]{ display:none; }
.player legend{ font-size:.66rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--accent-text); padding:0 4px; }
.player input, .player select{ width:100%; min-width:0; min-height:42px; font:inherit; font-size:.9rem; padding:.5em .6em;
  border:1px solid var(--card-line); background:var(--card); color:var(--text); border-radius:0; }
@media (max-width:560px){ .player{ grid-template-columns:1fr 1fr; } .player input[type=email]{ grid-column:1 / -1; grid-row:2; } }
.worksheet .ws-msg{ margin:0 0 16px; padding:12px 14px; border-left:3px solid var(--gold); background:rgba(183,134,69,.12); color:inherit; font-weight:600; }
.worksheet .ws-msg.bad{ border-left-color:#C7685C; background:rgba(199,104,92,.14); }
.worksheet .ws-fine{ margin:12px 0 0; font-size:.78rem; }

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

/* an uploaded photo replaces the placeholder label */
.shot.has-photo{ background-image:none; }
.shot.has-photo::after{ display:none; }

/* ============================================================
   v5.7 — shared by the figurine, gift and party pages
   ============================================================ */

[id]{ scroll-margin-top:128px; }

/* the gift and party cards beside the order card */
.side-cards{ display:flex; flex-direction:column; gap:20px; }
.side-card{
  display:flex; flex-direction:column; gap:12px; padding:28px;
  border:1px solid var(--card-line); background:var(--card); color:var(--text); text-decoration:none;
  transition:border-color .16s ease;
}
.side-card:hover{ border-color:var(--gold); }
.side-card h3{ font-family:var(--display); font-weight:400; font-size:1.55rem; line-height:1.12; }
.side-card p{ color:var(--text-2); font-size:.95rem; }
.side-link{ font-weight:600; font-size:.93rem; color:var(--accent-text); }
.side-card .shot{ aspect-ratio:4/3; }

/* the Christmas bar on the gift page */
.deadline-bar{ background:var(--gold); color:#0D2B3A; text-align:center; font-size:.93rem; font-weight:600; padding:11px 16px; line-height:1.45; }
.deadline-bar a{ color:#0D2B3A; }

/* two ways to give it */
.ways{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
@media (max-width:760px){ .ways{ grid-template-columns:1fr; } }
.way{ border:1px solid var(--card-line); background:var(--card); padding:clamp(26px,3vw,36px); display:flex; flex-direction:column; gap:12px; }
.way.featured{ border-color:var(--gold); }
.way .val{ font-size:.68rem; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--accent-text); }
.way h3{ font-family:var(--display); font-weight:400; font-size:1.6rem; line-height:1.12; }
.way p{ color:var(--text-2); font-size:.97rem; }

/* party page: four figures in the hero, and the made-for list */
.hero-quad{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.hero-quad .shot, .hero-quad .pf-pic{ aspect-ratio:4/5; }
.hero-quad .pf-pic{ position:relative; overflow:hidden; background:#000; border:1px solid var(--card-line); }
.hero-quad .pf-pic img{ display:block; width:100%; height:100%; object-fit:cover; }
.party-build{ margin-top:0; }
.party-build .price-big{ font-family:var(--display); font-size:clamp(2.4rem,5vw,3.2rem); line-height:1; color:var(--accent-text); margin:6px 0 14px; }
.party-build .price-big small{ font-family:var(--body); font-size:.95rem; color:var(--text-2); margin-left:8px; }
.party-off{ border:1px solid var(--card-line); background:var(--card); padding:28px; }
.party .offer-fine{ font-size:.68rem; }
.party a, .faq-list .answer a, .party-off a{ color:var(--accent-text); }
section[id]{ scroll-margin-top:72px; }  /* a band has its own top padding, so it can sit right under the header */

/* v5.8 — the gift certificate band on the gift page */
.cert-band{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:clamp(30px,5vw,64px); align-items:center; }
@media (max-width:900px){ .cert-band{ grid-template-columns:minmax(0,1fr); } }
.cert-steps{ list-style:none; margin:24px 0 28px; padding:0; display:flex; flex-direction:column; gap:12px; color:var(--text-2); }
.cert-steps li{ display:flex; gap:12px; }
.cert-steps li::before{ content:""; flex:none; width:11px; height:2px; background:var(--gold); margin-top:.7em; }
.cert-steps b{ color:var(--text); }
.cert-buy{ display:flex; flex-wrap:wrap; gap:12px; }
.cert-mini{ background:#FFFFFF; color:#0D2B3A; aspect-ratio:11/8.5; padding:5%; box-shadow:0 24px 60px rgba(0,0,0,.35); transform:rotate(-2deg); }
.cm-frame{ height:100%; border:2px solid #0D2B3A; outline:1px solid #B78645; outline-offset:-7px; padding:7% 8%; position:relative; }
.cm-k{ font-size:.62rem; font-weight:700; letter-spacing:.3em; text-transform:uppercase; color:#8A6531; }
.cm-h{ font-family:var(--display); font-size:clamp(1.2rem,2.6vw,1.7rem); line-height:1.05; margin-top:6px; }
.cm-for{ font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:#54707E; font-weight:600; margin-top:10%; }
.cm-name{ font-family:var(--display); font-size:clamp(1.4rem,3vw,2rem); line-height:1; }
.cm-msg{ font-family:var(--display); font-size:.9rem; border-left:2px solid #B78645; padding-left:8px; margin-top:8px; color:#0D2B3A; }
.cm-from{ font-size:.75rem; font-weight:600; margin-top:4px; }
.cm-code{ position:absolute; right:8%; bottom:9%; border:1.5px solid #0D2B3A; padding:6px 10px; font-family:var(--display); font-size:.85rem; }
.cert-steps span{ min-width:0; overflow-wrap:anywhere; }
