
:root {
  --primary: #365B6D;
  --secondary: #F6F4E8;
  --third: #263F4A;
  --paper: #F6F4E8;
  --ink: #263F4A;
  --line: rgba(38,63,74,.14);
  --muted: #5B7077;
  --mist: #E9EDE8;
  --serif: "Manrope", sans-serif;
  --sans: "DM Sans", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22,.8,.24,1);
  --shadow-sm: 0 1px 2px rgba(38,63,74,.06), 0 4px 14px rgba(38,63,74,.05);
  --shadow-md: 0 2px 4px rgba(38,63,74,.05), 0 18px 44px rgba(38,63,74,.11);
  --shadow-lg: 0 4px 8px rgba(38,63,74,.06), 0 30px 70px rgba(38,63,74,.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--primary); color: var(--secondary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 6px; }

.container { width: min(1280px, 88%); margin-inline: auto; }

.progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  background: var(--primary);
  transform-origin: left; transform: scaleX(0);
  z-index: 200;
}

/* ---------- shared ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--primary);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; border-radius: 2px; }

.section-padding { padding-block: clamp(88px, 10vw, 150px); }

.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 40px;
  margin-bottom: 60px;
}
.section-title, .big-title {
  font: 700 clamp(40px, 5.2vw, 70px)/1.05 var(--serif);
  letter-spacing: -.04em;
}
.section-title { margin-top: 26px; max-width: 760px; }
.section-title em, .big-title em { color: var(--primary); font-style: normal; }
.section-intro { max-width: 340px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.primary-button {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 8px 8px 8px 22px;
  background: var(--third); color: var(--secondary);
  font-size: 14px; font-weight: 600;
  border-radius: 100px;
  box-shadow: 0 10px 26px rgba(38,63,74,.22);
  transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease);
}
.primary-button span {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: var(--secondary); color: var(--third);
  font-size: 17px; transition: transform .35s var(--ease);
}
.primary-button:hover { transform: translateY(-3px); background: var(--primary); box-shadow: 0 16px 34px rgba(38,63,74,.28); }
.primary-button:hover span { transform: rotate(45deg); }

.hero-secondary {
  font-size: 14px; font-weight: 600; color: var(--primary);
  border-bottom: 1.5px solid var(--primary);
  padding-bottom: 5px;
  transition: color .25s, border-color .25s;
}
.hero-secondary:hover { color: var(--third); border-color: var(--third); }

/* ---------- header ---------- */

.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: 80px;
  padding-inline: max(6%, calc((100vw - 1280px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(246,244,232,.78);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: height .35s var(--ease), border-color .3s, box-shadow .3s, background .3s;
}
.header.scrolled { height: 68px; border-color: var(--line); background: rgba(246,244,232,.9); box-shadow: 0 8px 30px rgba(38,63,74,.06); }

.brand img { width: 50px; max-height: 100px; object-fit: contain; object-position: left center; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a:not(.nav-cta) {
  position: relative; font-size: 14px; font-weight: 500; color: var(--primary);
  padding: 6px 0; transition: color .25s; white-space: nowrap;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--third); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:not(.nav-cta):hover, .nav a[aria-current="page"] { color: var(--third); }
.nav a:not(.nav-cta):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  border-radius: 100px; padding: 12px 22px;
  background: var(--third); color: var(--secondary) !important;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background .3s, transform .3s var(--ease);
}
.nav-cta:hover { background: var(--primary); transform: translateY(-2px); }

.menu-toggle {
  display: none; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: 50%;
  color: var(--third); font-size: 20px; cursor: pointer;
}

/* ---------- hero (fits inside one screen) ---------- */

.hero {
  height: 100svh; min-height: 580px;
  padding: 88px max(6%, calc((100vw - 1280px) / 2)) 72px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 80% 40%, rgba(54,91,109,.14), transparent 70%),
    radial-gradient(40% 40% at 8% 90%, rgba(54,91,109,.08), transparent 70%),
    linear-gradient(rgba(38,63,74,.045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(38,63,74,.045) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 60% 45%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 85% 80% at 60% 45%, #000 30%, transparent 85%);
  pointer-events: none;
}

.hero-text { position: relative; z-index: 4; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line); border-radius: 100px;
  color: var(--primary);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.kicker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(54,91,109,.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(54,91,109,0); } 100% { box-shadow: 0 0 0 0 rgba(54,91,109,0); } }

.hero h1 {
  max-width: 700px;
  margin-top: clamp(14px, 2.6vh, 26px);
  font: 700 clamp(34px, min(5vw, 8.4vh), 76px)/1.03 var(--serif);
  letter-spacing: -.05em;
}
.hero h1 em {
  background: linear-gradient(100deg, var(--primary), #5E8798);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary); font-style: normal;
}

.hero-copy {
  max-width: 540px;
  margin-top: clamp(12px, 2.2vh, 22px);
  color: var(--muted);
  font-size: clamp(14px, 1.9vh, 17px); line-height: 1.65;
}

.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: clamp(18px, 3.4vh, 32px); flex-wrap: wrap; }

.hero-visual { position: relative; height: 100%; min-height: 0; isolation: isolate; }

.hero-disc {
  position: absolute; z-index: 0;
  width: min(34vw, 56vh, 420px); aspect-ratio: 1;
  right: -9%; bottom: -5%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #4A7487 0%, var(--primary) 45%, #2C4B5A 100%);
  box-shadow: 0 50px 110px rgba(38,63,74,.28), inset 0 -30px 60px rgba(0,0,0,.12);
}
.hero-disc::before, .hero-disc::after { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(246,244,232,.3); border-radius: 50%; }
.hero-disc::after { inset: -9%; border-color: rgba(54,91,109,.35); }

.hero-photo {
  position: relative; z-index: 1; margin: 0;
  height: 100%; max-height: 620px; min-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--primary);
  box-shadow: var(--shadow-lg);
}
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(.78);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38,63,74,.4) 0%, rgba(38,63,74,.05) 38%, rgba(38,63,74,.7) 100%);
}

.visual-label {
  position: absolute; z-index: 3;
  color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.visual-top { top: 22px; left: 26px; right: 26px; display: flex; justify-content: space-between; }
.visual-caption { bottom: 24px; right: 26px; text-align: right; max-width: 40%; opacity: .9; }

.core-block {
  position: absolute; z-index: 4;
  left: 20px; bottom: 20px;
  width: clamp(170px, 30vh, 230px);
  padding: clamp(14px, 2.2vh, 20px);
  display: flex; flex-direction: column; gap: clamp(14px, 3vh, 30px);
  background: rgba(246,244,232,.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  animation: floatCore 6s ease-in-out infinite;
}
@keyframes floatCore { 50% { transform: translateY(-8px); } }
.core-block small { color: var(--primary); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.core-block strong { font: 700 clamp(18px, 2.8vh, 24px)/1.12 var(--serif); letter-spacing: -.03em; }

.float-note {
  position: absolute; z-index: 6;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line); border-radius: 100px;
  box-shadow: var(--shadow-md);
  font-size: 12px; font-weight: 700; color: var(--ink);
  transform: rotate(var(--r, 0deg));
  animation: floatNote 7s ease-in-out infinite;
}
.float-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
@keyframes floatNote { 50% { transform: translateY(-8px) rotate(var(--r, 0deg)); } }
.note-one   { --r: -4deg; top: 18%; left: -5%; }
.note-two   { --r: 3deg;  top: 42%; right: -4%; animation-delay: -2s; }
.note-three { --r: 2deg;  top: 64%; right: 8%; animation-delay: -4s; }

.hero-bottom {
  position: absolute;
  left: max(6%, calc((100vw - 1280px) / 2)); right: max(6%, calc((100vw - 1280px) / 2)); bottom: 20px;
  display: flex; justify-content: space-between; gap: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- dark intro ---------- */

.dark-intro {
  background: radial-gradient(60% 80% at 100% 0%, rgba(54,91,109,.45), transparent 60%), var(--third);
  color: var(--secondary);
  padding-block: clamp(80px, 9vw, 120px) clamp(170px, 16vw, 220px);
  position: relative; overflow: hidden;
}
.dark-intro::after {
  content: "CLARITY";
  position: absolute; right: -2%; bottom: -50px;
  font: 800 clamp(110px, 19vw, 270px)/.8 var(--serif);
  letter-spacing: -.06em; color: rgba(246,244,232,.035);
  pointer-events: none;
}
.dark-intro .eyebrow { color: #C3D1D0; }
.intro-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 6%; align-items: start; position: relative; z-index: 2; }
.dark-intro h2 {
  max-width: 880px;
  font: 700 clamp(32px, 4.4vw, 58px)/1.1 var(--serif);
  letter-spacing: -.04em;
}
.dark-intro h2 em { color: #B9C9CD; font-style: normal; }

/* ---------- photo story (overlaps the dark intro) ---------- */

.photo-story {
  position: relative; z-index: 3;
  margin-top: -100px;
  padding-bottom: clamp(88px, 10vw, 140px);
  background: linear-gradient(to bottom, transparent 100px, var(--paper) 100px);
}
.photo-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 18px; }

.photo-card {
  position: relative; overflow: hidden;
  min-height: 340px;
  background: var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.photo-card:first-child { min-height: 440px; }
.photo-card img {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
  object-fit: cover;
  filter: saturate(.78);
  transition: transform 1s var(--ease);
}
.photo-card:hover img { transform: scale(1.06); }
.photo-card::after {
  content: ""; position: absolute; inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(38,63,74,.9));
}
.photo-caption { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 26px; color: #fff; }
.photo-caption small { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.photo-caption strong { display: block; max-width: 300px; font: 700 clamp(20px, 2.2vw, 28px)/1.15 var(--serif); letter-spacing: -.03em; }

/* ---------- signals ---------- */

.signals { background: var(--paper); padding-top: 0; }

.signal-list { display: grid; gap: 18px; }

.signal {
  display: grid; grid-template-columns: 70px minmax(220px, .85fr) 1.15fr; gap: 36px; align-items: start;
  padding: 34px 40px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s, border-color .3s;
}
.signal::after {
  content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -110px;
  border: 1px solid rgba(54,91,109,.18); border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(54,91,109,.04);
  pointer-events: none;
}
.signal:hover { background: #fff; border-color: transparent; }

.signal-no {
  justify-self: start;
  padding: 6px 12px;
  border: 1px solid rgba(54,91,109,.3); border-radius: 100px;
  color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .1em;
  transition: background .3s, color .3s;
}
.signal:hover .signal-no { background: var(--primary); color: var(--secondary); }

.signal h3 { max-width: 340px; font: 700 clamp(24px, 2.6vw, 34px)/1.12 var(--serif); letter-spacing: -.035em; }
.signal-tag { display: block; margin-bottom: 10px; color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.signal p { max-width: 560px; color: var(--muted); font-size: 15px; line-height: 1.7; position: relative; z-index: 1; }

/* ---------- cost of drift ---------- */

.drift { background: var(--mist); }
.drift-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8%; align-items: start; }
.drift h2 { margin-top: 26px; font: 700 clamp(40px, 5.2vw, 66px)/1.05 var(--serif); letter-spacing: -.04em; }
.drift h2 em { color: var(--primary); font-style: normal; }
.drift-copy { max-width: 580px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.cost-stack { display: grid; gap: 10px; margin-top: 36px; }
.cost-row {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: center;
  padding: 16px 22px 16px 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: background .35s, transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.cost-row:hover { background: #fff; transform: translateX(8px); box-shadow: var(--shadow-md); border-color: transparent; }
.cost-row span {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(54,91,109,.1); color: var(--primary);
  font: 700 13px var(--serif);
  transition: background .3s, color .3s;
}
.cost-row:hover span { background: var(--primary); color: var(--secondary); }
.cost-row strong { font: 700 clamp(16px, 1.5vw, 19px)/1.35 var(--serif); letter-spacing: -.02em; }

/* ---------- intervention ---------- */

.intervention { background: var(--paper); }
.intervention-head { display: grid; grid-template-columns: .6fr 1.4fr; gap: 6%; margin-bottom: 64px; align-items: start; }
.intervention-head h2 { font: 700 clamp(40px, 5.2vw, 66px)/1.05 var(--serif); letter-spacing: -.04em; }
.intervention-head h2 em { color: var(--primary); font-style: normal; }
.intervention-head p { max-width: 640px; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.process-step {
  min-height: 250px; padding: 24px 22px 26px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line); border-radius: var(--radius);
  position: relative;
  transition: background .35s, transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.process-step:hover { background: #fff; transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.process-step small {
  display: inline-block; margin-bottom: 18px; padding: 5px 11px;
  border: 1px solid rgba(54,91,109,.3); border-radius: 100px;
  color: var(--primary); font-size: 10px; font-weight: 700; letter-spacing: .12em;
  transition: background .3s, color .3s;
}
.process-step:hover small { background: var(--primary); color: var(--secondary); }
.process-step h3 { margin-bottom: 12px; font: 700 18px/1.25 var(--serif); letter-spacing: -.02em; }
.process-step p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* method animations */
.mm-anim {
  height: 128px; margin-bottom: 20px;
  border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, rgba(54,91,109,.08), rgba(54,91,109,.03));
  border: 1px solid rgba(38,63,74,.08);
}
.mm-anim svg { width: 100%; height: 100%; display: block; }
.mm-line { fill: none; stroke: #365B6D; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.mm-fill { fill: rgba(54,91,109,.07); }
.mm-ball { fill: #365B6D; }
.mm-sig  { fill: #263F4A; }
.mm-soft { fill: #8FAAB5; }
.mm-flag { fill: #263F4A; }

/* ---------- target state ---------- */

.target {
  background: radial-gradient(70% 90% at 0% 100%, rgba(54,91,109,.4), transparent 60%), var(--third);
  color: var(--secondary);
  position: relative; overflow: hidden;
}
.target-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8%; align-items: center; }
.target .eyebrow { color: #C3D1D0; }
.target h2 { margin: 26px 0 22px; font: 700 clamp(40px, 5vw, 66px)/1.05 var(--serif); letter-spacing: -.04em; }
.target h2 em { color: #B9C9CD; font-style: normal; }
.target-copy { max-width: 460px; color: rgba(246,244,232,.74); font-size: 16px; line-height: 1.75; }

.target-panel {
  padding: 32px;
  background: rgba(246,244,232,.06);
  border: 1px solid rgba(246,244,232,.16); border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.panel-top {
  display: flex; justify-content: space-between; gap: 16px;
  padding-bottom: 20px; border-bottom: 1px solid rgba(246,244,232,.2);
  color: #C3D1D0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.roadmap {
  display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start;
  padding: 22px 14px; margin-inline: -14px;
  border-bottom: 1px solid rgba(246,244,232,.14);
  border-radius: 14px;
  transition: background .35s;
}
.roadmap:last-child { border-bottom: 0; padding-bottom: 22px; }
.roadmap:hover { background: rgba(246,244,232,.07); }
.roadmap-num {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(246,244,232,.35); border-radius: 50%;
  color: #D2DEDA; font-size: 13px; font-weight: 600;
  transition: background .3s, color .3s;
}
.roadmap:hover .roadmap-num { background: var(--secondary); color: var(--third); }
.roadmap strong { display: block; margin-bottom: 4px; font: 700 19px/1.25 var(--serif); letter-spacing: -.02em; }
.roadmap p { color: rgba(246,244,232,.7); font-size: 14px; line-height: 1.6; }

/* ---------- outcomes ---------- */

.outcomes { background: var(--paper); }
.outcome-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; }
.outcome-heading h2 { max-width: 720px; font: 700 clamp(40px, 5.2vw, 70px)/1.05 var(--serif); letter-spacing: -.04em; }
.outcome-heading h2 em { color: var(--primary); font-style: normal; }
.outcome-heading p { max-width: 330px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.outcome-card {
  min-height: 280px; padding: 30px;
  background: #E4EAE5;
  border: 1px solid transparent; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s;
}
.outcome-card:nth-child(2) { background: #DCE5E7; }
.outcome-card:nth-child(3) { background: #D5E0DD; }
.outcome-card:hover { background: #fff; }
.outcome-card small {
  align-self: flex-start;
  padding: 6px 12px;
  border: 1px solid rgba(54,91,109,.3); border-radius: 100px;
  color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .12em;
}
.outcome-card strong { display: block; max-width: 280px; font: 700 clamp(24px, 2.4vw, 32px)/1.12 var(--serif); letter-spacing: -.03em; }
.outcome-card p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- final cta ---------- */

.final-cta {
  position: relative; overflow: hidden;
  padding: clamp(90px, 10vw, 140px) 7%;
  color: var(--secondary);
  background: radial-gradient(70% 80% at 100% 0%, rgba(94,135,152,.4), transparent 60%), var(--primary);
}
.final-cta::before {
  content: "MERZAAI";
  position: absolute; left: -2%; bottom: -40px;
  font: 800 clamp(100px, 19vw, 270px)/.8 var(--serif);
  letter-spacing: -.06em; color: rgba(246,244,232,.055);
  pointer-events: none;
}
.final-cta::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -260px;
  border: 1px solid rgba(246,244,232,.16); border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(246,244,232,.035), 0 0 0 110px rgba(246,244,232,.025);
  pointer-events: none;
}
.cta-inner {
  width: min(1280px, 100%); margin: auto;
  display: flex; justify-content: space-between; align-items: end; gap: 40px;
  position: relative; z-index: 1;
}
.final-cta .eyebrow { color: #D1DEDA; }
.final-cta h2 { max-width: 780px; margin: 26px 0 22px; font: 700 clamp(42px, 5.8vw, 80px)/1.03 var(--serif); letter-spacing: -.05em; }
.final-cta h2 em { color: #C3D1D0; font-style: normal; }
.final-cta p { max-width: 520px; color: rgba(246,244,232,.82); font-size: 16px; line-height: 1.75; }

.cta-button {
  flex: none; display: inline-flex; align-items: center; gap: 22px;
  padding: 10px 10px 10px 26px;
  background: var(--secondary); color: var(--third);
  font-size: 14px; font-weight: 600; border-radius: 100px;
  box-shadow: 0 10px 26px rgba(0,0,0,.2);
  transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease);
}
.cta-button span {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--third); color: var(--secondary);
  font-size: 17px; transition: transform .35s var(--ease);
}
.cta-button:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.26); }
.cta-button:hover span { transform: rotate(45deg); }

/* ---------- footer ---------- */

.footer { background: var(--third); color: var(--secondary); padding: 72px max(7%, calc((100vw - 1280px) / 2)) 24px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; padding-bottom: 70px; }
.footer-brand img { display: block; width: 100px; height: auto; max-height: 65px; object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 300px; margin-top: 20px; color: rgba(246,244,232,.65); font-size: 14px; line-height: 1.75; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-column small { margin-bottom: 8px; color: #B9C9CD; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-column a { color: rgba(246,244,232,.82); font-size: 14px; transition: color .2s, transform .3s var(--ease); }
.footer-column a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(246,244,232,.18); color: rgba(246,244,232,.55); font-size: 11px; letter-spacing: .08em; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.visible.signal, .reveal.visible.outcome-card { transition-delay: 0s; }
.reveal.visible.signal:hover, .reveal.visible.outcome-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ---------- responsive ---------- */

@media (max-width: 1150px) {
  .nav a:not(.nav-cta), .nav-cta { font-size: 13px; }
  .process { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1050px) {
  .signal { grid-template-columns: 60px 1fr; gap: 20px 28px; padding: 32px; }
  .signal > div:last-child { grid-column: 1 / -1; }
  .drift-grid { gap: 5%; }
}

@media (max-height: 700px) and (min-width: 801px) {
  .hero-copy { font-size: 14px; line-height: 1.55; }
  .hero-actions { margin-top: 16px; }
}

@media (max-width: 960px) {
  .header { height: 72px; padding-inline: 6%; }
  .header.scrolled { height: 64px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 3%; right: 3%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 22px 22px;
    background: rgba(246,244,232,.97);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a:not(.nav-cta) { padding: 14px 0; font-size: 16px; }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 10px; font-size: 14px; }
}

@media (max-width: 800px) {
  .hero { height: auto; min-height: 0; padding: 100px 6% 84px; grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero h1 { font-size: clamp(40px, 10vw, 64px); }
  .hero-visual { height: clamp(340px, 52vh, 440px); margin-top: 30px; }
  .hero-disc { width: min(60vw, 44vh, 340px); }
  .hero-bottom { left: 6%; right: 6%; }

  .intro-grid, .drift-grid, .intervention-head, .target-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head, .outcome-heading { flex-direction: column; align-items: flex-start; }

  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-card, .photo-card:first-child { min-height: 280px; }
  .photo-card:first-child { grid-column: 1 / -1; min-height: 340px; }

  .signal { grid-template-columns: 1fr; padding: 28px; gap: 16px; }
  .signal > div:last-child { grid-column: auto; }
  .process { grid-template-columns: 1fr 1fr; }
  .process-step { min-height: 0; }
  .outcome-grid { grid-template-columns: 1fr; }
  .outcome-card { min-height: 220px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 540px) {
  .hero-bottom { font-size: 9px; }
  .hero-bottom span:last-child { display: none; }
  .hero-visual { margin-inline: -3%; }
  .float-note { font-size: 11px; padding: 8px 13px; }
  .note-one { left: -2%; }
  .note-two { right: -2%; }
  .note-three { right: 4%; }
  .visual-label { font-size: 9px; }
  .visual-top { top: 16px; left: 18px; right: 18px; }
  .visual-caption { display: none; }
  .core-block { left: 14px; bottom: 14px; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card, .photo-card:first-child { grid-column: auto; min-height: 280px; }
  .process { grid-template-columns: 1fr; }
  .target-panel { padding: 24px; }
  .panel-top { flex-direction: column; gap: 6px; }
  .footer-main { gap: 35px 20px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


@media (max-width: 768px) {
  .dark-intro::after {
    display: none;
    content: none;
  }
}

@media (max-width: 768px) {
  .final-cta::before {
    display: none;
    content: none;
  }
}

/* =========================================================
   ADDITIONS — visuals, image slots, motion
   ========================================================= */

/* ---------- image slots (replace src="" with your image) ---------- */

.img-slot {
  position: relative; overflow: hidden; margin: 0;
  display: grid; place-items: center;
  min-height: 220px;
  border-radius: var(--radius-lg);
  border: 1.5px dashed rgba(54,91,109,.38);
  background:
    repeating-linear-gradient(135deg, rgba(54,91,109,.055) 0 12px, transparent 12px 24px),
    #E4EAE5;
}
.img-slot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; filter: saturate(.85);
  transition: transform 1s var(--ease);
}
.img-slot img[src=""], .img-slot img:not([src]) { display: none; }
.img-slot:has(img[src]:not([src=""])) { border-color: transparent; }
.img-slot:hover img { transform: scale(1.04); }
.slot-label {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px; text-align: center;
  color: var(--primary);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.slot-label svg { width: 34px; height: 34px; opacity: .7; }
.slot-label span { font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: none; opacity: .75; max-width: 260px; }
.img-slot.dark {
  border-color: rgba(246,244,232,.28);
  background:
    repeating-linear-gradient(135deg, rgba(246,244,232,.04) 0 12px, transparent 12px 24px),
    rgba(246,244,232,.05);
}
.img-slot.dark .slot-label { color: #D2DEDA; }

/* ---------- hero: alignment card ---------- */

.align-card {
  position: absolute; z-index: 6;
  top: 13%; right: -5%;
  width: clamp(210px, 19vw, 250px);
  padding: 16px 18px 16px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: floatNote 8s ease-in-out infinite; animation-delay: -3s;
}
.ac-head { display: flex; justify-content: space-between; align-items: center; }
.ac-head small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ac-live { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ac-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3E9B7A; box-shadow: 0 0 0 3px rgba(62,155,122,.18); }
.align-card strong { display: block; margin-top: 6px; font: 700 18px/1.2 var(--serif); letter-spacing: -.02em; }
.align-card svg { display: block; width: 100%; height: auto; margin: 12px 0 12px; }
.ac-flow { stroke: #365B6D; stroke-width: 1.5; stroke-dasharray: 3 6; opacity: .6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.ac-rows { display: grid; gap: 7px; }
.ac-row { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 12px; font-weight: 600; }
.ac-row i {
  display: block; width: 16px; height: 16px; flex: none; border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23F6F4E8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  animation: pop .5s var(--ease) both;
}
.ac-row:nth-child(1) i { animation-delay: 1s; }
.ac-row:nth-child(2) i { animation-delay: 1.3s; }
.ac-row:nth-child(3) i { animation-delay: 1.6s; }
@keyframes pop { from { transform: scale(0); } }

.note-two   { top: 52%; right: -6%; }
.note-three { top: 72%; right: 10%; }

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.4);
  padding-block: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 34px; padding-right: 34px;
  font: 700 clamp(18px, 2vw, 26px)/1 var(--serif); letter-spacing: -.03em;
  color: var(--ink); white-space: nowrap;
}
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(38,63,74,.45); }
.marquee-track span::after { content: ""; width: 9px; height: 9px; background: var(--primary); transform: rotate(45deg); border-radius: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- signal icons ---------- */

.signal-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.signal-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; background: rgba(54,91,109,.08); color: var(--primary);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.signal-icon svg { width: 22px; height: 22px; }
.signal:hover .signal-icon { background: var(--primary); color: var(--secondary); transform: rotate(-6deg); }

/* ---------- drift diagram ---------- */

.drift-viz {
  margin-top: 40px; padding: 24px 24px 18px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.drift-viz svg { display: block; width: 100%; height: auto; }
.drift-viz text { font: 600 11px var(--sans); fill: var(--muted); letter-spacing: .04em; }
.drift-viz p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.dv-path { stroke: #365B6D; stroke-width: 1.8; stroke-dasharray: 4 7; opacity: .5; animation: flow 1.8s linear infinite; }
.dv-near { opacity: .85; }
.dv-target { fill: none; stroke: rgba(54,91,109,.35); stroke-dasharray: 3 4; }

/* ---------- process timeline track ---------- */

.track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 18px; }
.track-dot { position: relative; height: 14px; }
.track-dot::before {
  content: ""; position: absolute; left: 22px; top: 0; z-index: 2;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--primary);
  transition: background .3s; transition-delay: var(--td, 0s);
}
.track-dot::after {
  content: ""; position: absolute; left: 36px; right: -36px; top: 6px; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease); transition-delay: var(--td, 0s);
}
.track-dot:last-child::after { right: 0; background: linear-gradient(90deg, var(--primary), transparent); }
.rail-wrap.visible .track-dot::after { transform: scaleX(1); }
.rail-wrap.visible .track-dot::before { background: var(--primary); }

/* ---------- feature image band ---------- */

.feature { background: var(--mist); }
.feature-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: auto auto; gap: 18px; }
.feature-grid .img-slot.big { grid-row: 1 / 3; min-height: 580px; }
.feature-grid .img-slot.small { min-height: 260px; }
.feature-card {
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  background: var(--third); color: var(--secondary);
  border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
.feature-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -120px;
  border: 1px solid rgba(246,244,232,.18); border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(246,244,232,.035), 0 0 0 60px rgba(246,244,232,.02);
}
.feature-card .eyebrow { color: #C3D1D0; }
.weeks { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.weeks strong { font: 800 clamp(48px, 5vw, 68px)/1 var(--serif); letter-spacing: -.05em; }
.weeks span { color: rgba(246,244,232,.75); font-size: 13px; font-weight: 600; line-height: 1.35; letter-spacing: .02em; }
.feature-card blockquote { font: 700 clamp(20px, 1.9vw, 26px)/1.25 var(--serif); letter-spacing: -.03em; position: relative; z-index: 1; }
.feature-card blockquote em { color: #B9C9CD; font-style: normal; }

/* ---------- target: image + roadmap connector ---------- */

.target-slot { margin-top: 34px; aspect-ratio: 16 / 10; min-height: 0; border-radius: var(--radius); }
.roadmap { position: relative; }
.roadmap:not(:last-child) .roadmap-num { position: relative; }
.roadmap:not(:last-child) .roadmap-num::after {
  content: ""; position: absolute; left: 50%; top: 40px; width: 1px; height: calc(100% + 26px);
  background: linear-gradient(rgba(246,244,232,.4), rgba(246,244,232,.08));
}

/* ---------- outcomes: small visuals ---------- */

.outcome-card > .oc-viz { position: absolute; top: 24px; right: 24px; width: 130px; }
.oc-viz svg { width: 100%; height: auto; display: block; }

/* ---------- final cta image ---------- */

.cta-side { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; flex: none; }
.cta-side .img-slot { width: 300px; min-height: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); }

/* ---------- responsive additions ---------- */

@media (max-width: 1150px) {
  .track { display: none; }
  .align-card { right: -2%; }
}
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid .img-slot.big { grid-column: 1 / 3; grid-row: auto; min-height: 380px; }
}
@media (max-width: 800px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid .img-slot.big { grid-column: auto; min-height: 300px; }
  .signal-side { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .cta-side { align-items: flex-start; }
  .cta-side .img-slot { width: 100%; }
  .outcome-card > .oc-viz { width: 110px; }
}
@media (max-width: 540px) {
  .align-card { display: none; }
  .outcome-card > .oc-viz { display: none; }
}
