/* Focus Man — page-local design system for /focus-man/ and /focus-man-book-1/.
   Mirrors the Scam-Proof Kids design language (spk.css). Does not load site styles.css. */
:root {
  --bg: #141414;
  --bg-raise: #1c1c1c;
  --bg-card: #1a1a1a;
  --ink: #f3f0e6;
  --muted: #c8c2b4;
  --dim: #9a9486;
  --gold: #c9a227;
  --gold-ink: #141414;
  --line: rgba(201, 162, 39, 0.35);
  --display: "Unbounded", "Archivo Black", Impact, sans-serif;
  --body: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --accent-font: "Syne", "Unbounded", sans-serif;
  --wrap: 1080px;
  --sticky-h: 4.25rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-ms: 320ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
  padding-bottom: calc(var(--sticky-h) + 0.5rem);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: #e2c15a; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip {
  position: absolute; left: 0.75rem; top: -4rem;
  background: var(--gold); color: var(--gold-ink);
  padding: 0.5rem 0.8rem; z-index: 50; font-weight: 700;
}
.skip:focus { top: 0.75rem; }

.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
h1, h2, h3, .price {
  font-family: var(--display); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.02; margin: 0; text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 10vw, 5.2rem); text-transform: uppercase; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 6vw, 3.15rem); text-transform: uppercase; letter-spacing: -0.01em; }
h3 { font-size: 1.55rem; text-transform: uppercase; letter-spacing: 0.01em; }
p { margin: 0 0 0.9rem; }
.lede { color: var(--muted); font-size: 1.12rem; }

.accent-slash { display: inline-block; position: relative; }
.accent-slash::after {
  content: ""; position: absolute; left: 0; right: 12%; bottom: -0.18em; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.85; transform: skewX(-18deg);
}
.eyebrow-slash { display: inline-flex; align-items: center; gap: 0.45rem; }
.eyebrow-slash::before {
  content: ""; width: 1.1rem; height: 2px; background: var(--gold);
  transform: skewX(-18deg); flex-shrink: 0;
}

/* Site bar */
.site-bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12, 12, 12, 0.94);
  border-bottom: 1px solid rgba(243, 240, 230, 0.08);
  backdrop-filter: blur(8px);
}
.site-bar .bar {
  width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; min-height: 3.25rem; position: relative;
}
.brand {
  color: var(--ink); text-decoration: none; font-family: var(--display);
  letter-spacing: 0.08em; font-size: 1.15rem; text-transform: uppercase;
}
.brand span { color: var(--gold); }
.nav-toggle {
  background: transparent; color: var(--ink);
  border: 1px solid rgba(243, 240, 230, 0.25); border-radius: 6px;
  font-size: 1.15rem; padding: 0.25rem 0.55rem; cursor: pointer;
}
.nav-links {
  display: none; list-style: none; margin: 0; padding: 0.4rem 0 0.8rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #101010; border-bottom: 1px solid rgba(243, 240, 230, 0.08);
}
.nav-links.open { display: grid; }
.nav-links a { display: block; color: var(--ink); text-decoration: none; padding: 0.7rem 1rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }

/* Buttons */
.buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: var(--gold); color: var(--gold-ink) !important; text-decoration: none;
  font-family: var(--display); font-weight: 700; letter-spacing: 0.02em;
  text-transform: uppercase; font-size: 0.92rem; line-height: 1;
  padding: 0.95rem 1.25rem; border: 0; border-radius: 4px; cursor: pointer;
  box-shadow: 4px 4px 0 #000; position: relative;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.buy:hover { background: #ddb63a; color: var(--gold-ink) !important; }
.buy:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 #000; }
.buy.ghost {
  background: transparent; color: var(--gold) !important;
  box-shadow: none; border: 2px solid var(--gold);
}
.buy.ghost:hover { background: rgba(201, 162, 39, 0.12); }
.buy.ghost:active { box-shadow: none; transform: none; }
.buy.cta-glow { animation: ctaGlow 3.2s ease-in-out infinite; }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 4px 4px 0 #000, 0 0 0 0 rgba(201, 162, 39, 0.15); }
  50% { box-shadow: 4px 4px 0 #000, 0 0 22px 2px rgba(201, 162, 39, 0.38); }
}

/* Sticky buy bar (mobile) */
.buy-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.65rem 0.9rem; background: #0e0e0e; border-top: 2px solid var(--gold);
  transition: box-shadow 220ms ease, background 220ms ease;
}
.buy-sticky.is-scrolled { box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45); background: #0c0c0c; }
.buy-sticky .amt { font-family: var(--display); font-size: 1.7rem; color: var(--gold); line-height: 1; }
.buy-sticky .amt small {
  display: block; font-family: var(--body); font-size: 0.72rem;
  color: var(--muted); font-weight: 600;
}
.buy-sticky .buy { padding: 0.75rem 0.9rem; font-size: 1.05rem; box-shadow: none; animation: none; }
.buy-sticky .buy.cta-glow { animation: stickyCtaGlow 3.2s ease-in-out infinite; }
@keyframes stickyCtaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0); }
  50% { box-shadow: 0 0 28px 4px rgba(201, 162, 39, 0.55), 0 0 0 2px rgba(201, 162, 39, 0.7); }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 1.5rem 0 2.5rem;
  background:
    radial-gradient(ellipse at 70% 35%, rgba(201, 162, 39, 0.28), transparent 58%),
    radial-gradient(ellipse at 20% 80%, rgba(29, 95, 168, 0.14), transparent 45%),
    #141414;
}
.hero-grid { display: grid; gap: 1.4rem; align-items: center; position: relative; z-index: 1; }
.kicker {
  font-family: var(--body); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 0.6rem; font-size: 0.72rem;
}
.tagline {
  font-family: var(--accent-font); font-weight: 700;
  font-size: clamp(1.15rem, 3.2vw, 1.55rem); letter-spacing: -0.015em;
  line-height: 1.25; color: var(--ink); margin: 0.85rem 0 0.4rem;
}
.hero h1 .accent-slash {
  font-family: var(--accent-font); font-weight: 800; font-style: italic; letter-spacing: -0.02em;
  background: linear-gradient(105deg, #e2c15a 0%, var(--gold) 45%, #f0d878 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.price { color: var(--gold); font-size: clamp(3.2rem, 12vw, 4.6rem); margin: 0.2rem 0 0.15rem; letter-spacing: -0.02em; }
.price span { font-family: var(--body); font-size: 1rem; color: var(--muted); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.byline { color: var(--dim); font-size: 0.88rem; margin-top: 0.9rem; }

.cover-wrap { position: relative; max-width: 420px; margin-inline: auto; perspective: 900px; }
.cover-frame {
  background: #000; border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: 10px 14px 0 rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(201, 162, 39, 0.55), 0 0 48px rgba(201, 162, 39, 0.35);
  margin: 0; transform-style: preserve-3d;
  transition: transform 180ms var(--ease-out);
  animation: coverFloat 5.5s ease-in-out infinite; will-change: transform;
}
.cover-frame img { width: 100%; }
@keyframes coverFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.02); }
}

section { padding: 2.6rem 0; }
section + section { border-top: 1px solid rgba(243, 240, 230, 0.08); }
.eyebrow {
  color: var(--gold); font-family: var(--body); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 0.45rem; font-size: 0.72rem;
}
.story p:last-child { margin-bottom: 0; }
.closer {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1; margin-top: 1.2rem;
  color: var(--gold); letter-spacing: -0.01em;
}

/* Trailer */
.video-frame {
  border: 1px solid rgba(201, 162, 39, 0.45); background: #000;
  box-shadow: 10px 14px 0 rgba(0, 0, 0, 0.45), 0 0 40px rgba(201, 162, 39, 0.22);
  margin-top: 1.1rem;
}
.video-frame video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }

/* Look inside */
.look-grid { display: grid; gap: 0.9rem; margin-top: 1.15rem; }
.look-grid figure { margin: 0; }
.look-grid img {
  border: 1px solid rgba(243, 240, 230, 0.16); background: #000; width: 100%;
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
}
.look-grid figure:hover img { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); }
.look-grid figcaption { color: var(--dim); font-size: 0.88rem; margin-top: 0.35rem; }

/* What's inside */
.include { list-style: none; padding: 0; margin: 0.4rem 0 1rem; display: grid; gap: 0; }
.include li {
  padding: 0.55rem 0 0.55rem 1.6rem; position: relative;
  border-bottom: 1px solid rgba(243, 240, 230, 0.08);
}
.include li::before { content: "▸"; position: absolute; left: 0; color: var(--gold); }

/* Meet the family */
.family-grid { display: grid; gap: 0.9rem; margin-top: 1.15rem; grid-template-columns: repeat(2, 1fr); }
.fam {
  background: var(--bg-card); border: 1px solid rgba(243, 240, 230, 0.1);
  overflow: hidden; transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), border-color 200ms ease;
}
.fam:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35); }
.fam img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #101010; }
.fam .fam-body { padding: 0.7rem 0.85rem 0.85rem; }
.fam h3 { font-size: 1.05rem; letter-spacing: 0.01em; }
.fam p { color: var(--muted); font-size: 0.92rem; margin: 0.3rem 0 0; }

/* Pricing */
.price-panel {
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.08), transparent 40%), var(--bg-card);
  border: 2px solid var(--gold); padding: 1.2rem 1.1rem 1.3rem; margin-top: 1.1rem;
}
.fine { color: var(--dim); font-size: 0.88rem; }
.crosslink {
  border: 1px solid rgba(243, 240, 230, 0.12); background: var(--bg-card);
  padding: 1rem 1.05rem; margin-top: 1.1rem; color: var(--muted);
}
.crosslink strong { color: var(--ink); }

.site-foot {
  border-top: 1px solid rgba(243, 240, 230, 0.1);
  padding: 1.4rem 0 1.6rem; color: var(--dim); font-size: 0.92rem;
}
.site-foot a { color: var(--muted); }
.site-foot p { margin-bottom: 0.45rem; }

.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--reveal-ms) var(--ease-out), transform var(--reveal-ms) var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (min-width: 800px) {
  body { padding-bottom: 0; }
  .buy-sticky { display: none; }
  .nav-toggle { display: none; }
  .nav-links { display: flex; position: static; background: transparent; border: 0; padding: 0; gap: 0.2rem; }
  .nav-links a { padding: 0.4rem 0.55rem; }
  .hero { padding: 2.2rem 0 3rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2rem; }
  .cover-wrap { margin: 0 0 0 auto; }
  .look-grid { grid-template-columns: repeat(4, 1fr); }
  .family-grid { grid-template-columns: repeat(4, 1fr); }
  section { padding: 3.4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cover-frame, .buy.cta-glow, .buy-sticky .buy.cta-glow { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fam, .fam:hover, .look-grid img, .cover-frame, .buy { transition: none; transform: none; }
}
