/* =============================================================
   World Tree Defender — Press Kit
   Same visual language as the publisher brief (pitch/): the game's
   design tokens from colors_and_type.css, the deck's kicker / title /
   panel chrome, applied to a scrolling page instead of 1920x1080 slides.
   ============================================================= */

@import url("../pitch/shared/colors_and_type.css");

:root {
  --pad-x: clamp(16px, 4vw, 64px);
  --max-w: 1280px;
  --aside-w: 300px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
html, body {
  margin: 0;
  background: #0a0c10;
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body {
  /* the deck's slate lift, stretched over a long page */
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(246,217,112,0.06), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(110,169,63,0.05), transparent 60%),
    linear-gradient(160deg, #222b39 0%, #1b222e 40%, #12161d 100%);
}
a { color: var(--sun-300); text-decoration: none; }
a:hover { color: var(--sun-400); }
img, video { display: block; max-width: 100%; height: auto; }
p { max-width: 70ch; margin: 0 0 14px; text-wrap: pretty; }
ul { margin: 0; padding-left: 20px; }
li { margin: 6px 0; }
:lang(th) { line-height: 1.85; font-family: "Noto Sans Thai", "Leelawadee UI", "Sarabun", Tahoma, var(--font-body); }
:lang(ja) { line-height: 1.8; font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", var(--font-body); }
:lang(zh-Hans) { line-height: 1.8; font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", var(--font-body); }

/* ---- Deck chrome ------------------------------------------------ */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-ui); font-weight: 700; font-size: 15px;
  letter-spacing: var(--tracking-ui); text-transform: uppercase;
  color: var(--sun-300);
}
.kicker::before { content: ""; width: 30px; height: 3px; background: var(--sun-400); box-shadow: 0 0 12px var(--sun-glow); }
.kicker.canopy { color: var(--canopy-200); }
.kicker.canopy::before { background: var(--canopy-400); box-shadow: 0 0 12px rgba(110,169,63,0.5); }
.kicker.cinder { color: var(--cinder-bright); }
.kicker.cinder::before { background: var(--cinder-500); box-shadow: 0 0 12px rgba(211,73,27,0.6); }
.kicker.sky { color: var(--sky-400); }
.kicker.sky::before { background: var(--sky-400); box-shadow: 0 0 12px rgba(123,182,216,0.5); }

.title {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: var(--tracking-display); line-height: 1.05;
  color: var(--fg-primary); font-weight: 800; margin: 0;
}
.t-lg { font-size: clamp(30px, 4.2vw, 48px); }
.t-md { font-size: clamp(24px, 3vw, 34px); }
.t-sm { font-size: clamp(18px, 2vw, 22px); letter-spacing: 0.08em; }

.eyebrow {
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  letter-spacing: var(--tracking-ui); text-transform: uppercase; color: var(--fg-muted);
}
.stat-label {
  font-family: var(--font-ui); font-weight: 600; font-size: 13px;
  letter-spacing: var(--tracking-ui); text-transform: uppercase; color: var(--fg-muted);
}
.body { color: var(--fg-secondary); }
.body strong, .lede strong { color: var(--fg-primary); font-weight: 600; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--fg-secondary); max-width: 56ch; }
.accent-y { color: var(--sun-300); }
.accent-g { color: var(--canopy-200); }
.counter { font-family: var(--font-ui); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; color: var(--fg-primary); }
.rule { height: 1px; background: var(--border-hairline); border: 0; margin: 0; }

.panel {
  background: var(--bg-panel); border: 1px solid var(--border-hairline);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-panel);
}
.card { background: var(--bg-card); border: 1px solid var(--border-hairline); box-shadow: var(--shadow-card); }

.tab {
  display: inline-block; padding: 9px 22px 9px 18px;
  background: var(--sun-400); color: var(--fg-on-sun);
  font-family: var(--font-ui); font-weight: 700; font-size: 15px;
  letter-spacing: var(--tracking-ui); text-transform: uppercase; white-space: nowrap;
  clip-path: var(--clip-tag);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700; font-size: 16px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 22px; border-radius: var(--r-md);
  border: 1px solid var(--border-strong); color: var(--fg-primary);
  background: rgba(10,13,18,0.6); transition: transform .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: var(--sun-300); color: var(--sun-300); }
.btn.primary { background: var(--sun-400); color: var(--fg-on-sun); border-color: var(--sun-500); box-shadow: 0 0 0 1px var(--sun-glow), 0 10px 30px rgba(0,0,0,0.45); }
.btn.primary:hover { background: var(--sun-300); color: var(--fg-on-sun); }
.btn.steam { background: linear-gradient(135deg,#1b2838,#2a475e); border-color: #3d6c8d; color: #e6f0f7; }
.btn.steam:hover { color: #fff; border-color: #8fb3cc; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn small { font-family: var(--font-ui); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; color: inherit; opacity: .75; }

/* ---- Hero -------------------------------------------------------- */
.hero {
  position: relative; min-height: clamp(520px, 78vh, 820px);
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate; overflow: hidden;
}
.hero .bg-art { position: absolute; inset: 0; z-index: 0; background: url("img/key-art-1920x1074.jpg") center 30% / cover no-repeat; }
.hero .scrim-top { position: absolute; inset: 0; z-index: 1; background: var(--scrim-top); pointer-events: none; }
.hero .vignette { position: absolute; inset: 0; z-index: 1; background: var(--vignette); pointer-events: none; }
.hero .scrim-bottom { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, #12161d 0%, rgba(18,22,29,0.92) 18%, rgba(6,8,11,0.35) 52%, rgba(6,8,11,0) 75%); }
.hero-inner { position: relative; z-index: 3; max-width: var(--max-w); margin: 0 auto; padding: 48px var(--pad-x) 56px; width: 100%; }
.hero-top { position: absolute; top: 28px; left: var(--pad-x); right: var(--pad-x); z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.hero-top .eyebrow { color: var(--fg-secondary); text-align: right; line-height: 1.5; }
.hero-top .back { font-family: var(--font-ui); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-secondary); }
.hero-top .back:hover { color: var(--sun-300); }
.logo-wrap { position: relative; width: min(520px, 70vw); margin-bottom: 26px; }
.logo-wrap::before { content: ""; position: absolute; left: 50%; top: 52%; transform: translate(-50%,-50%); width: 160%; height: 175%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(4,7,11,0.82) 0%, rgba(4,7,11,0.6) 32%, rgba(4,7,11,0.25) 56%, rgba(4,7,11,0) 74%); }
.logo-wrap img { position: relative; width: 100%; filter: drop-shadow(0 6px 26px rgba(0,0,0,0.7)) drop-shadow(0 0 48px rgba(0,0,0,0.55)); }
.hero h1 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: clamp(22px, 2.8vw, 34px); color: var(--fg-primary); line-height: 1.1; }
.hero h1 span { color: var(--sun-300); }
.hero .lede { margin-top: 14px; color: var(--fg-primary); text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0 36px; row-gap: 14px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border-hairline); }
.hero-stats .col { display: flex; flex-direction: column; gap: 6px; }
.hero-stats .v { font-family: var(--font-ui); font-weight: 700; font-size: 20px; letter-spacing: 0.06em; color: var(--fg-primary); }
.hero-stats .v.g { color: var(--canopy-200); }

/* ---- Layout ------------------------------------------------------ */
.layout { max-width: var(--max-w); margin: 0 auto; padding: 48px var(--pad-x) 80px; display: grid; grid-template-columns: var(--aside-w) 1fr; gap: 48px; align-items: start; }
aside.side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 920px) {
  .layout { grid-template-columns: 1fr; gap: 32px; }
  aside.side { position: static; }
}
main { min-width: 0; }

/* Fact sheet */
.fact { padding: 22px 22px 20px; }
.fact .title { font-size: 20px; letter-spacing: 0.1em; }
.fact dl { margin: 14px 0 0; }
.fact dt { font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: var(--tracking-ui); text-transform: uppercase; color: var(--fg-muted); margin-top: 13px; }
.fact dd { margin: 3px 0 0; color: var(--fg-primary); font-size: 15.5px; line-height: 1.5; }
.fact dd a { color: var(--sun-300); }
.fact .btn { width: 100%; margin-top: 18px; }
.fact .fact-toggle { display: none; }
@media (max-width: 920px) {
  .fact { padding: 16px 18px 14px; }
  .fact .title { font-size: 17px; }
  .fact .fact-toggle { display: inline-block; margin-top: 10px; background: transparent; border: 1px solid var(--border-hairline); border-radius: 4px; color: var(--sun-300); font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; cursor: pointer; }
  .fact .fact-toggle::after { content: " ▾"; }
  .fact:not(.collapsed) .fact-toggle::after { content: " ▴"; }
  .fact.collapsed .fact-body { display: none; }
  .fact.collapsed .btn { margin-top: 12px; }
  .fact.collapsed .note { display: none; }
}
.fact .note { font-size: 12.5px; color: var(--fg-muted); margin-top: 8px; text-align: center; }

nav.toc { padding: 12px 18px 10px; }
nav.toc .toc-h { color: var(--sun-300); margin-bottom: 6px; }
nav.toc a { display: block; padding: 6px 0 6px 10px; margin-left: -10px; font-family: var(--font-ui); font-weight: 600; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-secondary); border-bottom: 1px solid var(--border-hairline); border-left: 3px solid transparent; }
nav.toc a:last-child { border-bottom: 0; }
nav.toc a:hover { color: var(--sun-300); }
nav.toc a.on { color: var(--fg-primary); border-left-color: var(--sun-400); background: linear-gradient(90deg, rgba(236,200,70,0.10), transparent); }
nav.toc a .n { color: var(--sun-600); margin-right: 10px; font-variant-numeric: tabular-nums; }
@media (max-width: 920px) {
  /* one column: the index becomes a sticky, horizontally scrolling bar */
  nav.toc { position: sticky; top: 0; z-index: 20; display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; padding: 8px 16px; margin: 0; border-radius: 0; border-left: 0; border-right: 0; background: rgba(14,18,24,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); scrollbar-width: none; }
  nav.toc::-webkit-scrollbar { display: none; }
  nav.toc .toc-h { display: none; }
  nav.toc a { flex: none; border: 1px solid var(--border-hairline); border-radius: 999px; padding: 6px 12px; margin: 0; font-size: 12.5px; white-space: nowrap; }
  nav.toc a.on { background: var(--sun-400); color: var(--fg-on-sun); border-color: var(--sun-500); }
  nav.toc a.on .n { color: var(--fg-on-sun); }
  nav.toc a .n { margin-right: 6px; }
}

/* Sections */
section.block { padding: 36px 0 12px; scroll-margin-top: 20px; }
section.block + section.block { border-top: 1px solid var(--border-hairline); margin-top: 24px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin-bottom: 22px; }
.sec-head .title { margin-top: 12px; }
.sec-head .body { max-width: 44ch; margin: 0; font-size: 15.5px; }

/* Copyable text boxes */
.copyable { position: relative; padding: 20px 22px 16px; margin-bottom: 14px; }
.copyable .label { font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: var(--tracking-ui); text-transform: uppercase; color: var(--sun-300); margin-bottom: 10px; }
.copyable p { color: var(--fg-secondary); margin-bottom: 12px; }
.copyable p:last-child { margin-bottom: 0; }
.copyable p strong { color: var(--fg-primary); }
.copyable ul { color: var(--fg-secondary); margin-bottom: 12px; }
.copy {
  position: absolute; top: 12px; right: 12px; cursor: pointer;
  font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(10,13,18,0.7); color: var(--fg-secondary); border: 1px solid var(--border-hairline); border-radius: 4px; padding: 5px 10px;
}
.copy:hover { color: var(--sun-300); border-color: var(--sun-600); }
.copy.done { color: var(--canopy-200); border-color: var(--canopy-600); }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.feature { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.feature .hex { width: 46px; height: 46px; display: grid; place-items: center; clip-path: var(--clip-hex); background: var(--ink-700); color: var(--sun-300); flex: none; }
.feature .hex svg { width: 22px; height: 22px; stroke-width: 1.75; }
.feature .hex.alive { color: var(--canopy-200); }
.feature .hex.hot { color: var(--cinder-bright); }
.feature .hex.cool { color: var(--sky-400); }
.feature .hex.violet { color: var(--swamp-iris); }
.feature h3 { margin: 6px 0 0; font-family: var(--font-display); font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-primary); }
.feature p { margin: 0; font-size: 15px; color: var(--fg-secondary); }

/* Media grids */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.shot { display: block; overflow: hidden; position: relative; background: var(--ink-900); }
.shot img, .shot video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.shot.portrait img { aspect-ratio: 9/16; height: auto; object-fit: contain; background: #000; }
/* portrait videos sit in a block with a fixed 9:16 ratio; the card sizes from the block, not the video */
.shot .v9 { position: relative; width: 100%; aspect-ratio: 9/16; background: #000; }
.shot .v9 video { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.shot video[data-autoplay], .shot a.img { cursor: zoom-in; }

/* Lightbox: any reel, clip or image opens full size (videos with sound) */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,8,11,0.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.on { display: flex; }
.lightbox .lb-body { display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; }
.lightbox video, .lightbox img { display: block; max-width: min(1600px, 96vw); max-height: 92vh; width: auto; height: auto; border: 1px solid var(--border-strong); box-shadow: 0 20px 60px rgba(0,0,0,0.6); background: #000; }
.lightbox video.landscape { width: min(1600px, 96vw); }
.lightbox .lb-close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.lightbox .lb-cap { position: absolute; left: 24px; bottom: 18px; font-family: var(--font-ui); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-secondary); }
.shot .cap {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 9px 12px; font-size: 13px; color: var(--fg-secondary);
  border-top: 1px solid var(--border-hairline);
}
.shot .cap b { font-family: var(--font-ui); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-primary); }
.shot .cap a { font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.shot .dl { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 11px; }
.shot .dl a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-weight: 700; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--border-strong); border-radius: 4px; color: var(--fg-primary); background: rgba(10,13,18,0.5); white-space: nowrap; }
.shot .dl a:hover { border-color: var(--sun-300); color: var(--sun-300); }
.shot .dl a.primary { background: var(--sun-400); color: var(--fg-on-sun); border-color: var(--sun-500); }
.shot .dl a.primary:hover { background: var(--sun-300); color: var(--fg-on-sun); }
/* Compact media grids (reels, vertical cuts, clean loops): small tiles, grow on hover, downloads appear on hover */
.grid.compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.grid.compact.vert { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.grid.compact .shot { transition: transform .25s cubic-bezier(0.2,0.8,0.2,1), box-shadow .25s; transform-origin: center; will-change: transform; }
.grid.compact .shot .cap { padding: 5px 8px; font-size: 10.5px; gap: 6px; }
.grid.compact .shot .cap b { font-size: 10.5px; letter-spacing: 0.06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid.compact .shot .cap a { font-size: 10px; }
.grid.compact .shot .badge { font-size: 9px; padding: 2px 6px; top: 6px; left: 6px; letter-spacing: 0.08em; }
.grid.compact .shot .dl { position: absolute; left: 0; right: 0; bottom: 26px; padding: 5px 6px 6px; gap: 3px; background: linear-gradient(to top, rgba(6,8,11,0.95), rgba(6,8,11,0.8) 70%, transparent); opacity: 0; pointer-events: none; transition: opacity .2s; }
.grid.compact .shot .dl::before { content: "\2193  Download"; flex: 1 1 100%; font-family: var(--font-ui); font-weight: 700; font-size: 7.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sun-300); text-align: center; }
.grid.compact .shot .dl a { flex: 1 1 0; min-width: 0; justify-content: center; font-size: 8.5px; padding: 4px 2px; letter-spacing: 0.04em; }
.grid.compact .shot:hover, .grid.compact .shot:focus-within { transform: scale(1.8); z-index: 10; box-shadow: 0 30px 60px rgba(0,0,0,0.75); border-color: var(--border-strong); }
.grid.compact.vert .shot:hover, .grid.compact.vert .shot:focus-within { transform: scale(1.6); }
.grid.compact .shot:hover .dl, .grid.compact .shot:focus-within .dl { opacity: 1; pointer-events: auto; }
@media (hover: none) {
  .grid.compact .shot:hover { transform: none; box-shadow: var(--shadow-card); }
  .grid.compact .shot .dl { position: static; opacity: 1; pointer-events: auto; background: none; padding: 0 8px 8px; }
}
.shot .badge { position: absolute; top: 10px; left: 10px; background: rgba(20,24,31,0.85); border: 1px solid var(--border-hairline); padding: 4px 9px; font-family: var(--font-ui); font-weight: 600; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-primary); }
.shot a.img { display: block; }
.shot.logo-tile img { object-fit: contain; padding: 26px; background:
  repeating-conic-gradient(rgba(255,255,255,0.035) 0 25%, transparent 0 50%) 0 0 / 24px 24px, var(--ink-800); }
.shot.logo-tile.dark img { background: #0a0c10; }
.shot.logo-tile.light img { background: var(--bone-100); }

/* Trailer */
.trailer { padding: 10px; }
.trailer video { width: 100%; aspect-ratio: 16/9; background: #000; border: 1px solid var(--border-hairline); }
.trailer-row { display: grid; grid-template-columns: 1fr 240px; gap: 14px; align-items: start; }
@media (max-width: 760px) { .trailer-row { grid-template-columns: 1fr; } }
.reel { padding: 10px; }
.reel video { width: 100%; aspect-ratio: 9/16; background: #000; border: 1px solid var(--border-hairline); }
.dl-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* Steam */
.steam-box { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .steam-box { grid-template-columns: 1fr; } }
.steam-widget { background: #1b2838; border: 1px solid #3d6c8d; }
.steam-widget iframe { width: 100%; height: 190px; border: 0; display: block; }
.steam-meta { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.steam-meta .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--fg-secondary); border-bottom: 1px solid var(--border-hairline); padding: 6px 0; }
.steam-meta .row b { color: var(--fg-primary); font-weight: 600; text-align: right; }

/* Tree */
.tree-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .tree-wrap { grid-template-columns: 1fr; } }
.quote-list { display: flex; flex-direction: column; gap: 10px; }
.quote-list .q { padding: 12px 16px; font-style: italic; color: var(--fg-primary); border-left: 3px solid var(--sun-400); background: rgba(236,200,70,0.06); }
.moods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.moods span { font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--border-hairline); color: var(--fg-secondary); background: rgba(10,13,18,0.5); }

/* Team */
.studio { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
@media (max-width: 760px) { .studio { grid-template-columns: 1fr; } }
.credits { width: 100%; border-collapse: collapse; }
.credits td { padding: 9px 0; border-bottom: 1px solid var(--border-hairline); vertical-align: top; font-size: 15.5px; }
.credits td:first-child { width: 44%; color: var(--fg-primary); font-weight: 600; padding-right: 12px; }
.credits td:last-child { color: var(--fg-secondary); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.contact .card { padding: 18px 20px; }
.contact .card .stat-label { margin-bottom: 6px; }
.contact .card a, .contact .card span.v { font-family: var(--font-ui); font-weight: 700; font-size: 18px; letter-spacing: 0.04em; }

/* Footer, like the deck's slide footer */
footer.deck-footer { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x) 48px; }
footer.deck-footer .hairline { height: 1px; background: var(--border-hairline); margin-bottom: 18px; }
footer.deck-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-family: var(--font-ui); font-size: 13px; letter-spacing: var(--tracking-ui); text-transform: uppercase; color: var(--fg-muted); }
footer.deck-footer .brand { color: var(--fg-secondary); font-weight: 600; }
footer.deck-footer .brand b { color: var(--sun-300); font-weight: 700; }
footer.deck-footer p { font-family: var(--font-body); font-size: 13px; color: var(--fg-muted); text-transform: none; letter-spacing: 0; margin-top: 12px; max-width: none; }

/* ---- Review-only notes: hidden once <body class="published"> ------- */
.review { background: rgba(246,217,112,0.08); border: 1px dashed var(--sun-500); color: var(--sun-300); padding: 14px 18px; margin: 0 0 22px; font-size: 14.5px; }
.review .stat-label { color: var(--sun-300); margin-bottom: 6px; }
.review ol { margin: 6px 0 0; padding-left: 20px; color: var(--fg-primary); }
.review li { margin: 4px 0; }
.todo { background: rgba(246,217,112,0.16); color: var(--sun-300); border-bottom: 1px dashed var(--sun-500); padding: 0 4px; }
body.published .review, body.published .todo-box { display: none !important; }
body.published .todo { background: transparent; color: inherit; border: 0; padding: 0; }
.todo-box { display: grid; place-items: center; min-height: 140px; text-align: center; padding: 16px; background: rgba(246,217,112,0.06); border: 1px dashed var(--sun-600); color: var(--sun-300); font-family: var(--font-ui); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .62s cubic-bezier(0.2,0.8,0.2,1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media print {
  .hero { min-height: 0; }
  aside.side, .copy, .review, .todo-box { display: none !important; }
  .layout { grid-template-columns: 1fr; }
  body { background: #fff; color: #111; }
}
