/* ============================================================
   Kreative Labs — Landing page styles
   Brand: Deep Navy #0F1F3D · Electric Teal #00C2A8
   Type: Inter / Helvetica
   ============================================================ */

:root {
  --navy:      #0F1F3D;
  --navy-800:  #16294b;
  --navy-700:  #1d3760;
  --navy-600:  #2a4a78;
  --teal:      #00C2A8;
  --teal-600:  #00a892;
  --teal-700:  #008d7b;
  --teal-soft: #9fe3d8;
  --teal-tint: #e6f7f4;
  --charcoal:  #2D2D2D;
  --light:     #F5F6F8;
  --white:     #FFFFFF;
  --ink:       #16223b;      /* body text */
  --ink-soft:  #54607a;      /* muted text */
  --line:      #e4e7ee;

  --accent:        var(--teal);
  --accent-strong: var(--teal-700);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15,31,61,.06), 0 2px 8px rgba(15,31,61,.05);
  --shadow-md: 0 8px 24px rgba(15,31,61,.08), 0 2px 6px rgba(15,31,61,.05);
  --shadow-lg: 0 24px 60px rgba(15,31,61,.16), 0 6px 18px rgba(15,31,61,.08);

  --ff-sans: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  letter-spacing: .005em;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
  font-weight: 800;
}
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Section rhythm ---------- */
section { position: relative; }
.section-pad { padding-block: clamp(72px, 9vw, 132px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-strong);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px;
}
.eyebrow.center::after {
  content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px;
}

.h-display { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
.h-section { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.28rem); color: var(--ink-soft); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff; --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em;
  padding: 16px 26px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); cursor: pointer; text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary { --bg: var(--accent); --fg: #04241f; --bd: var(--accent); }
.btn-primary:hover { --bg: var(--accent-strong); }
.btn-navy { --bg: var(--navy); --fg: #fff; --bd: var(--navy); }
.btn-navy:hover { --bg: var(--navy-800); }
.btn-ghost {
  --bg: transparent; --fg: var(--navy); --bd: rgba(15,31,61,.22);
  box-shadow: none;
}
.btn-ghost:hover { --bd: var(--navy); box-shadow: none; }
.btn-lg { padding: 19px 32px; font-size: 1.08rem; }

/* on dark surfaces */
.on-dark .btn-ghost { --fg: #fff; --bd: rgba(255,255,255,.34); }
.on-dark .btn-ghost:hover { --bd: #fff; background: rgba(255,255,255,.06); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--white) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(15,31,61,.02), 0 8px 24px rgba(15,31,61,.05);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand .wordmark { font-weight: 800; letter-spacing: -0.02em; font-size: 1.22rem; color: var(--navy); }
.brand .wordmark b { color: var(--accent-strong); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero { overflow: clip; }
.hero-inner { display: block; padding-block: clamp(56px, 8vw, 104px); position: relative; z-index: 2; }
.hero-inner > * { margin: 0 0 26px; }
.hero-inner > *:last-child { margin-bottom: 0; }
.hero h1 { margin: 6px 0 22px; text-wrap: pretty; }
.hero .eyebrow { margin-bottom: 18px; }
.hero .lede { max-width: 36ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.hero-trust { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: .96rem; margin-top: 4px; }
.hero-trust svg { flex: none; color: var(--accent-strong); }

/* email mini-form */
.email-capture { display: flex; flex-wrap: wrap; gap: 10px; max-width: 460px; }
.email-capture .field { position: relative; flex: 1 1 240px; }
.email-capture input[type="email"] {
  width: 100%; font: inherit; font-size: 1rem; padding: 15px 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.email-capture input::placeholder { color: #93a0b5; }
.email-capture input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--teal-tint); }
.email-capture.invalid input { border-color: #e2606a; box-shadow: 0 0 0 4px rgba(226,96,106,.12); }
.form-note { font-size: .85rem; color: var(--ink-soft); margin-top: 4px; }
.form-error { color: #c93f49; font-size: .85rem; margin-top: 6px; min-height: 1em; }
.form-success {
  display: none; align-items: center; gap: 10px;
  background: var(--teal-tint); color: var(--teal-700); border: 1.5px solid var(--teal-soft);
  padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .98rem; max-width: 460px;
}
.form-success.show { display: flex; }
.form-success svg { flex: none; }

/* hero art */
.hero-art { position: relative; }
.hero-mountains {
  position: absolute; left: 0; right: 0; bottom: -2px; width: 100%;
  pointer-events: none; opacity: 0; z-index: 1;
}

/* ---------- Pain section ---------- */
.pain { background: var(--light); }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.pain-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 32px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-soft); }
.pain-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.pain-card p { color: var(--ink-soft); font-size: 1.02rem; }
.pain-card .num { font-size: .82rem; font-weight: 700; letter-spacing: .12em; color: var(--accent-strong); display: block; margin-bottom: 14px; }
.pain-close {
  margin-top: 40px; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700;
  color: var(--navy); max-width: 24ch; line-height: 1.25; letter-spacing: -0.02em;
}
.pain-close b { color: var(--accent-strong); }
@media (max-width: 720px) { .pain-grid { grid-template-columns: 1fr; } }

/* ---------- Shift / relief ---------- */
.shift-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.shift-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.shift-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.08rem; color: var(--ink); }
.shift-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-tint);
  color: var(--teal-700); display: grid; place-items: center; margin-top: 2px;
}
.stat-card {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.stat-card .quote { font-size: clamp(1.3rem, 2.4vw, 1.85rem); font-weight: 700; line-height: 1.28; letter-spacing: -0.02em; }
.stat-card .quote .hl { color: var(--teal); }
.stat-card .sig { margin-top: 22px; color: rgba(255,255,255,.62); font-size: .96rem; }
.stat-card .glow { position: absolute; inset: auto -30% -50% auto; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,194,168,.5), transparent 70%); filter: blur(8px); }
@media (max-width: 800px) { .shift-grid { grid-template-columns: 1fr; } }

/* ---------- How we work ---------- */
.how { background: var(--light); }
.how-head { max-width: 60ch; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 36px;
  position: relative; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .badge {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 22px;
}
.step:nth-child(2) .badge { background: var(--teal); color: #04241f; }
.step h3 { font-size: 1.34rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 1.02rem; }
.step .tag { display: inline-block; margin-top: 16px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- What we do ---------- */
.do-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.do-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, background .2s; }
.do-item:hover { border-color: var(--teal-soft); background: var(--teal-tint); }
.do-item .ico { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--teal-tint); color: var(--teal-700); display: grid; place-items: center; }
.do-item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.do-item p { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 820px) { .do-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .do-grid { grid-template-columns: 1fr; } }

/* ---------- Guide / founder ---------- */
.guide { background: var(--navy); color: #fff; }
.guide-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.guide h2 { color: #fff; }
.guide .lede, .guide p { color: rgba(233,238,247,.86); }
.guide .eyebrow { color: var(--teal); }
.guide .eyebrow::before { background: var(--teal); }
.guide-photo {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 14px, rgba(255,255,255,.02) 14px 28px),
    var(--navy-700);
  border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; overflow: hidden;
}
.guide-photo .ph-label { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .82rem; color: rgba(255,255,255,.5); letter-spacing: .04em; text-align: center; padding: 0 20px; }
.guide-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.guide-photo::after { content:""; position:absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,194,168,.18); border-radius: inherit; }
.guide-story p + p { margin-top: 16px; }
.guide-name { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.guide-name .nm { font-weight: 800; color: #fff; font-size: 1.05rem; }
.guide-name .rl { color: var(--teal); font-size: .92rem; }
.guide-name .div { width: 1px; height: 30px; background: rgba(255,255,255,.2); }
@media (max-width: 800px) { .guide-grid { grid-template-columns: 1fr; } .guide-photo { max-width: 320px; } }

/* ---------- Promise ---------- */
.promise { text-align: center; }
.promise .wrap { max-width: 980px; }
.promise blockquote {
  margin: 0; font-size: clamp(1.6rem, 3.8vw, 2.9rem); font-weight: 800; color: var(--navy);
  letter-spacing: -0.025em; line-height: 1.18; text-wrap: balance;
}
.promise blockquote .hl { color: var(--accent-strong); }
.promise .mark { width: 46px; height: auto; margin: 0 auto 26px; opacity: .95; }
.promise cite { display: block; margin-top: 26px; font-style: normal; color: var(--ink-soft); font-weight: 600; font-size: 1rem; }

/* ---------- Final CTA ---------- */
.cta-final { background: var(--light); }
.cta-card {
  background: var(--navy); color: #fff; border-radius: 28px; overflow: hidden; position: relative;
  padding: clamp(40px, 6vw, 76px); box-shadow: var(--shadow-lg);
}
.cta-card .cta-mountains { position: absolute; right: -4%; bottom: -2px; width: min(560px, 60%); opacity: .5; pointer-events: none; }
.cta-card .inner { position: relative; z-index: 2; max-width: 620px; }
.cta-card h2 { color: #fff; }
.cta-card p { color: rgba(233,238,247,.86); margin-top: 16px; font-size: 1.12rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cta-sep { display: flex; align-items: center; gap: 16px; margin: 30px 0; color: rgba(255,255,255,.5); font-size: .9rem; font-weight: 600; letter-spacing: .04em; }
.cta-sep::before, .cta-sep::after { content: ""; height: 1px; flex: 1; background: rgba(255,255,255,.16); }
.cta-card .email-capture input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.cta-card .email-capture input::placeholder { color: rgba(255,255,255,.5); }
.cta-card .email-capture input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,194,168,.18); }
.cta-card .form-note { color: rgba(255,255,255,.6); }
.cta-card .lm-title { font-weight: 700; color: #fff; margin-bottom: 8px; font-size: 1.05rem; display:flex; align-items:center; gap:10px; }
.cta-card .lm-title .pill { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--teal); color: #04241f; padding: 3px 9px; border-radius: 999px; font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-800); color: rgba(233,238,247,.7); padding-block: 54px 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 32px; }
.footer-brand .wordmark { color: #fff; font-weight: 800; font-size: 1.16rem; letter-spacing: -0.02em; }
.footer-brand .wordmark b { color: var(--teal); }
.footer-tag { margin-top: 14px; max-width: 30ch; color: rgba(233,238,247,.62); font-size: .98rem; }
.footer-links { display: flex; gap: 44px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; font-weight: 700; }
.footer-col a, .footer-col span { display: block; text-decoration: none; color: rgba(233,238,247,.7); font-size: .96rem; margin-bottom: 9px; transition: color .15s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .86rem; color: rgba(233,238,247,.5); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}
/* Failsafe: never leave content hidden (set by JS as a last resort) */
html.reveal-done .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ============================================================
   DIRECTION VARIANTS  (data-direction on <html>)
   clean (default) · graphic · bold
   ============================================================ */

/* ---- GRAPHIC: more visual, mountain motif, angled energy ---- */
[data-direction="graphic"] .hero {
  background:
    radial-gradient(1200px 520px at 85% -10%, var(--teal-tint), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--light) 100%);
}
[data-direction="graphic"] .hero-mountains { opacity: .9; }
[data-direction="graphic"] .hero-inner { padding-bottom: clamp(120px, 18vw, 240px); }
[data-direction="graphic"] .hero h1 .accentword { color: var(--accent-strong); }
[data-direction="graphic"] .pain { background: #fff; }
[data-direction="graphic"] .pain-card { background: var(--light); border-color: transparent; }
[data-direction="graphic"] .how { background: #fff; }
[data-direction="graphic"] .step { background: var(--light); }
[data-direction="graphic"] .section-pad.shift { background: var(--light); }
[data-direction="graphic"] .do-item { background: var(--light); border-color: transparent; }

/* dotted node texture for graphic hero */
[data-direction="graphic"] .hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(0,194,168,.18) 1.4px, transparent 1.6px);
  background-size: 30px 30px; mask-image: radial-gradient(900px 400px at 80% 8%, #000, transparent 70%);
}

/* ---- BOLD: navy hero, high contrast ---- */
[data-direction="bold"] .hero { background: var(--navy); color: #fff; }
[data-direction="bold"] .hero .eyebrow { color: var(--teal); }
[data-direction="bold"] .hero .eyebrow::before { background: var(--teal); }
[data-direction="bold"] .hero h1 { color: #fff; }
[data-direction="bold"] .hero h1 .accentword { color: var(--teal); }
[data-direction="bold"] .hero .lede { color: rgba(233,238,247,.84); }
[data-direction="bold"] .hero .hero-trust { color: rgba(233,238,247,.7); }
[data-direction="bold"] .hero .hero-trust svg { color: var(--teal); }
[data-direction="bold"] .hero-mountains { opacity: .42; bottom: -2px; }
[data-direction="bold"] .hero-inner { padding-bottom: clamp(110px, 16vw, 210px); }
[data-direction="bold"] .site-header { background: color-mix(in srgb, var(--navy) 78%, transparent); }
[data-direction="bold"] .site-header .brand .wordmark { color: #fff; }
[data-direction="bold"] .site-header .nav-links a { color: rgba(233,238,247,.75); }
[data-direction="bold"] .site-header .nav-links a:hover { color: #fff; }
[data-direction="bold"] .site-header.scrolled { background: color-mix(in srgb, var(--navy) 92%, transparent); border-bottom-color: rgba(255,255,255,.08); }
[data-direction="bold"] .hero .email-capture input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
[data-direction="bold"] .hero .email-capture input::placeholder { color: rgba(255,255,255,.5); }
[data-direction="bold"] .hero .btn-ghost { --fg: #fff; --bd: rgba(255,255,255,.34); }
[data-direction="bold"] .hero .form-note { color: rgba(233,238,247,.66); }

/* header switches to light mark on bold */
.brand .mark-dark { display: block; }
.brand .mark-light { display: none; }
[data-direction="bold"] .site-header .brand .mark-dark { display: none; }
[data-direction="bold"] .site-header .brand .mark-light { display: block; }

/* responsive type for hero */
@media (max-width: 600px) {
  body { font-size: 17px; }
  .btn { width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .email-capture { max-width: none; }
  /* Keep the header "Book a free call" button compact (don't let it go full-width) */
  .nav-cta .btn { width: auto; padding: 10px 16px; font-size: .9rem; white-space: nowrap; box-shadow: var(--shadow-sm); }
  .nav { gap: 10px; }
  .brand .wordmark { font-size: 1.05rem; }
}
