/* Unknown Frequencies — site styles */
:root {
  --ink: #10131b;
  --ink-2: #181c27;
  --ink-3: #232938;
  --line: #2e3547;
  --text: #eef0f5;
  --muted: #a0a8b9;
  --paper: #f3ead8;
  --paper-2: #e9dcc1;
  --paper-ink: #2a1f2b;
  --signal: #45d65a;        /* grass/neon green: buttons, wordmark, accents */
  --signal-hover: #5fe873;
  --signal-ink: #0d1a10;    /* dark text on green buttons */
  --signal-dark: #1f9a35;   /* green text on the light cream areas */
  --signal-2: #6af07f;      /* neon green: text and icons on dark */
  --dial: #b6f5c0;          /* soft neon mint: numbers and labels */
  --stat: #45d65a;          /* stats numbers (home page): brand green */
  --stat-label: #ffffff;    /* stats labels */
  --olive: #6f7d4b;
  --ok: #5fbf8a;
  --err: #ff6b6b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(0,0,0,.55);
  --head: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--dial); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(69,214,90,.2); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--signal); color: var(--signal-ink); }
.btn-primary:hover { background: var(--signal-hover); }
.btn-dark { background: var(--ink); color: var(--text); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }
.btn-light { background: var(--paper); color: var(--paper-ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none;
}
.site-header .bar {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand, .nav {
  background: rgba(16,19,27,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08); border-radius: 999px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
  text-decoration: none; font: 600 1.05rem/1 var(--head);
}
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: 0 0 0 2px var(--signal); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav { display: flex; align-items: center; gap: 4px; padding: 6px; }
.nav a { text-decoration: none; padding: 9px 14px; border-radius: 999px; font-size: .92rem; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }
.nav a.nav-cta { background: var(--signal); color: var(--signal-ink); font-weight: 600; }
.nav a.nav-cta:hover { background: var(--signal-hover); }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 60px; right: 16px; left: 16px; flex-direction: column; align-items: stretch; border-radius: 20px; padding: 10px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 1rem; }
  .menu-btn {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    background: rgba(16,19,27,.86); border: 1px solid rgba(255,255,255,.08); color: var(--text); cursor: pointer;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative; background: var(--paper); color: var(--paper-ink);
  padding: 150px 0 0; overflow: hidden; text-align: center;
}
.hero::before { /* paper grain */
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: radial-gradient(rgba(42,31,43,.08) 1px, transparent 1px);
  background-size: 6px 6px;
}
.hero .wordmark {
  font-family: var(--head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.6rem, 9vw, 7rem); line-height: .9; letter-spacing: -.01em; margin: 0;
  color: #fff; -webkit-text-stroke: clamp(2px, .5vw, 5px) var(--paper-ink); paint-order: stroke fill;
}
/* 3D shadow: drop-shadow is drawn from the finished letters (outline included),
   so it stays dark-brown in every browser. Safari on iPhone painted the old
   text-shadow white when it was combined with the outline. */
.hero .wordmark span { display: block; filter: drop-shadow(0 clamp(4px, .55vw, 6px) 0 var(--paper-ink)); }
.hero .wordmark .accent { color: var(--signal); }
.hero .tag { font: 500 clamp(1.05rem, 2vw, 1.3rem)/1.4 var(--body); margin: 22px auto 30px; max-width: 34ch; color: #5a4a55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; z-index: 2; }
.wave { width: min(560px, 90%); height: 60px; margin: 18px auto 0; display: block; }
.wave path { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; }
.lineup {
  position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(2px, 1vw, 14px);
  margin-top: 48px; padding: 0 12px; height: clamp(140px, 22vw, 260px); overflow: hidden;
}
.lineup img { height: 100%; width: auto; object-fit: contain; transform-origin: bottom center; transition: transform .25s ease; }
.lineup img:hover { transform: translateY(-8px) rotate(-3deg); }
.lineup img { height: 92%; }
.lineup img.star { height: 100%; }
.lineup img.bust { height: 62%; }
.lineup img.half { height: 76%; }
.ground { height: 34px; background: var(--ink); position: relative; margin-top: -6px; }
/* the skeleton narrator always sits in the exact middle; each side fills outward */
.lineup .side { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; gap: clamp(2px, 1vw, 14px); overflow: hidden; }
.lineup .side.left { justify-content: flex-end; }
.lineup .side.right { justify-content: flex-start; }
.lineup img.star, .lineup .side img { flex: none; }
.lineup img.no-fit { display: none; }
@media (max-width: 1100px) { .lineup img.hide-md { display: none; } }
@media (max-width: 760px) { .lineup img.hide-sm { display: none; } }

/* ---------- video wall ---------- */
.video-wall { padding: 40px 0 10px; overflow: hidden; }
.marquee { display: flex; gap: 18px; width: max-content; animation: scroll 60s linear infinite; padding: 10px 0; }
.marquee.reverse { animation-direction: reverse; animation-duration: 70s; }
.video-wall:hover .marquee { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }
.vcard {
  width: 300px; flex: none; text-decoration: none; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line); transition: transform .2s, border-color .2s;
}
.vcard:hover { transform: translateY(-4px); border-color: var(--signal); }
.vcard .thumb { aspect-ratio: 16/9; background: var(--ink-3) center/cover; }
.vcard .meta { padding: 12px 14px 14px; }
.vcard .title { font: 600 .98rem/1.3 var(--body); margin: 0 0 4px; }
.vcard .views { font-size: .82rem; color: var(--muted); }
.wall-label { text-align: center; font: 600 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--signal-2); margin: 26px 0 6px; }
.scard {
  width: 260px; flex: none; display: flex; align-items: center; gap: 16px; text-decoration: none;
  padding: 16px 18px; border-radius: var(--radius-sm); background: var(--ink-2); border: 1px solid var(--line);
  transition: transform .2s, border-color .2s;
}
.scard:hover { transform: translateY(-4px); border-color: var(--signal); }
.slogo { width: 64px; height: 64px; flex: none; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.slogo img { width: 44px; height: 44px; object-fit: contain; }
.sbody { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sname { font: 600 1.15rem/1.2 var(--head); }
.svid { font-size: .82rem; color: #c9cfdb; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.stat .num { font: 700 clamp(2rem, 5vw, 3.2rem)/1 var(--head); color: var(--stat); display: block; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat .lbl { color: var(--stat-label); font-size: .95rem; }
a.stat-link { display: block; text-decoration: none; transition: transform .2s, border-color .2s; }
a.stat-link:hover { transform: translateY(-4px); border-color: #1ed760; }
.stat-link .num { display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; }
.stat-link .num svg { width: .9em; height: .9em; flex: none; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* ---------- generic cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon-dot { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(69,214,90,.14); color: var(--signal-2); margin-bottom: 16px; }
.icon-dot svg { width: 22px; height: 22px; }

/* ---------- banners ---------- */
.banner {
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 30px;
  background: var(--paper); color: var(--paper-ink); border-radius: 28px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden;
}
.banner p { color: #5a4a55; font-size: 1.08rem; }
.banner .art { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 220px; }
.banner .art img { height: 100%; width: auto; }
/* art cut off at the waist: sit it on the bottom edge of the card */
.banner .art.flush { align-self: end; height: 310px; margin-bottom: calc(-1 * clamp(28px, 5vw, 56px)); }
.banner .art.flush img { max-width: 100%; object-fit: contain; object-position: bottom; transform: translateY(15px); } /* card clips the bottom */
.banner .art.big { height: 340px; }
.banner.dark { background: linear-gradient(135deg, #1d2333, #141824); color: var(--text); border: 1px solid var(--line); }
.banner.dark p { color: var(--muted); }
@media (max-width: 760px) { .banner { grid-template-columns: 1fr; } .banner .art { height: 160px; } .banner .art.flush { height: 230px; } .banner .art.flush img { transform: translateY(11px); } .banner .art.big { height: 250px; } }

/* ---------- page head ---------- */
.page-head { padding: 150px 0 50px; text-align: center; position: relative; }
.page-head p { color: var(--muted); font-size: 1.12rem; max-width: 62ch; margin-inline: auto; }
.page-head.paper { background: var(--paper); color: var(--paper-ink); }
.page-head.paper p { color: #5a4a55; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: .92rem; margin-bottom: 22px; }
.back-link:hover { color: var(--text); }

/* ---------- pipeline (jobs) ---------- */
.pipeline { position: relative; margin-top: 40px; }
.pipeline::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--line) 0 8px, transparent 8px 14px); }
.pnode { position: relative; padding-left: 64px; margin-bottom: 36px; }
.pnode .dot {
  position: absolute; left: 6px; top: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--signal); display: grid; place-items: center;
  font: 700 .85rem/1 var(--head); color: var(--signal-2);
}
.pnode.terminal .dot { background: var(--signal); color: var(--signal-ink); }
.phase-label { font: 600 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--dial); margin-bottom: 6px; }
.phase-title { font: 600 1.5rem/1.2 var(--head); margin-bottom: 4px; }
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 18px; }
.job {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: transform .2s, border-color .2s;
}
.job:hover { transform: translateY(-4px); border-color: var(--signal); }
.job h3 { margin: 0; font-size: 1.2rem; }
.job p { color: var(--muted); margin: 0; font-size: .95rem; flex: 1; }
.job .more { color: var(--signal-2); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 10px; border-radius: 999px; font: 600 .74rem/1 var(--body); letter-spacing: .02em; }
.pill.open { background: rgba(95,191,138,.14); color: var(--ok); }
.pill.file { background: rgba(160,168,185,.14); color: var(--muted); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- job detail ---------- */
.job-hero { padding: 140px 0 50px; }
.job-hero .phase { color: var(--dial); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.job-hero p { color: var(--muted); font-size: 1.15rem; max-width: 60ch; }
.job-body { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.job-body aside { position: sticky; top: 100px; }
@media (max-width: 900px) { .job-body { grid-template-columns: 1fr; } .job-body aside { position: static; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: #d2d7e2; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: rgba(69,214,90,.18); box-shadow: inset 0 0 0 5px var(--ink-2), inset 0 0 0 16px var(--signal); }
.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-tags span { padding: 6px 12px; border-radius: 999px; background: var(--ink-3); font-size: .85rem; color: #cfd4df; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step .n { font: 700 1.6rem/1 var(--head); color: var(--signal-2); margin-bottom: 10px; display: block; }
.step h4 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- forms ---------- */
.form-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.fgroup { border: 0; padding: 0; margin: 0 0 28px; }
.fgroup legend { font: 600 1.05rem/1 var(--head); color: var(--dial); margin-bottom: 16px; padding: 0; display: flex; align-items: center; gap: 10px; }
.fgroup legend::after { content: ""; flex: 1; height: 1px; background: var(--line); min-width: 40px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .frow { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field .req { color: var(--signal-2); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
input[type=text], input[type=email], input[type=url], input[type=number], input[type=date], select, textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--ink); color: var(--text); font: 400 1rem/1.4 var(--body); transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #626b7e; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0a8b9' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px rgba(69,214,90,.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.counter { font-size: .8rem; color: var(--muted); text-align: right; margin-top: 6px; }
.counter.low { color: var(--dial); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; cursor: pointer; font-size: .95rem; color: #d2d7e2; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--signal); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .92rem; transition: all .15s; }
.chip input:checked + span { border-color: var(--signal); background: rgba(69,214,90,.14); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(69,214,90,.25); }
.hp { position: absolute; left: -9999px; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(95,191,138,.12); color: var(--ok); border: 1px solid rgba(95,191,138,.3); }
.form-status.err { background: rgba(255,107,107,.1); color: var(--err); border: 1px solid rgba(255,107,107,.3); }
.success-view { text-align: center; padding: 30px 10px; }
.success-view .big { font-size: 3rem; margin-bottom: 10px; }
.direct { margin-top: 22px; font-size: .92rem; color: var(--muted); text-align: center; }
.direct a { color: var(--signal-2); }

/* copy email */
.copy-email {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px;
  background: var(--ink); border: 1px solid var(--line); font: 500 1rem/1 var(--body);
}
.copy-email button { border: 0; cursor: pointer; }
.copy-email { max-width: 100%; }
.copy-email span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) { .copy-email { font-size: .88rem; padding-left: 14px; } }

/* packages */
.pkg { display: flex; flex-direction: column; }
.pkg .len { font: 700 1.6rem/1 var(--head); color: var(--dial); margin: 4px 0 12px; }
.pkg ul { margin: 0; padding-left: 18px; color: var(--muted); }
.pkg ul li { margin-bottom: 6px; }
.pkg.featured { border-color: var(--signal); position: relative; }
.pkg.featured::before { content: "Most popular"; position: absolute; top: -12px; right: 20px; background: var(--signal); color: var(--signal-ink); font: 600 .72rem/1 var(--body); padding: 6px 10px; border-radius: 999px; }

.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.audience div { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.audience b { display: block; font: 700 1.6rem/1 var(--head); color: var(--text); margin-bottom: 6px; }
.audience span { font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr 1fr; } }

.brands { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.brands span { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border: 1px solid var(--line); background: var(--ink-2); border-radius: 999px; color: var(--text); font-weight: 600; }
.brands img { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 5px; object-fit: contain; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 50px 0 40px; margin-top: 40px; }
.foot { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot .links a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.foot .links a:hover { color: var(--text); }
.foot small { color: #6c7488; display: block; margin-top: 14px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- ebook ---------- */
.book { display: grid; grid-template-columns: minmax(200px, .8fr) 1.5fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.book-cover { display: block; max-width: 340px; margin: 0 auto; border-radius: 8px; transform: rotate(-3deg); transition: transform .3s;
  box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; }
.book-cover:hover { transform: rotate(0) translateY(-6px); }
.book-cover img { display: block; width: 100%; height: auto; }
.book h2 { margin-bottom: 6px; }
.book-sub { color: var(--signal-2); font-weight: 600; margin: 0 0 14px; }
.heroes { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.heroes li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-2); font-size: .9rem; font-weight: 500; }
.price { font-size: 1.05rem; margin: 0 0 18px; color: var(--muted); }
.price strong { font: 700 2rem/1 var(--head); color: var(--text); margin-right: 6px; }
.price span { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 600; color: var(--dial); margin-left: 6px; }
.book-note { color: var(--muted); font-size: .88rem; margin: 16px 0 0; }
@media (max-width: 760px) { .book { grid-template-columns: 1fr; } .book-cover { max-width: 230px; } }

#book, #about { scroll-margin-top: 90px; }

.nav a { white-space: nowrap; }
@media (max-width: 960px) { .nav a { padding: 9px 9px; font-size: .88rem; } }
