:root {
  --ink: #0a1b2f;
  --ink-2: #142f4b;
  --muted: #536271;
  --blue: #1a9dd9;
  --blue-soft: #e9f7fd;
  --paper: #ffffff;
  --sand: #f5f1e9;
  --mist: #f5f7f9;
  --line: #d9e0e6;
  --charcoal: #071522;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.utility-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  font-size: 0.82rem;
}

.utility-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 7px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.utility-inner a {
  text-decoration: none;
}

.utility-inner a:hover {
  color: #fff;
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}


.brand-link img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}



.brand-link > span {
  display: flex;
  flex-direction: column;
  min-width: 220px;
}

.brand-name {
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.34rem;
  line-height: 0.98;
}


.brand-descriptor {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
  margin-top: 5px;
}


.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-item > a,
.nav-links > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
}

.nav-item > a:hover,
.nav-links > a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.nav-item > a::after {
  content: "⌄";
  font-size: 0.8rem;
  transform: translateY(-1px);
}

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(780px, calc(100vw - 44px));
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 70px rgba(7,21,34,0.16);
  padding: 28px;
  display: none;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega {
  display: grid;
}

.mega-kicker {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
  font-size: 0.74rem;
}

.mega h3 {
  margin: 8px 0 8px;
  font-size: 1.55rem;
}

.mega p {
  color: var(--muted);
  margin: 0;
}

.mega-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
}

.mega-list a {
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-weight: 800;
}

.mega-list a:hover {
  color: var(--blue);
}

.nav-cta {
  text-decoration: none;
  background: var(--ink);
  color: #fff;
  padding: 12px 17px;
  font-weight: 900;
  border: 1px solid var(--ink);
}

.nav-cta:hover {
  background: #fff;
  color: var(--ink);
}

.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
  padding: 10px 14px;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(10,27,47,0.94) 0%, rgba(10,27,47,0.85) 47%, rgba(10,27,47,0.36) 100%),
    radial-gradient(circle at 78% 25%, rgba(26,157,217,0.42), transparent 30%),
    linear-gradient(135deg, #0a1b2f, #eef3f7);
  color: #fff;
}

.hero-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 100px 28px 96px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
}

.kicker {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 950px;
  font-size: clamp(3.2rem, 8vw, 7.7rem);
  letter-spacing: -0.075em;
  line-height: 0.92;
  font-weight: 900;
}

.hero p {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255,255,255,0.84);
  font-size: clamp(1.1rem, 1.7vw, 1.38rem);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid transparent;
}

.button::after {
  content: "→";
  font-size: 1.15rem;
}

.button-primary {
  background: #fff;
  color: var(--ink);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-outline {
  border-color: rgba(255,255,255,0.46);
  color: #fff;
}

.button-outline-dark {
  border-color: var(--ink);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-lower {
  max-width: var(--max);
  margin: 34px auto 0;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.impact-panel {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 28px 90px rgba(7,21,34,0.16);
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
}

.impact-intro {
  padding: 34px;
  background: var(--sand);
}

.impact-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.impact-intro p {
  margin: 0;
  color: var(--muted);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.impact-tile {
  display: block;
  padding: 30px;
  min-height: 174px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  background: #fff;
}

.impact-tile:nth-last-child(-n+2) {
  border-bottom: 1px solid var(--line);
}

.impact-tile:nth-last-child(1) {
  border-bottom: 0;
}

.impact-tile-wide {
  grid-column: 1 / -1;
  min-height: 150px;
}

.impact-tile h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.impact-tile p {
  margin: 14px 0 0;
  color: var(--muted);
}

.impact-tile:hover {
  background: var(--ink);
  color: #fff;
}

.impact-tile:hover p {
  color: rgba(255,255,255,0.72);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 28px;
}

.section.first-after-panel {
  padding-top: 84px;
}

.section-header {
  max-width: 860px;
  margin-bottom: 42px;
}

.section-header h2,
.page-section h2,
.cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.6vw, 4.65rem);
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.section-header p,
.page-section p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 760px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}

.feature-card {
  min-height: 430px;
  background: var(--ink);
  color: #fff;
  display: grid;
  align-content: end;
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(26,157,217,0.54), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.05), transparent 54%);
}

.feature-card > * {
  position: relative;
}

.feature-card h3 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.55rem);
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.feature-card p {
  color: rgba(255,255,255,0.76);
  max-width: 590px;
}

.stack {
  display: grid;
  gap: 20px;
}

.card {
  border-top: 1px solid var(--ink);
  padding: 22px 0 0;
  background: #fff;
}

.card h3 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.card p,
.card li {
  color: var(--muted);
}

.card p {
  margin: 12px 0 0;
}

.card a {
  display: inline-flex;
  margin-top: 16px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
}

.card a::after {
  content: "→";
  margin-left: 8px;
  color: var(--blue);
}

.band {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band.dark {
  background: var(--charcoal);
  color: #fff;
  border: 0;
}

.band.dark h2,
.band.dark h3 {
  color: #fff;
}

.band.dark p,
.band.dark li {
  color: rgba(255,255,255,0.72);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 310px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.service-card h3 {
  margin: 0;
  font-size: 1.44rem;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.service-card p {
  color: var(--muted);
}

.service-card .num {
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 44px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.2);
}

.proof {
  padding: 34px 26px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.proof:last-child {
  border-right: 0;
}

.proof strong {
  display: block;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
  color: #fff;
}

.proof span {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,0.68);
  font-weight: 800;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(10,27,47,0.96), rgba(10,27,47,0.72)),
    radial-gradient(circle at 82% 22%, rgba(26,157,217,0.38), transparent 28%),
    var(--ink);
  color: #fff;
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 28px 84px;
}

.page-hero p {
  max-width: 820px;
  color: rgba(255,255,255,0.76);
  font-size: 1.22rem;
}

.page-hero h1 {
  color: #fff;
}

.page-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px 28px;
}

.two-col {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 64px;
  align-items: start;
}

.aside-note {
  border-top: 3px solid var(--blue);
  padding-top: 18px;
  position: sticky;
  top: 120px;
}

.aside-note h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.aside-note p {
  color: var(--muted);
}

.rule-list {
  border-top: 1px solid var(--line);
}

.rule-item {
  display: grid;
  grid-template-columns: 0.28fr 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.rule-item span {
  color: var(--blue);
  font-weight: 900;
}

.rule-item h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.rule-item p,
.rule-item li {
  color: var(--muted);
  margin-top: 0;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.insight {
  min-height: 310px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  display: grid;
  align-content: space-between;
}

.insight-type {
  color: var(--blue);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 900;
}

.insight h3 {
  margin: 20px 0 16px;
  font-size: 1.65rem;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.insight p {
  color: var(--muted);
}

.insight:hover {
  background: var(--ink);
  color: #fff;
}

.insight:hover p {
  color: rgba(255,255,255,0.72);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.contact-card {
  background: var(--sand);
  padding: 42px;
  border: 1px solid var(--line);
}

.contact-card h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.contact-method {
  display: block;
  background: #fff;
  border-top: 1px solid var(--ink);
  padding: 18px 0;
  text-decoration: none;
}

.contact-method strong {
  display: block;
  color: var(--ink);
}

.contact-method span {
  color: var(--muted);
}

.cta {
  background: var(--ink);
  color: #fff;
}

.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}

.cta h2 {
  color: #fff;
  max-width: 820px;
}

.cta p {
  color: rgba(255,255,255,0.75);
  max-width: 700px;
}

.site-footer {
  background: #050f1a;
  color: rgba(255,255,255,0.72);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 58px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.footer-inner img {
  width: 150px;
  background: #fff;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 28px 34px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.88rem;
}

@media (max-width: 1050px) {
  .brand-link > span {
    min-width: auto;
  }

  .nav-wrap {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: start;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-item > a,
  .nav-links > a {
    padding: 12px 0;
    justify-content: space-between;
  }

  .nav-item > a::after {
    content: "";
  }

  .mega {
    position: static;
    display: grid;
    width: 100%;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 8px 0 20px;
    grid-template-columns: 1fr;
  }

  .impact-panel,
  .editorial-grid,
  .two-col,
  .contact-grid,
  .cta-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .proof-grid,
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-tile {
    border-left: 0;
  }

  .aside-note {
    position: static;
  }
}

@media (max-width: 650px) {
  .brand-link {
    gap: 12px;
  }

  .brand-link img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .brand-link > span {
    min-width: auto;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .utility-bar {
    display: none;
  }

  .nav-wrap {
    padding: 14px 18px;
  }

  .brand-descriptor {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .page-hero-inner,
  .section,
  .page-section,
  .cta-inner,
  .footer-inner,
  .footer-bottom,
  .hero-lower {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-lower {
    margin-top: 24px;
  }

  .impact-intro,
  .impact-tile,
  .contact-card {
    padding: 24px;
  }

  .service-grid,
  .proof-grid,
  .insights-grid,
  .mega-list {
    grid-template-columns: 1fr;
  }

  .proof {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .rule-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
}



/* Scale That Works V3 enhancement sections */
html {
  scroll-padding-top: 100px;
}

:target,
[id] {
  scroll-margin-top: 100px;
}

.stw-enhanced-section {
  position: relative;
}

.stw-enhanced-grid,
.stw-environment-grid,
.stw-impact-grid,
.stw-process-grid {
  display: grid;
  gap: 20px;
}

.stw-enhanced-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stw-environment-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1px solid var(--line, #d9e0e6);
  border-left: 1px solid var(--line, #d9e0e6);
}

.stw-impact-grid {
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line, #d9e0e6);
  border-left: 1px solid var(--line, #d9e0e6);
}

.stw-process-grid {
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.2);
}

.stw-enhanced-card {
  border-top: 1px solid var(--ink, #0a1b2f);
  padding-top: 22px;
}

.stw-enhanced-card h3,
.stw-environment-card h3,
.stw-process-grid h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.stw-enhanced-card p,
.stw-environment-card p,
.stw-impact-stat span,
.stw-process-grid p {
  color: var(--muted, #536271);
}

.stw-environment-card,
.stw-impact-stat {
  min-height: 220px;
  background: #fff;
  padding: 28px;
  border-right: 1px solid var(--line, #d9e0e6);
  border-bottom: 1px solid var(--line, #d9e0e6);
}

.stw-environment-card span {
  display: block;
  color: var(--blue, #1a9dd9);
  font-weight: 900;
  margin-bottom: 34px;
}

.stw-impact-stat strong {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  color: var(--ink, #0a1b2f);
}

.stw-impact-stat span {
  display: block;
  margin-top: 14px;
  font-weight: 800;
}

.stw-process-grid article {
  padding: 30px 24px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.stw-process-grid article:last-child {
  border-right: 0;
}

.stw-process-grid span {
  display: block;
  color: var(--blue, #1a9dd9);
  font-weight: 900;
  margin-bottom: 28px;
}

.stw-process-grid p {
  color: rgba(255,255,255,0.72);
}

.stw-lead-magnet {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  background: var(--sand, #f5f1e9);
  border: 1px solid var(--line, #d9e0e6);
  padding: 42px;
}

.stw-lead-magnet h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.stw-lead-magnet p {
  color: var(--muted, #536271);
  max-width: 760px;
}

.stw-contact-form {
  background: #fff;
  border: 1px solid var(--line, #d9e0e6);
  padding: 34px;
  display: grid;
  gap: 18px;
}

.stw-contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink, #0a1b2f);
  font-weight: 800;
}

.stw-contact-form input,
.stw-contact-form select,
.stw-contact-form textarea {
  width: 100%;
  border: 1px solid var(--line, #d9e0e6);
  padding: 13px 14px;
  font: inherit;
  color: var(--ink, #0a1b2f);
  background: #fff;
}

.stw-form-note {
  font-size: 0.9rem;
  color: var(--muted, #536271);
}

@media (max-width: 1050px) {
  .stw-enhanced-grid,
  .stw-environment-grid,
  .stw-impact-grid,
  .stw-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stw-lead-magnet {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .stw-enhanced-grid,
  .stw-environment-grid,
  .stw-impact-grid,
  .stw-process-grid {
    grid-template-columns: 1fr;
  }

  .stw-process-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .stw-lead-magnet {
    padding: 26px;
  }

  .stw-contact-form {
    padding: 24px;
  }
}



/* Mobile navigation usability fix
   Makes the open mobile menu scroll independently below the sticky header.
   Prevents users from needing to scroll the underlying page to reach menu items. */
@media (max-width: 1050px) {
  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .site-header {
    z-index: 9999;
  }

  .nav-wrap {
    position: relative;
  }

  .nav-links.open {
    display: flex;
    position: fixed;
    left: 16px;
    right: 16px;
    top: var(--mobile-menu-top, 92px);
    max-height: calc(100dvh - var(--mobile-menu-top, 92px) - 18px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: #ffffff;
    border: 1px solid var(--line, #d9e0e6);
    box-shadow: 0 22px 70px rgba(7,21,34,0.18);
    padding: 14px 18px 18px;
    z-index: 10000;
  }

  .nav-links.open .nav-item,
  .nav-links.open > a {
    flex: 0 0 auto;
  }

  .nav-links.open .mega {
    max-height: none;
    overflow: visible;
  }

  .nav-links.open a {
    min-height: 48px;
  }
}

@media (max-width: 650px) {
  .nav-links.open {
    left: 12px;
    right: 12px;
    top: var(--mobile-menu-top, 76px);
    max-height: calc(100dvh - var(--mobile-menu-top, 76px) - 14px);
  }
}



/* Founder Profile page and founder preview components */
.founder-hero {
  background: var(--sand, #f5f1e9);
  border-bottom: 1px solid var(--line, #d9e0e6);
}

.founder-hero-inner {
  max-width: var(--max, 1180px);
  margin: 0 auto;
  padding: 82px 28px;
  display: grid;
  grid-template-columns: 0.92fr 0.78fr;
  gap: 60px;
  align-items: center;
}

.founder-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: -0.085em;
}

.founder-title {
  font-weight: 900;
  color: var(--blue, #1a9dd9);
  margin: 0 0 28px;
}

.founder-lede {
  max-width: 760px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.25;
  color: var(--ink, #0a1b2f);
}

.founder-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.founder-photo-wrap {
  border: 1px solid var(--line, #d9e0e6);
  background: #fff;
  padding: 12px;
  box-shadow: 0 22px 70px rgba(7,21,34,0.12);
}

.founder-photo-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.founder-narrative h2 {
  margin-top: 0;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.founder-narrative p {
  color: var(--muted, #536271);
  font-size: 1.05rem;
}

.founder-proof-band {
  background: var(--sand, #f5f1e9);
}

.founder-preview-card,
.founder-home-card {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  gap: 34px;
  align-items: center;
  background: var(--sand, #f5f1e9);
  border: 1px solid var(--line, #d9e0e6);
  padding: 32px;
}

.founder-preview-photo img,
.founder-home-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 1px solid var(--line, #d9e0e6);
}

.founder-preview-copy h2,
.founder-home-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.founder-preview-copy p,
.founder-home-card p {
  color: var(--muted, #536271);
  max-width: 760px;
}

@media (max-width: 1050px) {
  .founder-hero-inner,
  .founder-preview-card,
  .founder-home-card {
    grid-template-columns: 1fr;
  }

  .founder-preview-photo,
  .founder-home-card > img {
    max-width: 260px;
  }

  .founder-home-card .button,
  .founder-preview-card .button {
    width: fit-content;
  }
}

@media (max-width: 650px) {
  .founder-hero-inner {
    padding: 58px 22px;
    gap: 34px;
  }

  .founder-hero-actions {
    display: grid;
  }

  .founder-preview-card,
  .founder-home-card {
    padding: 24px;
    gap: 22px;
  }

  .founder-preview-photo,
  .founder-home-card > img {
    max-width: 100%;
  }

  .founder-home-card .button,
  .founder-preview-card .button {
    width: 100%;
  }
}



/* Three-column unified contact section - current definitive layout */
.stw-three-column-contact-section {
  position: relative;
}

.stw-contact-section-header {
  max-width: 940px;
}

.stw-contact-three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.stw-contact-column {
  min-height: 100%;
}

.stw-three-column-contact-section .contact-card,
.stw-three-column-contact-section .stw-unified-form,
.stw-contact-steps-card {
  height: 100%;
}

.stw-contact-steps-card {
  background: #fff;
  border: 1px solid var(--line, #d9e0e6);
  padding: 34px;
}

.stw-contact-steps-card h2 {
  margin: 8px 0 24px;
  color: var(--ink, #0a1b2f);
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.stw-contact-mini-steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line, #d9e0e6);
}

.stw-contact-mini-steps article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line, #d9e0e6);
}

.stw-contact-mini-steps article:last-child {
  border-bottom: 0;
}

.stw-contact-mini-steps span {
  color: var(--blue, #1a9dd9);
  font-weight: 900;
}

.stw-contact-mini-steps h3 {
  margin: 0 0 8px;
  color: var(--ink, #0a1b2f);
  font-size: 1.14rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.stw-contact-mini-steps p {
  margin: 0;
  color: var(--muted, #536271);
}

.stw-three-column-contact-section .contact-card h2,
.stw-three-column-contact-section .stw-unified-form h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.stw-three-column-contact-section .stw-unified-form {
  padding: 34px;
}

.stw-three-column-contact-section .stw-form-note {
  font-size: 0.9rem;
  color: var(--muted, #536271);
}

@media (max-width: 1120px) {
  .stw-contact-three-grid {
    grid-template-columns: 1fr;
  }

  .stw-three-column-contact-section .stw-unified-form .button {
    width: fit-content;
  }
}

@media (max-width: 650px) {
  .stw-contact-three-grid {
    gap: 20px;
  }

  .stw-contact-steps-card,
  .stw-three-column-contact-section .stw-unified-form,
  .stw-three-column-contact-section .contact-card {
    padding: 24px;
  }

  .stw-contact-mini-steps article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .stw-three-column-contact-section .stw-unified-form .button {
    width: 100%;
  }
}



/* Clean revised site updates */
.mega,
.dropdown,
.sub-menu,
.nav-dropdown,
.nav-links .mega,
.nav-links .dropdown {
  display: none !important;
}

.nav-links a {
  white-space: nowrap;
}

.stw-unified-proof-grid {
  margin-top: 28px;
}

.stw-operating-leverage-section .section-header {
  margin-bottom: 34px;
}

.stw-insights-note {
  max-width: 880px;
  color: var(--muted, #536271);
  font-size: 1.05rem;
}

/* Definitive three-column contact section */
.stw-contact-section-header {
  max-width: 940px;
}

.stw-contact-three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.stw-contact-column {
  min-height: 100%;
}

.stw-three-column-contact-section .contact-card,
.stw-three-column-contact-section .stw-unified-form,
.stw-contact-steps-card {
  height: 100%;
}

.stw-contact-steps-card {
  background: #fff;
  border: 1px solid var(--line, #d9e0e6);
  padding: 34px;
}

.stw-contact-steps-card h2 {
  margin: 8px 0 24px;
  color: var(--ink, #0a1b2f);
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.stw-contact-mini-steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line, #d9e0e6);
}

.stw-contact-mini-steps article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line, #d9e0e6);
}

.stw-contact-mini-steps article:last-child {
  border-bottom: 0;
}

.stw-contact-mini-steps span {
  color: var(--blue, #1a9dd9);
  font-weight: 900;
}

.stw-contact-mini-steps h3 {
  margin: 0 0 8px;
  color: var(--ink, #0a1b2f);
  font-size: 1.14rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.stw-contact-mini-steps p {
  margin: 0;
  color: var(--muted, #536271);
}

.stw-three-column-contact-section .contact-card h2,
.stw-three-column-contact-section .stw-unified-form h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.stw-three-column-contact-section .stw-unified-form {
  padding: 34px;
}

.stw-three-column-contact-section .stw-form-note {
  font-size: 0.9rem;
  color: var(--muted, #536271);
}

@media (max-width: 1120px) {
  .stw-contact-three-grid {
    grid-template-columns: 1fr;
  }

  .stw-three-column-contact-section .stw-unified-form .button {
    width: fit-content;
  }
}

@media (max-width: 650px) {
  .stw-contact-three-grid {
    gap: 20px;
  }

  .stw-contact-steps-card,
  .stw-three-column-contact-section .stw-unified-form,
  .stw-three-column-contact-section .contact-card {
    padding: 24px;
  }

  .stw-contact-mini-steps article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .stw-three-column-contact-section .stw-unified-form .button {
    width: 100%;
  }
}


/* Insight article page */
.article-hero .page-hero-inner { max-width: 980px; }
.article-page { max-width: var(--max, 1180px); margin: 0 auto; padding: 86px 28px; }
.article-layout { display: grid; grid-template-columns: 0.36fr 0.64fr; gap: 70px; align-items: start; }
.article-aside { position: sticky; top: 120px; background: var(--sand, #f5f1e9); border: 1px solid var(--line, #d9e0e6); padding: 30px; }
.article-aside p { color: var(--muted, #536271); }
.article-aside .button { margin-top: 18px; }
.article-body { max-width: 820px; }
.article-body p, .article-body li { color: var(--muted, #536271); font-size: 1.06rem; line-height: 1.72; }
.article-body .article-lede { color: var(--ink, #0a1b2f); font-size: clamp(1.45rem, 2.8vw, 2.1rem); line-height: 1.25; font-weight: 800; letter-spacing: -0.035em; }
.article-body h2 { margin: 54px 0 18px; color: var(--ink, #0a1b2f); font-size: clamp(2rem, 4vw, 3.8rem); letter-spacing: -0.07em; line-height: 0.98; }
.article-body h3 { margin: 0 0 16px; color: var(--ink, #0a1b2f); font-size: 1.35rem; letter-spacing: -0.035em; }
.article-body ul { padding-left: 22px; }
.article-callout { background: var(--sand, #f5f1e9); border-left: 4px solid var(--blue, #1a9dd9); padding: 28px; margin: 34px 0; }
.article-callout ul { columns: 2; column-gap: 44px; margin-bottom: 0; }
.article-bottom-cta { margin-top: 64px; background: var(--sand, #f5f1e9); border: 1px solid var(--line, #d9e0e6); padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.article-bottom-cta h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); }
.article-bottom-cta p { margin-bottom: 0; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } .article-bottom-cta { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .article-page { padding: 58px 22px; } .article-callout ul { columns: 1; } .article-bottom-cta { padding: 24px; } .article-bottom-cta .button, .article-aside .button { width: 100%; } }



/* Targeted clickable Insight tile fix */
.insight-click-target {
  cursor: pointer;
  text-decoration: none;
}

.insight-click-target:focus-visible {
  outline: 3px solid var(--blue, #1a9dd9);
  outline-offset: -3px;
}



/* Combined Who This Is For / Relevant Environments section */
.stw-fit-section {
  position: relative;
}

.stw-fit-environments {
  margin-top: 38px;
  padding: 30px;
  background: var(--sand, #f5f1e9);
  border: 1px solid var(--line, #d9e0e6);
}

.stw-fit-environments h3 {
  margin: 0 0 18px;
  color: var(--ink, #0a1b2f);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.045em;
}

.stw-fit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stw-fit-tags span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line, #d9e0e6);
  background: #fff;
  color: var(--ink, #0a1b2f);
  padding: 10px 14px;
  font-weight: 800;
  font-size: 0.92rem;
}

@media (max-width: 650px) {
  .stw-fit-environments {
    padding: 24px;
  }

  .stw-fit-tags span {
    width: 100%;
  }
}



/* Descriptive Relevant Environments cards */
.stw-fit-environments-header {
  max-width: 860px;
  margin-bottom: 26px;
}

.stw-fit-environments-header h3 {
  margin: 0 0 10px;
}

.stw-fit-environments-header p {
  margin: 0;
  color: var(--muted, #536271);
  font-size: 1.02rem;
  line-height: 1.6;
}

.stw-fit-environment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stw-fit-env-card {
  background: #fff;
  border: 1px solid var(--line, #d9e0e6);
  padding: 24px;
  min-height: 230px;
}

.stw-fit-env-card span {
  display: inline-block;
  color: var(--blue, #1a9dd9);
  font-weight: 900;
  margin-bottom: 26px;
}

.stw-fit-env-card h4 {
  margin: 0 0 14px;
  color: var(--ink, #0a1b2f);
  font-size: 1.08rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.stw-fit-env-card p {
  margin: 0;
  color: var(--muted, #536271);
  font-size: 0.95rem;
  line-height: 1.55;
}

.stw-fit-env-card-accent {
  background: var(--ink, #0a1b2f);
  border-color: var(--ink, #0a1b2f);
}

.stw-fit-env-card-accent h4,
.stw-fit-env-card-accent p {
  color: #fff;
}

@media (max-width: 1120px) {
  .stw-fit-environment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .stw-fit-environment-grid {
    grid-template-columns: 1fr;
  }

  .stw-fit-env-card {
    min-height: auto;
  }
}



/* Relevant environments consistency: all cards use the same visual treatment */
.stw-fit-environments .stw-fit-env-card-accent {
  background: #fff;
  border-color: var(--line, #d9e0e6);
}

.stw-fit-environments .stw-fit-env-card-accent h4,
.stw-fit-environments .stw-fit-env-card-accent p {
  color: var(--ink, #0a1b2f);
}


/* Homepage story refinement: problem → differentiation → proof → thinking → fit → offer → person → action */
.stw-why-section .stw-why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stw-featured-thinking-section .section-header p {
  max-width: 840px;
}

.stw-featured-thinking-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stw-section-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.stw-section-actions p {
  margin: 0;
  color: var(--muted);
  max-width: 660px;
  line-height: 1.55;
}

.stw-insights-note {
  max-width: 900px;
}

@media (max-width: 1050px) {
  .stw-why-section .stw-why-grid,
  .stw-featured-thinking-grid {
    grid-template-columns: 1fr;
  }

  .stw-section-actions {
    align-items: flex-start;
  }
}

@media (max-width: 650px) {
  .stw-section-actions {
    display: grid;
  }

  .stw-section-actions .button {
    width: 100%;
    text-align: center;
  }
}
