/* Insight Coaching — design system (Notebook Minimal, warm creme / navy / clay) */
:root {
  --bg: #F6F3EC;
  --surface: #FFFDF8;
  --dark: #1D2733;
  --dark-2: #151D27;
  --ink: #232D3A;
  --ink-soft: #5C6774;
  --accent: #B4552F;
  --accent-deep: #96431F;
  --accent-soft: rgba(180, 85, 47, .10);
  --line: rgba(29, 39, 51, .12);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r-lg: 2rem;
  --r-xl: 3rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* film-grain noise + soft dot grid (Notebook texture) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 3;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dotgrid {
  background-image: radial-gradient(rgba(29,39,51,.10) 1px, transparent 1.4px);
  background-size: 26px 26px;
}

/* scroll progress */
#ic-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--accent); z-index: 60;
}

/* ---------- navbar: floating island ---------- */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 50;
  display: flex; align-items: center; gap: 26px;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
  white-space: nowrap;
  max-width: calc(100vw - 24px);
}
.nav.scrolled {
  background: rgba(246, 243, 236, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(29, 39, 51, .08);
}
.nav-logo { font-family: var(--serif); font-weight: 600; font-size: 17px; text-decoration: none; letter-spacing: .01em; }
.nav-logo em { color: var(--accent); font-style: italic; }
.nav-links { display: flex; gap: 20px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink-soft);
  transition: color .2s, transform .2s;
}
.nav-links a:hover { color: var(--ink); transform: translateY(-1px); }

/* ---------- buttons: magnetic ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 999px; border: none; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 16px;
  text-decoration: none;
  transition: transform .3s cubic-bezier(.25, .46, .45, .94), box-shadow .3s;
  will-change: transform;
}
.btn:hover { transform: scale(1.03) translateY(-1px); }
.btn .btn-bg {
  position: absolute; inset: 0; z-index: 0;
  transform: translateX(-101%);
  transition: transform .45s cubic-bezier(.25, .46, .45, .94);
}
.btn:hover .btn-bg { transform: translateX(0); }
.btn > span:not(.btn-bg) { position: relative; z-index: 1; }
.btn-primary { background: var(--accent); color: #FFF7F0; box-shadow: 0 10px 28px rgba(180, 85, 47, .30); }
.btn-primary .btn-bg { background: var(--accent-deep); }
.btn-dark { background: var(--dark); color: #F2EFE7; }
.btn-dark .btn-bg { background: #0E141C; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 11px 22px; font-size: 14.5px; }

/* ---------- section scaffolding ---------- */
.section { padding: 110px 0; position: relative; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.kicker::after { content: ""; height: 1px; width: 56px; background: var(--accent); opacity: .5; }
.kicker.on-dark { color: #D99A72; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; font-weight: 700; letter-spacing: -.015em; }
.serif-drama { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: 0; }
.lead { font-size: 19.5px; color: var(--ink-soft); max-width: 620px; }
.glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(180, 85, 47, .16), transparent 65%);
  filter: blur(10px);
}

/* ---------- hero ---------- */
.hero {
  min-height: 100dvh;
  position: relative;
  display: flex; align-items: center;
  padding: 110px 0 70px;
}
.hero-photo {
  position: absolute; inset: 0 0 0 46%;
  background-size: cover; background-position: 60% 18%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0, #000 30%);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 2%, transparent 42%),
              linear-gradient(90deg, var(--bg) 14%, rgba(246,243,236,.85) 40%, rgba(246,243,236,.3) 64%, transparent 82%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 62px); }
.hero h1 .h1-sans { display: block; font-family: var(--sans); font-weight: 800; }
.hero h1 .h1-serif {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(42px, 5.6vw, 78px); color: var(--accent); margin-top: 4px;
}
.hero .lead { margin: 20px 0 28px; }
.hero-trust { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-trust span {
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  background: rgba(255, 253, 248, .55);
}
.scroll-cue {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
@media (max-height: 849px) { .scroll-cue { display: none; } }
.scroll-cue::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(var(--accent), transparent);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- press bar ---------- */
.press-bar { padding: 44px 0 10px; }
.press-bar .pb-label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-soft); text-align: center; margin-bottom: 22px;
}
.press-bar .pb-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 40px 56px;
}
.press-bar img {
  height: 30px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .62; transition: opacity .25s;
}
.press-bar img:hover { opacity: 1; }
@media (max-width: 960px) { .press-bar .pb-logos { gap: 24px 32px; } .press-bar img { height: 22px; } }

/* ---------- scrollytelling (the problem) ---------- */
.spiral-outer { height: 320vh; position: relative; }
.spiral-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.spiral-stage { position: relative; width: min(1080px, 92vw); height: 76vh; }
.spiral-caption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; opacity: 0; padding: 0 16px;
}
.spiral-caption .clock { font-family: var(--mono); font-size: clamp(48px, 7vw, 88px); font-weight: 500; letter-spacing: .04em; }
.spiral-caption h2 { font-size: clamp(28px, 4vw, 48px); max-width: 700px; }
.spiral-caption p { color: var(--ink-soft); font-size: 18px; max-width: 540px; }
.thought {
  position: absolute;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 14px 20px;
  font-size: clamp(13.5px, 1.4vw, 16.5px);
  box-shadow: 0 14px 40px rgba(29, 39, 51, .10);
  opacity: 0; will-change: transform, opacity, filter;
  transform: translateZ(0);
  max-width: 300px;
}
.thought b { color: var(--accent); }
.spiral-final .accent-line {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(32px, 4.6vw, 58px); color: var(--accent); line-height: 1.15;
}

/* ---------- guide (dark) ---------- */
.guide { background: var(--dark); color: #EDE8DE; border-radius: var(--r-xl); position: relative; overflow: hidden; }
.guide .wrap { position: relative; z-index: 2; }
.guide-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.guide h2 { color: #F5F1E8; }
.guide .contrast-small { font-size: 19px; color: #9AA6B2; margin-bottom: 18px; }
.guide .contrast-big {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(30px, 3.8vw, 52px); line-height: 1.16; color: #F5F1E8;
}
.guide .contrast-big em { color: #E08D5F; font-style: italic; }
.guide-photo { border-radius: var(--r-lg); overflow: hidden; position: relative; align-self: stretch; min-height: 420px; }
.guide-photo img { filter: saturate(.85); width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.guide-photo::after { content: ""; position: absolute; inset: 0; background: rgba(29, 39, 51, .18); mix-blend-mode: multiply; }
.no-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.no-list li {
  font-family: var(--mono); font-size: 13.5px;
  border: 1px solid rgba(237, 232, 222, .25); border-radius: 999px;
  padding: 8px 16px; color: #C8CFD6;
}
.no-list li::before { content: "✕ "; color: #E08D5F; }
.guide-vita { margin-top: 34px; font-size: 16px; color: #B9C2CB; max-width: 560px; }
.known-from { margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(237, 232, 222, .14); }
.known-from .kf-label { font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #8894A0; margin-bottom: 14px; }
.known-from a {
  display: inline-block; margin: 0 22px 8px 0;
  color: #D5DBE1; text-decoration: none; font-weight: 600; font-size: 15.5px;
  border-bottom: 1px solid rgba(224, 141, 95, .45);
  transition: color .2s, transform .2s;
}
.known-from a:hover { color: #fff; transform: translateY(-1px); }

/* ---------- plan: sticky stacking cards ---------- */
.plan-cards { display: grid; gap: 26px; }
.plan-card {
  position: sticky; top: 12vh;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 54px 58px;
  display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: center;
  box-shadow: 0 24px 60px rgba(29, 39, 51, .10);
  min-height: 380px;
  will-change: transform;
}
.plan-card .step-no { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .14em; margin-bottom: 14px; }
.plan-card h3 { font-size: clamp(24px, 2.6vw, 34px); }
.plan-card p { color: var(--ink-soft); max-width: 480px; }
.plan-visual { height: 240px; border-radius: 1.4rem; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.plan-visual svg { width: 82%; height: 82%; }
.plan-note { font-size: 14.5px; font-family: var(--mono); color: var(--ink-soft); margin-top: 12px; }

/* ---------- proof ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.t-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 32px;
  box-shadow: 0 16px 44px rgba(29, 39, 51, .07);
  display: flex; flex-direction: column; gap: 18px;
}
.t-card blockquote { margin: 0; font-size: 16.5px; line-height: 1.6; }
.t-card blockquote::before {
  content: "\201E"; font-family: var(--serif); font-size: 40px; line-height: 1;
  color: var(--accent); display: block; height: 30px; margin-bottom: 10px;
}
.t-who { display: flex; gap: 14px; align-items: center; margin-top: auto; }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: #FFF7F0; background: var(--dark);
}
.t-card:nth-child(2) .t-avatar { background: var(--accent); }
.t-card:nth-child(3) .t-avatar { background: #55636F; }
.t-name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.t-role { font-size: 13.5px; color: var(--ink-soft); }
.proof-more { text-align: center; margin-top: 34px; }
.proof-more a { color: var(--ink-soft); font-size: 15px; }

/* ---------- stakes & CTA ---------- */
.stakes {
  background: var(--dark-2); color: #EDE8DE;
  border-radius: var(--r-xl);
  text-align: center; overflow: hidden; position: relative;
}
.stakes h2 { font-size: clamp(30px, 4.4vw, 54px); color: #F5F1E8; max-width: 820px; margin: 0 auto .4em; }
.stakes h2 em { font-family: var(--serif); font-style: italic; color: #E08D5F; }
.stakes p { color: #A7B1BB; max-width: 560px; margin: 0 auto 38px; }
.stakes .fineline { font-family: var(--mono); font-size: 13.5px; color: #78848F; margin-top: 20px; }

/* ---------- lead magnet ---------- */
.magnet {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 52px 58px;
  box-shadow: 0 18px 50px rgba(29, 39, 51, .07);
}
.magnet h3 { font-size: clamp(22px, 2.4vw, 30px); }
.magnet p { color: var(--ink-soft); font-size: 16px; }
.ic-form { display: flex; flex-direction: column; gap: 12px; }
.ic-form input[type="text"], .ic-form input[type="email"], .ic-form input[type="tel"] {
  font: inherit; padding: 14px 18px;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--bg); color: var(--ink); width: 100%;
}
.ic-form input:focus { outline: none; border-color: var(--accent); }
.form-privacy { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.form-privacy a { color: inherit; }

/* ---------- footer ---------- */
footer {
  background: var(--dark-2); color: #B9C2CB;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: 110px; padding: 80px 0 42px;
  font-size: 15px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; }
.foot-brand { font-family: var(--serif); font-weight: 600; font-size: 22px; color: #F5F1E8; margin-bottom: 12px; }
.foot-brand em { color: #E08D5F; }
footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #7C8894; margin: 0 0 16px; }
footer a { color: #C8CFD6; text-decoration: none; display: block; margin-bottom: 10px; transition: color .2s; }
footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(237, 232, 222, .12); margin-top: 54px; padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #78848F; }

/* ---------- reveals ----------
   content is visible by default; GSAP animates FROM hidden (progressive enhancement) */
.rv { will-change: transform, opacity; }

/* no-JS / reduced-motion fallback for the scrollytelling section */
.reduced .spiral-outer, .no-js .spiral-outer { height: auto; }
.reduced .spiral-sticky, .no-js .spiral-sticky { position: static; height: auto; padding: 80px 0; }
.reduced .spiral-stage, .no-js .spiral-stage { height: auto; }
.reduced .spiral-caption, .no-js .spiral-caption { position: static; opacity: 1; margin: 48px auto; }
.reduced .thought, .no-js .thought { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .section { padding: 76px 0; }
  .nav { gap: 14px; padding: 9px 10px 9px 18px; }
  .nav-links { display: none; }
  .hero { align-items: flex-end; padding-top: 120px; }
  .hero-photo { inset: 0; opacity: .38; -webkit-mask-image: none; mask-image: none; }
  .hero-photo::after { background: linear-gradient(to top, var(--bg) 8%, rgba(246,243,236,.55) 60%); }
  .guide-grid, .magnet { grid-template-columns: 1fr; padding-left: 28px; padding-right: 28px; }
  .plan-card { grid-template-columns: 1fr; padding: 36px 28px; min-height: 0; }
  .plan-visual { height: 170px; }
  .proof-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .spiral-outer { height: 220vh; }
  .thought { max-width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1 !important; transform: none !important; }
}
