:root {
  color-scheme: light;
  --navy-1000: #020b16;
  --navy-950: #04101f;
  --navy-900: #061426;
  --navy-850: #0a1b31;
  --navy-800: #0d2846;
  --blue-500: #58bdf6;
  --blue-300: #a8ddfb;
  --blue-100: #eaf7fe;
  --ink: #08192c;
  --muted: #58697a;
  --line: #dce8f0;
  --surface: #f4f8fb;
  --white: #ffffff;
  --shell: calc(100% - 32px);
  --radius-lg: 28px;
  --radius-md: 22px;
  --shadow: 0 30px 90px rgba(4, 20, 38, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
.shell { width: min(1180px, var(--shell)); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 11px 16px;
  border-radius: 10px;
  background: white;
  color: var(--navy-900);
}
.skip-link:focus { top: 14px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 32px rgba(4, 16, 31, 0.08);
  backdrop-filter: blur(16px);
}
.nav-shell {
  width: min(1180px, var(--shell));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 0.9rem; white-space: nowrap; }
.brand-copy small { display: none; margin-top: 4px; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.66; }
.desktop-nav, .nav-cta { display: none; }

.menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  margin-left: auto;
  padding: 11px 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: currentColor;
}
.is-scrolled .menu-toggle { border-color: var(--line); }
.menu-toggle span { display: block; width: 20px; height: 1px; margin: auto; background: currentColor; transition: transform 0.2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 99;
  padding: 30px 20px;
  background: var(--navy-950);
  color: white;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu:not([hidden]) { display: flex; }
.mobile-menu > a:not(.button) { padding: 14px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 1.15rem; }
.mobile-menu .button { margin-top: 20px; background: white; color: var(--navy-900); }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--navy-900);
  color: white;
  font-size: 0.86rem;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(4, 16, 31, 0.2); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.button-small { min-height: 44px; padding: 0 19px; font-size: 0.79rem; }
.button-light { background: white; color: var(--navy-900); }
.button-light:hover { background: var(--blue-100); }
.button-wide { width: 100%; justify-content: space-between; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 0.86rem;
  font-weight: 750;
}
.light-link { color: rgba(255, 255, 255, 0.82); }

.eyebrow {
  margin: 0 0 22px;
  color: #47718f;
  font-size: 0.7rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
}
.eyebrow.light { color: var(--blue-300); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 58px;
  background: var(--navy-1000);
  color: white;
}
.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  top: -180px;
  right: -260px;
  border: 1px solid rgba(168, 221, 251, 0.15);
  border-radius: 50%;
}
.hero-flow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 11, 22, 0.9), rgba(2, 11, 22, 0.45)), url("mental-flow.webp") 70% 50% / cover no-repeat;
  opacity: 0.35;
}
.hero-grid { position: relative; z-index: 2; display: grid; gap: 52px; }
.hero-copy { align-self: center; }
h1, h2 { letter-spacing: -0.055em; font-weight: 520; }
h1 { max-width: 730px; margin-bottom: 26px; font-size: clamp(2.9rem, 13vw, 4.6rem); line-height: 0.98; }
h1 span, .approach h2 span, .audit h2 span { color: var(--blue-500); }
.hero-manifesto { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--blue-300); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.hero-manifesto i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.hero-text { max-width: 610px; margin-bottom: 18px; color: rgba(255, 255, 255, 0.8); font-size: 1.04rem; line-height: 1.72; }
.hero-audience { margin-bottom: 30px; color: rgba(255, 255, 255, 0.52); font-size: 0.74rem; font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; }
.hero-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 20px; }
.hero-actions .button { width: 100%; justify-content: space-between; }
.portrait-wrap { position: relative; width: 100%; max-width: 320px; margin-inline: auto; }
.portrait-frame { position: relative; overflow: hidden; border-radius: 24px; box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: inherit; pointer-events: none; }
.portrait-frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.proof-strip { background: var(--blue-100); border-bottom: 1px solid #d3eaf7; }
.proof-grid { display: grid; padding: 20px 0; }
.proof-item { min-height: 88px; display: flex; flex-direction: column; justify-content: center; padding: 18px 0; border-top: 1px solid #cee4f2; }
.proof-item:first-child { border-top: 0; }
.proof-item strong { color: var(--navy-900); font-size: 1.24rem; line-height: 1.25; letter-spacing: -0.035em; }
.proof-item span { color: #527086; font-size: 0.82rem; }

.section { padding: 78px 0; }
.profile { background: white; }
.profile-grid { display: grid; gap: 44px; }
.section-heading h2, .section-intro h2 { margin-bottom: 0; color: var(--navy-900); font-size: clamp(2.3rem, 9vw, 4.05rem); line-height: 1.05; }
.profile-content .lead { color: var(--navy-900); font-size: 1.25rem; line-height: 1.52; letter-spacing: -0.025em; }
.profile-content > p:not(.lead) { max-width: 690px; color: var(--muted); font-size: 1rem; }
.position-statement { margin-top: 8px; padding: 28px 0 0; border-top: 1px solid var(--line); }
.position-statement span { display: block; margin-bottom: 12px; color: #6b8295; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.position-statement p { max-width: 860px; margin: 0; color: var(--navy-900); font-size: clamp(1.45rem, 6vw, 2.25rem); line-height: 1.35; letter-spacing: -0.035em; }

.challenges { background: var(--surface); }
.section-intro { display: grid; gap: 30px; margin-bottom: 50px; }
.section-intro > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 1rem; }
.challenge-grid { display: grid; gap: 16px; }
.challenge-card { position: relative; overflow: hidden; min-height: 230px; padding: 24px; border: 1px solid #dbe7ef; border-radius: 18px; background: white; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.challenge-card:hover { transform: translateY(-5px); border-color: #b6d7eb; box-shadow: var(--shadow); }
.card-number { color: #78a7c4; font-size: 0.7rem; letter-spacing: 0.1em; }
.challenge-card h3 { margin: 38px 0 12px; color: var(--navy-900); font-size: 1.55rem; line-height: 1.2; letter-spacing: -0.035em; }
.challenge-card p { max-width: 460px; margin: 0; color: var(--muted); }
.card-line { position: absolute; inset: auto 24px 0; height: 2px; background: var(--blue-500); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.challenge-card:hover .card-line { transform: scaleX(1); }

.approach { position: relative; overflow: hidden; padding: 82px 0; background: var(--navy-900); color: white; }
.approach-media { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(4, 16, 31, 0.98) 18%, rgba(4, 16, 31, 0.76) 68%, rgba(4, 16, 31, 0.5)), url("mental-flow.webp") center / cover no-repeat; opacity: 0.88; }
.approach-grid { position: relative; z-index: 1; display: grid; gap: 48px; }
.approach h2 { margin: 0; font-size: clamp(2.7rem, 10vw, 4.45rem); line-height: 1; }
.approach-lead { margin-bottom: 48px; color: rgba(255, 255, 255, 0.8); font-size: 1.12rem; line-height: 1.68; }
.approach-steps { list-style: none; margin: 0; padding: 0; }
.approach-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.approach-steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.approach-steps li > span { color: var(--blue-300); font-size: 0.7rem; letter-spacing: 0.1em; }
.approach-steps h3 { margin: -7px 0 7px; font-size: 1.4rem; line-height: 1.25; font-weight: 650; letter-spacing: -0.03em; }
.approach-steps p { margin: 0; color: rgba(255, 255, 255, 0.63); }
.method-note { margin: 30px 0 0; padding: 18px 0 0 20px; border-left: 1px solid var(--blue-500); color: rgba(255, 255, 255, 0.7); font-size: 0.88rem; }

.testimonials { background: white; }
.testimonial-head { display: grid; gap: 26px; margin-bottom: 42px; }
.testimonial-head h2 { max-width: 720px; margin-bottom: 0; color: var(--navy-900); font-size: clamp(2.15rem, 8vw, 3.55rem); line-height: 1.08; }
.google-rating { min-width: 142px; display: flex; align-items: flex-start; flex-direction: column; padding: 0; }
.stars { color: #f2ad34; font-size: 0.92rem; letter-spacing: 0.08em; }
.google-rating strong { margin-top: 5px; color: var(--navy-900); font-size: 1.25rem; }
.google-rating small { color: var(--muted); }
.testimonial-grid { display: grid; gap: 12px; }
.testimonial-card { min-height: 205px; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.quote-mark { height: 28px; color: var(--blue-500); font-family: Georgia, serif; font-size: 2.8rem; line-height: 1; }
.testimonial-card > p { margin: 10px 0 26px; color: var(--navy-800); font-size: 0.98rem; line-height: 1.58; letter-spacing: -0.012em; }
.testimonial-card footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial-card footer strong { font-size: 0.84rem; }
.testimonial-card footer span { color: #648096; font-size: 0.7rem; text-align: right; text-transform: uppercase; letter-spacing: 0.06em; }
.review-note { margin: 24px 0 0; color: #718292; font-size: 0.76rem; }

.audit { padding: 8px 0 74px; background: white; }
.audit-card { display: grid; gap: 38px; padding: 36px 24px; border-radius: 22px; background: radial-gradient(circle at 88% 4%, rgba(88, 189, 246, 0.16), transparent 26%), var(--navy-1000); color: white; box-shadow: 0 22px 60px rgba(4, 20, 38, 0.12); }
.audit h2 { margin: 0; font-size: clamp(2.55rem, 9vw, 3.85rem); line-height: 1.02; }
.audit-subtitle { max-width: 520px; margin: 28px 0 0; color: rgba(255, 255, 255, 0.66); }
.audit-detail ol { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.audit-detail li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.audit-detail li > span { color: var(--blue-300); font-size: 0.67rem; letter-spacing: 0.08em; }
.audit-detail li p { margin: -2px 0 0; color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; }
.contact { padding: 62px 0; border-top: 1px solid var(--line); background: white; }
.contact-grid { display: grid; gap: 32px; }
.contact h2 { margin-bottom: 0; color: var(--navy-900); font-size: clamp(2rem, 7vw, 2.9rem); line-height: 1.08; }
.contact-note { margin: 14px 0 0; color: #66849a; font-size: 0.9rem; }
.contact-links { border-top: 1px solid var(--line); }
.contact-links > a { display: flex; align-items: flex-start; flex-direction: column; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-links > a span { color: #66849a; font-size: 0.67rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.1em; }
.contact-links > a strong { color: var(--navy-900); font-size: 0.95rem; font-weight: 680; overflow-wrap: anywhere; }
.social-links { display: flex; align-items: center; gap: 10px; padding-top: 20px; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy-900); transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.social-links svg { width: 17px; height: 17px; fill: currentColor; }
.social-links a:hover, .social-links a:focus-visible { border-color: var(--blue-500); background: var(--blue-100); color: var(--navy-800); transform: translateY(-2px); }

.footer { padding: 38px 0 22px; background: var(--navy-1000); color: white; }
.footer-grid { display: grid; gap: 24px; padding-bottom: 30px; }
.footer-grid > p { display: none; margin: 0; color: rgba(255,255,255,.5); font-size: 0.8rem; text-align: center; }
.footer-grid .text-link { justify-self: start; }
.footer-bottom { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.46); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.07em; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 700px) {
  :root { --shell: calc(100% - 56px); --radius-lg: 34px; --radius-md: 24px; }
  .brand-copy small { display: block; }
  .hero { padding: 126px 0 72px; }
  .hero-actions { align-items: center; flex-direction: row; gap: 26px; }
  .hero-actions .button { width: auto; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); padding: 0; }
  .proof-item { min-height: 124px; padding: 20px 30px; border-top: 0; border-left: 1px solid #cee4f2; }
  .proof-item:first-child { padding-left: 0; border-left: 0; }
  .section { padding: 96px 0; }
  .position-statement { grid-column: 1 / -1; margin-top: 20px; padding-top: 34px; }
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .challenge-card { min-height: 250px; padding: 28px; }
  .challenge-card h3 { margin-top: 46px; font-size: 1.7rem; }
  .card-line { inset-inline: 28px; }
  .approach { padding: 104px 0; }
  .testimonial-head { grid-template-columns: 1fr auto; align-items: end; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .audit { padding: 12px 0 88px; }
  .audit-card { padding: 48px; }
  .contact-links > a { align-items: center; justify-content: space-between; flex-direction: row; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; }
  .footer-grid .text-link { justify-self: end; }
  .footer-bottom { justify-content: space-between; align-items: center; flex-direction: row; }
}

@media (min-width: 1000px) {
  .nav-shell { height: 82px; }
  .desktop-nav { display: flex; margin-left: auto; gap: 28px; }
  .desktop-nav a { font-size: 0.84rem; opacity: 0.72; transition: opacity 0.2s ease; }
  .desktop-nav a:hover, .desktop-nav a:focus-visible { opacity: 1; }
  .nav-cta { display: inline-flex; background: white; color: var(--navy-900); }
  .is-scrolled .nav-cta { background: var(--navy-900); color: white; }
  .menu-toggle, .mobile-menu { display: none; }
  .hero { min-height: 760px; padding: 132px 0 68px; }
  .hero-grid { min-height: 560px; grid-template-columns: minmax(0, 1.34fr) minmax(300px, 0.66fr); gap: 96px; align-items: center; }
  h1 { font-size: clamp(4.25rem, 5.6vw, 5.45rem); }
  .hero-text { font-size: 1.12rem; }
  .portrait-wrap { max-width: 370px; margin-right: 0; }
  .portrait-frame { border-radius: 28px; }
  .section { padding: 108px 0; }
  .profile-grid { grid-template-columns: 0.9fr 1.1fr; gap: 94px; align-items: start; }
  .section-heading { position: sticky; top: 125px; }
  .profile-content { padding-top: 44px; }
  .profile-content .lead { font-size: 1.42rem; }
  .position-statement { padding-left: calc(45% + 47px); }
  .section-intro { grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: end; margin-bottom: 58px; }
  .section-intro > p { margin-bottom: 6px; }
  .approach { padding: 116px 0; }
  .approach-grid { grid-template-columns: 0.88fr 1.12fr; gap: 98px; }
  .approach-title { position: sticky; top: 125px; align-self: start; }
  .approach-lead { margin-bottom: 58px; font-size: 1.24rem; }
  .approach-steps li { grid-template-columns: 54px 1fr; gap: 22px; padding: 32px 0; }
  .approach-steps h3 { font-size: 1.62rem; }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .audit { padding-bottom: 96px; }
  .audit-card { grid-template-columns: 1.02fr 0.98fr; gap: 70px; align-items: center; padding: 54px; }
  .contact { padding: 68px 0; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 94px; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1.2fr auto; gap: 44px; }
  .footer-grid > p { display: block; }
}

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