/* =========================================================================
   WorkByPaul · funnel design system (system B)
   Paul's own world: charcoal canvas, violet studio light, sticky-note yellow,
   a touch of hot orange. Bold geometric display (Cabinet Grotesk 800) and a
   clean grotesk for text (General Sans). Shared by every funnel/specimen page.
   ========================================================================= */
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-600.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  --bg: #121214;
  --surface: #1a191f;
  --surface-2: #221f2a;
  --line: rgba(244, 242, 238, 0.10);
  --line-soft: rgba(244, 242, 238, 0.06);
  --text: #f4f2ee;
  --text-2: #b3b0bd;
  --text-3: #8c8899;
  --violet: #452377;
  --violet-2: #6b3fc4;
  --violet-lt: #b49cff;
  --accent: #f5e14a;           /* sticky-note yellow */
  --accent-2: #fff07a;
  --accent-ink: #16130a;
  --accent-soft: rgba(245, 225, 74, 0.12);
  --hot: #ef6828;
  --money: #31a46d;
  --radius: 18px;
  --maxw: 1120px;
  --display: "Cabinet Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* legacy names used by older specimen css */
  --ink: var(--text); --muted: var(--text-2); --hair: var(--line);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; color: var(--text); font-family: var(--sans); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; background: transparent; min-height: 100vh;
}
/* one continuous canvas: violet studio glow + faint grid paper (his filming backdrop), no seams */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% -8%, rgba(107, 63, 196, 0.34), transparent 70%),
    radial-gradient(40% 35% at 100% 40%, rgba(69, 35, 119, 0.30), transparent 70%),
    radial-gradient(40% 35% at 0% 85%, rgba(69, 35, 119, 0.26), transparent 70%),
    var(--bg); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(244,242,238,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(244,242,238,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 85%); mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 85%); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.section { padding: 104px 0; position: relative; }
.eyebrow { display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); line-height: 1.6; margin: 22px 0 0; }
.hl { color: var(--accent); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }

/* sticky-note yellow highlighter swipe (his thumbnails) */
.swipe { position: relative; white-space: nowrap; z-index: 0; }
.swipe::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .34em; background: var(--hot); opacity: .85; border-radius: 3px; z-index: -1; transform: rotate(-1deg); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 600; font-size: 17px; padding: 18px 36px; min-height: 48px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 0 #b9a31f, 0 22px 40px -16px rgba(245, 225, 74, .45); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #b9a31f; }
.btn .ar { transition: transform .25s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }

/* lockup */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__word { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: var(--text); white-space: nowrap; line-height: 1; }
.brand__word b { color: var(--accent); font-weight: 800; }

/* footer: branding-only banner, 1.5x branding height, centred, soft fade in */
.brandfoot { display: flex; align-items: center; justify-content: center; height: 45px; margin-top: 64px; position: relative; background: linear-gradient(180deg, transparent, rgba(26,25,31,.9)); }
.brandfoot .brand__word { font-size: 17px; color: var(--text-2); }
.brandfoot .brand__mark { width: 26px; height: 26px; }
.brandfoot__legal { display: none; }

/* video cards: 2-up, name + description centred below */
.vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 940px; margin: 0 auto; }
.vcard { text-align: center; }
.vframe { aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; position: relative; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); display: grid; place-items: center; }
.vframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vplay { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .6); }
.vname { font-family: var(--display); font-size: 20px; font-weight: 700; margin: 20px 0 4px; }
.vdesc { font-size: 15px; color: var(--text-2); margin: 0 auto; max-width: 36ch; }
.swap { display: grid; place-items: center; text-align: center; padding: 16px; font-size: 12.5px; letter-spacing: .06em; color: var(--text-3); border: 1px dashed rgba(245, 225, 74, .25); border-radius: inherit; background: repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 10px, transparent 10px 20px); }

/* proof grid: 8 equal tiles */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot { aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); position: relative; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.shot.swap { aspect-ratio: 4/5; }

/* reveal (IntersectionObserver in funnel.js) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } .vgrid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .section { padding: 64px 0; } .sec-head { margin-bottom: 40px; } }

/* ---- mobile hardening (references/mobile.md) ---- */
*, *::before, *::after { box-sizing: border-box; }
img, svg, video, canvas, iframe { max-width: 100%; height: auto; }
p, li, td, th, blockquote, figcaption, h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; }
table, pre { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 700px) {
  .tag, [class*="badge"], [class*="pill"] { margin-left: 0; }
}
@media (max-width: 420px) { .tok-merge, .tok-link, code { white-space: normal; } }
