/* ============================================================================
   Quiet Eye — single hand-written stylesheet.
   Palette as custom properties. No framework. CSS does as much motion as
   possible before any JS. Bold, direct, scannable; oversized display headlines;
   generous whitespace.
   ========================================================================== */

/* ---- Fonts: self-hosted WOFF2, font-display: swap ---- */
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  /* Palette (spec 8.4) */
  --ink: #1A1F2E;
  --presentation-bg: #131922;
  --paper: #F8F7F4;
  --white: #FFFFFF;
  --cerulean: #2D7FF9;

  /* Derived */
  --cerulean-700: #1f6ae0;
  --ink-80: rgba(26, 31, 46, 0.80);
  --ink-60: rgba(26, 31, 46, 0.62);
  --paper-80: rgba(248, 247, 244, 0.82);
  --paper-60: rgba(248, 247, 244, 0.60);
  --hairline: rgba(26, 31, 46, 0.12);
  --hairline-light: rgba(248, 247, 244, 0.16);

  /* Type */
  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --fs-hero: clamp(2.9rem, 9vw, 6.5rem);
  --fs-display: clamp(2.25rem, 5.5vw, 4.25rem);
  --fs-h2: clamp(1.8rem, 4vw, 3rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.6rem);
  --fs-stat: clamp(4rem, 16vw, 11rem);
  --fs-lead: clamp(1.2rem, 1.9vw, 1.6rem);
  --fs-body: clamp(1.05rem, 1.15vw, 1.2rem);
  --fs-small: 0.95rem;

  /* Spacing / rhythm */
  --wrap: 72rem;
  --wrap-narrow: 48rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4rem, 11vh, 9rem);
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Lenis smooth-scroll companion CSS (required). When Lenis is active it adds the
   .lenis / .lenis-smooth classes; this hands scrolling fully to Lenis and stops
   it fighting the browser's native scroll-behavior: smooth. */
html.lenis,
html.lenis body { height: auto; }
/* Key off .lenis (always added when Lenis is running) so the browser's native
   scroll-behavior never double-smooths against Lenis. */
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
input, button { font-family: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

strong { font-weight: 600; }

/* Visible focus everywhere (WCAG 2.2 AA) */
:focus-visible {
  outline: 3px solid var(--cerulean);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cerulean);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Layout helpers ---- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--deep { background: var(--presentation-bg); color: var(--paper); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cerulean);
  margin-bottom: 1.25rem;
}
.section--dark .eyebrow,
.section--deep .eyebrow { color: var(--cerulean); }

.lead { font-size: var(--fs-lead); line-height: 1.4; max-width: 38ch; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  text-decoration: none;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  will-change: transform;
}
.btn--accent { background: var(--cerulean); color: var(--white); }
.btn--accent:hover { background: var(--cerulean-700); transform: translateY(-2px); }
.btn--lg { padding: 1.15rem 2.1rem; font-size: 1.1rem; }
.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn--ghost:hover { background: rgba(127, 127, 127, 0.08); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* ============================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.site-header__logo { display: inline-flex; align-items: center; color: var(--ink); }
.logo { height: 30px; width: auto; }
.site-header__logo .logo { height: 56px; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}
.nav__link {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-80);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-current { color: var(--ink); }
.nav__link.is-current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--cerulean);
}

/* Mobile menu controls — hidden on desktop */
.nav-toggle, .nav-burger, .nav__overlay-close { display: none; }

@media (max-width: 820px) {
  /* Drop backdrop-filter here: it establishes a containing block that would
     trap the position:fixed overlay inside the header instead of the viewport. */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
  }

  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    z-index: 120;
  }
  .nav-burger__bar {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--presentation-bg);
    color: var(--paper);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--gutter);
  }
  .nav__list {
    flex-direction: column;
    gap: 1.75rem;
    text-align: center;
  }
  .nav__link { color: var(--paper); font-size: 1.6rem; }
  .nav__link:hover, .nav__link.is-current { color: var(--white); }
  .nav__book {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px));
  }
  .nav__book .btn { width: 100%; padding-block: 1.15rem; font-size: 1.1rem; }

  /* Pure-CSS toggle: checkbox controls the overlay */
  .nav-toggle:checked ~ .nav { transform: translateX(0); }
  .nav-toggle:checked ~ .nav-burger .nav-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger .nav-burger__bar:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger .nav-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* Burger turns light while open (sits over dark overlay) */
  .nav-toggle:checked ~ .nav-burger .nav-burger__bar { background: var(--paper); }

  /* Lock scroll behind overlay without JS */
  .nav-toggle:checked ~ .nav { overflow: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .nav, .nav-burger__bar { transition: none; }
}

/* ============================================================================
   Hero (Home)
   ========================================================================== */
.hero {
  background: var(--presentation-bg);
  color: var(--paper);
  position: relative;
  overflow: clip;
  padding-block: clamp(3.5rem, 12vh, 8rem) clamp(3.5rem, 10vh, 7rem);
}
.hero__kicker {
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--cerulean);
  margin-bottom: 1.5rem;
}
.hero__headline {
  font-size: var(--fs-hero);
  max-width: 16ch;
  margin-bottom: 1.75rem;
}
.hero__line-mask { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__line-mask [data-hero-line] { display: block; }
.hero__line-mask .accent { color: var(--cerulean); }
.hero__sub {
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--paper-80);
  max-width: 46ch;
  margin-bottom: 2.5rem;
}
.hero__cta { display: flex; flex-direction: column; gap: 0.85rem; align-items: flex-start; }
.hero__cta-sub { color: var(--paper-60); font-size: var(--fs-small); }

/* Ambient hero accent — a faint target echo. Decorative; pointer-events none. */
.hero__glow {
  position: absolute;
  top: 50%; right: -8%;
  width: min(58vw, 620px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(45, 127, 249, 0.22), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }

/* ============================================================================
   Generic section heading block
   ========================================================================== */
.section__head { max-width: 30ch; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.section__head h2 { font-size: var(--fs-display); }
.section__head--wide { max-width: 46ch; }

/* ============================================================================
   Symptom cards (The leak)
   ========================================================================== */
.symptoms {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.symptom {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.18;
  letter-spacing: -0.01em;
  border: 1px solid var(--hairline);
  position: relative;
}
.section--dark .symptom, .section--deep .symptom {
  border-color: var(--hairline-light);
}
.symptom::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--cerulean);
  margin-bottom: 1.5rem;
}
.symptoms-after {
  margin-top: clamp(2rem, 4vh, 3rem);
  font-size: var(--fs-lead);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.symptoms-after .accent { color: var(--cerulean); }

/* ============================================================================
   Proof (arcs + stat + quote)
   ========================================================================== */
.arcs {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  margin-bottom: clamp(3rem, 8vh, 5.5rem);
}
.arc__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.arc__label .accent { color: var(--cerulean); }
.arc__body { color: var(--paper-80); max-width: 48ch; }
.section--paper .arc__body, .section--white .arc__body { color: var(--ink-80); }

.stat {
  text-align: center;
  padding-block: clamp(2rem, 5vh, 3.5rem);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-stat);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--cerulean);
}
.stat__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  margin-top: 0.5rem;
}

.pullquote {
  text-align: center;
  max-width: 24ch;
  margin: clamp(2.5rem, 6vh, 4rem) auto 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.pullquote .accent { color: var(--cerulean); }

/* Resonance quote (standalone) */
.resonance {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-inline: auto;
}

/* ============================================================================
   Fit columns (Right fit / Not us)
   ========================================================================== */
.fit {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.fit__col {
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border: 1px solid var(--hairline);
  background: var(--white);
}
.fit__col--no { background: transparent; border-color: var(--hairline); }
.fit__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.fit__tag--yes { color: var(--cerulean); }
.fit__tag--no { color: var(--ink-60); }
.fit__tag::before {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  background: currentColor;
}
.fit__col ul { display: grid; gap: 1.1rem; }
.fit__col li { line-height: 1.5; }
.fit__col p { line-height: 1.55; }

/* ============================================================================
   About teaser (Home) + About page
   ========================================================================== */
.teaser {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 760px) {
  .teaser { grid-template-columns: 1.3fr 1fr; }
}
.teaser__body h2 { font-size: var(--fs-display); margin-bottom: 1.25rem; }
.teaser__body p { color: var(--paper-80); max-width: 46ch; margin-bottom: 1.5rem; }
.section--paper .teaser__body p, .section--white .teaser__body p { color: var(--ink-80); }
.teaser__link {
  font-weight: 600;
  color: var(--cerulean);
  text-decoration: none;
  display: inline-flex;
  gap: 0.4rem;
}
.teaser__link:hover { text-decoration: underline; }

/* About: portrait left, heading + credentials right (roomier text column). */
.teaser--about { align-items: start; }
@media (min-width: 760px) {
  .teaser--about { grid-template-columns: 0.85fr 1.15fr; }
}
.teaser--about .teaser__body h2 { font-size: var(--fs-h2); margin-bottom: 1.5rem; }
.teaser--about .costs { gap: 1.1rem; max-width: none; }
.linkedin-badge {
  display: inline-flex;
  margin-top: 1.75rem;
  border-radius: 4px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.linkedin-badge:hover { opacity: 0.85; transform: translateY(-1px); }
.linkedin-badge:focus-visible { outline: 2px solid var(--cerulean); outline-offset: 3px; }
.portrait {
  border-radius: var(--radius-lg);
  filter: grayscale(100%) contrast(1.02);
  width: 100%;
  background: var(--ink);
}

/* ============================================================================
   CTA block (sitewide)
   ========================================================================== */
.cta {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding-block: var(--section-y);
}
.cta__inner { max-width: 40rem; margin-inline: auto; }
.cta__heading {
  font-size: var(--fs-display);
  margin-bottom: 1.25rem;
}
.cta__body {
  color: var(--paper-80);
  font-size: var(--fs-lead);
  line-height: 1.4;
  margin-bottom: 2rem;
}
.cta .btn { margin-bottom: 1rem; }
.cta__secondary {
  display: block;
  margin-bottom: 1rem;
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.cta__secondary:hover { color: var(--cerulean); text-decoration: underline; }
.cta__subline { color: var(--paper-60); font-size: var(--fs-small); }

/* ============================================================================
   Page header (interior pages)
   ========================================================================== */
.page-header {
  background: var(--presentation-bg);
  color: var(--paper);
  padding-block: clamp(3.5rem, 10vh, 6.5rem) clamp(2.5rem, 7vh, 4.5rem);
}
.page-header h1 { font-size: var(--fs-display); max-width: 20ch; margin-bottom: 1.25rem; }
.page-header p { color: var(--paper-80); font-size: var(--fs-lead); max-width: 44ch; line-height: 1.4; }
.page-header p + p { margin-top: 1rem; }

/* Prose blocks */
.prose { max-width: var(--wrap-narrow); }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: var(--fs-h2); margin-top: 2.5rem; }
.prose h3 { font-size: var(--fs-h3); margin-top: 2rem; }
.prose p, .prose li { font-size: var(--fs-body); line-height: 1.65; }
.prose ul { display: grid; gap: 0.85rem; padding-left: 1.1rem; list-style: disc; }
.prose ul li::marker { color: var(--cerulean); }
.prose a:not(.btn) { color: var(--cerulean); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { font-weight: 600; }

/* ============================================================================
   How We Work — arc diagram + steps
   ========================================================================== */
.steps {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); position: relative; }
}
.step { position: relative; padding-top: 2.5rem; }
.step__num {
  position: absolute;
  top: 0; left: 0;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--cerulean);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.step h3 { font-size: var(--fs-h3); margin-bottom: 0.75rem; }
.step p { color: var(--ink-80); }
.section--dark .step p, .section--deep .step p { color: var(--paper-80); }

/* The single horizontal arc line with three points + loop under step 3 */
.arc-diagram { margin: clamp(2rem, 5vh, 3.5rem) 0 clamp(1rem, 3vh, 2rem); }
.arc-diagram svg { width: 100%; height: auto; overflow: visible; }
.arc-diagram .arc-line { fill: none; stroke: var(--cerulean); stroke-width: 2.5; }
.arc-diagram .arc-point { fill: var(--cerulean); }
.arc-diagram .arc-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  fill: currentColor;
}

/* Two-column "what it includes" */
.includes {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.includes h3 { font-size: var(--fs-h3); margin-bottom: 1.25rem; }
.includes ul { display: grid; gap: 0.9rem; }
.includes li { padding-left: 1.5rem; position: relative; line-height: 1.5; }
.includes li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cerulean);
}

/* "What it costs" list */
.costs { display: grid; gap: 1.5rem; max-width: var(--wrap-narrow); }
.costs li { padding-left: 1.75rem; position: relative; line-height: 1.55; }
.costs li::before {
  content: "→";
  position: absolute; left: 0; top: 0;
  color: var(--cerulean); font-weight: 700;
}
.costs strong { font-weight: 600; }
.costs-note { margin-top: 1.5rem; color: var(--ink-60); font-style: italic; }
.section--dark .costs-note { color: var(--paper-60); }

/* "What we're not" */
.nots { display: grid; gap: 1.5rem; }
.nots li { line-height: 1.55; max-width: 60ch; }
.nots strong { color: var(--cerulean); font-weight: 600; }

/* FAQ (Fair questions) */
.faq { display: grid; gap: 1.75rem; max-width: var(--wrap-narrow); }
.faq__q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.faq__a { color: var(--ink-80); line-height: 1.6; }
.section--dark .faq__a, .section--deep .faq__a { color: var(--paper-80); }

/* ============================================================================
   Blog
   ========================================================================== */
.post-list { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.post-item {
  padding-block: clamp(1.5rem, 3vh, 2.25rem);
  border-bottom: 1px solid var(--hairline);
  display: grid;
  gap: 0.6rem;
}
.post-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-60);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.post-item__cat { color: var(--cerulean); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; }
.post-item__title {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.1;
}
.post-item__title a { text-decoration: none; }
.post-item__title a:hover { color: var(--cerulean); }
.post-item__summary { color: var(--ink-80); max-width: 60ch; }

.post-featured {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
.post-featured__tag {
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cerulean); margin-bottom: 1rem;
}
.post-featured__title { font-size: var(--fs-display); margin-bottom: 1rem; max-width: 20ch; }
.post-featured__title a { text-decoration: none; }
.post-featured__title a:hover { color: var(--cerulean); }
.post-featured__summary { color: var(--paper-80); max-width: 52ch; margin-bottom: 1.5rem; }
.post-featured__meta { color: var(--paper-60); font-size: 0.85rem; font-weight: 600; }

.pillars { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(2rem,5vh,3rem); }
.pillar-link {
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-80);
}
.pillar-link:hover { border-color: var(--cerulean); color: var(--cerulean); }

/* Single post */
.post {
  padding-block: clamp(3rem, 8vh, 5rem);
}
.post__header { max-width: var(--wrap-narrow); margin-inline: auto; margin-bottom: clamp(2rem,5vh,3rem); }
.post__breadcrumb { font-size: 0.85rem; color: var(--ink-60); margin-bottom: 1.5rem; }
.post__breadcrumb a { color: var(--ink-60); text-decoration: none; }
.post__breadcrumb a:hover { color: var(--cerulean); }
.post__cat { color: var(--cerulean); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; }
.post__title { font-size: var(--fs-display); margin-block: 1rem 1.25rem; }
.post__byline {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center;
  color: var(--ink-60); font-size: 0.92rem; font-weight: 600;
}
.post__byline a { color: var(--cerulean); text-decoration: none; }
.post__byline a:hover { text-decoration: underline; }
.post__draft {
  max-width: var(--wrap-narrow);
  margin: 0 auto 2rem;
  padding: 0.85rem 1.1rem;
  border-left: 3px solid var(--cerulean);
  background: rgba(45, 127, 249, 0.08);
  color: var(--ink-80);
  font-size: 0.9rem;
  border-radius: 0 8px 8px 0;
}
.post__body { max-width: var(--wrap-narrow); margin-inline: auto; }
.post__body > * + * { margin-top: 1.4rem; }
.post__body h2 { font-size: var(--fs-h2); margin-top: 2.75rem; line-height: 1.1; }
.post__body p, .post__body li { font-size: 1.18rem; line-height: 1.7; }
.post__body ul, .post__body ol { display: grid; gap: 0.75rem; padding-left: 1.25rem; }
.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li::marker { color: var(--cerulean); }
.post__body strong { font-weight: 600; }
.post__body em { color: var(--ink-80); }
.post__body table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.post__body th, .post__body td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.post__body th { font-family: var(--font-display); }
.post__cta {
  max-width: var(--wrap-narrow);
  margin: clamp(2.5rem,6vh,4rem) auto 0;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.post__cta p { color: var(--paper-80); margin-bottom: 1.5rem; font-size: var(--fs-lead); line-height: 1.4; }
.post__newsletter { max-width: var(--wrap-narrow); margin: clamp(2.5rem,6vh,3.5rem) auto 0; }

/* ============================================================================
   Newsletter form
   ========================================================================== */
.newsletter { display: grid; gap: 0.75rem; }
.newsletter__name {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cerulean);
  margin-bottom: -0.1rem;
}
.newsletter__label { font-weight: 600; font-size: 1.05rem; }
.newsletter__row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter__input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
}
.newsletter__input:focus-visible { outline: 3px solid var(--cerulean); outline-offset: 2px; }
.newsletter__note { font-size: 0.85rem; color: var(--ink-60); }
.newsletter__archive { margin-top: 0.9rem; font-size: 0.9rem; }
.newsletter__archive a { color: var(--cerulean); font-weight: 600; text-decoration: none; }
.newsletter__archive a:hover { text-decoration: underline; }
/* On dark grounds */
.site-footer .newsletter__input { background: rgba(255,255,255,0.95); }

/* ============================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--presentation-bg);
  color: var(--paper);
  padding-top: clamp(3rem, 8vh, 5rem);
}
.site-footer__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: 1.2fr 1fr 1.3fr; }
}
.site-footer__logo { display: inline-flex; color: var(--paper); margin-bottom: 1rem; }
.site-footer__logo .logo { height: 64px; }
.site-footer__tagline { color: var(--paper-80); max-width: 28ch; line-height: 1.5; }
.site-footer__nav ul { display: grid; gap: 0.85rem; }
.site-footer__nav a { color: var(--paper-80); text-decoration: none; }
.site-footer__nav a:hover { color: var(--white); text-decoration: underline; }
.site-footer__newsletter .newsletter__label { color: var(--paper); }
.site-footer__newsletter .newsletter__note { color: var(--paper-60); }
.site-footer__base {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-block: 1.75rem;
  border-top: 1px solid var(--hairline-light);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--paper-60);
}
.site-footer__base a { color: var(--paper-60); text-decoration: underline; text-underline-offset: 2px; }
.site-footer__base a:hover { color: var(--paper); }
.site-footer__colophon { font-style: italic; }

/* ============================================================================
   Book page
   ========================================================================== */
.booking { padding-block: var(--section-y); }
.booking__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .booking__grid { grid-template-columns: 1.4fr 1fr; } }
.booking__embed {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: var(--white);
  min-height: 340px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.booking__placeholder {
  flex: 1;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem;
  color: var(--ink-60);
}
.booking__fallback { font-size: 0.95rem; }
.booking__fallback a { color: var(--cerulean); font-weight: 600; }
.booking__aside h2 { font-size: var(--fs-h3); margin-bottom: 1rem; }
.booking__aside ul { display: grid; gap: 1rem; }
.booking__aside li { padding-left: 1.5rem; position: relative; line-height: 1.5; }
.booking__aside li::before { content: "✓"; position: absolute; left: 0; color: var(--cerulean); font-weight: 700; }

/* ============================================================================
   Reveal animation (progressive enhancement)
   Content is visible by default. Only when JS is present do we hide-then-reveal.
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
