@charset "UTF-8";
/* Lucas Academy — marketing site. BRIGHT theme.
   "Lucas = lux = light": a warm, luminous, daylight palette. Clean white
   surfaces, generous whitespace, bold modern sans, soft shadows, and a
   playful multi-color accent set — one hue per "way to learn".
   Inspired by (not copied from) bright kid-ed sites. iPad-first: >=16px text,
   big touch targets, no hover-only UI, zero external requests. */

:root {
  /* surfaces — warm daylight */
  --bg: #fffdf8;          /* warm near-white page */
  --bg-2: #fff6e9;        /* soft warm band for alt sections */
  --surface: #ffffff;     /* cards */
  --line: #efe7da;        /* hairline border (warm) */

  /* ink */
  --ink: #1f1a33;         /* near-black, violet undertone */
  --ink-soft: #443c63;
  --muted: #756e8e;

  /* brand + discipline accents (playful, high-saturation) */
  --gold: #f5a623;        /* the 💡 light — primary brand accent */
  --gold-ink: #a4650a;    /* gold readable as text on white */
  --violet: #7c5cff;      /* Games */
  --teal: #0bb3a2;        /* Coding / thinking */
  --pink: #ff5d8f;        /* Art */
  --blue: #3b82f6;        /* More subjects */
  --good: #16a34a;
  --bad: #e11d48;

  --radius: 16px;
  --shadow: 0 12px 32px rgba(31,26,51,.08), 0 2px 8px rgba(31,26,51,.05);
  --shadow-sm: 0 4px 14px rgba(31,26,51,.07);
  --maxw: 1080px;
  font-size: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* sunrise: soft warm light pooling at the top */
  background-image:
    radial-gradient(70vw 36vw at 50% -8%, #ffe3a866, transparent 70%),
    radial-gradient(40vw 30vw at 100% 0%, #ffd2e433, transparent 70%),
    radial-gradient(40vw 30vw at 0% 4%, #e7deff40, transparent 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

code, pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
a { color: var(--gold-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.2rem; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.accent { color: var(--gold-ink); }

section { padding: clamp(2.6rem, 6vw, 5rem) 0; }
section.tight { padding: clamp(1.6rem, 4vw, 2.8rem) 0; }
section.band { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .82);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-bar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand .logo { font-size: 1.7rem; filter: drop-shadow(0 2px 6px #f5a62366); line-height: 1; }
.brand .wordmark { font-size: 1.15rem; letter-spacing: .01em; font-weight: 800; color: var(--ink); }
.brand .wordmark b { color: var(--gold-ink); font-weight: 800; }
.brand .tagline { font-size: .68rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; margin-left: auto; }
.site-nav a { color: var(--ink-soft); padding: .5rem .7rem; border-radius: 999px; font-size: .96rem; }
.site-nav a:hover { color: var(--gold-ink); text-decoration: none; background: #f7eede; }
.site-nav a.current { color: var(--gold-ink); background: #f7eede; }
select.lang {
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; padding: .4rem .55rem; font-size: .95rem; cursor: pointer; min-height: 40px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: none; border-radius: 12px; padding: .8rem 1.4rem; min-height: 48px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  background: linear-gradient(180deg, #ffc24d, #f5a623); color: #3a2400;
  box-shadow: 0 8px 20px #f5a62340;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 26px #f5a62355; }
.btn.secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn.secondary:hover { border-color: var(--gold); color: var(--gold-ink); }
.btn.ghost { background: transparent; color: var(--gold-ink); border: 1.5px solid var(--gold); box-shadow: none; }
.btnrow { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ---------- type ---------- */
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: var(--gold-ink); font-weight: 800; margin: 0 0 .6rem; }
h1, h2, h3 { line-height: 1.16; margin: 0 0 .6rem; color: var(--ink); letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
h2.section-title { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--ink-soft); max-width: 62ch; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(2.6rem, 7vw, 5.5rem); }
.hero .lead { margin: 1rem auto 1.7rem; }
.hero.center .lead { margin-inline: auto; }
.hero .btnrow { justify-content: center; }
/* gradient-ink accent for hero emphasis words */
.accent-grad {
  background: linear-gradient(120deg, #f5a623, #ff5d8f 55%, #7c5cff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- philosophy / "how we teach" block ---------- */
.philosophy {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.6rem, 4vw, 2.6rem);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem); line-height: 1.5; color: var(--ink);
}
.philosophy .spark { color: var(--gold-ink); font-weight: 700; }

/* ---------- cards / grids ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.12rem; }
.card p { margin: .35rem 0 0; color: var(--ink-soft); }

/* ---------- "ways to learn" doors (one color per discipline) ---------- */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.door {
  display: flex; flex-direction: column; gap: .5rem;
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--muted);
  border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm);
  min-height: 13rem;
}
.door:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.door .picon { font-size: 2.1rem; line-height: 1; }
.door .verb { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.door h3 { margin: 0; font-size: 1.18rem; }
.door .ddesc { flex: 1; color: var(--ink-soft); }
.door.games { border-top-color: var(--violet); } .door.games .verb { color: var(--violet); }
.door.coding { border-top-color: var(--teal); }  .door.coding .verb { color: var(--teal); }
.door.art { border-top-color: var(--pink); }      .door.art .verb { color: var(--pink); }
.door.more { border-top-color: var(--blue); }      .door.more .verb { color: var(--blue); }
.door.schools { border-top-color: var(--gold); }   .door.schools .verb { color: var(--gold-ink); }

.badge {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: .22rem .6rem; border-radius: 999px; border: 1px solid var(--line);
}
.badge.live { color: var(--good); background: #e9f9ef; border-color: #bfe9cd; }
.badge.soon { color: var(--muted); background: #f4f1fa; border-style: dashed; }
.badge.new { color: var(--pink); background: #ffeef4; border-color: #ffc9da; }
.badge.free { color: var(--gold-ink); background: #fff3da; border-color: #ffdf9e; }

/* pillars / arc steps */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.1rem; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; text-align: center; box-shadow: var(--shadow-sm); }
.pillar .pic { font-size: 1.9rem; }
.pillar b { display: block; margin-top: .35rem; color: var(--ink); }

/* banner / quote */
.banner {
  background: linear-gradient(135deg, #fff1d6, #ffe3ee 55%, #ece6ff);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: clamp(1.3rem, 3.5vw, 2.2rem); text-align: center; font-size: 1.1rem; color: var(--ink);
}
.banner h3 { font-size: 1.35rem; }
blockquote {
  border-left: 4px solid var(--gold); margin: 1rem 0; padding: .5rem 1.1rem;
  background: var(--bg-2); border-radius: 0 10px 10px 0; color: var(--ink); font-size: 1.15rem; font-weight: 600;
}

/* tick / cross lists */
.ticks, .crosses { list-style: none; padding: 0; margin: .6rem 0; display: grid; gap: .55rem; }
.ticks li, .crosses li { padding-left: 1.9rem; position: relative; color: var(--ink-soft); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.crosses li::before { content: "✕"; position: absolute; left: 0; color: var(--bad); font-weight: 800; }

/* the 7-floor tower table */
.floors { width: 100%; border-collapse: collapse; }
.floors th, .floors td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.floors th { color: var(--muted); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.floors .fl { color: var(--gold-ink); font-weight: 800; white-space: nowrap; }
.floors .fw { font-weight: 700; color: var(--ink); }

/* arc / step flow */
.steps { display: flex; flex-wrap: wrap; gap: .55rem; }
.steps .step { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .95rem; font-size: .95rem; box-shadow: var(--shadow-sm); }
.steps .step b { color: var(--gold-ink); }

.stack > * + * { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; align-items: start; }

/* ---------- footer ---------- */
footer.site { margin-top: auto; border-top: 1px solid var(--line); background: var(--bg-2); }
footer.site .foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.6rem; padding: 2.4rem 0 1.4rem; }
footer.site h4 { color: var(--ink); font-size: .95rem; margin: 0 0 .6rem; }
footer.site a { color: var(--muted); display: block; padding: .2rem 0; }
footer.site a:hover { color: var(--gold-ink); }
footer.site .foot-brand .logo { font-size: 1.5rem; filter: drop-shadow(0 2px 6px #f5a62366); }
footer.site .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; color: var(--muted); font-size: .82rem; padding: 1rem 0 1.6rem; border-top: 1px solid var(--line); }
footer.site .legal b { color: var(--gold-ink); }

/* ---------- art gallery (masonry + lightbox) ---------- */
.art-grid { column-count: 3; column-gap: 1rem; }
.art-grid img {
  width: 100%; margin: 0 0 1rem; display: block; border-radius: 12px;
  background: var(--surface); box-shadow: var(--shadow-sm); cursor: zoom-in;
  break-inside: avoid; transition: transform .15s ease, box-shadow .15s ease;
}
.art-grid img:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

#lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 4vmin;
  background: rgba(20,16,30,.86); backdrop-filter: blur(4px); cursor: zoom-out;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 100%; max-height: 92vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
#lightbox .lb-close { position: absolute; top: .8rem; right: 1.2rem; font-size: 2.2rem; color: #fff; line-height: 1; cursor: pointer; }

/* art class page: scene blocks + masterwork reference cards */
.scene { border-left: 4px solid var(--gold); padding: .2rem 0 .2rem 1.1rem; margin: 1.2rem 0; }
.scene .scene-eyebrow { color: var(--gold-ink); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.ref .meta { color: var(--muted); font-size: .9rem; margin: .15rem 0 .4rem; }
.ref a { font-weight: 700; }

/* ---------- narrow screens (iPad portrait / phone) ---------- */
@media (max-width: 760px) {
  .site-bar { gap: .5rem; }
  .brand .tagline { display: none; }
  .site-nav { width: 100%; margin-left: 0; overflow-x: auto; }
  footer.site .foot { grid-template-columns: 1fr; gap: 1.1rem; }
  .art-grid { column-count: 2; column-gap: .6rem; }
}

/* ============================================================
   SCRIPTURE — the faith "spine" on the Snake-Lab page.
   Works on bright surfaces and (with .on-dark) on dark ones.
   ============================================================ */
.scripture {
  border-left: 4px solid var(--gold);
  background: linear-gradient(135deg, #fff7e6, #fff1f5 60%, #f1ecff);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: clamp(1.1rem, 3vw, 1.8rem) clamp(1.2rem, 3.4vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.verse { font-size: clamp(1.15rem, 2.6vw, 1.55rem); line-height: 1.5; color: var(--ink); font-weight: 600; margin: 0; }
.verse + .verse { margin-top: .9rem; }
.verse-ref { display: block; margin-top: .5rem; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.scripture.on-dark { background: rgba(245,166,35,.08); border-left-color: var(--gold); }
.scripture.on-dark .verse { color: #f4f1ff; }
.scripture.on-dark .verse-ref { color: #ffd27a; }

/* a full-bleed dark band, for the closing "spine" callback */
section.night { background: #0c0c18; color: #e7e9f5; border-block: 1px solid #20254a; }
section.night h1, section.night h2, section.night h3 { color: #fff; }
section.night .lead, section.night .muted { color: #aab0d6; }
section.night a:not(.btn) { color: #ffd27a; }  /* keep .btn's own dark-on-gold text */

/* ============================================================
   SLIDE SYSTEM — faithful HTML reproductions of the camp decks.
   A .slide is a 16:9 frame; ALL inner text is sized in `cqw`
   (1cqw = 1% of the slide's own width) so it scales like a real
   slide at any size. Per-lesson hue comes from --s-accent.
   Source palette: bright #F3F4F9 · code #12152E · dark #0C0C18.
   ============================================================ */
.slide {
  --s-accent: #15803D;            /* default = L1 green; overridden per slide */
  --s-canvas: #f3f4f9;
  --s-ink: #1b2030;
  --s-muted: #5b6178;
  position: relative;
  container-type: inline-size;    /* enables cqw units for descendants */
  aspect-ratio: 16 / 10;          /* near-16:9 but a touch more room for dense slides */
  background: var(--s-canvas);
  color: var(--s-ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.slide.dark {
  --s-canvas: #0c0c18;
  --s-ink: #e7e9f5;
  --s-muted: #9aa0c8;
  border-color: #20254a;
}
/* per-lesson accents (camp deck colors) */
.s-green  { --s-accent: #15803D; }
.s-blue   { --s-accent: #2563EB; }
.s-rust   { --s-accent: #B5500F; }
.s-violet { --s-accent: #7C3AED; }
.s-red    { --s-accent: #EF4444; }
.s-gold   { --s-accent: #F5A623; }

.slide-pad { display: flex; flex-direction: column; height: 100%; padding: 3.6cqw 5cqw 3cqw; }

/* header: accent bar + (eyebrow / title), with a timer chip top-right */
.slide-head { display: flex; gap: 2.4cqw; }
.slide-head .bar { flex: 0 0 auto; width: 0.9cqw; border-radius: 1cqw; background: var(--s-accent); align-self: stretch; }
.slide-eyebrow { font-size: 1.5cqw; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--s-accent); margin: .4cqw 0 .8cqw; }
.slide-title { font-size: 3.45cqw; font-weight: 800; line-height: 1.1; margin: 0; color: var(--s-ink); letter-spacing: -.01em; }
.slide-timer {
  position: absolute; top: 3.6cqw; right: 5cqw;
  font-size: 1.55cqw; font-weight: 700; color: var(--s-accent);
  background: #fff; border: 1.5px solid var(--s-accent); border-radius: 999px; padding: 1cqw 2.2cqw;
}
.slide.dark .slide-timer { background: #141733; }

.slide-body { font-size: 1.8cqw; line-height: 1.45; color: var(--s-ink); margin: 0; }
.slide-label { font-size: 1.4cqw; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--s-accent); margin: 0 0 1cqw; }
.slide-cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3cqw; align-items: start; margin-top: 2.2cqw; }

.slide-bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 1cqw; }
.slide-bullets li { position: relative; padding-left: 2.6cqw; font-size: 1.8cqw; line-height: 1.35; color: var(--s-ink); }
.slide-bullets li::before { content: "•"; position: absolute; left: .4cqw; color: var(--s-accent); font-weight: 800; }
.slide-bullets li.hi { color: var(--s-accent); font-weight: 800; }

/* dark code panel with a colored "filename" tab */
.code-panel { position: relative; background: #12152e; border-radius: 1.6cqw; padding: 3.6cqw 3.4cqw 3cqw; margin-top: 2.6cqw; }
.code-tab { position: absolute; top: -2.6cqw; left: 0; background: var(--s-accent); color: #fff; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 1.7cqw; font-weight: 700; padding: 1cqw 2.4cqw; border-radius: 1cqw 1cqw 1cqw 0; }
.code-panel pre { margin: 0; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 1.72cqw; line-height: 1.45; color: #dfe3f5; white-space: pre; overflow: auto; }
.code-panel .cmt { color: #6f76a3; }
.code-panel .ok { color: #6ee7a8; }

/* bottom "takeaway" callout (💡) */
.slide-takeaway {
  margin-top: auto; display: flex; gap: 1.4cqw; align-items: center;
  background: #eaedf6; border: 1.5px solid var(--s-accent); border-radius: 1.6cqw;
  padding: 1.9cqw 2.6cqw; font-size: 1.72cqw; font-weight: 700; line-height: 1.35; color: var(--s-ink);
}
.slide.dark .slide-takeaway { background: #141733; }
.slide-takeaway .ico { font-size: 2.3cqw; flex: 0 0 auto; }

/* full-width highlight strip (e.g. "YOUR TURN") */
.slide-strip { background: var(--s-accent); color: #fff; border-radius: 1.6cqw; padding: 2.6cqw 3cqw; margin-top: 3cqw; }
.slide-strip .k { font-size: 1.4cqw; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.slide-strip .v { font-size: 2.5cqw; font-weight: 800; margin-top: .6cqw; }

/* big centered "reveal" pill (slide 30) */
.slide-reveal { align-self: center; margin: auto 0; background: var(--s-accent); color: #fff; font-size: 3.4cqw; font-weight: 800; padding: 2.6cqw 5cqw; border-radius: 999px; box-shadow: 0 2cqw 4cqw rgba(124,92,255,.35); }

/* round lesson chip (e.g. "L5") */
.slide-chip { display: inline-flex; align-items: center; justify-content: center; width: 9cqw; height: 9cqw; border-radius: 999px; background: var(--s-accent); color: #fff; font-size: 3.6cqw; font-weight: 800; }

/* numbered rows (Secret-Lesson concept list / "the parts") */
.srows { display: grid; gap: 1cqw; margin: 0; padding: 0; list-style: none; }
.srow { display: flex; align-items: center; gap: 2.4cqw; background: #fff; border: 1.5px solid var(--line); border-radius: 1.4cqw; padding: 1.5cqw 2.4cqw; }
.slide.dark .srow { background: #1b1e3d; border-color: var(--s-accent); }
.srow .n { color: var(--s-accent); font-weight: 800; font-size: 1.9cqw; min-width: 2.4cqw; }
.srow .lab { font-weight: 800; font-size: 1.9cqw; color: var(--s-ink); }
.srow .desc { margin-left: auto; font-size: 1.7cqw; color: var(--s-muted); text-align: right; }

/* generic 2-card row inside a slide (slide 43) */
.scards { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin-top: 1cqw; }
.scard { border: 1.5px solid var(--s-accent); border-radius: 1.8cqw; padding: 3cqw; background: rgba(255,255,255,.02); }
.scard h4 { font-size: 2.4cqw; margin: 0 0 1.4cqw; color: var(--s-accent); }
.scard p { font-size: 1.8cqw; line-height: 1.45; margin: 0; color: var(--s-ink); }

/* footer line of every slide */
.slide-foot { margin-top: 1.8cqw; padding-top: 1.1cqw; border-top: 1px solid color-mix(in srgb, var(--s-ink) 14%, transparent); display: flex; justify-content: space-between; font-size: 1.3cqw; color: var(--s-muted); }

/* slide grows taller on phones so dense slides stay legible */
@media (max-width: 600px) { .slide { aspect-ratio: 2 / 3; } }
/* when a slide is physically narrow, enlarge text + stack columns */
@container (max-width: 560px) {
  .slide-pad { padding: 6cqw; }
  .slide-cols, .scards, .scards { grid-template-columns: 1fr; gap: 4cqw; }
  .slide-title { font-size: 6.6cqw; }
  .slide-eyebrow { font-size: 2.8cqw; }
  .slide-timer { font-size: 2.7cqw; }
  .slide-body, .slide-bullets li { font-size: 3.6cqw; }
  .slide-label { font-size: 2.7cqw; }
  .code-panel pre { font-size: 3.2cqw; } .code-tab { font-size: 3cqw; top: -4cqw; }
  .slide-takeaway { font-size: 3.4cqw; } .slide-takeaway .ico { font-size: 4.4cqw; }
  .srow .lab, .srow .n { font-size: 3.6cqw; } .srow .desc { font-size: 3cqw; }
  .scard h4 { font-size: 4.4cqw; } .scard p { font-size: 3.4cqw; }
  .slide-strip .v { font-size: 4.4cqw; } .slide-reveal { font-size: 5.2cqw; }
  .slide-foot { font-size: 2.4cqw; }
}

/* ============================================================
   DECK — swipeable showcase that shows ONE slide at a time.
   Controlled by assets/deck.js (arrows, dots, keyboard, swipe).
   ============================================================ */
.deck { max-width: 1000px; margin: 0 auto; }
.deck-stage { position: relative; aspect-ratio: 16 / 10; }
@media (max-width: 600px) { .deck-stage { aspect-ratio: 2 / 3; } }
.deck-stage .slide { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; opacity: 0; visibility: hidden; transition: opacity .35s ease; }
.deck-stage .slide.active { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .deck-stage .slide { transition: none; } }

.deck-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.deck-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  font-size: 1.3rem; box-shadow: var(--shadow-sm);
}
.deck-arrow:hover { border-color: var(--teal); color: var(--teal); }
.deck-arrow:disabled { opacity: .4; cursor: default; }
.deck-dots { display: flex; align-items: center; gap: .5rem; }
.deck-dots button { width: 10px; height: 10px; padding: 0; border: none; border-radius: 999px; background: #d7d2e6; cursor: pointer; transition: width .2s, background .2s; }
.deck-dots button.active { width: 26px; background: var(--teal); }
.deck-count { min-width: 4.5ch; text-align: center; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9rem; font-weight: 700; }
.deck-cap { text-align: center; color: var(--muted); font-size: .92rem; margin: .7rem 0 0; }

/* ---- slide-specific helpers (a few signature slides need these) ---- */
/* phone-call diagram (slide 13) */
.devrow { display: flex; gap: 2cqw; justify-content: center; margin-bottom: 2.4cqw; }
.dev { flex: 1; text-align: center; background: #fff; border: 1.5px solid var(--s-accent); border-radius: 1.2cqw; padding: 1.8cqw .6cqw; font-size: 1.7cqw; font-weight: 700; color: var(--s-ink); }
.dev .i { display: block; font-size: 2.4cqw; }
.server { background: var(--s-accent); color: #fff; border-radius: 1.2cqw; padding: 2.2cqw; text-align: center; font-weight: 800; font-size: 2.4cqw; }
.server small { display: block; font-weight: 500; font-style: italic; font-size: 1.5cqw; opacity: .92; }
/* reward cards (slide 33) */
.rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; }
.rwd { background: #fff; border: 1.5px solid; border-radius: 1.4cqw; padding: 2.2cqw; text-align: center; }
.rwd .amt { font-size: 3.8cqw; font-weight: 800; line-height: 1; }
.rwd .when { font-size: 1.6cqw; color: var(--s-muted); }
.rwd.good { border-color: #16a34a; } .rwd.good .amt { color: #16a34a; }
.rwd.bad { border-color: #e11d48; } .rwd.bad .amt { color: #e11d48; }
/* side note box (slide 28) */
.slide-note { border: 1.5px solid var(--s-accent); border-radius: 1.6cqw; padding: 2.6cqw 3cqw; }
.slide-note .slide-label { margin-bottom: 1.4cqw; }
/* big-idea / quote band (slides 30 + 31) — light by default, dark on dark slides */
.slide-band { background: #eaedf6; border: 1.5px solid var(--s-accent); border-radius: 1.6cqw; padding: 2.1cqw 2.8cqw; font-size: 1.78cqw; line-height: 1.4; color: var(--s-ink); margin-bottom: 2.2cqw; }
.slide.dark .slide-band { background: #141733; }
.slide-band b { color: var(--s-accent); }
.srow .desc.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--s-accent); }
/* secret-lesson teaser pills (secret deck p1) */
.spills { display: flex; flex-wrap: wrap; gap: 2cqw; justify-content: center; margin-top: 3cqw; }
.spill { border: 1.5px solid var(--s-accent); border-radius: 999px; padding: 1.6cqw 2.8cqw; font-size: 1.8cqw; font-weight: 800; color: var(--s-ink); background: #1b1e3d; }
.spill .n { color: var(--s-accent); margin-right: .8cqw; }
@container (max-width: 560px) {
  .dev, .server small { font-size: 3cqw; } .server { font-size: 4cqw; }
  .rwd .amt { font-size: 7cqw; } .slide-band { font-size: 3.4cqw; }
  .spill { font-size: 3.2cqw; } .slide-chip { width: 14cqw; height: 14cqw; font-size: 6cqw; }
}
