/* Design system ported from audun-website-01 (getaudun.com) so the two sites
   read as one company. Tokens are identical; the components here are the same
   ones, with two deliberate differences:

   1. Nothing depends on JavaScript. The original adds a `.js` class and a
      `.cardwheel--active` modifier to pin and scroll-scrub the card deck, and
      uses `.reveal { opacity: 0 }` for scroll-in animations. This site ships
      with `script-src 'none'` because Meta's crawler must see every page
      without executing scripts, so the reveal classes are not ported and the
      card deck stays in its flow layout — which is the state the original
      falls back to on mobile, under reduced-motion, and with JS disabled.
   2. The nav keeps its links visible at small widths. The original hides them
      behind a JS toggle; without JS that would make the nav a dead end. */

:root {
  --cream: #e9f0f7;
  --paper: #ffffff;
  --tan: #dde8f2;
  --sand: #cdd9e7;
  --ink: #1a2e44;
  --ink-soft: #3d5778;
  --ink-faint: #94a5bb;
  --line: rgba(26, 46, 68, 0.12);
  --line-soft: rgba(26, 46, 68, 0.07);
  --dark: #122236;
  --dark-2: #1a3350;
  --on-dark: #e4edf6;
  --on-dark-soft: #8ba0b8;
  --navy: #1a2e44;
  --sky: #b8c8d8;
  --sage: #5f7360;

  --serif: 'Garamond', 'EB Garamond', 'Newsreader', Georgia, serif;
  --brand: 'Garamond', 'EB Garamond', 'Newsreader', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

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

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.serif em, em.serif { font-style: normal; }
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 14px;
}

/* ───────── buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { transform: translateY(-1px); background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(26, 46, 68, 0.05); }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); background: #fff; }

/* ───────── floating nav pill ───────── */
.nav {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: center; pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 4px;
  background: rgba(233, 240, 247, 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 6px 6px 6px 8px;
  box-shadow: 0 8px 30px rgba(18, 34, 54, 0.08), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.nav-brand { display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; }
.nav-brand svg { width: 22px; height: 22px; flex: none; }
.nav-brand-name { font-family: var(--brand); font-size: 19px; font-weight: 400; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 999px; transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(26, 46, 68, 0.05); }
.nav-cta { margin-left: 2px; }
.nav-cta a {
  display: inline-block;
  font-size: 14.5px; font-weight: 500; color: var(--cream); background: var(--ink);
  padding: 9px 16px; border-radius: 999px; transition: transform .2s ease, background .2s ease;
}
.nav-cta a:hover { transform: translateY(-1px); background: #000; }

/* ───────── hero ───────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background:
    radial-gradient(58% 42% at 82% 16%, rgba(252, 239, 208, 0.55), transparent 60%),
    linear-gradient(180deg, #7a92ab 0%, #aebfd0 36%, #dde6ee 64%, var(--cream) 100%);
}
.hero-media { position: absolute; left: 0; right: 0; bottom: 0; height: 92%; z-index: 1; pointer-events: none; }
.hero-media img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom;
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 30%, transparent 88%);
  mask-image: linear-gradient(to top, #000 0%, #000 30%, transparent 88%);
}
/* Slightly heavier than getaudun.com's veil: the subheading here runs a line
   longer, reaching the bright ridge where navy text loses contrast. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 58% at 50% 44%, rgba(233, 240, 247, 0.88), rgba(233, 240, 247, 0) 72%),
    linear-gradient(180deg, rgba(233, 240, 247, 0.3) 0%, rgba(233, 240, 247, 0) 45%);
}
.hero-inner { position: relative; z-index: 3; color: var(--navy); padding: 120px 24px 72px; max-width: 1000px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 8vw, 96px); line-height: 1.0; letter-spacing: -0.03em;
  color: var(--navy);
}
.hero-sub { margin: 26px auto 0; max-width: 560px; font-size: 18px; line-height: 1.5; color: var(--navy); }
.hero-cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* The button row lands on the ridge line, where a fully transparent ghost
   button disappears. Give it a translucent ground instead. */
.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.55); border-color: rgba(26, 46, 68, 0.18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.8); }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: var(--ink-faint); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint span.line {
  width: 1px; height: 34px; background: linear-gradient(var(--ink-faint), transparent);
  animation: drop 2.2s ease-in-out infinite;
}
@keyframes drop {
  0%, 100% { opacity: .3; transform: scaleY(.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ───────── section rhythm ───────── */
section { position: relative; }
.band { padding: clamp(64px, 8vw, 104px) 0; }
.center { text-align: center; }
.statement {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -0.02em;
  max-width: 16ch; margin-inline: auto;
}
.statement em { font-style: normal; }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 560px; margin: 22px auto 0; }
.band-head { text-align: center; margin-bottom: clamp(36px, 4.5vw, 56px); }
/* The CSP has no 'unsafe-inline' in style-src, so a style="" attribute is
   silently dropped. Section-level overrides have to be classes. */
.band-tan { background: var(--tan); }

/* ───────── card deck (flow layout — see file header) ───────── */
.cardwheel { position: relative; }
.cardwheel-sticky { padding: clamp(44px, 5.5vw, 72px) 0 0; }
.cw-slide + .cw-slide { margin-top: clamp(48px, 6vw, 84px); }
/* The original centres the frame between two 1fr gutters, which works because it
   pins the section full-screen. In flow layout that leaves the copy column too
   narrow to set a 44px serif heading, so the two columns share the width
   instead — the copy still hugs the frame and still alternates sides. */
.cw-slide-inner {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center; max-width: min(1500px, 94vw); margin: 0 auto; padding: 0 28px;
}
.cw-media { grid-column: 2; grid-row: 1; }
.cw-copy { grid-column: 1; grid-row: 1; text-align: right; }
.cw-copy .cw-p { margin-left: auto; }
/* mirrored, so the frame keeps the wider track on both sides */
.cw-slide.flip .cw-slide-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.cw-slide.flip .cw-media { grid-column: 1; grid-row: 1; }
.cw-slide.flip .cw-copy { grid-column: 2; grid-row: 1; text-align: left; }
.cw-slide.flip .cw-p { margin-left: 0; margin-right: auto; }
.cw-n { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); letter-spacing: 0.1em; margin-bottom: 18px; }
.cw-h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.06; letter-spacing: -0.02em; }
.cw-h3 em { font-style: normal; }
.cw-p { margin: 18px 0 0; color: var(--ink-soft); font-size: 17px; max-width: 40ch; }
.cw-media {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10;
  width: 100%; max-height: 80vh; container-type: inline-size;
  box-shadow: 0 40px 90px rgba(18, 34, 54, 0.16), 0 2px 0 rgba(255, 255, 255, 0.5) inset;
}
.cw-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 90% at 50% 40%, rgba(18, 34, 54, 0) 45%, rgba(18, 34, 54, 0.16) 100%);
}
.media-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ───────── product window inside the frame ───────── */
.cw-media .platform {
  position: absolute; inset: 8%; z-index: 2; text-align: left;
  background: var(--paper); border-radius: 13px; overflow: hidden;
  box-shadow: 0 26px 56px rgba(10, 24, 40, 0.42), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  display: flex; flex-direction: column;
}
.pf-bar {
  flex: none; display: flex; align-items: center; gap: 0.9cqw;
  padding: clamp(9px, 1.2cqw, 16px) clamp(12px, 1.6cqw, 22px);
  border-bottom: 1px solid var(--line-soft); background: #f3f7fb;
}
.pf-bar i { width: clamp(9px, 1.1cqw, 14px); height: clamp(9px, 1.1cqw, 14px); border-radius: 50%; display: block; }
.pf-bar i:nth-child(1) { background: #ff5f57; }
.pf-bar i:nth-child(2) { background: #febc2e; }
.pf-bar i:nth-child(3) { background: #28c840; }
.pf-url { margin-left: 1.2cqw; font-family: var(--mono); font-size: clamp(10px, 1.3cqw, 15px); color: var(--ink-faint); }
.pf-screen { flex: 1; min-height: 0; padding: clamp(16px, 3.6cqw, 46px); display: flex; flex-direction: column; gap: clamp(7px, 1.4cqw, 16px); }
.pf-eyebrow { font-family: var(--mono); font-size: clamp(10px, 1.35cqw, 16px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.pf-title { font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 3.4cqw, 46px); line-height: 1.05; letter-spacing: -0.01em; color: var(--ink); }
.pf-sub { font-size: clamp(12px, 1.75cqw, 21px); color: var(--ink-soft); }
.pf-row {
  display: flex; align-items: center; gap: clamp(8px, 1.2cqw, 16px);
  padding: clamp(8px, 1.5cqw, 18px) 0; border-top: 1px solid var(--line-soft);
  font-size: clamp(12px, 1.75cqw, 20px); color: var(--ink-soft);
}
.pf-row .amt { margin-left: auto; font-family: var(--mono); color: var(--ink); font-size: clamp(11px, 1.55cqw, 18px); white-space: nowrap; }
.pf-bubble {
  background: var(--navy); color: #fff; border-radius: 12px;
  padding: clamp(12px, 1.9cqw, 26px); font-size: clamp(12px, 1.9cqw, 22px);
  line-height: 1.45; align-self: flex-start; max-width: 92%;
}
.pf-plan { background: var(--cream); border: 1px solid var(--line-soft); border-radius: 10px; padding: 0 clamp(14px, 1.9cqw, 26px); }
.pf-plan .pf-row:first-child { border-top: none; }
.pf-reason { font-size: clamp(12px, 1.8cqw, 21px); line-height: 1.5; color: var(--ink-soft); margin: 0; }
.pf-spacer { flex: 1; min-height: 4px; }
.pf-foot { display: flex; align-items: center; gap: clamp(8px, 1.1cqw, 14px); flex-wrap: wrap; }
.pf-row .ok {
  flex: none; width: clamp(14px, 1.7cqw, 22px); height: clamp(14px, 1.7cqw, 22px); border-radius: 50%;
  background: #e2efe4; color: var(--sage); display: grid; place-items: center;
  font-size: clamp(9px, 1.1cqw, 14px); font-weight: 700;
}
.badge {
  font-family: var(--mono); font-size: clamp(10px, 1.15cqw, 14px); font-weight: 500; letter-spacing: 0.04em;
  padding: 2px 7px; border-radius: 5px; background: var(--tan); color: var(--ink-soft); white-space: nowrap;
}
.badge.green { background: #e2efe4; color: var(--sage); }

/* ───────── two-up cards ───────── */
.twoup { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.a-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 22px;
  padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column;
}
.a-card .eyebrow { margin-bottom: 18px; }
.a-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 34px); line-height: 1.08; letter-spacing: -0.02em; }
.a-card p { color: var(--ink-soft); margin: 16px 0 0; font-size: 16px; }
.pill-soft {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-faint);
  border: 1px dashed var(--line); padding: 10px 18px; border-radius: 999px;
}

/* ───────── dark bands ───────── */
.dark { background: var(--dark); color: var(--on-dark); }
.dark .statement, .dark h2, .dark h3 { color: var(--on-dark); }
.dark .lede { color: var(--on-dark-soft); }
.dark .eyebrow { color: var(--on-dark-soft); }
.closing { text-align: center; }
.closing h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.025em; }
.closing h2 em { font-style: normal; }
.closing .hero-cta { margin-top: 36px; }

/* ───────── checklist ───────── */
.checklist { margin: 30px auto 0; padding: 0; list-style: none; max-width: 760px; }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 13px; color: var(--ink-soft); font-size: 16px; }
.checklist li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }
.checklist strong { color: var(--ink); font-weight: 600; }

/* ───────── prose (legal pages) ───────── */
.prose { max-width: 76ch; padding: 148px 0 40px; }
.prose h1 { font-family: var(--serif); font-size: clamp(32px, 5vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 10px; }
.prose .updated { font-family: var(--mono); font-size: 13px; color: var(--ink-faint); margin: 0 0 40px; }
.prose h2 { font-family: var(--serif); font-size: 25px; letter-spacing: -0.01em; margin: 44px 0 12px; }
.prose h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); }
.prose td { color: var(--ink-soft); }
.prose .entity { line-height: 1.75; }
.prose .entity strong { color: var(--ink); font-weight: 600; }

.legal-links { margin: 16px 0 0; font-size: 14px; color: var(--ink-soft); }
.legal-links a { text-decoration: underline; text-underline-offset: 3px; }
.fineprint {
  margin: 44px 0 0; padding-top: 20px; border-top: 1px solid var(--line-soft);
  font-size: 12.5px; line-height: 1.7; color: var(--ink-faint);
}

/* 404: the nav is fixed, so the panel needs to clear it and fill the viewport */
.notfound { display: flex; align-items: center; min-height: 78svh; padding-top: 140px; }

.mt-lg { margin-top: 30px; }
.mt-xl { margin-top: 44px; }

/* ───────── footer ───────── */
.footer {
  background: var(--cream); border-top: 1px solid var(--line);
  padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(20px, 2.5vw, 40px); overflow: hidden;
}
.footer-legal { text-align: center; color: var(--ink-faint); font-size: 12.5px; line-height: 1.7; }
.footer-legal p { margin: 0; }
.footer-word {
  font-family: var(--brand); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(90px, 24vw, 400px); line-height: 0.9; text-align: center;
  color: var(--sand); margin-top: 28px; user-select: none;
}

/* ───────── responsive ───────── */
@media (max-width: 880px) {
  .twoup,
  .cw-slide-inner, .cw-slide.flip .cw-slide-inner { grid-template-columns: 1fr; }
  .cw-media, .cw-copy,
  .cw-slide.flip .cw-media, .cw-slide.flip .cw-copy { grid-column: auto; grid-row: auto; }
  .cw-copy, .cw-slide.flip .cw-copy { text-align: left; }
  .cw-copy .cw-p, .cw-slide.flip .cw-p { margin-left: 0; margin-right: 0; }
  /* The product window's type sizes have absolute clamp() floors, tuned for the
     large frame the original pins full-screen. At one column the frame is only
     ~300px wide, so a 3/2 box cannot fit the window content and clips it. Go
     portrait here and give the window more of the frame. */
  .cw-media { margin-top: 26px; aspect-ratio: 5 / 6; max-height: none; }
  .cw-media .platform { inset: 6%; }
  /* Links stay visible: the original swaps them for a JS toggle, which cannot
     work here. The pill wraps to a second row instead. */
  .nav { top: 12px; }
  .nav-pill { flex-wrap: wrap; justify-content: center; border-radius: 24px; padding: 7px 8px; margin: 0 14px; row-gap: 2px; }
  .nav-brand { padding: 5px 8px; }
  .prose { padding-top: 132px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-links a { padding: 7px 10px; font-size: 13.5px; }
  /* keeps the pill to two rows; the same action is in the hero and the footer */
  .nav-cta { display: none; }
  .cw-slide-inner { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint span.line { animation: none; }
  .btn, .btn .arrow, .nav-links a, .nav-cta a { transition: none; }
}
