/* ───────── Local display face (matches landing page) ───────── */
@font-face {
  font-family: "GC Akihiko Demo";
  src: url("./assets/fonts/gc-akihiko-demo-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ───────── Kylon brand tokens ───────── */
:root {
  /* core */
  --green:       #045C45;
  --green-deep:  #023B2C;
  --yellow:      #F4FF7F;
  --pink:        #FFCCE6;
  --mint:        #DDF9F2;
  --mint-deep:   #027864;
  --sand:        #D1D9BC;

  --cream:       #FAFBF8;
  --cream-warm:  #F3F5EF;
  --ink:         #090E00;
  --ink-2:       #1B2110;
  --muted:       #535353;
  --quiet:       #838383;
  --line:        rgba(9,14,0,0.10);
  --line-soft:   rgba(9,14,0,0.06);

  /* type */
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "GC Akihiko Demo", "Fraunces", Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* scale (1920x1080) */
  --t-hero: 168px;
  --t-title: 96px;
  --t-h1: 72px;
  --t-h2: 56px;
  --t-h3: 40px;
  --t-lead: 32px;
  --t-body: 26px;
  --t-small: 24px;
  --t-eyebrow: 24px;

  /* spacing */
  --pad-x: 120px;
  --pad-y: 96px;
  --gap: 32px;
  --gap-lg: 56px;
  --gap-xl: 88px;

  --r-card: 24px;
  --r-pill: 9999px;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: #2B3328; }

/* ───────── Stage scaffolding ───────── */
deck-stage section {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.4;
  overflow: hidden;
  position: relative;
}

/* ───────── Reusable primitives ───────── */
.pad {
  position: absolute;
  inset: 0;
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
}
.chrome {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--t-small);
  color: var(--quiet);
  letter-spacing: 0.02em;
}
.chrome--dark { color: rgba(255,255,255,0.55); }
.chrome img.logo-dark { height: 72px; width: auto; display: block; }
.chrome img.logo-light { height: 72px; width: auto; display: block; }
.chrome .mark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: inherit;
}
.chrome .mark img { width: 44px; height: 44px; border-radius: 10px; display:block; }
.chrome .mark span {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--green);
  line-height: 1;
  font-weight: 500;
}
.chrome--dark .mark span { color: var(--yellow); }
.chrome .meta { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.eyebrow--bare::before { display: none; }

h1, h2, h3, h4, p { margin: 0; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--t-title);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.display em {
  font-style: italic;
  color: var(--green);
  font-weight: 400;
}
.h1 { font-family: var(--font-display); font-size: var(--t-h1); font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.h2 { font-family: var(--font-display); font-size: var(--t-h2); font-weight: 400; line-height: 1.02; letter-spacing: -0.015em; }
.h3 { font-size: var(--t-h3); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.lead { font-size: var(--t-lead); line-height: 1.32; color: var(--muted); text-wrap: pretty; font-weight: 400; }
.body { font-size: var(--t-body); line-height: 1.5; color: var(--muted); text-wrap: pretty; }

.mono { font-family: var(--font-mono); font-size: var(--t-small); letter-spacing: 0.02em; color: var(--quiet); }

/* color invert */
.on-green { background: var(--green); color: var(--cream); }
.on-green .eyebrow { color: var(--yellow); }
.on-green .display, .on-green .h1, .on-green .h2 { color: var(--cream); }
.on-green .lead, .on-green .body { color: rgba(255,255,255,0.74); }
.on-green .mono { color: rgba(255,255,255,0.55); }

.on-yellow { background: var(--yellow); color: var(--ink); }
.on-pink   { background: var(--pink);   color: var(--ink); }
.on-mint   { background: var(--mint);   color: var(--mint-deep); }
.on-cream-warm { background: var(--cream-warm); }

/* placeholder image — striped, with mono label */
.ph {
  position: relative;
  background: var(--cream-warm);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 22px,
    rgba(9,14,0,0.04) 22px 23px
  );
}
.ph[data-label]::after {
  content: attr(data-label);
  position: absolute;
  left: 24px;
  top: 20px;
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--quiet);
  text-transform: uppercase;
}
.ph img { width: 100%; height: 100%; object-fit: cover; display:block; }

/* footnote bar at very bottom of slide */
.footer {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 56px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--t-small);
  color: var(--quiet);
}
.footer--dark { color: rgba(255,255,255,0.5); }

/* ───────────────── LAYOUT 01b — alt cover (giant pinwheel) ───────────────── */
.alt-cover { background: var(--green); color: var(--yellow); overflow: hidden; }
.alt-cover .giant-pinwheel {
  position: absolute;
  width: 1700px;
  height: 1700px;
  right: -540px;
  top: -340px;
  pointer-events: none;
}
.alt-cover .corner-label {
  position: absolute;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  color: var(--yellow);
}
.alt-cover .corner-label.tl { left: 80px; top: 80px; }
.alt-cover .corner-label.tr { right: 80px; top: 80px; text-align: right; }
.alt-cover .corner-label.br { right: 80px; bottom: 80px; text-align: right; }
.alt-cover .big-wordmark {
  position: absolute;
  left: 80px;
  bottom: 60px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 220px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--yellow);
}

/* ───────────────── LAYOUT 01 — cover ───────────────── */
.cover { background: var(--green); color: var(--cream); }
.cover .pad { padding: var(--pad-y) var(--pad-x); justify-content: space-between; }
.cover-mark {
  display: inline-flex;
  align-items: center;
}
.cover-mark img { height: 96px; width: auto; display: block; }
.cover h1 {
  font-family: var(--font-display);
  font-size: 156px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--yellow);
  max-width: 14ch;
  margin: 0;
}
.cover h1 em { font-style: italic; color: var(--pink); }
.cover-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--gap-lg);
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  font-size: var(--t-small);
}
.cover-meta .who { color: var(--cream); }
.cover-pinwheel-bg {
  position: absolute;
  right: -180px;
  top: -180px;
  width: 900px;
  height: 900px;
  opacity: 0.06;
  pointer-events: none;
}

/* ───────────────── LAYOUT 02 — TOC ───────────────── */
.toc-grid {
  position: absolute;
  inset: 200px var(--pad-x) 160px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--gap-xl);
  align-items: start;
}
.toc-label { color: var(--quiet); font-family: var(--font-mono); font-size: var(--t-small); }
.toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.toc-list li {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: baseline;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.toc-list li:last-child { border-bottom: 1px solid var(--line); }
.toc-list .num {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--quiet);
  font-feature-settings: "tnum";
}
.toc-list .pages {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--quiet);
}
.toc-list li.active { color: var(--green); }
.toc-list li.active .num { color: var(--green); }

/* ───────────────── LAYOUT 03 — section divider ───────────────── */
.section {
  background: var(--green);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.section .left { padding: var(--pad-y) var(--pad-x); display: flex; flex-direction: column; justify-content: space-between; }
.section .right {
  position: relative;
  background: var(--green-deep);
  overflow: hidden;
}
.section-num {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--yellow);
  letter-spacing: 0.12em;
}
.section h2 {
  font-family: var(--font-display);
  font-size: 132px;
  line-height: 0.95;
  font-weight: 400;
  color: var(--yellow);
  letter-spacing: -0.03em;
  max-width: 12ch;
}
.section h2 em { font-style: italic; color: var(--pink); }
.section .right .pinwheel-large {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
  height: 560px;
}
.section .right .dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(255,255,255,0.07) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: 0.7;
}
.section .preview-list {
  font-family: var(--font-mono);
  font-size: var(--t-small);
  color: rgba(255,255,255,0.6);
  display: grid;
  gap: 14px;
}
.section .preview-list b { color: var(--cream); font-weight: 500; margin-right: 12px; font-variant-numeric: tabular-nums; }

/* ───────────────── LAYOUT 04 — statement (text only, big) ───────────────── */
.statement .pad { justify-content: flex-start; padding-top: 200px; }
.statement-quote-block { max-width: 1500px; }

/* ───────────────── LAYOUT 05 — two-column text ───────────────── */
.two-col {
  position: absolute;
  inset: 200px var(--pad-x) 160px var(--pad-x);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--gap-xl);
}
.two-col h2 { max-width: 12ch; }
.two-col .copy { display: grid; gap: 32px; align-content: start; }
.two-col .copy p { max-width: 36ch; }
.two-col .copy .lead { font-size: var(--t-lead); }

/* ───────────────── LAYOUT 06 — bulleted list ───────────────── */
.bullets {
  position: absolute;
  inset: 200px var(--pad-x) 150px var(--pad-x);
}
.bullets .head { max-width: 22ch; margin-bottom: 40px; }
.bullets .head h2 { font-size: 56px; line-height: 1.05; max-width: 18ch; margin-top: 20px; }
.bullets ol {
  list-style: none;
  padding: 0; margin: 0;
}
.bullets ol li {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: baseline;
  gap: 32px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.bullets ol li:last-child { border-bottom: 1px solid var(--line); }
.bullets ol .idx {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--green);
  font-feature-settings: "tnum";
}
.bullets ol .bul-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.1;
}
.bullets ol .bul-desc {
  font-size: 24px;
  color: var(--muted);
  max-width: 76ch;
  line-height: 1.3;
}

/* ───────────────── LAYOUT 07 — three-up cards ───────────────── */
.threeup {
  position: absolute;
  inset: 200px var(--pad-x) 160px var(--pad-x);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--gap-xl);
}
.threeup .head h2 { max-width: 20ch; font-size: 64px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  position: relative;
  padding: 44px 40px;
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
}
.card .num {
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.1em;
  color: inherit;
  opacity: 0.55;
}
.card h3 { font-size: 36px; margin-bottom: 16px; line-height: 1.1; }
.card p { font-size: var(--t-body); line-height: 1.45; opacity: 0.85; }
.card--green { background: var(--green); color: var(--cream); }
.card--pink  { background: var(--pink);  color: var(--ink); }
.card--mint  { background: var(--mint);  color: var(--mint-deep); }
.card--yellow{ background: var(--yellow);color: var(--ink); }
.card--outline { background: var(--cream); border: 1px solid var(--line); }

/* ───────────────── LAYOUT 08 — headline + image (split) ───────────────── */
.split { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.split .left { padding: var(--pad-y) 64px var(--pad-y) var(--pad-x); display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.split .left h2 { max-width: 14ch; }
.split .left .body { max-width: 38ch; }
.split .right { padding: 32px 32px 32px 0; }
.split .right .ph { width: 100%; height: 100%; border-radius: var(--r-card); }
.split .meta-row {
  display: flex; gap: 32px;
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--quiet);
}
.split .meta-row b { color: var(--ink); font-weight: 500; margin-right: 8px; }

/* ───────────────── LAYOUT 09 — full bleed image ───────────────── */
.fullbleed { background: var(--ink); }
.fullbleed .image {
  position: absolute; inset: 0;
  background: var(--green-deep);
  overflow: hidden;
}
.fullbleed .image img { width: 100%; height: 100%; object-fit: cover; }
.fullbleed .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.6) 100%);
}
.fullbleed .caption {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: var(--pad-y);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 64px;
  color: var(--cream);
}
.fullbleed .caption h2 {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.fullbleed .caption .meta {
  font-family: var(--font-mono);
  font-size: var(--t-small);
  color: rgba(255,255,255,0.7);
  max-width: 28ch;
  text-align: right;
}
.fullbleed .corner-mark {
  position: absolute;
  right: var(--pad-x);
  top: 56px;
  display: flex; align-items: center; gap: 14px;
  color: var(--cream);
}
.fullbleed .corner-mark img { height: 56px; width: auto; display: block; }

/* ───────────────── LAYOUT 10 — image-only gallery (2-up) ───────────────── */
.gallery2 {
  position: absolute;
  inset: 170px 120px 140px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.gallery2 .ph { border-radius: var(--r-card); }
.gallery2 .ph:nth-child(2) { margin-top: 48px; }

/* ───────────────── LAYOUT 11 — image-only gallery (3-up asymmetric) ───────────────── */
.gallery3 {
  position: absolute;
  inset: 170px 120px 140px 120px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 32px;
}
.gallery3 .ph:first-child { grid-row: 1 / span 2; }

/* ───────────────── LAYOUT 12 — headline + image pair ───────────────── */
.headline-pair {
  position: absolute;
  inset: 200px var(--pad-x) 160px var(--pad-x);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 56px;
}
.headline-pair .head { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap-xl); align-items: end; }
.headline-pair h2 { max-width: 18ch; font-size: 80px; line-height: 0.98; }
.headline-pair .head p { max-width: 36ch; }
.headline-pair .row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; min-height: 0; }
.headline-pair .ph { border-radius: var(--r-card); }

/* ───────────────── LAYOUT 13 — quote ───────────────── */
.quote-slide { background: var(--cream-warm); }
.quote-slide .pad { justify-content: center; }
.quote-mark {
  font-family: var(--font-display);
  font-size: 280px;
  line-height: 0.6;
  color: var(--green);
  opacity: 0.18;
  position: absolute;
  left: var(--pad-x);
  top: 120px;
}
.quote-slide blockquote {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: 84px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.quote-slide blockquote em { font-style: italic; color: var(--green); }
.quote-attr {
  display: flex; align-items: center; gap: 24px;
  margin-top: 56px;
}
.quote-attr .ava {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--mint);
  border: 2px solid var(--green);
  display: grid; place-items: center;
  font-family: var(--font-display); color: var(--green); font-size: 32px;
}
.quote-attr .who { display: grid; gap: 4px; }
.quote-attr .name { font-size: 24px; font-weight: 500; color: var(--ink); }
.quote-attr .role { font-family: var(--font-mono); font-size: 24px; color: var(--quiet); }

/* ───────────────── LAYOUT 14 — big stats ───────────────── */
.stats {
  position: absolute;
  inset: 200px var(--pad-x) 160px var(--pad-x);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--gap-xl);
}
.stats .head h2 { max-width: 18ch; font-size: 64px; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 48px 40px;
  border-left: 1px solid var(--line);
  display: grid;
  align-content: space-between;
  gap: 24px;
}
.stat:first-child { border-left: 0; }
.stat .figure {
  font-family: var(--font-display);
  font-size: 168px;
  font-weight: 400;
  line-height: 0.9;
  color: var(--green);
  letter-spacing: -0.035em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.stat .figure sup {
  font-family: var(--font-mono);
  font-size: 32px;
  color: var(--green);
  font-weight: 500;
  top: -0.6em;
  position: relative;
}
.stat .label {
  font-size: 26px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 28ch;
}
.stat--alt .figure { color: var(--mint-deep); }
.stat--accent .figure { color: var(--ink); }

/* ───────────────── LAYOUT 15 — color palette ───────────────── */
.palette {
  position: absolute;
  inset: 200px var(--pad-x) 160px var(--pad-x);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--gap-lg);
}
.palette-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 20px;
  min-height: 0;
}
.swatch {
  position: relative;
  border-radius: var(--r-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  border: 1px solid var(--line);
}
.swatch .name { font-size: 26px; font-weight: 500; color: inherit; }
.swatch .hex { font-family: var(--font-mono); font-size: 24px; color: inherit; opacity: 0.6; }
.swatch .role { font-family: var(--font-mono); font-size: 24px; opacity: 0.65; }
.swatch.hero { padding: 48px; min-height: 100%; }
.swatch.hero .name { font-family: var(--font-display); font-size: 56px; line-height: 1; letter-spacing: -0.02em; font-weight: 400; }
.swatch.green  { background: var(--green);  color: var(--cream); border-color: transparent; }
.swatch.deep   { background: var(--green-deep); color: var(--cream); border-color: transparent; }
.swatch.yellow { background: var(--yellow); color: var(--ink); border-color: transparent; }
.swatch.pink   { background: var(--pink);   color: var(--ink); border-color: transparent; }
.swatch.mint   { background: var(--mint);   color: var(--mint-deep); border-color: transparent; }
.swatch.cream  { background: var(--cream-warm); color: var(--ink); }
.swatch.ink    { background: var(--ink); color: var(--cream); border-color: transparent; }
.swatch.sand   { background: var(--sand); color: var(--ink); border-color: transparent; }

/* ───────────────── LAYOUT 16 — type specimen ───────────────── */
.type-spec {
  position: absolute;
  inset: 200px var(--pad-x) 160px var(--pad-x);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 48px;
}
.type-spec .specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-content: start;
}
.spec-row { border-top: 1px solid var(--line); padding: 28px 0; }
.spec-row .meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--quiet);
  margin-bottom: 16px;
}
.spec-row .sample-display { font-family: var(--font-display); font-size: 84px; line-height: 1; color: var(--ink); letter-spacing: -0.02em; font-weight: 400; }
.spec-row .sample-sans { font-family: var(--font-sans); font-size: 38px; line-height: 1.2; color: var(--ink); font-weight: 500; }
.spec-row .sample-mono { font-family: var(--font-mono); font-size: 24px; color: var(--ink); }
.spec-row .sample-italic { font-family: var(--font-display); font-style: italic; font-size: 64px; color: var(--green); letter-spacing: -0.01em; }

/* ───────────────── LAYOUT 17 — comparison (two-up) ───────────────── */
.compare {
  position: absolute;
  inset: 200px var(--pad-x) 160px var(--pad-x);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 48px;
}
.compare .compare-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.compare h2 { max-width: 22ch; font-size: 64px; }
.compare .panes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; min-height: 0; }
.pane {
  border-radius: var(--r-card);
  padding: 56px 48px;
  display: grid;
  gap: 28px;
  align-content: start;
}
.pane--before { background: var(--cream-warm); border: 1px solid var(--line); }
.pane--after  { background: var(--green);  color: var(--cream); }
.pane--after .pane-list li { color: rgba(255,255,255,0.78); }
.pane--after .pane-list li::before { background: var(--yellow); }
.pane-tag { font-family: var(--font-mono); font-size: 24px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.pane h3 { font-family: var(--font-display); font-size: 44px; line-height: 1.05; font-weight: 400; letter-spacing: -0.02em; }
.pane--after h3 { color: var(--yellow); }
.pane-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; font-size: 26px; line-height: 1.4; color: var(--muted); }
.pane-list li { padding-left: 24px; position: relative; }
.pane-list li::before { content:""; position: absolute; left: 0; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

/* ───────────────── LAYOUT 18 — logo grid ───────────────── */
.logo-grid {
  position: absolute;
  inset: 200px var(--pad-x) 160px var(--pad-x);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--gap-xl);
}
.logo-grid .head h2 { max-width: 20ch; font-size: 64px; }
.logo-grid .head p { max-width: 44ch; margin-top: 18px; }
.logo-rows {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 0;
}
.logo-cell {
  display: grid;
  place-items: center;
  padding: 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
  background: var(--cream);
  aspect-ratio: 16/9;
}
.logo-cell:nth-child(4n) { border-right: 0; }
.logo-cell:nth-last-child(-n+4) { border-bottom: 0; }
.logo-cell img { max-width: 70%; max-height: 50%; filter: grayscale(1) opacity(0.62); object-fit: contain; transition: filter 0.4s ease; }

/* ───────────────── LAYOUT 19 — closing ───────────────── */
.closing { background: var(--green); }
.closing .pad { justify-content: space-between; }
.closing-top { display: flex; justify-content: space-between; align-items: start; }
.closing h2 {
  font-family: var(--font-display);
  font-size: 144px;
  line-height: 0.95;
  color: var(--yellow);
  font-weight: 400;
  letter-spacing: -0.03em;
  max-width: 12ch;
}
.closing h2 em { font-style: italic; color: var(--pink); }
.closing .meta-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-mono);
  font-size: var(--t-small);
}
.closing .meta-row b { display:block; color: var(--cream); margin-bottom: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; font-size: 24px; }
.closing-bottom { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.closing-pinwheel {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 640px; height: 640px;
  opacity: 0.18;
}

/* slide-count overlay tweak */
deck-stage::part(slide-counter) {
  background: rgba(9,14,0,0.7);
  color: var(--cream);
  font-family: var(--font-mono);
}
