/* ==========================================================================
   KidEscapeLab – section vocabulary for the redesigned pages
   (index.php, features.php, how-it-works.php, themes.php · builders in includes/sections.php)
   Loads after landing.css + front.css. Animations use transform / opacity only and
   switch off with prefers-reduced-motion (bottom of the file).
   ========================================================================== */

/* ---------- shared bits ---------- */
.sx-head { max-width: 760px; margin: 0 auto 44px; }
.sx-head-center { text-align: center; }
.sx-head-left { margin-left: 0; }
.sx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cranberry);
}
.sx-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--cranberry)); }
.sx-title { font-family: var(--font-head); font-weight: 600; color: var(--pine); font-size: clamp(28px, 1.4rem + 1.6vw, 44px); line-height: 1.1; letter-spacing: -.01em; margin: 0; }
.sx-hl { position: relative; color: var(--cranberry); white-space: normal; }
.sx-head.is-dark .sx-title { color: #fff; }
.sx-head.is-dark .sx-hl { color: var(--gold); }
.sx-head.is-dark .sx-eyebrow { color: var(--gold); }
.sx-head.is-dark .sx-lead { color: #CFE0D6; }
.sx-lead { margin-top: 14px; font-size: 17.5px; line-height: 1.6; color: var(--muted); }
.sx-head-center .sx-lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.sx-center-link { text-align: center; margin-top: 36px; }

/* soft light blobs (hero + demo backgrounds) */
.sx-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sx-blobs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: blobDrift 18s ease-in-out infinite alternate; }
.sx-blobs .b1 { width: 420px; height: 420px; left: -80px; top: 10%; background: rgba(242,193,78,.35); }
.sx-blobs .b2 { width: 380px; height: 380px; right: 8%; top: -60px; background: rgba(180,35,53,.28); animation-delay: -6s; }
.sx-blobs .b3 { width: 340px; height: 340px; left: 40%; bottom: 8%; background: rgba(47,93,138,.30); animation-delay: -11s; }
.sx-blobs.is-soft span { opacity: .45; filter: blur(70px); }
.sx-blobs.is-soft .b1 { background: rgba(30,122,85,.22); }
.sx-blobs.is-soft .b2 { background: rgba(242,193,78,.30); }
@keyframes blobDrift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, 30px) scale(1.12); } }

/* light that follows the pointer (front.js sets --gx / --gy) */
.sx-glow { position: relative; isolation: isolate; }
.sx-glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 0%), rgba(242,193,78,.22), transparent 60%);
}
.sx-glow:hover::before { opacity: 1; }
.sx-glow > * { position: relative; z-index: 1; }

/* link rows */
.sx-links-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.sx-links-row a, .sx-links-col a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); color: var(--pine); font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.sx-links-row a i, .sx-links-col a i { color: var(--cranberry); }
.sx-links-row a:hover, .sx-links-col a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: #D9CDB6; }
.sx-links-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 22px; }

/* ==========================================================================
   HOME
   ========================================================================== */
.hx-hero { padding-bottom: 270px; }
.hx-hero .sx-blobs { z-index: 0; }
.hx-hero .sx-blobs span { opacity: .4; }
@media (max-width: 991.98px) { .hx-hero { padding-bottom: 230px; } }

/* 2 · equation */
.sx-eq-wrap { position: relative; z-index: 3; margin-top: -150px; padding-bottom: 24px; }
.sx-eq {
  background: #fff; border-radius: 30px; padding: 26px 28px 28px; border: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(15,61,46,.05), 0 30px 70px rgba(15,61,46,.16);
}
.sx-eq-title { text-align: center; font-size: 15px; font-family: var(--font-body); font-weight: 700; color: var(--muted); margin: 0 0 18px; letter-spacing: .02em; }
.sx-eq-title span { color: var(--cranberry); text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; margin-right: 6px; }
.sx-eq-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr; align-items: stretch; gap: 10px; }
.sx-eq-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; gap: 2px;
  padding: 18px 12px 16px; border-radius: 22px; background: var(--cream); min-height: 168px; transition: transform .3s var(--ease);
}
.sx-eq-tile:hover { transform: translateY(-4px) rotate(-.6deg); }
.sx-eq-tile b { font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--pine); line-height: 1.15; }
.sx-eq-tile small { font-size: 13.5px; color: var(--muted); }
.sx-eq-op { display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 34px; color: var(--gold); font-weight: 600; }
.sx-eq-op.is-eq { color: var(--cranberry); }
.sx-eq-art { position: relative; width: 96px; height: 78px; margin-bottom: 8px; }
.sx-eq-art img { position: absolute; width: 50px; height: 66px; object-fit: cover; border-radius: 3px 7px 7px 3px; box-shadow: 0 8px 16px rgba(0,0,0,.25); }
.sx-eq-art img:first-child { left: 8px; top: 8px; transform: rotate(-9deg); }
.sx-eq-art img:last-child { right: 8px; top: 2px; transform: rotate(7deg); }
.sx-eq-ico { width: 64px; height: 64px; margin-bottom: 12px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 30px; }
.t-story .sx-eq-ico { background: var(--rose); color: var(--cranberry); }
.t-age .sx-eq-ico { background: #DCE8F5; color: var(--blue); }
.t-result { background: linear-gradient(160deg, #1E5A43, var(--pine)); }
.t-result b { color: #fff; }
.t-result small { color: #CFE0D6; }
.sx-eq-pages { position: relative; width: 70px; height: 78px; margin-bottom: 8px; }
.sx-eq-pages i { position: absolute; width: 50px; height: 64px; border-radius: 5px; background: #fff; box-shadow: 0 6px 12px rgba(0,0,0,.25); left: 10px; top: 6px; }
.sx-eq-pages i:nth-child(1) { transform: rotate(-12deg) translateX(-8px); background: var(--gold-tint); }
.sx-eq-pages i:nth-child(2) { transform: rotate(8deg) translateX(8px); background: var(--rose); }
.sx-eq-pages i:nth-child(3) { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 64'%3E%3Crect x='8' y='10' width='34' height='4' rx='2' fill='%23B42335'/%3E%3Crect x='8' y='20' width='26' height='3' rx='1.5' fill='%23cbd5cf'/%3E%3Crect x='8' y='27' width='30' height='3' rx='1.5' fill='%23cbd5cf'/%3E%3Ccircle cx='25' cy='46' r='8' fill='%23F2C14E'/%3E%3C/svg%3E") center / 100% 100%; }
@media (max-width: 991.98px) {
  .sx-eq-row { grid-template-columns: 1fr auto 1fr; }
  .sx-eq-op:nth-child(4) { display: none; }
  .sx-eq-op.is-eq { grid-column: 1 / -1; padding: 0; font-size: 28px; line-height: 1; transform: rotate(90deg); }
  .t-result { grid-column: 1 / -1; min-height: 0; }
  .t-age { grid-column: 1 / -1; min-height: 0; }
  .t-age .sx-eq-ico { display: none; }
}
@media (max-width: 575.98px) {
  .sx-eq-wrap { margin-top: -120px; }
  .sx-eq { padding: 20px 14px; border-radius: 24px; }
  .sx-eq-tile { min-height: 0; padding: 14px 8px; }
  .sx-eq-tile b { font-size: 17px; }
  .sx-eq-op { font-size: 24px; }
  .sx-eq-ico { width: 52px; height: 52px; font-size: 24px; }
}

/* 3 · horizontal stepper with progress line */
.sx-steps-sec { padding-top: 80px; }
.sx-stepper { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: st; }
.sx-stepper::before, .sx-stepper::after {
  content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 36px; height: 6px; border-radius: 6px; background: #EDE5D6;
}
.sx-stepper::after {
  background: linear-gradient(90deg, var(--green), var(--gold), var(--cranberry));
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s .3s var(--ease);
}
.sx-stepper.is-visible::after, html:not(.reveal-ready) .sx-stepper::after { transform: scaleX(1); }
.sx-st { position: relative; z-index: 1; text-align: center; counter-increment: st; }
.sx-st-dot {
  position: relative; width: 78px; height: 78px; margin: 0 auto 14px; border-radius: 26px; display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #fff; background: var(--pine); box-shadow: 0 8px 0 #062019, 0 18px 30px rgba(15,61,46,.25);
  transform: scale(.6); opacity: 0; transition: transform .6s var(--ease), opacity .6s;
}
.sx-st:nth-child(2) .sx-st-dot { background: var(--green); box-shadow: 0 8px 0 #0F5238, 0 18px 30px rgba(15,61,46,.25); }
.sx-st:nth-child(3) .sx-st-dot { background: var(--gold); color: #3A2A00; box-shadow: 0 8px 0 #B98A1F, 0 18px 30px rgba(185,138,31,.3); }
.sx-st:nth-child(4) .sx-st-dot { background: var(--cranberry); box-shadow: 0 8px 0 var(--cranberry-dark), 0 18px 30px rgba(180,35,53,.3); }
.sx-st-dot::after {
  content: counter(st); position: absolute; right: -8px; top: -8px; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--pine);
  font-family: var(--font-head); font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(0,0,0,.18);
}
.sx-stepper.is-visible .sx-st-dot, html:not(.reveal-ready) .sx-st-dot { transform: none; opacity: 1; }
.sx-stepper.is-visible .sx-st:nth-child(2) .sx-st-dot { transition-delay: .45s; }
.sx-stepper.is-visible .sx-st:nth-child(3) .sx-st-dot { transition-delay: .85s; }
.sx-stepper.is-visible .sx-st:nth-child(4) .sx-st-dot { transition-delay: 1.25s; }
.sx-st-time { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cranberry); background: var(--rose); padding: 4px 10px; border-radius: 99px; }
.sx-st h3 { font-size: 22px; margin: 10px 0 6px; }
.sx-st p { color: var(--muted); font-size: 15.5px; line-height: 1.55; max-width: 250px; margin: 0 auto; }
.reveal-ready .sx-stepper[data-reveal] { transform: none; }
@media (max-width: 991.98px) {
  .sx-stepper { grid-template-columns: 1fr; gap: 18px; max-width: 520px; margin: 0 auto; }
  .sx-stepper::before, .sx-stepper::after { left: 38px; right: auto; top: 40px; bottom: 40px; width: 6px; height: auto; }
  .sx-stepper::after { transform: scaleY(0); transform-origin: top; }
  .sx-stepper.is-visible::after { transform: scaleY(1); }
  .sx-st { display: grid; grid-template-columns: 78px 1fr; column-gap: 18px; text-align: left; align-items: start; }
  .sx-st-dot { grid-row: span 3; margin: 0; }
  .sx-st h3 { margin-top: 6px; }
  .sx-st p { margin: 0; max-width: none; }
  .sx-st-time { justify-self: start; }
}

/* 4 · interactive mission demo */
.sx-demo-sec { overflow: hidden; background: linear-gradient(180deg, #fff 0%, #F2F7F3 100%); }
.sx-demo-ctl { display: flex; flex-direction: column; gap: 18px; }
.md-label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--pine); font-size: 15px; margin-bottom: 8px; }
.md-label span { width: 24px; height: 24px; border-radius: 8px; background: var(--pine); color: #fff; font-size: 12.5px; display: inline-flex; align-items: center; justify-content: center; }
.md-themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.md-themes button {
  --tc: var(--pine); display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 10px 6px 6px; border-radius: 16px;
  border: 2px solid var(--border); background: #fff; font-weight: 700; font-size: 13.5px; color: var(--text); text-align: left; line-height: 1.2;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.md-themes button img { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 3px 4px rgba(0,0,0,.2)); }
.md-themes button:hover { transform: translateY(-2px); border-color: #D9CDB6; }
.md-themes button[aria-pressed="true"] { border-color: var(--tc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 22%, transparent), 0 8px 18px rgba(15,61,46,.12); }
.md-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 16px; background: #fff; border: 1px solid var(--border); }
.md-seg button { min-height: 42px; min-width: 52px; padding: 6px 14px; border: 0; border-radius: 12px; background: transparent; font-weight: 700; font-size: 14.5px; color: var(--muted); transition: background-color .2s, color .2s; }
.md-seg button:hover { color: var(--pine); background: var(--cream); }
.md-seg button[aria-pressed="true"] { background: var(--pine); color: #fff; box-shadow: 0 4px 10px rgba(15,61,46,.25); }
.md-two { display: flex; flex-wrap: wrap; gap: 18px; }
.md-input { width: 100%; max-width: 320px; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--border); background: #fff; font-size: 16px; font-weight: 600; }
.md-input:focus { outline: 0; border-color: var(--cranberry); box-shadow: 0 0 0 4px rgba(180,35,53,.15); }
.md-themes button:focus-visible, .md-seg button:focus-visible { outline: 3px solid var(--cranberry); outline-offset: 2px; }

.sx-mcard {
  --tc: var(--pine); display: grid; grid-template-columns: 42% 1fr; overflow: hidden; border-radius: 30px; background: #fff;
  box-shadow: 0 0 0 1px var(--border), 0 40px 80px rgba(15,61,46,.18);
}
.sx-mcard.is-bump { animation: mcBump .5s var(--ease); }
@keyframes mcBump { 0% { transform: scale(.985); } 60% { transform: scale(1.008); } 100% { transform: none; } }
.mc-cover { position: relative; background: var(--tc); min-height: 100%; }
.mc-cover > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mc-stamp { position: absolute; left: 14px; top: 16px; padding: 5px 10px; border: 2px solid #fff; color: #fff; border-radius: 8px; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-6deg); background: rgba(180,35,53,.85); }
.mc-host { position: absolute; right: -6px; bottom: 10px; width: 46%; max-width: 150px; height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.4)); animation: floaty 7s ease-in-out infinite; }
.mc-body { padding: 26px 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.mc-theme { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tc); }
.mc-title { font-size: clamp(22px, 1rem + 1vw, 28px); line-height: 1.15; margin: 0; }
.mc-text { color: var(--muted); line-height: 1.55; }
.mc-facts { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.mc-facts li { display: flex; gap: 8px; align-items: flex-start; }
.mc-facts i { color: var(--tc); font-size: 16px; }
.mc-stats { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 8px; margin: 6px 0 0; }
.mc-stats div { background: var(--cream); border-radius: 14px; padding: 10px 10px 8px; }
.mc-stats dt { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.mc-stats dd { margin: 2px 0 0; font-weight: 700; color: var(--pine); font-size: 14px; line-height: 1.25; }
.mc-stats dd b { font-family: var(--font-head); font-size: 26px; font-weight: 600; color: var(--cranberry); }
.mc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: auto; padding-top: 8px; }
.mc-note { font-size: 13.5px; color: var(--muted); }
@media (max-width: 767.98px) {
  .sx-mcard { grid-template-columns: 1fr; }
  .mc-cover { height: 260px; }
  .mc-cover > img:first-child { object-position: center 30%; }
  .mc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-body { padding: 20px 18px; }
}
@media (max-width: 420px) { .md-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 5 · bento */
.sx-bento-sec { background: var(--cream); }
.sx-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 16px; }
.bx {
  --c: var(--pine); --t: var(--mint);
  display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 26px; background: #fff; border: 1px solid var(--border);
  color: var(--text); text-decoration: none; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.bx:hover { color: var(--text); transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 35%, var(--border)); box-shadow: 0 2px 4px rgba(15,61,46,.05), 0 24px 50px rgba(15,61,46,.14), 0 0 0 4px color-mix(in srgb, var(--c) 10%, transparent); }
.reveal-ready .bx.is-visible { transition: opacity .7s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.bx h3 { font-size: 22px; line-height: 1.18; margin: 0; }
.bx p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.bx-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.bx-kicker i { width: 30px; height: 30px; border-radius: 10px; background: var(--t); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.bx-go { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14.5px; color: var(--c); display: inline-flex; align-items: center; gap: 6px; }
.bx-go i { transition: transform .25s var(--ease); }
.bx:hover .bx-go i { transform: translateX(4px); }
.bx-maker { grid-column: span 2; grid-row: span 2; --c: var(--cranberry); --t: var(--rose); background: linear-gradient(160deg, #fff 55%, #FDF0F1); padding-right: 40%; position: relative; }
.bx-maker h3 { font-size: clamp(24px, 1rem + 1.2vw, 32px); }
.bx-chips { display: flex; flex-wrap: wrap; gap: 6px; counter-reset: bc; margin-top: 4px; }
.bx-chips li { counter-increment: bc; font-size: 13px; font-weight: 700; padding: 6px 10px 6px 6px; border-radius: 99px; background: #fff; border: 1px solid var(--border); display: inline-flex; align-items: center; gap: 6px; }
.bx-chips li::before { content: counter(bc); width: 20px; height: 20px; border-radius: 50%; background: var(--cranberry); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.bx-art { position: absolute !important; right: 20px; top: 50%; width: 34%; transform: translateY(-50%) rotate(4deg); transition: transform .5s var(--ease); }
.bx-art > img:first-child { width: 100%; height: auto; border-radius: 5px 12px 12px 5px; box-shadow: 0 24px 40px rgba(0,0,0,.28); display: block; }
.bx-stk { position: absolute; width: 62%; left: -30%; bottom: -10%; filter: drop-shadow(0 8px 10px rgba(0,0,0,.3)); }
.bx-maker:hover .bx-art { transform: translateY(-52%) rotate(1deg) scale(1.03); }
.bx-puzzles { grid-row: span 2; --c: var(--blue); --t: #DCE8F5; background: linear-gradient(180deg, #fff 50%, #EEF4FB); }
.bx-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0; }
.bx-icons i { aspect-ratio: 1; border-radius: 14px; background: #fff; border: 1px solid #D5E2F0; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--blue); transition: transform .3s var(--ease); }
.bx-puzzles:hover .bx-icons i:nth-child(odd) { transform: rotate(-8deg) scale(1.06); }
.bx-puzzles:hover .bx-icons i:nth-child(even) { transform: rotate(8deg); }
.bx-learn { --c: #A6780F; --t: var(--gold-tint); }
.bx-sum { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 22px; }
.bx-sum b { width: 40px; height: 44px; border-radius: 10px; background: var(--gold-tint); border: 2px dashed #E3C77C; display: inline-flex; align-items: center; justify-content: center; color: var(--pine); font-weight: 600; }
.bx-sum b.q { background: var(--gold); border-style: solid; border-color: var(--gold); }
.bx-sum i { color: var(--muted); font-style: normal; }
.bx-sum .bi { color: var(--green); font-size: 22px; margin-left: 4px; }
.bx-class { --c: var(--green); --t: var(--mint); }
.bx-teams { display: flex; gap: 6px; }
.bx-teams i { width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 rgba(0,0,0,.18); transition: transform .3s var(--ease); }
.bx-class:hover .bx-teams i { transform: translateY(-4px); }
.bx-class:hover .bx-teams i:nth-child(even) { transform: translateY(2px); }
.bx-advent { --c: var(--cranberry); --t: var(--rose); }
.bx-cal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.bx-cal i { font-style: normal; font-size: 12px; font-weight: 700; text-align: center; padding: 5px 0; border-radius: 8px; background: var(--cream); color: var(--muted); }
.bx-cal i.on { background: var(--cranberry); color: #fff; transform: scale(1.12); box-shadow: 0 4px 10px rgba(180,35,53,.35); }
.bx-print { --c: #7B3F94; --t: #F1E6F6; }
.bx-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bx-tags li { font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 10px; background: #F7F0FA; color: #5E2F72; }
.bx-sell { grid-column: span 2; --c: var(--blue); --t: #DCE8F5; background: linear-gradient(120deg, #fff 60%, #EEF4FB); }
.bx-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.bx-sizes i { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 9px; background: #DCE8F5; color: #1F4870; }
.bx-sizes i.et { background: var(--rose); color: var(--cranberry); }
.bx-sizes i b { font-weight: 400; }
@media (max-width: 1199.98px) {
  .sx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bx-puzzles { grid-row: span 1; }
}
@media (max-width: 767.98px) {
  .sx-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bx-maker, .bx-sell { grid-column: auto; }
  .bx-maker { grid-row: auto; padding-right: 22px; }
  .bx-art { position: relative !important; right: auto; top: auto; width: 46%; max-width: 180px; transform: rotate(4deg); margin: 10px auto 4px 30%; }
  .bx-maker:hover .bx-art { transform: rotate(1deg); }
}

/* 6 · vertical audience tabs on pine */
.sx-vtabs { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.sx-vt-nav { display: flex; flex-direction: column; gap: 10px; }
.sx-vt-btn {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; text-align: left; width: 100%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #E4EEE8;
  transition: background-color .25s, transform .25s var(--ease), border-color .25s;
}
.sx-vt-btn > i { width: 46px; height: 46px; flex: none; border-radius: 14px; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; font-size: 21px; color: var(--gold); }
.sx-vt-btn b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 19px; color: #fff; }
.sx-vt-btn small { display: block; font-size: 13.5px; color: #A9C8B8; }
.sx-vt-btn:hover { background: rgba(255,255,255,.1); transform: translateX(4px); }
.sx-vt-btn.active { background: #fff; border-color: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.sx-vt-btn.active b { color: var(--pine); }
.sx-vt-btn.active small { color: var(--muted); }
.sx-vt-btn.active > i { background: var(--cranberry); color: #fff; }
.sx-vt-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sx-vt-pane {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding: 30px; border-radius: 28px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.sx-vt-copy h3 { color: #fff; font-size: clamp(23px, 1rem + 1vw, 30px); line-height: 1.15; margin: 0; }
.sx-vt-copy > p { color: #CFE0D6; margin-top: 12px; line-height: 1.6; }
.sx-vt-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 24px; }
.sx-vt-sub { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.sx-vt-sub:hover { color: var(--gold); }
.sx-vt-art { position: relative; height: 300px; }
.sx-vt-book { position: absolute; width: 46%; transition: transform .6s var(--ease); }
.sx-vt-book.b1 { left: 2%; top: 14%; transform: rotate(-10deg); }
.sx-vt-book.b2 { left: 27%; top: 2%; z-index: 2; width: 50%; transform: rotate(2deg); }
.sx-vt-book.b3 { right: 0; top: 16%; transform: rotate(10deg); }
.sx-vt-stk { position: absolute; width: 34%; max-width: 140px; left: -4%; bottom: -2%; z-index: 3; animation: floaty 7s ease-in-out infinite; }
.tab-pane.active .sx-vt-book.b1 { animation: vtIn .7s var(--ease) both; }
.tab-pane.active .sx-vt-book.b3 { animation: vtIn .7s .1s var(--ease) both; }
@keyframes vtIn { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
.tab-pane:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 28px; }
@media (max-width: 991.98px) {
  .sx-vtabs { grid-template-columns: 1fr; }
  .sx-vt-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .sx-vt-btn { flex: 1 0 auto; width: auto; padding: 10px 14px; }
  .sx-vt-btn small { display: none; }
  .sx-vt-btn > i { width: 38px; height: 38px; font-size: 18px; }
  .sx-vt-btn:hover { transform: none; }
  .sx-vt-pane { grid-template-columns: 1fr; padding: 22px 18px; }
  .sx-vt-art { height: 240px; max-width: 340px; width: 100%; margin: 0 auto; }
}
@media (max-width: 479.98px) { .sx-vt-btn > i { display: none; } .sx-vt-btn b { font-size: 16px; } }

/* 7 · marquee */
.sx-mq-sec { padding: 96px 0 90px; overflow: hidden; }
.sx-mq-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 40px; }
.sx-mq-side { max-width: 460px; }
.sx-mq-side p { color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.sx-marquee { display: flex; flex-direction: column; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sx-mq-row { display: flex; width: max-content; animation: mqScroll 70s linear infinite; }
.sx-mq-row.is-rev { animation-direction: reverse; animation-duration: 80s; }
.sx-marquee:hover .sx-mq-row, .sx-marquee:focus-within .sx-mq-row { animation-play-state: paused; }
.sx-mq-track { display: flex; gap: 18px; padding-right: 18px; }
.sx-mq-track a { position: relative; display: block; width: 168px; border-radius: 6px 14px 14px 6px; overflow: hidden; box-shadow: 0 14px 30px rgba(15,61,46,.2); transition: transform .35s var(--ease); }
.sx-mq-track a:hover, .sx-mq-track a:focus-visible { transform: translateY(-6px) rotate(-1.5deg); }
.sx-mq-track img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: var(--parchment); }
.sx-mq-track span { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 5px 8px; border-radius: 10px; background: rgba(255,255,255,.94); font-size: 13px; font-weight: 700; color: var(--pine); text-align: center; }
@keyframes mqScroll { to { transform: translateX(-50%); } }
@media (max-width: 575.98px) { .sx-mq-track a { width: 130px; } .sx-mq-sec { padding: 72px 0; } }

/* 8 · exploded pack */
.sx-pack-sec { background: radial-gradient(circle at 1px 1px, rgba(15,61,46,.10) 1.2px, transparent 1.4px) 0 0 / 22px 22px, var(--cream); }
.sx-pack-legend { display: flex; flex-direction: column; gap: 12px; }
.sx-pack-legend li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--muted); }
.sx-pack-legend b { display: block; color: var(--pine); }
.sx-pack-legend i { width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--mint); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.sx-pack-legend li:last-child i { background: var(--gold-tint); color: #A6780F; }
.sx-explode { position: relative; height: 580px; max-width: 760px; margin: 0 auto; }
.reveal-ready .sx-explode[data-reveal] { transform: none; opacity: 1; }
.ex-core {
  position: absolute; left: 50%; top: 50%; z-index: 1; display: flex; align-items: center; gap: 10px;
  width: 230px; height: 72px; margin: -36px 0 0 -115px; padding: 0 22px; border-radius: 99px; background: #fff; box-shadow: var(--shadow-lift);
}
.ex-core b { font-family: var(--font-head); font-size: 44px; line-height: 1; color: var(--cranberry); font-weight: 600; }
.ex-core small { font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.25; }
.ex-pg { position: absolute; width: 17.5%; margin: 0; z-index: 2; transform: rotate(var(--r, 0deg)); transition: transform .9s var(--ease), opacity .6s; }
.ex-pg:hover { z-index: 6; }
.ex-pg figcaption { margin-top: 8px; text-align: center; font-size: 13px; font-weight: 700; color: var(--pine); line-height: 1.2; }
.ex-paper {
  position: relative; aspect-ratio: 8.5 / 11; border-radius: 6px; overflow: hidden; container-type: inline-size;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,0) 40%), linear-gradient(180deg, #FFFEFB, #FBF6EC);
  box-shadow: 0 1px 0 #E8DFCC, 0 2px 3px rgba(15,61,46,.08), 0 18px 30px rgba(15,61,46,.16);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.ex-paper::before { /* glare on hover */
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .35s, transform .6s var(--ease);
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%); transform: translateX(-40%);
}
.ex-pg:hover .ex-paper { transform: translateY(-8px) scale(1.06); box-shadow: 0 30px 50px rgba(15,61,46,.26); }
.ex-pg:hover .ex-paper::before { opacity: 1; transform: translateX(40%); }
.ex-pg.is-adult figcaption::after { content: "For you"; display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 99px; background: var(--gold); color: #3A2A00; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
/* positions: 4 on top, 5 below, the "16 pages" pill in the gap */
.p1 { left: 9%;   top: 14px;  --r: -6deg; }
.p2 { left: 30%;  top: 0;     --r: -2deg; }
.p3 { left: 51.5%; top: 0;    --r: 2deg; }
.p4 { left: 73%;  top: 14px;  --r: 6deg; }
.p5 { left: 0;    top: 352px; --r: 5deg; }
.p6 { left: 20.5%; top: 366px; --r: 2deg; }
.p7 { left: 41%;  top: 372px; --r: 0deg; }
.p8 { left: 61.5%; top: 366px; --r: -2deg; }
.p9 { left: 82%;  top: 352px; --r: -5deg; }
/* folded into one stack in the centre until revealed */
.reveal-ready .sx-explode:not(.is-visible) .ex-pg { transform: translate(var(--sx, 0), var(--sy, 0)) rotate(0deg) scale(.75); opacity: 0; }
.p1 { --sx: 230px; --sy: 160px; } .p2 { --sx: 80px; --sy: 170px; } .p3 { --sx: -80px; --sy: 170px; } .p4 { --sx: -230px; --sy: 160px; }
.p5 { --sx: 300px; --sy: -170px; } .p6 { --sx: 150px; --sy: -180px; } .p7 { --sy: -185px; } .p8 { --sx: -150px; --sy: -180px; } .p9 { --sx: -300px; --sy: -170px; }
.sx-explode.is-visible .ex-pg { transition-delay: calc(var(--d, 0) * 60ms); }
.p2 { --d: 1; } .p3 { --d: 2; } .p4 { --d: 3; } .p5 { --d: 4; } .p6 { --d: 5; } .p7 { --d: 6; } .p8 { --d: 7; } .p9 { --d: 8; }
@media (max-width: 767.98px) {
  .sx-explode { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; }
  .ex-core { display: none; }
  .ex-pg { position: static; width: auto; transform: rotate(calc(var(--r, 0deg) * .5)); }
  .reveal-ready .sx-explode:not(.is-visible) .ex-pg { transform: scale(.9); }
}
@media (max-width: 380px) { .sx-explode { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* when the shared page_mock() component renders the page, it brings its own paper */
.ex-paper.is-pm { aspect-ratio: auto; background: none; box-shadow: none; overflow: visible; border-radius: 3px; }
.ex-paper.is-pm .pm-sheet { width: 100%; margin: 0; }
.ex-pg:hover .ex-paper.is-pm { box-shadow: none; }
.ex-pg:hover .ex-paper.is-pm .pm-paper { box-shadow: 0 30px 50px rgba(15,61,46,.26); }
.ex-paper.is-pm::before { border-radius: 3px; }
/* ---------- mini printed pages (.mp-*) – sized with container units of the paper ---------- */
.mp { position: absolute; inset: 0; padding: 9cqw 8cqw; display: flex; flex-direction: column; gap: 4cqw; font-size: 6.4cqw; line-height: 1.3; color: #33423B; text-align: left; }
.mp .mp-h { font-family: var(--font-head); font-weight: 600; color: var(--pine); font-size: 9cqw; line-height: 1.1; }
.mp .mp-sub { font-size: 5.6cqw; font-weight: 700; color: var(--cranberry); text-transform: uppercase; letter-spacing: .05em; }
.mp p { margin: 0; }
/* cover */
.mp-cover { padding: 0; }
.mp-cover > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mp-band { position: absolute; left: 7cqw; right: 7cqw; top: 7cqw; padding: 4cqw; border-radius: 4cqw; background: rgba(255,250,240,.95); border: .8cqw solid var(--gold); text-align: center; box-shadow: 0 2cqw 4cqw rgba(0,0,0,.25); }
.mp-band small { display: block; font-size: 5cqw; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cranberry); }
.mp-band b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 8.5cqw; line-height: 1.05; color: var(--pine); margin-top: 1cqw; }
.mp-pills { position: absolute; left: 7cqw; bottom: 7cqw; display: flex; gap: 2cqw; }
.mp-pills i { font-style: normal; font-weight: 800; font-size: 5.4cqw; padding: 1.5cqw 3cqw; border-radius: 99px; background: var(--cranberry); color: #fff; }
.mp-stk { position: absolute; right: -2cqw; bottom: 5cqw; width: 38cqw; height: auto; filter: drop-shadow(0 2cqw 3cqw rgba(0,0,0,.35)); }
/* letter */
.mp-letter { background: repeating-linear-gradient(180deg, transparent 0 7.6cqw, rgba(220,203,168,.55) 7.6cqw 8cqw); background-position: 0 30cqw; }
.mp-from { font-size: 5.4cqw; font-weight: 700; color: var(--muted); font-style: italic; }
.mp-stamp { position: absolute; right: 7cqw; top: 7cqw; width: 15cqw; height: 18cqw; border: .8cqw dashed var(--cranberry); border-radius: 2cqw; display: flex; align-items: center; justify-content: center; color: var(--cranberry); font-size: 7cqw; transform: rotate(8deg); background: var(--rose); }
.mp-letter p { font-size: 6.2cqw; line-height: 1.33; }
.mp-sign { margin-top: auto; align-self: flex-end; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 11cqw; color: var(--cranberry); transform: rotate(-6deg); }
/* briefing */
.mp-box { display: block; padding: 4cqw; border-radius: 3cqw; background: var(--mint); border-left: 1.6cqw solid var(--green); font-weight: 600; font-size: 6cqw; }
.mp-box small { display: block; font-size: 5cqw; font-weight: 800; color: var(--green); text-transform: uppercase; }
.mp-brief ol { counter-reset: r; display: flex; flex-direction: column; gap: 2.4cqw; }
.mp-brief li { counter-increment: r; display: flex; gap: 2.5cqw; align-items: center; font-size: 6cqw; }
.mp-brief li::before { content: counter(r); width: 8cqw; height: 8cqw; flex: none; border-radius: 50%; background: var(--pine); color: #fff; font-size: 5cqw; font-weight: 800; display: flex; align-items: center; justify-content: center; }
/* clue */
.mp-tag { align-self: flex-start; font-size: 5.4cqw; font-weight: 800; letter-spacing: .06em; padding: 1.5cqw 3.5cqw; border-radius: 99px; background: var(--cranberry); color: #fff; }
.mp-clue svg { width: 74%; margin: 1cqw auto 0; display: block; }
.mp-digit { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 3cqw; border-top: .6cqw dashed #D9CDB6; }
.mp-digit small { font-size: 5.4cqw; font-weight: 700; color: var(--muted); }
.mp-digit i { width: 13cqw; height: 13cqw; border: .8cqw solid var(--pine); border-radius: 3cqw; background: #fff; }
/* lock sheet */
.mp-lock { align-items: center; text-align: center; }
.mp-pad { width: 30cqw; height: 30cqw; border-radius: 9cqw; background: linear-gradient(160deg, var(--gold), #D9A21E); color: var(--pine); display: flex; align-items: center; justify-content: center; font-size: 17cqw; box-shadow: 0 2cqw 0 #B98A1F; margin: 2cqw 0; }
.mp-boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqw; width: 100%; }
.mp-boxes i { font-style: normal; aspect-ratio: 1; border-radius: 2.5cqw; border: .7cqw solid var(--pine); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--cranberry); font-size: 8cqw; background: #fff; }
/* hint cards */
.mp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0; flex: 1; border: .6cqw dashed #B8AC93; border-radius: 3cqw; overflow: hidden; }
.mp-cards i { font-style: normal; font-weight: 600; font-size: 5.6cqw; padding: 4cqw 3cqw; display: flex; align-items: center; text-align: center; justify-content: center; border: .3cqw dashed #B8AC93; background: var(--gold-tint); }
.mp-cards i:nth-child(2), .mp-cards i:nth-child(3) { background: var(--rose); }
.mp-cut { position: absolute; left: 3cqw; top: 50%; color: var(--muted); font-size: 7cqw; transform: rotate(-90deg); }
/* answer key */
.mp-answers ul { display: flex; flex-direction: column; gap: 1.6cqw; }
.mp-answers li { display: flex; justify-content: space-between; align-items: center; font-size: 6cqw; padding: 1.4cqw 2.5cqw; border-radius: 2cqw; background: var(--cream); }
.mp-answers li b { width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 5.6cqw; }
/* certificate */
.mp-cert { align-items: center; justify-content: center; text-align: center; gap: 2.5cqw; border: 2cqw double var(--gold); margin: 4cqw; inset: 0; background: radial-gradient(circle at 50% 40%, #FFFBEF, #FFF3D3); }
.mp-ribbon { position: relative; padding: 2cqw 7cqw; background: var(--cranberry); color: #fff; font-family: var(--font-head); font-size: 6.6cqw; line-height: 1.1; clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); }
.mp-cert small { font-size: 5.4cqw; color: var(--muted); }
.mp-name { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 15cqw; color: var(--pine); line-height: 1; border-bottom: .5cqw solid var(--gold); padding: 0 4cqw; }
.mp-seal { width: 20cqw; height: 20cqw; border-radius: 50%; background: radial-gradient(circle, #F6CD67, #C8961E); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 9cqw; box-shadow: 0 0 0 1.5cqw rgba(242,193,78,.35); }
/* setup guide */
.mp-setup ul { display: flex; flex-direction: column; gap: 2.5cqw; }
.mp-setup li { display: flex; gap: 2.5cqw; align-items: center; font-size: 6cqw; font-weight: 600; padding: 2.5cqw; border-radius: 3cqw; background: var(--mint); }
.mp-setup li i { color: var(--green); font-size: 7cqw; }

/* 9 · FAQ cards */
.sx-faq-layout { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.sx-faq-side { position: sticky; top: calc(var(--header-h) + 20px); }
.sx-faq-more { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 700; color: var(--pine); text-decoration: none; }
.sx-faq-more i { color: var(--cranberry); }
.sx-faq-more:hover { color: var(--cranberry); }
.sx-faq { display: grid; gap: 14px; }
.sx-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.sx-faq-row { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.sx-faq-item { background: var(--cream); border: 1px solid var(--border); border-radius: 20px; transition: background-color .25s, box-shadow .25s, border-color .25s; }
.sx-faq-item[open] { background: #fff; border-color: #E3D6BD; box-shadow: var(--shadow-lift); }
.sx-faq-item summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 18px 18px 18px 20px; font-family: var(--font-head); font-weight: 600; font-size: 17.5px; color: var(--pine); line-height: 1.3; border-radius: 20px; }
.sx-faq-item summary::-webkit-details-marker { display: none; }
.sx-faq-item summary:focus-visible { outline: 3px solid var(--cranberry); outline-offset: 2px; }
.sx-faq-x { width: 30px; height: 30px; flex: none; border-radius: 10px; background: #fff; color: var(--cranberry); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s var(--ease), background-color .3s; }
.sx-faq-item[open] .sx-faq-x { transform: rotate(45deg); background: var(--rose); }
.sx-faq-a { padding: 0 20px 20px; color: var(--muted); line-height: 1.6; font-size: 15.5px; }
.sx-faq-a a { color: var(--cranberry); font-weight: 600; }
@media (max-width: 991.98px) { .sx-faq-layout { grid-template-columns: 1fr; gap: 24px; } .sx-faq-side { position: static; } .sx-faq-row { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) { .sx-faq-grid { grid-template-columns: 1fr; } }

/* 10 · golden ticket CTA */
.sx-ticket-wrap { padding: 40px 0 110px; background: linear-gradient(180deg, #fff 0%, #fff 30%, var(--cream) 30%); }
.sx-ticket {
  position: relative; display: grid; grid-template-columns: 1fr 240px; border-radius: 30px; overflow: hidden;
  background: radial-gradient(500px 260px at 0% 0%, rgba(242,193,78,.25), transparent 70%), linear-gradient(135deg, #1E5A43, var(--pine) 60%);
  box-shadow: 0 40px 80px rgba(15,61,46,.28);
}
.sx-ticket::before { /* shine sweep */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%); background-size: 250% 100%; animation: ticketShine 6s ease-in-out infinite;
}
@keyframes ticketShine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
.sx-ticket-main { position: relative; z-index: 2; padding: 46px 48px; }
.sx-ticket-kicker { color: var(--gold); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.sx-ticket h2 { color: #fff; font-size: clamp(28px, 1.2rem + 1.8vw, 44px); line-height: 1.1; margin: 10px 0 0; }
.sx-ticket h2 span { color: var(--gold); }
.sx-ticket-text { color: #CFE0D6; margin-top: 14px; line-height: 1.6; max-width: 560px; font-size: 17px; }
.sx-ticket-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.sx-ticket-btns .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.sx-ticket-btns .btn-ghost:hover { background: #fff; color: var(--pine); }
.sx-ticket-stub {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center;
  background: var(--gold); border-left: 3px dashed rgba(15,61,46,.35);
}
.sx-ticket-stub::before, .sx-ticket-stub::after { content: ""; position: absolute; left: -17px; width: 32px; height: 32px; border-radius: 50%; background: var(--cream); }
.sx-ticket-stub::before { top: -16px; }
.sx-ticket-stub::after { bottom: -16px; }
.sx-ticket-stub img { width: 110px; height: auto; filter: drop-shadow(0 10px 12px rgba(0,0,0,.28)); animation: floaty 7s ease-in-out infinite; }
.sx-ticket-stub b { font-family: var(--font-head); font-weight: 600; color: var(--pine); font-size: 17px; text-transform: uppercase; letter-spacing: .06em; }
.sx-ticket-code { display: flex; gap: 5px; }
.sx-ticket-code i { font-style: normal; width: 30px; height: 36px; border-radius: 8px; background: var(--pine); color: var(--gold); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 767.98px) {
  .sx-ticket { grid-template-columns: 1fr; }
  .sx-ticket-main { padding: 30px 22px; }
  .sx-ticket-stub { flex-direction: row; border-left: 0; border-top: 3px dashed rgba(15,61,46,.35); padding: 16px; }
  .sx-ticket-stub img { width: 64px; }
  .sx-ticket-stub::before, .sx-ticket-stub::after { left: auto; top: -17px; }
  .sx-ticket-stub::before { left: -16px; }
  .sx-ticket-stub::after { right: -16px; bottom: auto; }
  .sx-ticket-btns > a { flex: 1 1 100%; }
}
@media (max-width: 420px) { .sx-ticket-code { display: none; } }

/* split CTA */
.sx-cta-split { padding: 30px 0 110px; }
.sx-cs-box {
  position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 20px; border-radius: 32px; padding: 46px 48px; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0%, rgba(242,193,78,.25), transparent 65%), radial-gradient(500px 300px at 0% 100%, rgba(180,35,53,.3), transparent 70%), var(--pine);
}
.sx-cs-copy h2 { color: #fff; font-size: clamp(28px, 1.2rem + 1.6vw, 42px); line-height: 1.1; margin: 0; }
.sx-cs-copy h2 .sx-hl { color: var(--gold); }
.sx-cs-copy > p { color: #CFE0D6; margin-top: 14px; line-height: 1.6; font-size: 17px; }
.sx-cs-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: #fff; font-weight: 600; font-size: 15px; }
.sx-cs-points i { color: var(--gold); }
.sx-cs-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.sx-cs-art { position: relative; height: 280px; }
.sx-cs-book { position: absolute; width: 44%; transition: transform .6s var(--ease); }
.sx-cs-b1 { left: 4%; top: 16%; transform: rotate(-12deg); }
.sx-cs-b2 { left: 29%; top: 0; z-index: 2; width: 48%; transform: rotate(3deg); }
.sx-cs-b3 { right: 2%; top: 18%; transform: rotate(12deg); }
.sx-cs-box:hover .sx-cs-b1 { transform: rotate(-16deg) translateX(-8px); }
.sx-cs-box:hover .sx-cs-b3 { transform: rotate(16deg) translateX(8px); }
.sx-cs-box:hover .sx-cs-b2 { transform: rotate(0) translateY(-8px); }
@media (max-width: 991.98px) { .sx-cs-box { grid-template-columns: 1fr; padding: 32px 22px; } .sx-cs-art { height: 230px; max-width: 340px; width: 100%; margin: 0 auto; } }
@media (max-width: 575.98px) { .sx-cs-btns > a { flex: 1 1 100%; } }

/* ==========================================================================
   FEATURES
   ========================================================================== */
.fx-hero {
  position: relative; overflow: hidden; color: #fff; padding: calc(var(--header-h) + 50px) 0 130px;
  background: radial-gradient(900px 480px at 0% 0%, #1E5A43, transparent 60%), linear-gradient(180deg, #0F3D2E, #0C3326);
}
.fx-hero .container { z-index: 2; }
.fx-title { color: #fff; font-size: clamp(34px, 1.4rem + 2.8vw, 56px); line-height: 1.05; margin: 18px 0 0; animation: heroIn .7s .05s var(--ease) both; }
.fx-title span { color: var(--gold); }
.fx-lead { margin-top: 18px; font-size: 18px; line-height: 1.6; color: #CFE0D6; max-width: 600px; animation: heroIn .7s .12s var(--ease) both; }
.fx-orbit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 520px; margin: 0 auto; perspective: 900px; }
.fx-tile {
  --c: var(--cranberry); aspect-ratio: 1; border-radius: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.15; padding: 8px;
  animation: tileIn .6s calc(var(--i) * 50ms + .2s) var(--ease) both, floaty 7s calc(var(--i) * -.6s) ease-in-out infinite;
  transition: background-color .3s, transform .3s var(--ease);
}
.fx-tile i { width: 48px; height: 48px; border-radius: 15px; background: var(--c); display: flex; align-items: center; justify-content: center; font-size: 23px; box-shadow: 0 5px 0 rgba(0,0,0,.25), 0 10px 24px rgba(0,0,0,.25); }
.fx-tile:hover { background: rgba(255,255,255,.14); }
.fx-tile.t-blue { --c: var(--blue); } .fx-tile.t-green { --c: var(--green); } .fx-tile.t-purple { --c: #7B3F94; }
.fx-tile.t-gold { --c: var(--gold); } .fx-tile.t-gold i { color: #3A2A00; }
.fx-tile:nth-child(odd) { margin-top: 18px; }
@keyframes tileIn { from { opacity: 0; transform: translateY(20px) rotateX(30deg); } to { opacity: 1; transform: none; } }
@media (max-width: 575.98px) { .fx-orbit { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .fx-tile { font-size: 11px; border-radius: 18px; } .fx-tile i { width: 40px; height: 40px; font-size: 19px; } .fx-tile:nth-child(odd) { margin-top: 0; } .fx-hero { padding-bottom: 100px; } }

.fx-main { padding-top: 40px; }
.fx-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.fx-aside { position: sticky; top: calc(var(--header-h) + 16px); min-width: 0; }
.sx-sidenav { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 12px 16px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.sx-sn-h { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px 8px; }
.sx-sn-track { position: absolute; left: 14px; top: 46px; bottom: 22px; width: 4px; border-radius: 4px; background: #EFE8DA; overflow: hidden; }
.sx-sn-fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--cranberry), var(--gold)); transform-origin: top; transform: scaleY(0); transition: transform .2s linear; }
.sx-sidenav a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; text-decoration: none; color: var(--text); transition: background-color .2s, transform .25s var(--ease); }
.sx-sidenav a > i { width: 36px; height: 36px; flex: none; border-radius: 11px; background: var(--cream); color: var(--pine); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; transition: background-color .25s, color .25s; }
.sx-sidenav a span { font-weight: 700; font-size: 15.5px; line-height: 1.2; }
.sx-sidenav a small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.sx-sidenav a:hover { background: var(--cream); transform: translateX(3px); }
.sx-sidenav a.is-active { background: var(--rose); }
.sx-sidenav a.is-active > i { background: var(--cranberry); color: #fff; }
.sx-sidenav a.is-active span { color: var(--cranberry); }
@media (max-width: 991.98px) {
  .fx-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fx-aside { top: calc(var(--header-h) - 8px); z-index: 20; margin: 0 -12px; }
  .sx-sidenav { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 8px; border-radius: 18px; gap: 6px; background: rgba(255,255,255,.95); }
  .sx-sidenav::-webkit-scrollbar { display: none; }
  .sx-sn-h, .sx-sn-track, .sx-sidenav a small { display: none; }
  .sx-sidenav a { flex: none; padding: 6px 12px 6px 6px; }
  .sx-sidenav a > i { width: 30px; height: 30px; font-size: 15px; }
  .sx-sidenav a:hover { transform: none; }
}

.fx-cat { scroll-margin-top: calc(var(--header-h) + 70px); padding-bottom: 72px; }
.fx-cat + .fx-cat { padding-top: 64px; border-top: 2px dashed #E6DCC8; }
.fx-cat-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.fx-cat-head .sx-eyebrow { margin-bottom: 4px; }
.fx-cat-head h2 { font-size: clamp(25px, 1.1rem + 1.2vw, 34px); margin: 0; line-height: 1.15; }
.fx-cat-ico { width: 62px; height: 62px; flex: none; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; box-shadow: 0 6px 0 rgba(0,0,0,.16); transform: rotate(-6deg); }
.c-red { background: var(--cranberry); } .c-green { background: var(--green); } .c-blue { background: var(--blue); } .c-purple { background: #7B3F94; } .c-gold { background: var(--gold); color: #3A2A00 !important; }
.fx-deep { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--cranberry); text-decoration: none; }
.fx-deep i { transition: transform .25s var(--ease); }
.fx-deep:hover { color: var(--cranberry-dark); text-decoration: underline; }
a:hover > .fx-deep i, .fx-deep:hover i { transform: translateX(4px); }
.fx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.fx-tags li { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: var(--cream); border: 1px solid var(--border); }
.fx-tags.is-blue li { background: #EEF4FB; border-color: #D5E2F0; color: #1F4870; }

/* create: spotlight with a mini app window */
.fx-spot { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: center; padding: 30px; border-radius: 30px; background: linear-gradient(140deg, #fff 50%, var(--rose)); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.fx-spot h3 { font-size: 28px; margin: 0 0 8px; }
.fx-spot p { color: var(--muted); line-height: 1.6; }
.fx-win { border-radius: 18px; background: #fff; box-shadow: 0 24px 50px rgba(15,61,46,.18); overflow: hidden; display: grid; grid-template-columns: 1fr 42%; }
.fx-win-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: var(--pine); }
.fx-win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #F2C14E; }
.fx-win-bar i:first-child { background: #E0606F; } .fx-win-bar i:nth-child(3) { background: #5DBB8A; }
.fx-win-bar span { margin-left: 8px; color: #CFE0D6; font-size: 12px; font-weight: 700; }
.fx-win-steps { counter-reset: w; padding: 12px; display: flex; flex-direction: column; gap: 5px; }
.fx-win-steps li { counter-increment: w; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 5px 6px; border-radius: 9px; }
.fx-win-steps li::before { content: counter(w); width: 20px; height: 20px; flex: none; border-radius: 7px; background: var(--cream); font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.fx-win-steps li.done::before { content: "\2713"; background: var(--green); color: #fff; }
.fx-win-steps li.now { background: var(--rose); color: var(--cranberry); }
.fx-win-steps li.now::before { background: var(--cranberry); color: #fff; }
.fx-win-cover { position: relative; margin: 12px 12px 12px 0; }
.fx-win-cover img { width: 100%; height: auto; border-radius: 4px 9px 9px 4px; box-shadow: 0 10px 20px rgba(0,0,0,.25); display: block; }
.fx-win-cover b { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); white-space: nowrap; background: var(--gold); color: #3A2A00; font-size: 12px; padding: 3px 10px; border-radius: 99px; }
.fx-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.fx-mini { display: block; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.fx-mini:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.fx-mini h3 { font-size: 20px; margin: 12px 0 6px; }
.fx-mini p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.fx-mini-ico { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 21px; color: #fff; }
.fx-rows { margin-top: 16px; border-radius: 24px; background: #fff; border: 1px solid var(--border); }
.fx-row { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 22px; }
.fx-row + .fx-row { border-top: 1px solid var(--border); }
.fx-row h4 { font-size: 18px; margin: 2px 0 4px; }
.fx-row p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.fx-row-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--t, var(--mint)); color: var(--c, var(--green)); display: inline-flex; align-items: center; justify-content: center; font-size: 21px; }

/* classroom: quad */
.fx-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fx-qcard { --c: var(--green); --t: var(--mint); padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--border); border-bottom: 5px solid var(--c); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.fx-qcard.tone-red { --c: var(--cranberry); } .fx-qcard.tone-gold { --c: #C8961E; } .fx-qcard.tone-blue { --c: var(--blue); }
.fx-qcard:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-lift); }
.fx-q-top { display: flex; align-items: center; gap: 12px; }
.fx-q-top h3 { font-size: 21px; margin: 0; }
.fx-qcard .fx-mini-ico { background: var(--c); }
.fx-qcard.tone-gold .fx-mini-ico { color: #3A2A00; }
.fx-qcard p { color: var(--muted); margin-top: 10px; font-size: 15px; line-height: 1.55; }
.fx-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 12px; font-size: 13.5px; font-weight: 600; }
.fx-ticks li { display: flex; gap: 6px; align-items: flex-start; line-height: 1.35; }
.fx-ticks i { color: var(--c); }
.fx-qcard .fx-deep { margin-top: auto; padding-top: 14px; color: var(--c); }
.fx-qcard.tone-gold .fx-deep { color: #A6780F; }

/* sell: spec sheet */
.fx-sheet { border-radius: 24px; overflow: hidden; border: 1px solid #D5E2F0; background: #fff; }
.fx-sheet-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: center; padding: 22px 24px; }
.fx-sheet-row:nth-child(odd) { background: #F7FAFD; }
.fx-sheet-name { display: flex; gap: 14px; align-items: flex-start; }
.fx-sheet-name > i { width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 21px; }
.fx-sheet-name h3 { font-size: 20px; margin: 2px 0 4px; }
.fx-sheet-name p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.fx-sheet-row .fx-tags { margin: 0; }
.fx-licence { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-start; margin-top: 16px; padding: 18px 20px; border-radius: 20px; background: var(--gold-tint); border: 2px dashed var(--gold); }
.fx-licence > i { color: #A6780F; font-size: 22px; }
.fx-licence p { flex: 1 1 300px; color: #3E4A44; line-height: 1.55; font-size: 15px; }
.fx-licence a { color: var(--cranberry); font-weight: 600; }
.fx-licence .fx-deep { margin: 0; }
@media (max-width: 767.98px) { .fx-sheet-row { grid-template-columns: 1fr; } }

/* extras: art cards */
.fx-art-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fx-acard { display: flex; flex-direction: column; padding: 18px 18px 22px; border-radius: 24px; background: #fff; border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s; }
.fx-acard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.fx-acard-art { position: relative; height: 150px; border-radius: 16px; overflow: hidden; margin-bottom: 14px; }
.fx-acard-art > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fx-acard:hover .fx-acard-art > img:first-child { transform: scale(1.06); }
.fx-acard-art .stk { position: absolute; right: 6px; bottom: -4px; width: 86px; height: auto; filter: drop-shadow(0 6px 8px rgba(0,0,0,.35)); transition: transform .4s var(--ease); }
.fx-acard:hover .stk { transform: rotate(-8deg) translateY(-4px); }
.fx-acard h3 { font-size: 20px; margin: 0 0 6px; }
.fx-acard p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.fx-acard .fx-deep { margin-top: auto; padding-top: 12px; }
@media (max-width: 1199.98px) { .fx-art-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767.98px) { .fx-art-cards, .fx-quad, .fx-duo { grid-template-columns: 1fr; } .fx-spot { grid-template-columns: 1fr; padding: 22px 18px; } }
@media (max-width: 420px) { .fx-ticks { grid-template-columns: 1fr; } .fx-win { grid-template-columns: 1fr; } .fx-win-cover { display: none; } }

/* printing: spec board */
.fx-board { display: grid; grid-template-columns: 1fr 260px; gap: 16px; }
.fx-specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 24px; overflow: hidden; background: var(--border); border: 1px solid var(--border); }
.fx-specs div { background: #fff; padding: 18px 20px; }
.fx-specs dt { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--cranberry); display: flex; gap: 8px; align-items: center; }
.fx-specs dd { margin: 6px 0 0; color: var(--text); font-weight: 600; line-height: 1.45; }
.fx-board-side { border-radius: 24px; padding: 24px; background: var(--pine); color: #CFE0D6; display: flex; flex-direction: column; }
.fx-paper { width: 62px; height: 62px; border-radius: 18px; background: var(--gold); color: var(--pine); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 14px; }
.fx-board-side .fx-deep { color: var(--gold); margin-top: auto; padding-top: 12px; }
@media (max-width: 991.98px) { .fx-board { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .fx-specs { grid-template-columns: 1fr; } }

/* comparison table */
.fx-cmp-wrap { max-width: 980px; margin: 0 auto; border-radius: 26px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.fx-cmp { width: 100%; border-collapse: collapse; background: #fff; }
.fx-cmp th, .fx-cmp td { padding: 16px 20px; text-align: left; vertical-align: top; line-height: 1.45; }
.fx-cmp thead th { background: var(--cream); font-family: var(--font-head); font-weight: 600; color: var(--pine); font-size: 18px; }
.fx-cmp thead th.is-us { background: var(--pine); color: #fff; }
.fx-cmp tbody tr + tr th, .fx-cmp tbody tr + tr td { border-top: 1px solid var(--border); }
.fx-cmp tbody th { font-weight: 700; color: var(--pine); width: 22%; }
.fx-cmp td { color: var(--muted); }
.fx-cmp td i { color: #B8AC93; margin-right: 4px; }
.fx-cmp td.is-us { background: #F2F8F4; color: var(--text); font-weight: 600; }
.fx-cmp td.is-us i { color: var(--green); }
.fx-cmp tbody tr { transition: background-color .2s; }
.fx-cmp tbody tr:hover td:not(.is-us), .fx-cmp tbody tr:hover th { background: #FFFCF5; }
@media (max-width: 767.98px) {
  .fx-cmp thead { display: none; }
  .fx-cmp, .fx-cmp tbody, .fx-cmp tr, .fx-cmp th, .fx-cmp td { display: block; width: 100% !important; }
  .fx-cmp tr { padding: 14px 16px; }
  .fx-cmp tbody tr + tr { border-top: 1px solid var(--border); }
  .fx-cmp th, .fx-cmp td { padding: 4px 0; border: 0 !important; }
  .fx-cmp td.is-us { background: transparent; }
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.hw-hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--header-h) + 50px) 0 140px; background: radial-gradient(800px 460px at 100% 0%, rgba(242,193,78,.16), transparent 60%), linear-gradient(180deg, #0F3D2E, #0C3326); }
.hw-hero .container { z-index: 2; }
.hw-map {
  position: relative; height: 380px; max-width: 520px; margin: 0 auto; border-radius: 28px; transform: rotate(-2deg);
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.6), transparent 50%), linear-gradient(135deg, #F7ECD2, #EAD7AE);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.25), inset 0 0 60px rgba(150,110,40,.35), 0 40px 80px rgba(0,0,0,.4);
  animation: heroIn .9s .15s var(--ease) both;
}
.hw-map::before { content: ""; position: absolute; inset: 18px; border-radius: 18px; border: 2px dashed rgba(120,85,30,.35); }
.hw-path { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); }
.hw-path path { stroke-dashoffset: 400; animation: pathDraw 3s .6s var(--ease) forwards; }
@keyframes pathDraw { to { stroke-dashoffset: 0; } }
.hw-pin { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px; transform: translate(-50%, -50%); }
.hw-pin i { width: 50px; height: 50px; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); background: var(--pine); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 21px; box-shadow: 0 8px 16px rgba(0,0,0,.3); }
.hw-pin i::before { transform: rotate(45deg); }
.hw-pin b { font-size: 13px; color: #4A3712; background: rgba(255,255,255,.75); padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.hw-pin.p1 { left: 12%; top: 80%; } .hw-pin.p2 { left: 40%; top: 50%; } .hw-pin.p3 { left: 66%; top: 46%; } .hw-pin.p4 { left: 89%; top: 20%; }
.hw-pin.p2 i { background: var(--green); } .hw-pin.p3 i { background: var(--blue); }
.hw-pin.is-x i { background: var(--cranberry); animation: pulseX 2s ease-in-out infinite; }
@keyframes pulseX { 0%, 100% { box-shadow: 0 0 0 0 rgba(180,35,53,.5), 0 8px 16px rgba(0,0,0,.3); } 50% { box-shadow: 0 0 0 14px rgba(180,35,53,0), 0 8px 16px rgba(0,0,0,.3); } }
.hw-stk { position: absolute; height: auto; filter: drop-shadow(0 10px 12px rgba(0,0,0,.35)); }
.hw-stk.s1 { width: 130px; left: -30px; top: -34px; animation: floaty 7s ease-in-out infinite; }
.hw-stk.s2 { width: 96px; right: -14px; bottom: -26px; animation: floaty 8s -2s ease-in-out infinite; }
.hw-compass { position: absolute; right: 26px; top: 28px; font-size: 34px; color: rgba(120,85,30,.55); animation: spinSlow 30s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@media (max-width: 575.98px) { .hw-map { height: 280px; } .hw-pin i { width: 40px; height: 40px; font-size: 17px; } .hw-pin b { font-size: 11px; } .hw-stk.s1 { width: 90px; left: -10px; } .hw-stk.s2 { width: 70px; right: 0; } .hw-hero { padding-bottom: 100px; } }

/* zig-zag timeline */
.hw-tl { position: relative; max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 46px; --tl: 0; }
.hw-tl-line { position: absolute; left: 50%; top: 10px; bottom: 60px; width: 6px; margin-left: -3px; border-radius: 6px; background: #EDE5D6; }
.hw-tl-line span { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, var(--green), var(--gold), var(--cranberry)); transform-origin: top; transform: scaleY(var(--tl)); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tl-item:nth-child(odd) .tl-copy { order: 2; }
.tl-item::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: #fff; border: 5px solid #E3D8C3; transition: border-color .4s, transform .4s var(--ease); z-index: 1;
}
.tl-item.is-past::before { border-color: var(--cranberry); transform: scale(1.15); }
.tl-copy { position: relative; }
.tl-num { display: inline-flex; width: 46px; height: 46px; border-radius: 15px; background: var(--pine); color: #fff; font-family: var(--font-head); font-size: 22px; align-items: center; justify-content: center; box-shadow: 0 5px 0 #062019; margin-bottom: 12px; }
.tl-item:nth-child(3n) .tl-num { background: var(--cranberry); box-shadow: 0 5px 0 var(--cranberry-dark); }
.tl-item:nth-child(3n+1) .tl-num { background: var(--gold); color: #3A2A00; box-shadow: 0 5px 0 #B98A1F; }
.tl-copy h3 { font-size: clamp(23px, 1rem + 1vw, 29px); margin: 0 0 8px; }
.tl-copy h3 small { font-size: 60%; color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.tl-copy p { color: var(--muted); line-height: 1.6; font-size: 16.5px; }
.ui-card { position: relative; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: 0 2px 4px rgba(15,61,46,.04), 0 22px 44px rgba(15,61,46,.12); display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease); }
.tl-item:hover .ui-card { transform: translateY(-4px) rotate(-.5deg); }
.ui-search { padding: 10px 14px; border-radius: 12px; background: var(--cream); color: var(--muted); font-size: 14px; }
.ui-themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ui-themes span { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 12px; border: 2px solid var(--border); font-size: 13px; font-weight: 700; }
.ui-themes img { width: 32px; height: 32px; }
.ui-themes .on, .ui-story.on { border-color: var(--cranberry); background: var(--rose); }
.ui-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--cream); }
.ui-seg span { flex: 1 1 auto; text-align: center; padding: 7px 10px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ui-seg .on { background: var(--pine); color: #fff; }
.ui-lbl { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 4px 0 -4px; }
.ui-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-chips span { padding: 6px 11px; border-radius: 99px; border: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--muted); }
.ui-chips .on { background: var(--cranberry); border-color: var(--cranberry); color: #fff; }
.ui-story { padding: 10px 12px; border-radius: 12px; border: 2px solid var(--border); }
.ui-story b { display: block; font-size: 14.5px; color: var(--pine); }
.ui-story small { color: var(--muted); font-size: 12.5px; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.ui-btn { padding: 5px 10px; border-radius: 9px; background: var(--mint); color: var(--green); font-weight: 700; font-size: 12.5px; }
.ui-clue { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 12px; background: var(--cream); font-size: 14px; }
.ui-clue > i:first-child { color: #B8AC93; }
.ui-clue .n { width: 22px; height: 22px; border-radius: 7px; background: var(--pine); color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.ui-clue b { flex: 1; color: var(--pine); }
.ui-lv { font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 99px; }
.ui-lv.l1 { background: var(--mint); color: var(--green); } .ui-lv.l2 { background: var(--gold-tint); color: #A6780F; } .ui-lv.l3 { background: var(--rose); color: var(--cranberry); }
.ui-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui-form label { font-size: 12px; font-weight: 800; color: var(--pine); display: flex; flex-direction: column; gap: 4px; }
.ui-form label span { padding: 9px 11px; border-radius: 11px; border: 1.5px solid var(--border); background: var(--cream); font-weight: 600; font-size: 14px; color: var(--text); }
.ui-form label:first-child span { border-color: var(--cranberry); background: #fff; box-shadow: 0 0 0 3px rgba(180,35,53,.12); }
.ui-sum { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--font-head); font-size: 22px; color: var(--pine); padding: 10px 12px; border-radius: 14px; background: var(--gold-tint); }
.ui-sum b { width: 40px; height: 42px; border-radius: 10px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.ui-sum b.q { background: var(--gold); }
.ui-sum span { font-family: var(--font-body); font-size: 14px; font-weight: 700; }
.ui-sum span b { width: auto; height: auto; padding: 2px 8px; background: var(--green); color: #fff; font-size: 14px; }
.ui-gen { align-self: stretch; text-align: center; padding: 12px; border-radius: 14px; background: var(--cranberry); color: #fff; font-weight: 800; box-shadow: 0 5px 0 var(--cranberry-dark); margin-top: 4px; }
.ui-note { text-align: center; color: var(--muted); font-size: 12.5px; }
.tl-end { grid-template-columns: 1fr; justify-items: center; }
.tl-end::before { display: none; }
.tl-done { position: relative; z-index: 2; display: flex; gap: 18px; align-items: center; max-width: 640px; padding: 22px 26px; border-radius: 24px; background: var(--pine); color: #CFE0D6; box-shadow: 0 24px 50px rgba(15,61,46,.25); }
.tl-done h3 { color: #fff; margin: 0 0 4px; font-size: 22px; }
.tl-done p { line-height: 1.55; }
.tl-flag { width: 58px; height: 58px; flex: none; border-radius: 50%; background: var(--gold); color: var(--pine); font-size: 30px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 991.98px) {
  .hw-tl { gap: 36px; }
  .hw-tl-line { left: 22px; }
  .tl-item { grid-template-columns: 1fr; gap: 16px; padding-left: 58px; }
  .tl-item:nth-child(odd) .tl-copy { order: 0; }
  .tl-item::before { left: 22px; top: 22px; }
  .tl-end { padding-left: 0; }
  .ui-card { max-width: 460px; }
}
@media (max-width: 479.98px) { .tl-item { padding-left: 44px; } .hw-tl-line { left: 14px; } .tl-item::before { left: 14px; } .ui-form, .ui-themes { grid-template-columns: 1fr 1fr; } .ui-form { grid-template-columns: 1fr; } .tl-done { flex-direction: column; text-align: center; } }

/* lock toy */
.hw-lock { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: center; }
.lt-clues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lt-clue { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 22px; background: #FFFDF8; color: var(--text); border: 3px solid transparent; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.lt-clue.is-solved { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.lt-clue.is-solved::after { content: "\2713"; position: absolute; right: -10px; top: -10px; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--pine); font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.lt-clue.is-wrong { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.lt-tag { align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--rose); color: var(--cranberry); }
.lt-q { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--pine); line-height: 1.2; }
.lt-art { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; min-height: 64px; padding: 10px; border-radius: 14px; background: var(--cream); font-size: 22px; }
.lt-art .bi { color: var(--gold); filter: drop-shadow(0 2px 0 #B98A1F); }
.lt-art b { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 2px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 600; color: var(--pine); }
.lt-art b.q { border-style: dashed; border-color: var(--cranberry); color: var(--cranberry); }
.lt-art em { font-style: normal; color: var(--muted); }
.lt-ans { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; font-weight: 700; color: var(--muted); font-size: 14px; }
.lt-in { width: 58px; height: 58px; text-align: center; font-family: var(--font-head); font-size: 28px; font-weight: 600; color: var(--pine); border-radius: 14px; border: 3px dashed var(--cranberry); background: #fff; }
.lt-in:focus { outline: 0; border-style: solid; box-shadow: 0 0 0 5px rgba(180,35,53,.2); }
.lt-clue.is-solved .lt-in { border: 3px solid var(--green); background: var(--mint); }
.lt-lockbox { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 26px; border-radius: 26px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); text-align: center; }
.lt-padlock { position: relative; width: 120px; height: 140px; }
.lt-shackle { position: absolute; left: 22px; top: 0; width: 76px; height: 80px; border: 13px solid #C9CED1; border-bottom: 0; border-radius: 40px 40px 0 0; transition: transform .6s var(--ease); transform-origin: 85% 100%; }
.lt-body { position: absolute; left: 0; bottom: 0; width: 120px; height: 86px; border-radius: 20px; background: linear-gradient(160deg, var(--gold), #C8961E); color: var(--pine); display: flex; align-items: center; justify-content: center; font-size: 34px; box-shadow: 0 8px 0 #9C7414, 0 20px 30px rgba(0,0,0,.3); }
.hw-lock.is-open .lt-shackle { transform: translateY(-18px) rotate(-28deg); }
.hw-lock.is-open .lt-body { animation: lockPop .6s var(--ease); }
@keyframes lockPop { 50% { transform: scale(1.08) rotate(-3deg); } }
.lt-slots { display: flex; gap: 8px; }
.lt-slot { width: 54px; height: 62px; border-radius: 14px; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.3); color: rgba(255,255,255,.6); font-family: var(--font-head); font-size: 30px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; transition: background-color .3s, transform .3s var(--ease); }
.lt-slot.is-set { background: var(--gold); border-color: var(--gold); color: var(--pine); transform: translateY(-3px); }
.lt-msg { color: #CFE0D6; font-weight: 600; min-height: 48px; }
.lt-open { display: none; color: var(--gold); }
.hw-lock.is-open .lt-open { display: inline; }
.hw-lock.is-open .lt-closed { display: none; }
.lt-reset { border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 99px; padding: 7px 16px; font-weight: 700; font-size: 14px; }
.lt-reset:hover { background: rgba(255,255,255,.12); }
@media (max-width: 991.98px) { .hw-lock { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) { .lt-clues { grid-template-columns: 1fr; } .lt-clue { flex-direction: row; flex-wrap: wrap; align-items: center; } .lt-q { flex: 1 1 60%; } .lt-art { order: 3; flex: 1 1 100%; } .lt-ans { margin: 0; } }

/* setup tabs */
.hw-tab-nav { display: flex; justify-content: center; gap: 6px; padding: 6px; margin: 0 auto 30px; width: max-content; max-width: 100%; border-radius: 20px; background: var(--cream); border: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.hw-tab-nav button { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 20px; border: 0; border-radius: 15px; background: transparent; font-weight: 700; font-size: 15.5px; color: var(--muted); transition: background-color .25s, color .25s; }
.hw-tab-nav button i { color: var(--cranberry); }
.hw-tab-nav button:hover { color: var(--pine); background: #fff; }
.hw-tab-nav button.active { background: var(--pine); color: #fff; box-shadow: 0 8px 20px rgba(15,61,46,.25); }
.hw-tab-nav button.active i { color: var(--gold); }
.hw-tab-nav button:focus-visible { outline: 3px solid var(--cranberry); outline-offset: 2px; }
.hw-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: c; }
.hw-cards li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), box-shadow .3s; }
.tab-pane.active .hw-cards li { animation: cardIn .5s calc(var(--i) * 70ms) var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hw-cards li:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.hw-cards li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 42px; width: 10px; height: 10px; border-top: 3px solid #D9CDB6; border-right: 3px solid #D9CDB6; transform: rotate(45deg); }
.hw-c-num { position: absolute; right: 14px; top: 12px; font-family: var(--font-head); font-size: 34px; line-height: 1; color: #EFE7D7; }
.hw-cards li > i { width: 48px; height: 48px; border-radius: 15px; background: var(--mint); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 6px; }
.hw-cards li:nth-child(2) > i { background: var(--rose); color: var(--cranberry); }
.hw-cards li:nth-child(3) > i { background: var(--gold-tint); color: #A6780F; }
.hw-cards li:nth-child(4) > i { background: #DCE8F5; color: var(--blue); }
.hw-cards b { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--pine); }
.hw-cards small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.hw-tab-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; margin-top: 24px; }
@media (max-width: 1199.98px) { .hw-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hw-cards li::after { display: none; } }
@media (max-width: 767.98px) { .hw-cards { grid-template-columns: 1fr 1fr; } .hw-tab-nav { justify-content: flex-start; } }
@media (max-width: 420px) { .hw-cards { grid-template-columns: 1fr; } .hw-tab-nav button { padding: 8px 12px; font-size: 14.5px; } }

/* printed pages walkthrough */
.hw-walk-sec { background: linear-gradient(180deg, var(--cream), #F3EBDB); overflow: hidden; }
.hw-walk-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 32px; }
.hw-walk-head > div:first-child { max-width: 660px; }
.hw-walk-ctl { display: inline-flex; align-items: center; gap: 4px; padding: 6px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.hw-walk-ctl > span { font-weight: 800; font-size: 13px; color: var(--muted); padding: 0 10px; text-transform: uppercase; letter-spacing: .06em; }
.hw-walk-ctl button { min-width: 52px; min-height: 44px; border: 0; border-radius: 13px; background: transparent; font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--muted); }
.hw-walk-ctl button[aria-pressed="true"] { background: var(--cranberry); color: #fff; box-shadow: 0 4px 12px rgba(180,35,53,.35); }
.hw-walk-ctl button:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; }
.hw-walk { display: flex; gap: 22px; overflow-x: auto; padding: 12px max(16px, calc((100vw - 1296px) / 2)) 30px; scroll-snap-type: x proximity; scroll-padding-inline: max(16px, calc((100vw - 1296px) / 2)); scrollbar-width: thin; scrollbar-color: #D9CDB6 transparent; }
.hw-walk:focus-visible { outline: 3px solid var(--cranberry); outline-offset: -3px; }
.pw-page { flex: none; width: 178px; margin: 0; scroll-snap-align: start; }
.pw-page[hidden] { display: none; }
.pw-paper { position: relative; aspect-ratio: 8.5 / 11; border-radius: 6px; overflow: hidden; container-type: inline-size; background: linear-gradient(180deg, #FFFEFB, #FBF6EC); box-shadow: 0 2px 3px rgba(15,61,46,.08), 0 16px 30px rgba(15,61,46,.14); transition: transform .35s var(--ease), box-shadow .35s; }
.pw-paper.is-pm { aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; }
.pw-page:hover .pw-paper { transform: translateY(-6px) rotate(-1deg); }
.pw-page figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--pine); }
.pw-num { width: 24px; height: 24px; border-radius: 8px; background: var(--pine); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.pw-who { font-style: normal; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 99px; background: var(--mint); color: var(--green); }
.pw-who.is-you { background: var(--gold); color: #3A2A00; }
@media (max-width: 575.98px) { .pw-page { width: 150px; } }

/* ==========================================================================
   THEMES
   ========================================================================== */
.th-hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--header-h) + 56px) 0 140px; background: var(--pine); }
.th-wall { position: absolute; inset: -60px -40px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; transform: rotate(-8deg) scale(1.15); opacity: .55; animation: wallDrift 40s linear infinite alternate; }
.th-wall img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px 12px 12px 6px; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.th-wall img:nth-child(odd) { transform: translateY(40px); }
@keyframes wallDrift { from { translate: 0 0; } to { translate: -60px -40px; } }
.th-veil { position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% 45%, rgba(12,51,38,.92), rgba(12,51,38,.72) 60%, rgba(12,51,38,.55)); }
.th-hero .container { z-index: 2; }
.th-hero .ph-crumbs { justify-content: center; }
.th-title { color: #fff; font-size: clamp(34px, 1.4rem + 3vw, 60px); line-height: 1.05; margin: 18px auto 0; max-width: 900px; animation: heroIn .7s .05s var(--ease) both; }
.th-title span { color: var(--gold); }
.th-lead { color: #E4EEE8; font-size: 18px; line-height: 1.6; max-width: 640px; margin: 16px auto 0; animation: heroIn .7s .12s var(--ease) both; }
.th-stats { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px auto 4px; }
.th-stats li { min-width: 130px; padding: 12px 18px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.th-stats b { display: block; font-family: var(--font-head); font-size: 32px; font-weight: 600; color: var(--gold); line-height: 1.1; }
.th-stats span { font-size: 13.5px; color: #CFE0D6; font-weight: 600; }
@media (max-width: 767.98px) { .th-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); } .th-stats li { min-width: 0; flex: 1 1 40%; } .th-hero { padding-bottom: 110px; } }

/* spotlight */
.th-spot-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 30px; margin-bottom: 28px; }
.th-spot-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.th-spot-pick button { --tc: var(--pine); display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 4px 12px 4px 4px; border-radius: 99px; border: 2px solid var(--border); background: #fff; font-weight: 700; font-size: 14px; color: var(--text); transition: border-color .2s, transform .2s var(--ease); }
.th-spot-pick button img { width: 36px; height: 36px; }
.th-spot-pick button small { display: inline-block; margin-left: 4px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; padding: 2px 6px; border-radius: 99px; background: var(--gold); color: #3A2A00; }
.th-spot-pick button:hover { transform: translateY(-2px); }
.th-spot-pick button[aria-pressed="true"] { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 10%, #fff); }
.th-spot-pick button:focus-visible { outline: 3px solid var(--cranberry); outline-offset: 2px; }
.th-spot { --tc: var(--pine); position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 34px; border-radius: 32px; background: #fff; border: 1px solid var(--border); box-shadow: 0 30px 70px rgba(15,61,46,.14); overflow: hidden; }
.th-spot::before { content: ""; position: absolute; inset: 0 50% 0 0; background: linear-gradient(160deg, var(--tc), color-mix(in srgb, var(--tc) 60%, #0F3D2E)); transition: background .5s; }
.th-spot.is-swap .sp-book, .th-spot.is-swap .sp-info > * { animation: spSwap .55s var(--ease) both; }
.th-spot.is-swap .sp-info > *:nth-child(2) { animation-delay: .05s; } .th-spot.is-swap .sp-info > *:nth-child(3) { animation-delay: .1s; } .th-spot.is-swap .sp-info > *:nth-child(4) { animation-delay: .15s; }
@keyframes spSwap { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.sp-art { position: relative; height: 380px; }
.sp-glow { position: absolute; left: 10%; right: 10%; top: 10%; bottom: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(242,193,78,.45), transparent 65%); }
.sp-book { position: absolute; width: 40%; }
.sp-book span { display: block; text-align: center; margin-top: 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.sp-book.b1 { left: 2%; top: 12%; transform: rotate(-9deg); }
.sp-book.b2 { left: 30%; top: 0; z-index: 2; width: 42%; }
.sp-book.b3 { right: 2%; top: 12%; transform: rotate(9deg); }
.sp-book .book { transition: transform .4s var(--ease); }
.sp-book:hover .book { transform: translateY(-8px) scale(1.04); }
.sp-info { position: relative; }
.sp-kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cranberry); }
.sp-info h3 { font-size: clamp(30px, 1rem + 2vw, 44px); margin: 6px 0 4px; color: var(--pine); }
.sp-host { color: var(--muted); }
.sp-host b { color: var(--text); }
.sp-place { display: block; font-size: 14px; }
.sp-stories { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.sp-stories li { padding: 12px 14px; border-radius: 16px; background: var(--cream); }
.sp-stories b { display: block; color: var(--pine); font-size: 15.5px; margin-top: 4px; }
.sp-stories small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.sp-tag { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; }
.sp-funny { background: var(--gold-tint); color: #A6780F; } .sp-mystery { background: #DCE8F5; color: var(--blue); } .sp-rescue { background: var(--rose); color: var(--cranberry); }
.sp-stickers { display: flex; gap: 4px; margin-top: 16px; }
.sp-stickers img { width: 15%; max-width: 64px; height: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,.2)); transition: transform .3s var(--ease); }
.sp-stickers img:hover { transform: translateY(-6px) rotate(-8deg) scale(1.1); }
.sp-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }
.sp-btns .fx-deep { margin: 0; }
@media (max-width: 991.98px) {
  .th-spot { grid-template-columns: 1fr; padding: 0 0 24px; }
  .th-spot::before { inset: 0 0 auto 0; height: 330px; }
  .sp-art { height: 330px; max-width: 420px; width: 100%; margin: 0 auto; padding-top: 20px; }
  .sp-info { padding: 0 20px; }
}
@media (max-width: 479.98px) { .th-spot::before { height: 280px; } .sp-art { height: 280px; } .th-spot-pick button span { font-size: 13px; } }

/* calendar strip */
.th-months-sec { overflow: hidden; }
.th-cal { display: grid; grid-template-columns: repeat(12, minmax(150px, 1fr)); gap: 10px; overflow-x: auto; padding: 14px max(16px, calc((100vw - 1296px) / 2)) 22px; scroll-snap-type: x proximity; scroll-padding-inline: max(16px, calc((100vw - 1296px) / 2)); scrollbar-width: thin; scrollbar-color: #D9CDB6 transparent; }
.th-day { --tc: var(--pine); scroll-snap-align: start; }
.th-day a { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; height: 100%; padding: 0 12px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--border); color: var(--text); text-decoration: none; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.th-day a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); color: var(--text); }
.th-m { align-self: stretch; margin: 0 -12px 8px; padding: 8px 0; background: var(--tc); color: #fff; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.th-m em { font-style: normal; margin-left: 4px; padding: 1px 6px; border-radius: 99px; background: var(--gold); color: #3A2A00; font-size: 10px; }
.th-day img { width: 78px; height: 78px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.2)); transition: transform .35s var(--ease); }
.th-day a:hover img { transform: rotate(-8deg) scale(1.08); }
.th-day b { font-family: var(--font-head); font-weight: 600; color: var(--pine); font-size: 16.5px; line-height: 1.15; }
.th-day small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.th-day.is-now a { border: 3px solid var(--gold); box-shadow: 0 0 0 6px rgba(242,193,78,.25), var(--shadow-lift); }
.th-cal-note { margin-top: 12px; color: var(--muted); }
.th-cal-note i { color: var(--cranberry); margin-right: 4px; }
.th-cal-note a { color: var(--cranberry); font-weight: 700; }

/* hosts row */
.th-hosts-sec { overflow: hidden; }
.sp-hosts { display: flex; gap: 16px; overflow-x: auto; padding: 10px max(16px, calc((100vw - 1296px) / 2)) 24px; scroll-snap-type: x proximity; scroll-padding-inline: max(16px, calc((100vw - 1296px) / 2)); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
.sp-hosts li { --tc: var(--gold); flex: none; width: 128px; text-align: center; scroll-snap-align: start; }
.h-ring { display: flex; align-items: center; justify-content: center; width: 112px; height: 112px; margin: 0 auto 10px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.22), rgba(255,255,255,.05)); border: 3px solid var(--tc); box-shadow: 0 0 0 6px rgba(255,255,255,.05); transition: transform .35s var(--ease), box-shadow .35s; }
.h-ring img { width: 86px; height: 86px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.35)); }
.sp-hosts li:hover .h-ring { transform: translateY(-6px) rotate(-6deg); box-shadow: 0 0 0 8px rgba(242,193,78,.25), 0 16px 30px rgba(0,0,0,.3); }
.sp-hosts b { display: block; color: #fff; font-size: 14.5px; line-height: 1.2; }
.sp-hosts small { display: block; color: #A9C8B8; font-size: 12.5px; margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  .sx-blobs span, .th-wall, .sx-mq-row, .fx-tile, .hw-compass, .hw-pin.is-x i, .sx-ticket::before, .mc-host, .sx-vt-stk, .sx-ticket-stub img, .hw-stk { animation: none !important; }
  .hw-path path { animation: none; stroke-dashoffset: 0; }
  .sx-mq-row { flex-wrap: wrap; width: auto; }
  .sx-mq-track[aria-hidden="true"] { display: none; }
  .sx-mq-track { flex-wrap: wrap; justify-content: center; }
  .reveal-ready .sx-explode:not(.is-visible) .ex-pg { transform: rotate(var(--r, 0deg)); opacity: 1; }
  .sx-st-dot { transform: none; opacity: 1; }
  .sx-stepper::after { transform: none; }
}
.fx-shot { margin: -8px -8px 16px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--cream); border: 1px solid var(--border); box-shadow: 0 10px 24px rgba(15,61,46,.12); }
.fx-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s var(--ease); }
.fx-qcard:hover .fx-shot img { transform: scale(1.04); }
