@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/mulish-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/mulish-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/mulish-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/mulish-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/playfair-display-latin-700-normal.woff2) format('woff2'); }

/* Zaplie's tokens: Bitcoin orange on the warm near-black of his images. */
:root {
  --orange: #f7931a;
  --orange-hot: #ffb347;
  --orange-text: #fdba74;
  --night: #0b0a09;
  --panel: #161412;
  --panel-2: #1e1b18;
  --text: #fafaf9;
  --soft: #d6d3d1;
  --dim: #a8a29e;
  --line: rgba(214, 211, 209, 0.12);
  --line-2: rgba(214, 211, 209, 0.22);
  --radius: 14px;
  --wrap: 1180px;
  --pad: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night); color: var(--soft); font: 400 17px/1.6 'Mulish', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-text); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--text); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h3 { font-family: 'Mulish', system-ui, sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: 0; }
code { font: 600 0.9em ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--orange-text); background: var(--panel-2); padding: 1px 6px; border-radius: 5px; }
.sprite { position: absolute; }
.i { width: 18px; height: 18px; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgb(11 10 9 / 0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 700 1.35rem 'Playfair Display', Georgia, serif; }
.brand img { border-radius: 50%; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
.top .btn { margin-left: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; background: var(--orange); color: #140b00; font-weight: 800; text-decoration: none; padding: 14px 24px; border-radius: 12px; border: 2px solid var(--orange); transition: background .15s, transform .15s; }
.btn:hover { background: var(--orange-hot); border-color: var(--orange-hot); transform: translateY(-1px); }
.btn-small { padding: 9px 16px; font-size: 0.95rem; border-radius: 10px; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgb(247 147 26 / 0.6); }
.btn-ghost:hover { background: rgb(247 147 26 / 0.12); border-color: var(--orange); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Hero: Zaplie on the right, the headline over the dark left half. */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; background: var(--night) url("img/zaplie-hero.webp") right center / cover no-repeat; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgb(11 10 9 / 0.85) 34%, rgb(11 10 9 / 0) 62%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--night)); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 60px; padding-bottom: 80px; }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); margin: 22px 0 22px; }
.lede { font-size: 1.2rem; color: var(--soft); max-width: 540px; margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgb(22 20 18 / 0.7); color: var(--text); font-weight: 600; font-size: 0.92rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.audience { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 34px 0 0; }
.audience li { padding: 6px 14px; border-radius: 8px; border: 1px solid var(--line-2); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-text); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, var(--panel) 0%, var(--night) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 12px; color: var(--orange); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.85rem; }
.section h2, .closing h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.sub { margin: 16px 0 0; max-width: 660px; font-size: 1.08rem; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding-bottom: 24px; }
.steps img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 20px; }
.steps h3, .steps p { padding: 0 24px; }
.steps p { margin: 10px 0 0; }
.n { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--orange); color: #140b00; font-size: 0.9rem; vertical-align: 2px; }

.shots { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.shot { margin: 0; }
.shot img { border-radius: 12px; border: 1px solid var(--line-2); box-shadow: 0 24px 60px -24px rgb(0 0 0 / 0.8); }
.shot-wide { grid-column: 1 / -1; }
.shot-wide img { box-shadow: 0 30px 80px -30px rgb(247 147 26 / 0.35); }
figcaption { margin-top: 12px; color: var(--dim); }
figcaption strong { color: var(--text); }
.note { margin: 28px 0 0; color: var(--dim); }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.split-img { border-radius: var(--radius); border: 1px solid var(--line); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.ticks li { display: flex; gap: 14px; }
.ticks .i { color: var(--orange); margin-top: 4px; }
.ticks strong { color: var(--text); }

.meet .split { grid-template-columns: 0.9fr 1.1fr; }
blockquote { margin: 24px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--orange); font: 700 1.35rem/1.35 'Playfair Display', Georgia, serif; color: var(--orange-text); }
.meet .btn { margin-top: 26px; }
.video { width: 100%; border-radius: var(--radius); border: 1px solid var(--line-2); background: #000; aspect-ratio: 16 / 9; box-shadow: 0 30px 80px -30px rgb(247 147 26 / 0.3); }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
summary { cursor: pointer; color: var(--text); font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; }
.soon { display: inline-block; margin-right: 10px; padding: 2px 10px; border: 1px solid rgb(247 147 26 / 0.7); border-radius: 999px; color: var(--orange-text); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; vertical-align: 2px; white-space: nowrap; }
.ticks .soon { margin-left: 4px; }
.next { color: var(--dim); }

.closing { padding: 40px 0 96px; }
.closing-row { display: flex; align-items: center; gap: 48px; background: radial-gradient(circle at 15% 50%, rgb(247 147 26 / 0.16), transparent 60%), var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 36px 48px; }
.closing-row img { width: 240px; border-radius: 50%; }

.footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--dim); font-size: 0.92rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--dim); text-decoration: none; }
.footer nav { display: flex; gap: 22px; }
.footer nav a { color: var(--soft); text-decoration: none; }
.footer p { margin: 0 0 0 auto; }

@media (max-width: 960px) {
  html { scroll-padding-top: 116px; }
  .top-row { flex-wrap: wrap; height: auto; padding-top: 12px; row-gap: 6px; }
  .nav { order: 3; flex-basis: 100%; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 12px; gap: 22px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .nav::-webkit-scrollbar { display: none; }
  .steps { grid-template-columns: 1fr; max-width: 520px; }
  .split, .meet .split { grid-template-columns: 1fr; gap: 36px; }
  .split-img { max-width: 420px; }
  .shots { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --pad: 16px; }
  body { font-size: 16px; }
  .hero { min-height: 0; display: block; background: var(--night); }
  .hero::before, .hero::after { display: none; }
  .hero { background: linear-gradient(rgb(11 10 9 / 0) 55%, var(--night) 420px) 70% top / 100% 420px no-repeat, var(--night) url("img/zaplie-hero-960.webp") 70% top / auto 420px no-repeat; }
  .hero .wrap { padding-top: 300px; padding-bottom: 56px; }
  .section { padding: 64px 0; }
  .closing-row { flex-direction: column; text-align: center; padding: 32px 20px; gap: 24px; }
  .closing-row .cta { justify-content: center; }
  .closing-row img { width: 180px; }
  .footer p { margin: 0; }
  .top .btn { padding: 8px 12px; }
}
