/* ============ Artificially — styles ============ */
:root {
  --bg: #f4f6fa;          /* cool white page */
  --card: #fbfcfe;        /* cards and fields */
  --paper: #e8ecf4;       /* tinted sections */
  --tint: #dcecff;        /* soft blue wash */
  --tint-2: #b8daff;
  --accent: #0080f6;      /* the one blue, matched to the ARTIFICIALLY wordmark */
  --accent-fill: var(--accent); /* blue used as a background */
  --on-dark: #f4f6fa;     /* text on dark blocks and blue fills */
  --grid-line: rgba(11, 18, 38, .075);  /* the faint background grid */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  --on-dark-label: rgba(244, 246, 250, .7); /* small labels on dark blocks */
  --dark: #0b1226;        /* navy-black blocks and buttons */
  --ink: #0b1226;
  --muted: #5b6275;
  --line: #dde2ec;

  --serif: "Anton", Impact, "Arial Narrow", sans-serif;   /* display headlines */
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "Hanken Grotesk", system-ui, -apple-system, sans-serif;   /* small caps labels */

  --radius: 12px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent-fill); color: var(--on-dark); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0;
}
.display em, .h2 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 520px; margin: 0; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px;
  border-radius: 8px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--dark); color: var(--on-dark); box-shadow: 0 10px 30px -10px rgba(11, 18, 38, .35); }
.btn-primary:hover { background: var(--accent-fill); box-shadow: 0 16px 36px -12px rgba(11, 18, 38, .4); }
.btn-ghost { background: var(--card); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--tint-2); background: var(--tint); }
.btn-white { background: var(--on-dark); color: var(--dark); }
.btn-white:hover { background: var(--tint); }
.btn-outline-white { border-color: rgba(255,255,255,.35); color: var(--on-dark); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 250, .82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -.03em; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-mark { transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: translateY(-2px) scale(1.06); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:not(.btn):hover { color: var(--ink); background: var(--tint); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links .btn { margin-left: 10px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease);
  }
  .nav-links a:not(.btn) { padding: 14px 4px; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links .btn { margin: 16px 0 0; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- video frames ---------- */
.clip-media {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
  box-shadow: 0 30px 60px -30px rgba(12, 20, 45, .45), 0 0 0 1px rgba(12, 20, 45, .06);
}
.clip-media video { width: 100%; height: 100%; object-fit: cover; }
.rec {
  position: absolute; top: 12px; left: 12px; z-index: 2; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  color: var(--on-dark); background: rgba(11, 18, 38, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 5px 9px; border-radius: 999px;
}
.rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-fill); }
@keyframes blink { to { visibility: hidden; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee-track span {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
}
.marquee-track span::after { content: "/"; font-size: .8em; color: var(--accent); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-tint { background: var(--paper); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }
.section-head .section-head { margin-bottom: 0; }
@media (max-width: 800px) { .section-head.split { grid-template-columns: 1fr; gap: 18px; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step {
  position: relative; padding: 32px 28px 30px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.step:hover { transform: translateY(-4px); border-color: var(--tint-2); box-shadow: 0 30px 50px -35px rgba(20, 35, 80, .28); }
.step-num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; margin: 56px 0 12px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.step-icon {
  position: absolute; top: 26px; right: 26px;
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--tint); color: var(--accent);
}
.step-icon svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step h3 { margin-top: 36px; } }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.compare-col { padding: clamp(28px, 4vw, 44px); }
.compare-col + .compare-col { background: var(--dark); color: var(--on-dark); }
.compare-col h3 { margin: 0 0 24px; font-family: var(--serif); font-weight: 400; font-size: 32px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; }
.compare-col li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.compare-col + .compare-col li { border-top-color: rgba(255,255,255,.18); }
.compare-col li b { font-weight: 500; }
.compare-col li::before { content: "—"; color: var(--muted); flex: none; }
.compare-col + .compare-col li::before { content: "—"; color: var(--accent); }
.compare-col .mono { display: block; margin-bottom: 10px; }
.compare-col + .compare-col .mono { color: var(--on-dark-label); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- packages ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 480px; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px 26px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--tint-2); box-shadow: 0 30px 50px -35px rgba(20, 35, 80, .28); }
.plan-name { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.plan-count { font-family: var(--serif); font-size: 64px; line-height: 1; margin: 22px 0 4px; letter-spacing: -.02em; }
.plan-count small { font-family: var(--sans); font-size: 16px; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan-desc { color: var(--muted); font-size: 15px; margin: 0 0 22px; min-height: 48px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; padding: 18px 0; border-block: 1px solid var(--line); margin-bottom: 20px; }
.plan-price strong { font-size: 32px; font-weight: 600; letter-spacing: -.03em; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.plan .btn { margin-top: auto; }
.plan.featured { background: var(--dark); color: var(--on-dark); border-color: var(--dark); box-shadow: 0 40px 70px -40px rgba(11, 18, 38, .6); }
.plan.featured .plan-name { color: var(--on-dark-label); }
.plan.featured .plan-desc, .plan.featured .plan-price span, .plan.featured .plan-count small { color: rgba(255,255,255,.65); }
.plan.featured .plan-price { border-color: rgba(255,255,255,.14); }
.plan.featured li svg { color: var(--accent); }
.badge {
  position: absolute; top: 24px; right: 22px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent-fill); color: var(--on-dark); padding: 5px 10px; border-radius: 999px;
}

/* mini plans (home) */
.mini-plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.mini-plan { padding: 28px 26px; display: grid; gap: 6px; border-right: 1px solid var(--line); transition: background .3s; }
.mini-plan:last-child { border-right: 0; }
.mini-plan:hover { background: var(--tint); }
.mini-plan b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; }
.mini-plan .arrow { color: var(--accent); transition: transform .3s var(--ease); display: inline-block; }
.mini-plan:hover .arrow { transform: translateX(4px); }
@media (max-width: 560px) {
  .mini-plans { grid-template-columns: 1fr; }
  .mini-plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .mini-plan:last-child { border-bottom: 0; }
}

/* includes */
.includes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.includes div { background: var(--card); padding: 28px; }
.includes h4 { margin: 14px 0 6px; font-size: 17px; font-weight: 600; }
.includes p { margin: 0; color: var(--muted); font-size: 15px; }
.includes svg { width: 24px; height: 24px; color: var(--accent); }
@media (max-width: 860px) { .includes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .includes { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: 19px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--tint); color: var(--accent); font-size: 20px; font-weight: 400;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent-fill); color: var(--on-dark); }
.faq details p { margin: -6px 0 24px; color: var(--muted); max-width: 680px; }

/* ---------- work ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.clip { margin: 0; cursor: pointer; }
.clip-media { aspect-ratio: 9 / 16; }
.clip.wide { grid-column: span 2; }
.clip.wide .clip-media { aspect-ratio: auto; height: calc(100% - 64px); min-height: 260px; }
.clip-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 18, 38,.35), transparent 40%);
  opacity: 0; transition: opacity .3s;
}
.clip:hover .clip-media::after { opacity: 1; }
.clip video { transition: transform .8s var(--ease); }
.clip:hover video { transform: scale(1.04); }
.play {
  position: absolute; z-index: 2; right: 12px; bottom: 12px;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card); color: var(--accent);
  transform: scale(.8); opacity: 0; transition: transform .3s var(--ease), opacity .3s;
}
.play svg { width: 16px; height: 16px; margin-left: 2px; }
.clip:hover .play { transform: none; opacity: 1; }
.clip figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 4px 0; }
.clip figcaption b { font-weight: 500; font-size: 16px; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .clip figcaption { flex-direction: column; gap: 2px; }
  .clip.wide .clip-media { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .play { opacity: 1; transform: none; width: 34px; height: 34px; }
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 24px;
  background: rgba(11, 18, 38, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox video { max-height: 86vh; max-width: min(92vw, 1100px); border-radius: 18px; background: #000; }
.lightbox-close {
  position: absolute; top: 18px; right: 18px;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--card); color: var(--ink); font-size: 22px; line-height: 1;
}

/* ---------- page header ---------- */
.page-head { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; z-index: -1;
  width: 800px; height: 800px; left: 50%; top: -520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 128, 246, .14), rgba(0, 128, 246, 0));
}
.page-head .wrap { display: grid; gap: 22px; justify-items: start; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.channels { display: grid; gap: 12px; }
.channel {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.channel:hover { border-color: var(--tint-2); transform: translateY(-2px); box-shadow: 0 24px 40px -30px rgba(20, 35, 80, .3); }
.channel-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tint); color: var(--accent); }
.channel-icon svg { width: 24px; height: 24px; }
.channel.primary .channel-icon { background: var(--accent-fill); color: var(--on-dark); }
.channel h3 { margin: 0; font-size: 18px; font-weight: 600; }
.channel p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.channel .arrow { color: var(--accent); font-size: 22px; transition: transform .3s var(--ease); }
.channel:hover .arrow { transform: translateX(4px); }

.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.form-card h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 0 0 6px; line-height: 1.05; }
.form-card > p { margin: 0 0 26px; color: var(--muted); }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 128, 246, .14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-foot { margin-top: 14px; text-align: center; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--on-dark);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  display: grid; gap: 28px; justify-items: start;
}
.cta-band::before {
  content: ""; position: absolute; right: -120px; bottom: -220px;
  width: 560px; height: 560px;
  background: url("assets/logo/mark-white.svg") center / contain no-repeat;
  opacity: .08; transform: rotate(12deg);
}
.cta-band .h2 { max-width: 760px; }
.cta-band .h2 em { color: var(--accent); }
.cta-band p { margin: 0; color: rgba(244, 246, 250,.72); max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.footer { padding: 64px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-tag { font-family: var(--serif); font-size: 28px; line-height: 1.1; margin: 16px 0 0; max-width: 340px; }
.footer-tag em { color: var(--accent); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h4 { margin: 0 0 14px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-cols a { color: var(--muted); transition: color .2s; }
.footer-cols a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; padding: 0 17px; border-radius: 999px;
  background: var(--dark); color: var(--on-dark); font-weight: 500;
  box-shadow: 0 16px 36px -10px rgba(11, 18, 38, .45);
  transition: background .25s, transform .25s var(--ease), gap .35s var(--ease);
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--accent); animation: ring 2.4s ease-out infinite;
}
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease); }
.wa-float:hover { background: var(--accent-fill); transform: translateY(-2px); gap: 10px; }
.wa-float:hover span { max-width: 140px; }
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(1.35); opacity: 0; } }
@media (max-width: 520px) { .wa-float { right: 16px; bottom: 16px; } }

/* ---------- quiz ---------- */
.quiz { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .quiz { grid-template-columns: 1fr; } }
.quiz-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: clamp(24px, 4vw, 44px); min-height: 400px; display: flex; flex-direction: column;
  box-shadow: 0 40px 80px -50px rgba(20, 35, 80, .3);
}
.quiz-dots { display: flex; gap: 6px; margin-bottom: 28px; }
.quiz-dots i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .4s; }
.quiz-dots i.on { background: var(--accent-fill); }
.quiz-body { display: grid; gap: 14px; animation: fadeUp .5s var(--ease); }
.quiz-body h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; }
.quiz-body p { margin: 0 0 8px; color: var(--muted); }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .quiz-options { grid-template-columns: 1fr; } }
.quiz-options button {
  text-align: left; cursor: pointer; font-size: 16px; font-weight: 500;
  padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper);
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.quiz-options button:hover { border-color: var(--accent); background: var(--tint); transform: translateY(-2px); }
.quiz-result em { font-style: normal; color: var(--accent); }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.plan.match { outline: 3px solid var(--accent); outline-offset: 4px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* ---------- terms ---------- */
.legal { max-width: 760px; counter-reset: sec; }
.legal section { padding: 34px 0; border-top: 1px solid var(--line); }
.legal h2 { counter-increment: sec; margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.legal h2::before { content: "(" counter(sec, decimal-leading-zero) ")"; display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--accent); margin-bottom: 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 8px; }
.legal strong { color: var(--ink); font-weight: 600; }
.pay-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 8px; }
@media (max-width: 620px) { .pay-steps { grid-template-columns: 1fr; } }
.pay-steps div { padding: 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.pay-steps b { display: block; font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1; color: var(--accent); margin-bottom: 8px; }
.pay-steps span { font-size: 15px; color: var(--muted); }
.section-tint .form-card { background: var(--card); }
.plan.featured .btn-primary { background: var(--accent-fill); box-shadow: none; }
.plan.featured .btn-primary:hover { background: var(--accent-fill); opacity: .88; }


/* ============ Campaign type system ============ */
.eyebrow { font-weight: 600; letter-spacing: .14em; }
.eyebrow::before { display: none; }
.mono { font-weight: 500; letter-spacing: .1em; }
.display, .h2, .marquee-track span, .step h3, .compare-col h3, .footer-tag,
.form-card h2, .quiz-body h3, .legal h2, .cta-band .h2 { text-transform: uppercase; letter-spacing: .005em; }
.display { font-size: clamp(48px, 7.6vw, 112px); line-height: .92; }
.h2 { font-size: clamp(42px, 5.8vw, 80px); line-height: .94; }
h1 em, h2 em, h3 em, .footer-tag em, .quiz-result em { font-style: normal; }
.step h3 { font-size: 30px; }
.compare-col h3 { font-size: 30px; }
.plan-count { font-size: 60px; }
.footer-tag { font-size: 26px; line-height: 1.05; }
.faq summary { font-weight: 600; }

/* ============ Hero scroll hint ============ */
.hero-hint {
  position: absolute; z-index: 3; left: var(--gutter); bottom: 22px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero-hint::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px 0 0 2px; background: currentColor; animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.intro { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 130px); }
.intro-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.intro-side { display: grid; gap: 26px; justify-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }

/* nav while it floats over the dark hero */
.nav { transition: background .35s, border-color .35s, backdrop-filter .35s; }
.nav .logo, .nav .nav-links a:not(.btn) { transition: color .35s, background .2s; }
.nav.over { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.nav.over .logo, .nav.over .nav-links a:not(.btn), .nav.over .nav-links a[aria-current="page"] { color: var(--on-dark); }
.nav.over .nav-links a:not(.btn):hover { background: rgba(244, 246, 250,.14); }
.nav.over .nav-links .btn-primary { background: var(--on-dark); color: var(--dark); box-shadow: none; }
.nav.over .menu-btn span { background: var(--on-dark); }
@media (max-width: 760px) {
  .nav.open { background: var(--bg); }
  .nav.open .logo { color: var(--ink); }
  .nav.open .menu-btn span { background: var(--ink); }
  .nav.over .nav-links a:not(.btn) { color: var(--ink); }
  .nav.over .nav-links .btn-primary { background: var(--dark); color: var(--on-dark); }
}


/* ============ 3D fly-through hero ============ */
.fly { position: relative; height: 470vh; margin-top: -72px; background: var(--dark); }
.fly-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; perspective: 1000px; perspective-origin: 50% 45%; }
.fly-world { position: absolute; inset: 0; transform-style: preserve-3d; }
.fly-floor {
  position: absolute; left: -60%; right: -60%; bottom: -8vh; height: 140vh; overflow: hidden;
  transform-origin: 50% 100%; transform: rotateX(84deg);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 75%); mask-image: linear-gradient(to top, #000 10%, transparent 75%);
}
.fly-floor-grid {
  position: absolute; left: 0; right: 0; top: -110px; bottom: 0; will-change: transform;
  background-image:
    repeating-linear-gradient(to bottom, rgba(244, 246, 250,.10) 0 1px, transparent 1px 110px),
    repeating-linear-gradient(to right, rgba(244, 246, 250,.06) 0 1px, transparent 1px 140px);
}
.fly-item { position: absolute; left: 50%; top: 50%; will-change: transform, opacity; }
.fly-word { margin: 0; font-family: var(--serif); font-weight: 400; text-transform: uppercase; white-space: nowrap; line-height: .82; color: var(--on-dark); font-size: 8vw; }
.fly-word.red { color: var(--accent); }
.fly-title { font-size: 18.5vw; line-height: .8; }
.fly-card { width: 280px; margin-left: -140px; margin-top: -275px; }
.fly-card img { display: block; width: 280px; height: 498px; object-fit: cover; border-radius: 14px; box-shadow: 0 28px 48px -22px rgba(0,0,0,.7); }
.fly-card.wide { width: 520px; margin-left: -260px; margin-top: -175px; }
.fly-card.wide img { width: 520px; height: 293px; }
.fly-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.fly-label b { font-family: var(--serif); font-weight: 400; font-size: 26px; text-transform: uppercase; color: var(--on-dark); }
.fly-label span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8f97ab; }
.fly-fade { position: absolute; left: 0; right: 0; bottom: -1px; height: 26%; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(244, 246, 250,0), var(--bg) 92%); }
@media (max-width: 760px) {
  .fly { height: 410vh; }
  .fly-stage { perspective: 700px; }
  .fly-word { font-size: 11vw; }
  .fly-title { font-size: 19.5vw; }
  .fly-card { width: 160px; margin-left: -80px; margin-top: -165px; }
  .fly-card img { width: 160px; height: 284px; border-radius: 12px; }
  .fly-card.wide { width: 290px; margin-left: -145px; margin-top: -110px; }
  .fly-card.wide img { width: 290px; height: 163px; }
  .fly-label { flex-direction: column; gap: 2px; margin-top: 8px; }
  .fly-label b { font-size: 18px; }
}
.fly.fly-static { height: 100vh; height: 100svh; }
.fly.fly-static .fly-item:not(.fly-title) { display: none; }
.fly.fly-static .fly-title { transform: translate(-50%, -50%); }


/* ============ Dark mode (switched by the moon/sun button, saved per visitor) ============ */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070b18;
  --card: #0f1629;
  --paper: #0b1122;
  --tint: #0d2347;
  --tint-2: #134a8f;
  --accent: #3a9dff;       /* brighter blue for text on navy */
  --accent-fill: #0080f6;  /* brand blue for buttons and badges */
  --on-dark: #eef1f8;
  --on-dark-label: rgba(238, 241, 248, .7);
  --dark: #121a35;         /* raised blocks sit slightly lighter than the page */
  --ink: #eef1f8;
  --muted: #98a1b6;
  --line: #1c2640;
  --grid-line: rgba(238, 241, 248, .06);
}
[data-theme="dark"] .nav { background: rgba(7, 11, 24, .82); }
[data-theme="dark"] .btn-primary { background: var(--accent-fill); box-shadow: 0 10px 30px -12px rgba(0, 128, 246, .55); }
[data-theme="dark"] .btn-primary:hover { background: #1a8fff; }
[data-theme="dark"] .fly { background: var(--bg); }
[data-theme="dark"] .fly-fade { background: linear-gradient(to bottom, rgba(7, 11, 24, 0), var(--bg) 92%); }
[data-theme="dark"] .plan.featured { border-color: var(--accent-fill); }
[data-theme="dark"] .cta-band, [data-theme="dark"] .compare { border: 1px solid var(--line); }
[data-theme="dark"] .wa-float { background: var(--accent-fill); }

/* ---------- light / dark switch ---------- */
.nav .wrap { gap: 10px; }
.logo { margin-right: auto; }
.nav-links { order: 1; }
.theme-toggle { order: 2; }
.menu-btn { order: 3; }
.theme-toggle {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0; flex: none;
  border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink);
  cursor: pointer; transition: background .2s, border-color .2s, color .35s, transform .3s var(--ease);
}
.theme-toggle:hover { background: var(--tint); border-color: var(--tint-2); }
.theme-toggle:active { transform: scale(.92); }
.theme-toggle svg { width: 19px; height: 19px; grid-area: 1 / 1; transition: opacity .3s, transform .4s var(--ease); }
.theme-toggle .icon-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 1; transform: none; }
.nav.over .theme-toggle { color: var(--on-dark); border-color: rgba(244, 246, 250, .28); }
.nav.over .theme-toggle:hover { background: rgba(244, 246, 250, .12); }
@media (max-width: 760px) {
  .nav.open .theme-toggle { color: var(--ink); border-color: var(--line); }
}


/* ============ Vignette grid + film grain backgrounds ============ */
/* page headers: a fine grid that fades out from the top centre, with light grain */
.page-head { isolation: isolate; }
.page-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    var(--grain),
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 160px 160px, 56px 56px, 56px 56px;
  background-position: 0 0, center top, center top;
  opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 85% at 50% 0%, #000 25%, transparent 78%);
}
/* dark blocks: the same grid in light lines, darkened at the edges */
.cta-band, .clip-cta .clip-media {
  background:
    var(--grain),
    radial-gradient(ellipse 70% 90% at 50% 50%, transparent 20%, var(--dark) 80%),
    linear-gradient(to right, rgba(244, 246, 250, .07) 1px, transparent 1px) center / 48px 48px,
    linear-gradient(to bottom, rgba(244, 246, 250, .07) 1px, transparent 1px) center / 48px 48px,
    var(--dark);
}

/* grain reads much stronger on navy, so soften it in dark mode */
[data-theme="dark"] .page-head::after { opacity: .35; }

/* ---------- Constellation Grid (Contact page header) ---------- */
.page-head .constellation {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; cursor: crosshair;
  -webkit-mask-image: radial-gradient(ellipse 85% 95% at 50% 10%, #000 35%, transparent 85%);
  mask-image: radial-gradient(ellipse 85% 95% at 50% 10%, #000 35%, transparent 85%);
}
.page-head.has-constellation::after { display: none; }
@media (max-width: 960px) {
  .clip-cta .h2 { font-size: clamp(24px, 6.5vw, 40px) !important; }
  .clip-cta .clip-media { padding: 16px !important; }
}

/* one tile size for every ad; "Yours could be next" fills the last two slots of the grid
   (on tablets and phones it closes the grid as a full-width banner) */
.clip.clip-cta { grid-column: span 2; }
.clip.clip-cta .clip-media { aspect-ratio: auto; height: calc(100% - 44px); min-height: 220px; }
@media (max-width: 960px) {
  .clip.clip-cta { grid-column: 1 / -1; margin-top: 8px; }
  .clip.clip-cta .clip-media { height: auto; }
}


/* ============ Navy identity (matches the logo tile #0B1226) ============ */
:root {
  --navy: #0b1226;
  --navy-text: #f4f6fa;
  --navy-muted: rgba(244, 246, 250, .7);
  --navy-line: rgba(244, 246, 250, .1);
  --navy-accent: #4aa8ff;   /* lighter blue that reads on navy, from the logo gradient */
}

/* menu bar: solid navy on every page */
.nav { background: rgba(11, 18, 38, .94); }
.nav.scrolled { border-bottom-color: var(--navy-line); }
.nav .logo { color: var(--navy-text); }
.nav-links a:not(.btn) { color: var(--navy-muted); }
.nav-links a:not(.btn):hover { color: var(--navy-text); background: rgba(244, 246, 250, .08); }
.nav-links a[aria-current="page"] { color: var(--navy-text); }
.nav .nav-links .btn-primary, .nav.over .nav-links .btn-primary { background: var(--accent-fill); color: #fff; box-shadow: none; }
.nav .nav-links .btn-primary:hover { background: #1a8fff; }
.nav .theme-toggle { color: var(--navy-text); border-color: rgba(244, 246, 250, .22); }
.nav .theme-toggle:hover { background: rgba(244, 246, 250, .1); border-color: rgba(244, 246, 250, .35); }
.nav .menu-btn span { background: var(--navy-text); }
@media (max-width: 760px) {
  .nav-links { background: var(--navy); border-bottom-color: var(--navy-line); }
  .nav-links a:not(.btn), .nav.over .nav-links a:not(.btn) { color: var(--navy-text); border-bottom-color: var(--navy-line); }
  .nav.open { background: var(--navy); }
  .nav.open .logo { color: var(--navy-text); }
  .nav.open .menu-btn span { background: var(--navy-text); }
  .nav.open .theme-toggle { color: var(--navy-text); border-color: rgba(244, 246, 250, .22); }
}

/* page headers: navy bands */
.page-head {
  background: var(--navy); color: var(--navy-text);
  --grid-line: rgba(244, 246, 250, .07);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.page-head::after {
  opacity: 1;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  background-position: center top, center top;
}
.page-head .btn-ghost { background: transparent; color: var(--navy-text); border-color: rgba(244, 246, 250, .3); }
.page-head .btn-ghost:hover { background: rgba(244, 246, 250, .08); border-color: rgba(244, 246, 250, .5); }
.page-head .lead, .page-head .mono { color: var(--navy-muted); }
.page-head .eyebrow, .page-head .display em { color: var(--navy-accent); }

/* home: "How it works" as a navy section with white cards */
#how { background: var(--navy); color: var(--navy-text); }
#how .lead { color: var(--navy-muted); }
#how .eyebrow, #how .h2 em { color: var(--navy-accent); }
#how .step { color: var(--ink); border-color: transparent; }

/* footer: navy everywhere */
.footer { background: var(--navy); color: var(--navy-text); }
.footer .logo { color: var(--navy-text); }
.footer .mono, .footer-bottom { color: rgba(244, 246, 250, .55); }
.footer-top { border-bottom-color: var(--navy-line); }
.footer-cols a { color: var(--navy-muted); }
.footer-cols a:hover, .footer-tag em { color: var(--navy-accent); }

/* ============ Ad trail (home intro, computers only) ============ */
.intro { position: relative; overflow: hidden; }
.intro .wrap { position: relative; z-index: 1; }
.trail-img {
  position: absolute; z-index: 0; width: 150px; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 12px; pointer-events: none;
  box-shadow: 0 24px 40px -22px rgba(11, 18, 38, .55);
  animation: trail 1.15s cubic-bezier(.2, .7, .1, 1) forwards;
}
@keyframes trail {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.55) rotate(var(--r)); }
  14%  { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--r)); }
  65%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -40%) scale(.88) rotate(var(--r)); }
}

/* ============ Small blue cursor dot (computers only, added by main.js) ============ */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-fill); box-shadow: 0 0 0 2px rgba(255, 255, 255, .7);
  opacity: 0; transition: opacity .25s;
}
.cursor-dot.on { opacity: 1; }

/* ============ Blue flames in the page background ============ */
body { position: relative; isolation: isolate; }
.flames { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.flame {
  position: absolute; width: var(--s); height: calc(var(--s) * 1.33);
  opacity: var(--o); transform: translate(-50%, -50%) rotate(var(--r));
}
.flame svg {
  display: block; width: 100%; height: 100%; overflow: visible;
  transform-origin: 50% 100%;
  animation: flicker var(--d) ease-in-out var(--delay) infinite alternate;
  filter: drop-shadow(0 0 6px rgba(43, 156, 255, .35));
}
@keyframes flicker {
  0%   { transform: scale(1, 1) skewX(0deg); }
  40%  { transform: scale(.94, 1.07) skewX(2.5deg); }
  70%  { transform: scale(1.03, .96) skewX(-2deg); }
  100% { transform: scale(.97, 1.04) skewX(1deg); }
}
[data-theme="dark"] .flame { opacity: calc(var(--o) + .12); }

/* grey / white flames mixed in with the blue */
:root { --flame-grey-base: #8e98ae; --flame-grey-tip: #d9dfea; }
[data-theme="dark"] { --flame-grey-base: #aeb7cc; --flame-grey-tip: #ffffff; }
.flame-grey svg { filter: drop-shadow(0 0 5px rgba(200, 210, 230, .35)); }
[data-theme="dark"] .flame-grey svg { filter: drop-shadow(0 0 7px rgba(255, 255, 255, .45)); }

/* ============ Logo intro: the ribbon A draws itself, then the site appears ============ */
.intro-splash {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: #0b1226; animation: splash-out .55s ease 1.35s forwards;
}
.intro-splash svg { width: 92px; height: 92px; overflow: visible; animation: splash-pop .5s cubic-bezier(.2, .9, .3, 1.4) 1.05s both; }
.intro-splash path {
  fill: none; stroke: url(#splash-grad); stroke-width: 6; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: splash-draw 1s cubic-bezier(.6, .1, .3, 1) .1s forwards;
}
@keyframes splash-draw { to { stroke-dashoffset: 0; } }
@keyframes splash-pop { 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
html.splash-seen .intro-splash { display: none; }
@media (prefers-reduced-motion: reduce) { .intro-splash { display: none; } }

/* ============ 3D tilt + glare on the ad cards (computers only, driven by main.js) ============ */
.clip[data-lightbox] .clip-media { transition: transform .6s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.clip-media .glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 55%);
  opacity: 0; transition: opacity .35s;
}
.clip:hover .glare { opacity: 1; }

/* ============ 404 page ============ */
.nf { min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); display: grid; align-items: center; padding: 64px 0; background: var(--navy); color: var(--navy-text); }
.nf .lead { color: var(--navy-muted); }
.nf .eyebrow, .nf .display em { color: var(--navy-accent); }
.nf .btn-ghost { background: transparent; color: var(--navy-text); border-color: rgba(244, 246, 250, .3); }
.nf-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.nf-copy { display: grid; gap: 24px; justify-items: start; }
.nf-art { position: relative; display: grid; place-items: center; min-height: 340px; }
.nf-404 { font-family: var(--serif); font-size: clamp(140px, 22vw, 300px); line-height: 1; color: rgba(244, 246, 250, .06); letter-spacing: .02em; user-select: none; }
@media (max-width: 860px) { .nf-grid { grid-template-columns: 1fr; } .nf-art { min-height: 220px; order: -1; } }

/* ============ Page transitions: a navy panel with the logo wipes between pages ============ */
html::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background: #0b1226 url("assets/logo/mark-color.svg") center / 60px no-repeat;
  transform: translateY(100%);
}
html.wipe-out::after { animation: wipe-cover .38s cubic-bezier(.7, 0, .2, 1) forwards; }
html.wipe-in::after { transform: translateY(0); animation: wipe-away .55s cubic-bezier(.7, 0, .2, 1) .05s forwards; }
@keyframes wipe-cover { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes wipe-away { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) { html::after { display: none; } }

/* buttons that need to stand out on navy */
.nf .btn-primary { background: var(--accent-fill); color: #fff; }
.nf .btn-primary:hover { background: #1a8fff; }
.wa-float { background: var(--accent-fill); }
.wa-float:hover { background: #1a8fff; }

/* ============ Wordmark (from the Instagram logo) next to the ribbon A ============ */
.logo-word { display: block; height: 15px; width: auto; }
.footer .logo-word { height: 18px; }
@media (max-width: 760px) { .logo-word { height: 13px; } }
