/* =====================================================================
   ekkobuild funnel system (system B): the prospect's own brand.
   Cream paper, navy ink, one rust serif-italic word per headline.
   Taken from ekkobuild.com: #16233F navy, #F6F3EC cream, #B5502E rust,
   #2D7A74 teal, #E9A588 peach. Archivo 800 + Instrument Serif italic + Nunito Sans.
   ===================================================================== */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --cream: #F6F3EC;
  --paper: #FBFAF7;
  --sand: #EFE9DE;
  --ink: #16233F;
  --ink-2: #4E586E;
  --muted: #636C80;
  --hair: rgba(22, 35, 63, 0.11);
  --hair-soft: rgba(22, 35, 63, 0.06);
  --accent: #B5502E;          /* rust: the italic word, small details */
  --accent-deep: #8E3D22;
  --teal: #2D7A74;
  --peach: #E9A588;
  --blush: #F3E1D8;
  --sky: #D6E4EE;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Nunito Sans", "Avenir Next", system-ui, sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 24px 60px -34px rgba(22, 35, 63, 0.35);
}

/* mobile hardening (mobile.md) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: clip; }
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
img, video, iframe, svg { max-width: 100%; }
h1, h2, h3, p { overflow-wrap: break-word; }

html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; background: var(--cream);
}
/* one continuous page canvas: soft warm washes, no section seams */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% -8%, rgba(233, 165, 136, 0.28), transparent 70%),
    radial-gradient(40% 35% at 100% 30%, rgba(214, 228, 238, 0.55), transparent 70%),
    radial-gradient(45% 40% at 0% 75%, rgba(243, 225, 216, 0.6), transparent 70%),
    var(--cream);
}
::selection { background: var(--ink); color: var(--cream); }
img { display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
section { position: relative; }
.section { padding: clamp(72px, 10vw, 120px) 0; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
em, .it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); }
h1 em, h2 em { font-size: 1.08em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font-family: var(--display); font-weight: 600; font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(45, 122, 116, 0.15); }
.lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--ink-2); line-height: 1.6; margin: 22px auto 0; max-width: 60ch; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }

/* buttons: navy pill, cream ink (his site's button) */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--display); font-weight: 600; font-size: 16.5px; letter-spacing: -0.005em;
  padding: 19px 36px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--cream);
  box-shadow: 0 18px 40px -18px rgba(22, 35, 63, 0.55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(110deg, transparent, rgba(246,243,236,.22), transparent); transition: transform .7s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -18px rgba(22, 35, 63, 0.6); }
.btn:hover::after { transform: translateX(120%); }
.btn .ar { transition: transform .35s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn--lg { font-size: 17.5px; padding: 21px 44px; }

/* cards */
.card { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); box-shadow: var(--shadow); }

/* reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s } .rv.d2 { transition-delay: .16s } .rv.d3 { transition-delay: .24s }

/* footer: branding-only banner, 1.5x the wordmark height, centred */
.foot { display: flex; align-items: center; justify-content: center; height: 54px; background: var(--ink); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 36px; letter-spacing: -0.04em; color: var(--cream); text-transform: lowercase; display: inline-flex; align-items: center; gap: 10px; }
.wordmark .mk { width: 22px; height: 22px; }

/* mark (two lines, from his favicon) */
.mk rect { fill: currentColor; }

/* faux video frame (prep / replay) */
.vframe { position: relative; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: 0 50px 100px -50px rgba(22,35,63,.55); border: 1px solid var(--hair); }
.vframe .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vframe::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 90% at 50% 50%, rgba(22,35,63,.05), rgba(22,35,63,.55)); }
.vplay { position: absolute; left: 50%; top: 50%; z-index: 2; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); box-shadow: 0 20px 50px -10px rgba(0,0,0,.45); transition: transform .35s var(--ease); }
.vframe:hover .vplay { transform: scale(1.06); }
.vplay svg { width: 30px; height: 30px; margin-left: 5px; }

/* swap stubs: shown only where research found nothing real */
.swap { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: rgba(246,243,236,.9); font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; z-index: 1; }

/* reel cover tiles (his real covers) */
.reel { position: relative; aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; background: var(--ink); border: 1px solid var(--hair); box-shadow: var(--shadow); }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel .stat { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(251,250,247,.94); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: -0.01em; }
.reel .stat svg { width: 12px; height: 12px; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .btn, .btn::after, .vplay { transition: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .btn--lg { padding: 19px 30px; font-size: 16.5px; }
  .sec-head { margin-bottom: 44px; }
}
