@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ============================================================
   EASY MOVING — “Iedereen in Beweging: The Living Studio”
   Design tokens
   ============================================================ */

:root {
  /* ---- Brand colour ---- */
  --brand-blue: #0170B9;
  --deep-blue: #0B5E7D;
  --blue-text: #16779B;
  --light-cyan: #5BC0DE;
  --studio-white: #F7FBFC;
  --ink: #102A33;
  --coral: #FF6B4A;
  --sand: #FFF3E6;

  --white: #ffffff;
  --paper: #FBFDFE;
  --ink-70: rgba(16, 42, 51, 0.70);
  --ink-55: rgba(16, 42, 51, 0.55);
  --muted: #7a7a7a;
  --line: #E1ECF1;
  --line-strong: #C9DDE6;
  --wash: #E6F4F8;

  /* ---- 8pt spacing scale ---- */
  --space-1: 0.5rem;    /*  8 */
  --space-2: 1rem;      /* 16 */
  --space-3: 1.5rem;    /* 24 */
  --space-4: 2rem;      /* 32 */
  --space-5: 2.5rem;    /* 40 */
  --space-6: 3rem;      /* 48 */
  --space-8: 4rem;      /* 64 */
  --space-10: 5rem;     /* 80 */
  --space-12: 6rem;     /* 96 */
  --space-16: 8rem;     /* 128 */

  --section-pad: clamp(72px, 10vw, 128px);
  --gutter: clamp(20px, 4vw, 32px);
  --shell-max: 1200px;

  /* ---- Modular type scale (rem) ---- */
  --fs-display-xl: clamp(3rem, 7vw, 5.5rem);
  --fs-display-l: clamp(2.25rem, 5vw, 3.75rem);
  --fs-h1: clamp(1.75rem, 3.5vw, 2.5rem);
  --fs-h2: clamp(1.5rem, 2.5vw, 2rem);
  --fs-h3: 1.25rem;
  --fs-body-l: 1.125rem;
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-cap: 0.75rem;

  --lh-tight: 0.95;
  --lh-display: 1.05;
  --lh-heading: 1.15;
  --lh-snug: 1.3;
  --lh-body: 1.65;
  --lh-small: 1.5;
  --lh-cap: 1.4;

  /* ---- Elevation system (layered, tinted, never generic grey) ---- */
  --elev-1:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 2px rgba(16, 42, 51, 0.07),
    0 3px 8px rgba(1, 112, 185, 0.06);
  --elev-2:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 6px 14px rgba(16, 42, 51, 0.08),
    0 12px 26px rgba(1, 112, 185, 0.09);
  --elev-3:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 10px 22px rgba(16, 42, 51, 0.09),
    0 18px 40px rgba(1, 112, 185, 0.12);
  --elev-4:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 16px 32px rgba(16, 42, 51, 0.12),
    0 28px 64px rgba(1, 112, 185, 0.18);
  --elev-press:
    0 1px 1px rgba(16, 42, 51, 0.10),
    0 4px 10px rgba(1, 112, 185, 0.10);

  /* ---- Radii / geometry ---- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.22, 0.75, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --dur-fast: 140ms;
  --dur: 260ms;
  --dur-slow: 520ms;

  /* ---- Texture ---- */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ============================================================
   Reset & base
   ============================================================ */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--studio-white);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Fraunces", "Plus Jakarta Sans", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: var(--lh-heading);
  color: var(--ink);
}

p { margin: 0 0 var(--space-3); }
p:last-child { margin-bottom: 0; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-blue);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-out),
              text-decoration-color var(--dur-fast) var(--ease-out);
}

a:hover { color: var(--deep-blue); }

ul, ol { margin: 0; padding: 0; list-style: none; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--light-cyan);
  color: var(--ink);
}

/* ============================================================
   Page shell & film grain overlay
   ============================================================ */

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  isolation: isolate;
  background:
    radial-gradient(120% 80% at 50% -10%, #FFFFFF 0%, #F7FBFC 42%, #EFF7FA 100%);
}

/* Film grain — sits above everything, purely atmospheric */
.page::after {
  content: "";
  position: fixed;
  inset: -40px;
  z-index: 999;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

.page--home { padding-bottom: 0; }

.shell {
  width: min(var(--shell-max), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* ============================================================
   Accessibility helpers
   ============================================================ */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1200;
  transform: translateY(-160%);
  padding: var(--space-2) var(--space-3);
  background: var(--deep-blue);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--r-pill);
  text-decoration: none;
  box-shadow: var(--elev-3);
  transition: transform var(--dur) var(--ease-spring);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--white);
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(247, 251, 252, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  backdrop-filter: blur(14px) saturate(1.35);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(1, 112, 185, 0.45) 22%,
    rgba(91, 192, 222, 0.65) 50%,
    rgba(255, 107, 74, 0.35) 78%,
    transparent);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 76px;
  padding-block: var(--space-2);
}

/* ---- Brand ---- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  min-height: 44px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 4px;
  box-shadow:
    0 0 0 1px var(--line-strong),
    var(--elev-1);
  transition: transform var(--dur) var(--ease-spring),
              box-shadow var(--dur) var(--ease-out);
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: rotate(-6deg) scale(1.05);
  box-shadow:
    0 0 0 1px var(--light-cyan),
    var(--elev-2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--deep-blue);
}

.brand-tag {
  font-size: var(--fs-cap);
  line-height: var(--lh-cap);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-text);
}

/* ---- Mobile menu toggle ---- */

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--space-1);
  min-height: 48px;
  min-width: 48px;
  padding: var(--space-2) var(--space-3);
  background: var(--deep-blue);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--elev-2);
  transition: transform var(--dur) var(--ease-spring),
              background-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.nav-toggle:hover {
  background: #0a536f;
  transform: translateY(-2px);
  box-shadow: var(--elev-3);
}

.nav-toggle:active { transform: translateY(0) scale(0.98); }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out),
              top var(--dur) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.nav-toggle-label {
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ---- Primary navigation ---- */

.primary-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.nav-item { position: relative; }

.nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-1) var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--r-pill);
  transition: color var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
}

.nav-item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  transform: translateX(-50%);
  transition: width var(--dur) var(--ease-spring);
}

.nav-item > a:hover,
.nav-item > a:focus-visible {
  color: var(--blue-text);
  background: rgba(91, 192, 222, 0.14);
}

.nav-item > a:hover::after,
.nav-item > a:focus-visible::after { width: 22px; }

.nav-item > a[aria-current="page"],
.nav-item.is-active > a {
  color: var(--blue-text);
  background: rgba(91, 192, 222, 0.2);
}

.nav-item > a[aria-current="page"]::after,
.nav-item.is-active > a::after { width: 22px; }

/* ---- Search ---- */

.site-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: var(--space-2);
}

.site-search-input {
  width: 168px;
  min-height: 44px;
  padding: var(--space-1) var(--space-5) var(--space-1) var(--space-3);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  color: var(--ink);
  transition: width var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.site-search-input::placeholder {
  color: var(--ink-70);
  opacity: 1;
}

.site-search-input:hover { border-color: var(--light-cyan); }

.site-search-input:focus {
  width: 232px;
  outline: none;
  border-color: var(--blue-text);
  box-shadow:
    0 0 0 4px rgba(91, 192, 222, 0.28),
    var(--elev-1);
}

.site-search-button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--blue-text);
  font-size: 0;
  transition: background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}

.site-search-button::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 0 currentColor;
  position: relative;
}

.site-search-button::after {
  content: "";
  position: absolute;
  top: 23px;
  right: 10px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.site-search-button:hover,
.site-search-button:focus-visible {
  background: rgba(91, 192, 222, 0.2);
  color: var(--deep-blue);
}

/* ============================================================
   Movement ribbon — the continuous guide
   ============================================================ */

.movement-ribbon {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.7;
}

.ribbon-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ribbon-path {
  fill: none;
  stroke: var(--light-cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 10 16;
  opacity: 0.55;
  filter: drop-shadow(0 0 10px rgba(91, 192, 222, 0.55));
  animation: ribbon-flow 34s linear infinite;
}

@keyframes ribbon-flow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -1040; }
}

/* ============================================================
   Main & chapters
   ============================================================ */

.site-main {
  position: relative;
  z-index: 1;
  display: block;
}

.chapter {
  position: relative;
  padding-block: var(--section-pad);
}

.chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.chapter--hook {
  padding-block: clamp(56px, 8vw, 104px) clamp(72px, 10vw, 128px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 251, 252, 0) 70%);
}

.chapter--problem {
  background:
    linear-gradient(180deg, var(--studio-white) 0%, var(--wash) 48%, var(--studio-white) 100%);
  border-block: 1px solid var(--line);
}

.chapter--transformation { background: var(--paper); }

.chapter--proof {
  background:
    linear-gradient(180deg, var(--studio-white) 0%, var(--sand) 120%);
  border-top: 1px solid var(--line);
}

/* ---- Chapter label / number ---- */

.chapter-label {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-text);
}

.chapter-number {
  display: inline-block;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--light-cyan);
  text-stroke: 1.5px var(--light-cyan);
}

/* ============================================================
   Chapter 1 — Hook
   ============================================================ */

.hook-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.hook-copy {
  max-width: min(62ch, 100%);
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
  padding: 6px var(--space-2) 6px var(--space-1);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--deep-blue);
  box-shadow: var(--elev-1);
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.18);
}

.display-xl {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: var(--fs-display-xl);
  line-height: var(--lh-tight);
  letter-spacing: -0.035em;
  color: var(--blue-text);
  margin-bottom: var(--space-4);
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  max-width: 100%;
  overflow-wrap: break-word;
}

.lede {
  font-size: var(--fs-body-l);
  line-height: var(--lh-body);
  color: var(--ink-70);
  max-width: min(58ch, 100%);
  margin-bottom: var(--space-5);
  overflow-wrap: break-word;
}

.hook-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  max-width: 100%;
  min-width: 0;
}

/* ---- Buttons ---- */

.btn {
  --btn-bg: var(--deep-blue);
  --btn-fg: var(--white);
  --btn-bd: var(--deep-blue);

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: 48px;
  padding: var(--space-2) var(--space-4);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  min-width: 0;
  box-shadow: var(--elev-1);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-spring),
              box-shadow var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.42) 48%,
    transparent 66%);
  transform: translateX(-120%);
  transition: transform var(--dur-slow) var(--ease-out);
  pointer-events: none;
}

.btn:hover::after,
.btn:focus-visible::after { transform: translateX(120%); }

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--elev-3);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--elev-press);
}

.btn--primary {
  --btn-bg: var(--deep-blue);
  --btn-fg: var(--white);
  --btn-bd: var(--deep-blue);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 8px 20px rgba(11, 94, 125, 0.3),
    0 2px 4px rgba(16, 42, 51, 0.14);
}

.btn--primary:hover {
  --btn-bg: #0a536f;
  --btn-fg: var(--white);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.26) inset,
    0 16px 32px rgba(11, 94, 125, 0.36),
    0 4px 8px rgba(16, 42, 51, 0.16);
}

.btn--xl {
  min-height: 60px;
  padding: var(--space-3) var(--space-6);
  font-size: var(--fs-h3);
  letter-spacing: 0.03em;
  border-radius: var(--r-pill);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--deep-blue);
  --btn-bd: var(--deep-blue);
  box-shadow: none;
}

.btn--ghost:hover {
  --btn-bg: rgba(91, 192, 222, 0.16);
  --btn-fg: var(--deep-blue);
  box-shadow: var(--elev-2);
}

/* ---- Hook facts ---- */

.hook-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 2px dashed var(--line-strong);
}

.hook-facts > * {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fact-value {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--deep-blue);
  font-variant-numeric: tabular-nums;
}

.fact-label {
  font-size: var(--fs-cap);
  line-height: var(--lh-cap);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
}

/* ---- Hook visual ---- */

.hook-visual {
  position: relative;
  isolation: isolate;
  min-width: 0;
  max-width: 100%;
}

.hook-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 140px var(--r-lg) var(--r-lg) var(--r-lg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%, 0 88%);
  box-shadow: var(--elev-4);
  filter: saturate(1.04) contrast(1.03);
  transition: transform var(--dur-slow) var(--ease-out),
              filter var(--dur-slow) var(--ease-out);
}

/* Duotone + gradient scrim */
.hook-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 140px var(--r-lg) var(--r-lg) var(--r-lg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%, 0 88%);
  background:
    linear-gradient(200deg,
      rgba(1, 112, 185, 0.30) 0%,
      rgba(16, 42, 51, 0.20) 48%,
      rgba(255, 107, 74, 0.16) 100%),
    linear-gradient(0deg,
      rgba(16, 42, 51, 0.62) 0%,
      rgba(16, 42, 51, 0.10) 42%,
      transparent 68%);
  mix-blend-mode: multiply;
}

/* Grain on the photo itself */
.hook-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: 140px var(--r-lg) var(--r-lg) var(--r-lg);
  background-image: var(--grain);
  background-size: 180px 180px;
  opacity: 0.14;
  mix-blend-mode: overlay;
}

.hook-visual:hover .hook-image {
  transform: scale(1.03);
  filter: saturate(1.12) contrast(1.06);
}

/* ---- Hook caption card ---- */

.hook-caption {
  position: absolute;
  z-index: 3;
  left: clamp(-8px, -1vw, 0px);
  bottom: var(--space-4);
  width: min(320px, 84%);
  display: grid;
  gap: var(--space-1);
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: var(--r-md);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  box-shadow: var(--elev-3);
}

.hook-caption-tag {
  justify-self: start;
  padding: 3px var(--space-1);
  background: rgba(255, 107, 74, 0.16);
  color: #B33A1F;
  border-radius: var(--r-sm);
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hook-caption-text {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.0625rem;
  line-height: var(--lh-snug);
  font-weight: 600;
  color: var(--ink);
}

.hook-caption-link {
  justify-self: start;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: underline;
  text-decoration-color: rgba(1, 112, 185, 0.35);
  text-decoration-thickness: 2px;
  transition: text-decoration-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}

.hook-caption-link:hover {
  color: var(--deep-blue);
  text-decoration-color: var(--coral);
}

/* ============================================================
   Chapter 2 — Problem (chat dialog)
   ============================================================ */

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
}

.problem-intro { max-width: min(46ch, 100%); }

.display-l {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: var(--fs-display-l);
  line-height: var(--lh-display);
  letter-spacing: -0.03em;
  color: var(--deep-blue);
  margin-bottom: var(--space-3);
  text-wrap: balance;
  max-width: 100%;
  overflow-wrap: break-word;
}

.muted-note {
  font-size: var(--fs-sm);
  line-height: var(--lh-small);
  color: var(--ink-55);
  padding-left: var(--space-2);
  border-left: 3px solid var(--line-strong);
}

/* ---- Chat ---- */

.chat {
  display: grid;
  gap: var(--space-4);
  max-width: 640px;
  min-width: 0;
}

.chat-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 88%;
}

.chat-row--visitor { align-self: flex-start; }
.chat-row--studio { align-self: flex-end; align-items: flex-end; text-align: right; }

.chat-speaker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.chat-speaker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.chat-row--studio .chat-speaker { color: var(--deep-blue); }
.chat-row--studio .chat-speaker::before { background: var(--coral); }

.chat-bubble {
  position: relative;
  padding: var(--space-3) var(--space-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 6px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-70);
  box-shadow: var(--elev-1);
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.chat-bubble::before {
  content: "";
  position: absolute;
  left: -7px;
  bottom: 12px;
  width: 14px;
  height: 14px;
  background: inherit;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.chat-row--studio .chat-bubble {
  background: var(--deep-blue);
  color: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg) var(--r-lg) 6px var(--r-lg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 10px 24px rgba(11, 94, 125, 0.28),
    0 3px 8px rgba(16, 42, 51, 0.12);
}

.chat-row--studio .chat-bubble::before {
  left: auto;
  right: -7px;
  border-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.chat-bubble:hover {
  transform: translateY(-2px);
  box-shadow: var(--elev-3);
}

.chat-row--studio .chat-bubble:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.24) inset,
    0 18px 36px rgba(11, 94, 125, 0.34),
    0 4px 10px rgba(16, 42, 51, 0.14);
}

.chat-link {
  color: #BFE9F7;
  font-weight: 600;
  text-decoration-color: rgba(191, 233, 247, 0.5);
}

.chat-link:hover {
  color: var(--white);
  text-decoration-color: var(--coral);
}

.chat-row--visitor .chat-link { color: var(--brand-blue); }
.chat-row--visitor .chat-link:hover { color: var(--deep-blue); }

/* ============================================================
   Chapter 3 — Transformation (bento)
   ============================================================ */

.transformation-head {
  display: grid;
  gap: var(--space-3);
  max-width: 62ch;
  margin-bottom: var(--space-8);
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(172px, auto);
  gap: var(--space-3);
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--elev-2);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 200px 200px;
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.bento-card:nth-child(1) {
  border-radius: 44px var(--r-lg) var(--r-lg) var(--r-lg);
}

.bento-card:nth-child(2) {
  border-radius: var(--r-lg) var(--r-lg) 44px var(--r-lg);
  background: linear-gradient(165deg, var(--white) 0%, #F1F9FC 100%);
}

.bento-card:nth-child(3) {
  border-radius: var(--r-lg) 44px var(--r-lg) var(--r-lg);
  background: linear-gradient(200deg, #FFF6F1 0%, var(--white) 100%);
  border-color: rgba(255, 107, 74, 0.28);
}

.bento-card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  border-color: var(--line-strong);
  box-shadow: var(--elev-4);
}

.bento-card--wide { grid-column: span 3; }

.bento-card--tall {
  grid-column: span 1;
  grid-row: span 2;
  justify-content: flex-end;
  background: linear-gradient(180deg, var(--white) 0%, #EAF6FA 100%);
}

.bento-card--brand {
  grid-column: span 2;
  background:
    radial-gradient(120% 120% at 100% 0%, #12749B 0%, var(--deep-blue) 52%, #08414F 100%);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 14px 30px rgba(11, 94, 125, 0.3),
    0 4px 10px rgba(16, 42, 51, 0.14);
}

.bento-card--brand::before { opacity: 0.12; mix-blend-mode: overlay; }

.bento-card--brand:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.26) inset,
    0 24px 48px rgba(11, 94, 125, 0.36),
    0 6px 14px rgba(16, 42, 51, 0.16);
}

.bento-card--brand .bento-title { color: var(--white); }
.bento-card--brand .bento-text { color: rgba(255, 255, 255, 0.82); }

.bento-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-text);
}

.bento-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.7;
}

.bento-card--brand .bento-kicker { color: var(--light-cyan); }

.bento-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.bento-text {
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--ink-70);
  max-width: 46ch;
}

.bento-link {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  min-height: 44px;
  color: var(--brand-blue);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 2px solid rgba(1, 112, 185, 0.25);
  transition: border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              gap var(--dur) var(--ease-out);
}

.bento-link::after {
  content: "→";
  display: inline-block;
  transition: transform var(--dur) var(--ease-spring);
}

.bento-link:hover {
  color: var(--deep-blue);
  border-color: var(--coral);
  gap: 12px;
}

.bento-link:hover::after { transform: translateX(3px); }

.bento-card--brand .bento-link {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.bento-card--brand .bento-link:hover {
  color: var(--sand);
  border-bottom-color: var(--coral);
}

.bento-link--subtle {
  color: var(--ink-70);
  border-bottom-color: var(--line-strong);
}

.bento-link--subtle:hover { color: var(--blue-text); }

/* ---- Brand bento inner ---- */

.bento-brand-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: 1;
}

.bento-mark {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-1);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--sand);
  background: rgba(255, 107, 74, 0.92);
  border-radius: 26px 26px 26px 8px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 10px 20px rgba(255, 107, 74, 0.35);
  transform: rotate(-6deg);
  transition: transform var(--dur) var(--ease-spring);
}

.bento-card--brand:hover .bento-mark { transform: rotate(4deg) scale(1.06); }

/* ============================================================
   Chapter 4 — Proof (news)
   ============================================================ */

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--elev-2);
  isolation: isolate;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--elev-4);
}

.news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 200px 200px;
  opacity: 0.045;
  mix-blend-mode: multiply;
}

.news-date {
  position: absolute;
  z-index: 4;
  top: var(--space-3);
  left: var(--space-3);
  padding: 6px var(--space-2);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-blue);
  box-shadow: var(--elev-1);
}

.news-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
  transition: transform var(--dur-slow) var(--ease-out),
              filter var(--dur-slow) var(--ease-out);
}

.news-card:hover .news-image {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.06);
}

.news-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: var(--space-4) var(--space-4) var(--space-2);
  text-wrap: balance;
  transition: color var(--dur-fast) var(--ease-out);
}

.news-card:hover .news-title { color: var(--deep-blue); }

.news-card p {
  padding: 0 var(--space-4);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--ink-70);
}

.news-card > .bento-link,
.news-card > .bento-link--subtle {
  margin: var(--space-3) var(--space-4) var(--space-4);
}

/* Featured first card gets a wider, more theatrical treatment */
.news-card:first-child {
  border-radius: 44px var(--r-lg) var(--r-lg) var(--r-lg);
  background: linear-gradient(180deg, var(--white) 0%, #F3FAFD 100%);
}

.news-card:first-child .news-image {
  aspect-ratio: 16 / 9;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.news-card:last-child {
  border-radius: var(--r-lg) 44px var(--r-lg) var(--r-lg);
  border-top: 4px solid var(--coral);
}

.news-card:last-child .news-image { aspect-ratio: 16 / 11; }

/* ============================================================
   Scroll reveals — view-timeline where supported
   ============================================================ */

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .chapter-label,
    .hook-copy > *,
    .hook-visual,
    .problem-intro,
    .problem-grid > .chat,
    .transformation-head > *,
    .bento-card,
    .news-card {
      animation: rise-in linear both;
      animation-timeline: view();
      animation-range: entry 6% cover 30%;
    }

    .bento-card:nth-child(2),
    .chat-row--studio { animation-range: entry 8% cover 34%; }

    .bento-card:nth-child(3),
    .news-card:last-child { animation-range: entry 10% cover 38%; }

    .chat-row { animation: rise-in linear both; animation-timeline: view(); }
  }
}

/* Fallback entrance for the hero on first paint */
@media (prefers-reduced-motion: no-preference) {
  .chapter--hook .hook-copy,
  .chapter--hook .hook-visual {
    animation: rise-in 720ms var(--ease-out) both;
  }

  .chapter--hook .hook-visual { animation-delay: 120ms; }
}

/* ============================================================
   Responsive — tablet
   ============================================================ */

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card--wide,
  .bento-card--brand { grid-column: span 2; }
  .bento-card--tall { grid-column: span 1; grid-row: span 1; }

  .site-search-input { width: 132px; }
  .site-search-input:focus { width: 180px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    display: block;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: rgba(247, 251, 252, 0.98);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--elev-3);
    transition: max-height var(--dur-slow) var(--ease-out),
                visibility 0s linear var(--dur-slow);
  }

  .nav-toggle[aria-expanded="true"] ~ .primary-nav,
  .site-header.is-open .primary-nav {
    max-height: 80vh;
    visibility: visible;
    transition: max-height var(--dur-slow) var(--ease-out),
                visibility 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-2);
  }

  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-item:last-child { border-bottom: 0; }

  .nav-item > a {
    width: 100%;
    padding: var(--space-2);
    font-size: var(--fs-body-l);
    border-radius: var(--r-md);
  }

  .nav-item > a::after { display: none; }

  .site-search {
    margin: var(--space-2) var(--space-3) var(--space-3);
  }

  .site-search-input,
  .site-search-input:focus { width: 100%; }

  .hook-grid { gap: var(--space-6); }

  .hook-image { aspect-ratio: 3 / 2; }

  .hook-visual::before,
  .hook-visual::after,
  .hook-image { border-radius: var(--r-lg); clip-path: none; }

  .problem-grid { gap: var(--space-6); }

  .chat { max-width: 100%; }

  .news-grid { gap: var(--space-3); }
}

/* ============================================================
   Responsive — mobile
   ============================================================ */

@media (max-width: 640px) {
  :root {
    --section-pad: clamp(64px, 14vw, 88px);
  }

  /* --- Guard against horizontal overflow in the hero at narrow widths --- */
  .hook-copy,
  .hook-visual,
  .hook-actions {
    max-width: 100%;
    min-width: 0;
  }

  .display-xl,
  .lede,
  .btn,
  .hook-caption-text {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .header-inner { min-height: 72px; }

  .brand-logo { width: 44px; height: 44px; }
  .brand-name { font-size: 1.2rem; }
  .brand-tag { font-size: 0.6875rem; letter-spacing: 0.1em; }

  .hook-actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    width: 100%;
    max-width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    padding-inline: var(--space-2);
  }

  .btn--xl {
    padding-inline: var(--space-3);
    font-size: var(--fs-body-l);
  }

  .hook-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }

  .hook-facts > * {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--line);
  }

  .hook-facts > *:last-child { border-bottom: 0; }

  .hook-caption {
    position: relative;
    left: 0;
    bottom: 0;
    width: auto;
    max-width: 100%;
    margin-top: calc(var(--space-3) * -1);
    margin-inline: var(--space-2);
  }

  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-card--wide,
  .bento-card--brand,
  .bento-card--tall { grid-column: span 1; grid-row: span 1; }

  .bento-card:nth-child(1),
  .news-card:first-child { border-radius: 32px var(--r-lg) var(--r-lg) var(--r-lg); }

  .bento-card:nth-child(2),
  .news-card:last-child { border-radius: var(--r-lg) var(--r-lg) 32px var(--r-lg); }

  .chat-row { max-width: 100%; }
  .chat-row--studio { align-self: flex-end; }

  .news-title { padding: var(--space-3) var(--space-3) var(--space-2); }
  .news-card p { padding-inline: var(--space-3); }
  .news-card > .bento-link,
  .news-card > .bento-link--subtle { margin: var(--space-3); }

  .site-search { margin-inline: var(--space-2); }

  .movement-ribbon { opacity: 0.45; }
}

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .ribbon-path { animation: none; stroke-dashoffset: 0; }

  .btn:hover,
  .bento-card:hover,
  .news-card:hover,
  .chat-bubble:hover,
  .brand:hover .brand-logo {
    transform: none;
  }

  .hook-visual:hover .hook-image,
  .news-card:hover .news-image { transform: none; }
}

/* ============================================================
   Print
   ============================================================ */

@media print {
  .site-header,
  .movement-ribbon,
  .nav-toggle,
  .skip-link,
  .page::after { display: none !important; }

  body { background: #fff; color: #000; }
  .chapter { padding-block: 24px; break-inside: avoid; }
  .bento-card,
  .news-card { box-shadow: none; border: 1px solid #ccc; }
}