:root {
  --navy: #0f2d45;
  --navy-2: #173f5d;
  --teal: #087f7b;
  --teal-light: #d7f0ed;
  --gold: #e8af49;
  --gold-light: #fff4dc;
  --ink: #15222d;
  --muted: #5b6873;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #d6e0e4;
  --shadow: 0 22px 60px rgba(15, 45, 69, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(22px, 5vw, 80px);
  border-bottom: 1px solid rgba(214, 224, 228, 0.8);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
nav { display: flex; align-items: center; gap: 30px; }
nav a { color: #32424f; font-size: 0.92rem; font-weight: 700; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--teal); }
.menu-button { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) clamp(22px, 7vw, 112px) clamp(82px, 10vw, 150px);
  background:
    radial-gradient(circle at 87% 8%, rgba(232, 175, 73, 0.22), transparent 25%),
    linear-gradient(145deg, #f7fbfb 0%, var(--paper) 60%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -190px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(8, 127, 123, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(8, 127, 123, 0.035), 0 0 0 110px rgba(8, 127, 123, 0.025);
}
.hero-copy, .signal-card { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 880px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(2.7rem, 6.5vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.hero-text { max-width: 760px; margin-bottom: 32px; color: #43525e; font-size: clamp(1.06rem, 1.7vw, 1.3rem); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--teal); box-shadow: 0 12px 30px rgba(8, 127, 123, 0.22); }
.button-secondary { border-color: var(--navy); color: var(--navy); background: transparent; }
.quick-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 32px 0 0; list-style: none; color: var(--muted); font-size: 0.86rem; font-weight: 650; }
.quick-facts li::before { content: "•"; margin-right: 8px; color: var(--gold); }

.signal-card {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
}
.signal-card-header { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.profile-photo-frame {
  flex: 0 0 auto;
  width: clamp(112px, 10vw, 148px);
  height: clamp(112px, 10vw, 148px);
  overflow: hidden;
  border: 3px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}
.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  transform: scale(1.45);
  transform-origin: 50% 30%;
}
.signal-card-header .card-kicker { margin-bottom: 9px; }
.signal-card-header h2 { margin-bottom: 0; }
.card-kicker { margin-bottom: 12px; color: var(--gold); font-size: 0.74rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.signal-card h2 { margin-bottom: 16px; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.05; }
.signal-card > p:not(.card-kicker) { color: #d6e1e8; }
.signal-list { margin: 28px 0 0; }
.signal-list div { display: grid; grid-template-columns: 68px 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); }
.signal-list dt { color: var(--gold); font-size: 0.78rem; font-weight: 850; text-transform: uppercase; }
.signal-list dd { margin: 0; color: #edf4f6; font-size: 0.93rem; }

.proof-band { display: grid; grid-template-columns: repeat(4, 1fr); color: var(--white); background: var(--teal); }
.proof-band article { min-height: 168px; padding: 30px clamp(20px, 3vw, 44px); border-right: 1px solid rgba(255,255,255,.22); }
.proof-band article:last-child { border-right: 0; }
.proof-band strong { display: block; margin-bottom: 6px; color: var(--gold-light); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1; }
.proof-band span { color: #e7f5f3; font-size: 0.9rem; }

.section { padding: clamp(76px, 9vw, 130px) clamp(22px, 7vw, 112px); }
.section-heading { max-width: 740px; margin-bottom: 46px; }
.section-heading h2, .contact-section h2 { margin-bottom: 16px; color: var(--navy); font-size: clamp(2.2rem, 4.5vw, 4.2rem); line-height: 1.02; letter-spacing: -0.045em; }
.section-heading > p:last-child { max-width: 650px; color: var(--muted); font-size: 1.05rem; }

.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.case-card { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 34px rgba(15, 45, 69, 0.05); }
.case-feature { grid-column: 1 / -1; background: linear-gradient(150deg, #f1fbfa 0%, #fff 70%); }
.case-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 24px; color: var(--teal); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.05em; text-transform: uppercase; }
.case-card h3 { max-width: 900px; margin-bottom: 16px; color: var(--navy); font-size: clamp(1.45rem, 2.5vw, 2.35rem); line-height: 1.12; letter-spacing: -0.025em; }
.case-card p { color: #4f5f6b; }
.case-lead { max-width: 800px; }
.case-flow { display: flex; align-items: center; gap: 10px; margin: 30px 0; color: var(--navy); font-size: 0.86rem; font-weight: 800; }
.case-flow span { padding: 9px 13px; border-radius: 999px; background: var(--teal-light); }
.case-flow b { color: var(--teal); }
.case-details { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 24px; }
.case-details h4 { margin: 0 0 8px; color: var(--navy); font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag-row span { padding: 7px 10px; border: 1px solid #bed8d7; border-radius: 8px; color: #315457; background: #f4fbfa; font-size: 0.78rem; font-weight: 750; }

.lab { color: var(--white); background: var(--navy); }
.lab .eyebrow { color: #79d7cf; }
.lab .section-heading h2 { color: var(--white); }
.lab .section-heading > p:last-child { color: #c8d9e2; }
.lab-shell { overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 26px; background: rgba(255,255,255,.06); box-shadow: 0 26px 80px rgba(0,0,0,.16); }
.metric-inputs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 28px; background: rgba(255,255,255,.04); }
.metric-inputs label { color: #c9dbe4; font-size: 0.78rem; font-weight: 750; }
.metric-inputs input { width: 100%; margin-top: 7px; padding: 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; color: var(--white); background: #173b56; outline: none; }
.metric-inputs input:focus { border-color: #74d3cb; box-shadow: 0 0 0 3px rgba(116,211,203,.16); }
.text-button { grid-column: 1 / -1; justify-self: start; padding: 0; border: 0; color: var(--gold); background: none; font-weight: 800; cursor: pointer; }
.metric-output { display: grid; grid-template-columns: repeat(5, 1fr); }
.metric-output article { padding: 30px 24px; border-top: 1px solid rgba(255,255,255,.14); border-right: 1px solid rgba(255,255,255,.14); }
.metric-output article:last-child { border-right: 0; }
.metric-output span, .metric-output small { display: block; }
.metric-output span { color: #9fc3d3; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.1em; }
.metric-output strong { display: block; margin: 5px 0; color: var(--white); font-size: clamp(1.75rem, 3.8vw, 3rem); }
.metric-output small { color: #aac0ca; }
.metric-output .roas-card { background: var(--teal); }
.interpretation { padding: 26px 28px; border-top: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.08); }
.interpretation p:last-child { max-width: 1000px; margin-bottom: 0; color: #e1edf2; }

.split-section { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(40px, 8vw, 120px); background: #f4f1e9; }
.day-plan { padding: 0; margin: 0; list-style: none; }
.day-plan li { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid #c9d3d5; }
.day-plan li:last-child { border-bottom: 1px solid #c9d3d5; }
.day-plan span { color: var(--teal); font-weight: 900; }
.day-plan h3 { margin-bottom: 6px; color: var(--navy); font-size: 1.2rem; }
.day-plan p { margin-bottom: 0; color: var(--muted); }

.timeline { position: relative; max-width: 1000px; }
.timeline::before { content: ""; position: absolute; left: 200px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline article { position: relative; display: grid; grid-template-columns: 175px 1fr; gap: 52px; padding: 0 0 38px; }
.timeline article::before { content: ""; position: absolute; left: 195px; top: 6px; width: 11px; height: 11px; border: 4px solid var(--paper); border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.timeline time { color: var(--teal); font-size: 0.82rem; font-weight: 850; }
.timeline h3 { margin-bottom: 7px; color: var(--navy); font-size: 1.28rem; }
.timeline p { margin-bottom: 0; color: var(--muted); }

.toolkit-section { background: var(--white); }
.toolkit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.toolkit > div { padding: 30px; background: var(--white); }
.toolkit h3 { margin-bottom: 9px; color: var(--navy); font-size: 1.12rem; }
.toolkit p { margin-bottom: 0; color: var(--muted); }
.education-note { margin: 22px 0 0; padding: 20px 24px; border-left: 4px solid var(--gold); color: #4b5962; background: var(--gold-light); }

.contact-section { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: end; padding: clamp(74px, 9vw, 120px) clamp(22px, 7vw, 112px); color: var(--white); background: var(--teal); }
.contact-section .eyebrow { color: var(--gold-light); }
.contact-section h2 { max-width: 850px; color: var(--white); }
.contact-section p:last-child { margin-bottom: 0; color: #dff4f1; }
.contact-actions { justify-content: flex-end; }
.button-light { color: var(--navy); background: var(--white); }
.button-outline { border-color: rgba(255,255,255,.72); color: var(--white); }

footer { display: flex; justify-content: space-between; gap: 18px; padding: 28px clamp(22px, 7vw, 112px); color: #b7cad4; background: #0a2032; font-size: 0.82rem; }
footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 960px) {
  .hero, .split-section, .contact-section { grid-template-columns: 1fr; }
  .proof-band { grid-template-columns: repeat(2, 1fr); }
  .proof-band article:nth-child(2) { border-right: 0; }
  .proof-band article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
  .metric-inputs { grid-template-columns: repeat(2, 1fr); }
  .metric-output { grid-template-columns: repeat(2, 1fr); }
  .metric-output article { border-bottom: 1px solid rgba(255,255,255,.14); }
  .metric-output .roas-card { grid-column: 1 / -1; }
  .contact-actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .site-header { min-height: 64px; }
  .menu-button { display: inline-flex; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--navy); background: var(--white); font-weight: 800; }
  nav { position: absolute; top: 63px; right: 16px; display: none; min-width: 220px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
  nav.open { display: grid; gap: 14px; }
  .hero { padding-top: 64px; }
  .profile-photo-frame { width: 116px; height: 116px; }
  .proof-band, .case-grid, .case-details, .toolkit, .metric-inputs, .metric-output { grid-template-columns: 1fr; }
  .proof-band article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .proof-band article:last-child { border-bottom: 0; }
  .case-feature { grid-column: auto; }
  .case-flow { align-items: stretch; flex-direction: column; }
  .case-flow b { transform: rotate(90deg); align-self: center; }
  .metric-output .roas-card { grid-column: auto; }
  .metric-output article { border-right: 0; }
  .timeline::before { left: 6px; }
  .timeline article { grid-template-columns: 1fr; gap: 7px; padding-left: 34px; }
  .timeline article::before { left: 0; }
  .day-plan li { grid-template-columns: 64px 1fr; gap: 14px; }
  footer { flex-direction: column; }
}
