/* ===================================================================
   MOOR Design System
   =================================================================== */

/* --- Fonts --- */
/* The checked-in woff2 exports are truncated; use the original TTF assets until proper webfonts are regenerated. */

@font-face {
  font-family: "RoadRadio";
  src: url("../fonts/RoadRadio-Thin.ttf") format("truetype");
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: "RoadRadio";
  src: url("../fonts/RoadRadio-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "RoadRadio";
  src: url("../fonts/RoadRadio.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "RoadRadio";
  src: url("../fonts/RoadRadio-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "RoadRadio";
  src: url("../fonts/RoadRadio-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Mytupi";
  src: url("../fonts/mytupi.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Mytupi";
  src: url("../fonts/mytupiBOLD.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* --- Tokens --- */

:root {
  --color-navy:      #032244;
  --color-deep-blue: #056BF1;
  --color-blue:      #0583F2;
  --color-cream:     #F9F9E3;
  --color-grey:      #2D2D2D;
  --color-white:     #FFFFFF;
  --color-navy-hover: #04305e;
  --color-accent-hover: #0460d4;
  --color-bento-shell: #02162d;

  --color-bg:        var(--color-cream);
  --color-surface:   var(--color-white);
  --color-text:      var(--color-navy);
  --color-muted:     #4A5568;
  --color-border:    #D4D8DE;
  --color-accent:    var(--color-deep-blue);
  --color-accent-on-light: #0459C8;
  --color-accent-on-dark: #64B8FF;
  --color-text-on-navy-muted: rgba(249, 249, 227, 0.75);
  --color-text-on-navy-subtle: rgba(249, 249, 227, 0.6);
  --color-navy-a08: rgba(3, 34, 68, 0.08);
  --color-navy-a12: rgba(3, 34, 68, 0.12);
  --color-navy-a14: rgba(3, 34, 68, 0.14);
  --color-navy-a15: rgba(3, 34, 68, 0.15);
  --color-navy-a16: rgba(3, 34, 68, 0.16);
  --color-navy-a25: rgba(3, 34, 68, 0.25);
  --color-navy-a28: rgba(3, 34, 68, 0.28);
  --color-navy-a30: rgba(3, 34, 68, 0.3);
  --color-navy-a40: rgba(3, 34, 68, 0.4);
  --color-navy-a42: rgba(3, 34, 68, 0.42);
  --color-navy-a46: rgba(3, 34, 68, 0.46);
  --color-navy-a50: rgba(3, 34, 68, 0.5);
  --color-navy-a55: rgba(3, 34, 68, 0.55);
  --color-navy-a62: rgba(3, 34, 68, 0.62);
  --color-navy-a70: rgba(3, 34, 68, 0.7);
  --color-navy-a88: rgba(3, 34, 68, 0.88);
  --color-navy-a92: rgba(3, 34, 68, 0.92);
  --color-cream-a05: rgba(249, 249, 227, 0.05);
  --color-cream-a10: rgba(249, 249, 227, 0.1);
  --color-cream-a12: rgba(249, 249, 227, 0.12);
  --color-cream-a15: rgba(249, 249, 227, 0.15);
  --color-cream-a16: rgba(249, 249, 227, 0.16);
  --color-cream-a45: rgba(249, 249, 227, 0.45);
  --color-cream-a68: rgba(249, 249, 227, 0.68);
  --color-cream-a70: rgba(249, 249, 227, 0.7);
  --color-cream-a72: rgba(249, 249, 227, 0.72);
  --color-cream-a88: rgba(249, 249, 227, 0.88);
  --color-cream-a96: rgba(249, 249, 227, 0.96);

  /* Semantic text roles */
  --color-muted-on-cream: var(--color-muted);   /* body/muted copy on cream surfaces; ~6.9:1 AA */
  --color-placeholder:    var(--color-muted);   /* input placeholders; must clear 4.5:1, not a faint gray */

  /* Focus — one ring vocabulary across every interactive control */
  --color-focus:         var(--color-deep-blue);     /* on light surfaces */
  --color-focus-on-dark: var(--color-accent-on-dark);/* on navy/blue surfaces */
  --focus-ring-width:    2px;
  --focus-ring-offset:   3px;

  --font-heading: "RoadRadio", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:    "Mytupi", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --type-display: clamp(2rem, 3vw + 1rem, 3rem);
  --type-headline: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  --type-title: clamp(1.25rem, 2vw + 0.25rem, 1.75rem);
  --type-title-sm: 1.125rem;
  --type-body: 1rem;
  --type-label: 0.8125rem;
  --type-header-cta: 0.7rem;
  --line-body: 1.7;
  --track-heading: -0.01em;
  --weight-bold: 700;
  --weight-black: 900;

  --container:    1140px;
  --header-container: 1280px;
  --gutter:       1.25rem;
  --header-gutter: clamp(1.5rem, 4vw, 3rem);
  --space-xs:     0.5rem;
  --space-sm:     1rem;
  --space-md:     2rem;
  --space-lg:     4rem;
  --space-xl:     6rem;
  --space-2xl:    8rem;

  --radius-none:  0;
  --radius-sm:    var(--radius-none);
  --radius-md:    var(--radius-none);
  --radius-lg:    var(--radius-none);
  --radius-pill:  999px;

  --shadow-sm:    0 1px 2px rgba(3,34,68,.06);
  --shadow-md:    0 4px 12px rgba(3,34,68,.08);
  --shadow-lg:    0 8px 30px rgba(3,34,68,.12);
  --shadow-drawer: -24px 0 60px var(--color-navy-a16);
  --shadow-bento-hover: 0 12px 28px var(--color-navy-a28);
  --shadow-intake: 0 4px 40px var(--color-navy-a25), 0 0 0 1px var(--color-cream-a10);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.2s;
  --duration-med: 0.3s;
  --duration-drawer: 0.56s;

  --z-base: 0;
  --z-raised: 1;
  --z-foreground: 2;
  --z-content: 3;
  --z-header: 100;
  --z-menu-toggle: 210;
  --z-menu-backdrop: 230;
  --z-menu-drawer: 240;
}

/* --- Base --- */

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--type-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  color: var(--color-navy);
  letter-spacing: var(--track-heading);
  text-wrap: balance;
}

h1 { font-size: var(--type-display); }
h2 { font-size: var(--type-headline); }
h3 { font-size: var(--type-title); }
h4 { font-size: var(--type-title-sm); }

p, li {
  color: var(--color-muted);
  line-height: var(--line-body);
  text-wrap: pretty;
}

strong { color: var(--color-text); }

/* --- Layout --- */

.container {
  width: min(100% - var(--header-gutter) * 2, var(--header-container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-xl);
}

.section--tight {
  padding-block: var(--space-lg);
}

#services-bento {
  scroll-margin-top: 5.5rem;
}

.section--navy {
  background: var(--color-navy);
  color: var(--color-cream);
}
.section--navy p,
.section--navy li {
  color: var(--color-text-on-navy-muted);
}
.section--navy .lead,
.section--navy small {
  color: var(--color-text-on-navy-muted);
}
.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: var(--color-cream);
}

.section--blue {
  background: var(--color-deep-blue);
  color: var(--color-white);
}
.section--blue p,
.section--blue li {
  color: rgba(255,255,255,0.8);
}
.section--blue h1,
.section--blue h2,
.section--blue h3 {
  color: var(--color-white);
}

/* --- Grid --- */

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

/* --- Header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  width: min(100% - var(--header-gutter) * 2, var(--header-container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-block: 1.125rem;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-left: auto;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.95rem;
  border: 1px solid transparent;
  border-radius: var(--radius-none);
  background: var(--color-navy);
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: var(--type-header-cta);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  background: var(--color-deep-blue);
  color: var(--color-white);
  transform: translateY(-1px);
}

.site-header__cta:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: 4px;
}

.site-logo {
  display: flex;
  align-items: center;
  color: var(--color-navy);
  text-decoration: none;
}
.site-logo__wordmark {
  height: clamp(1.4rem, 1.2rem + 0.45vw, 1.7rem);
  width: auto;
  flex: 0 0 auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.site-nav a {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--color-navy);
}

/* --- Slide-in Menu --- */

html.is-open,
html.is-open body {
  overflow: hidden;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.1rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--type-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
  position: relative;
  z-index: var(--z-menu-toggle);
  transition: transform 0.5s var(--ease-out-expo), background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.js .menu-toggle {
  display: inline-flex;
}

.js .site-nav {
  display: none;
}

.menu-toggle:hover {
  color: var(--color-accent-on-light);
}

.menu-toggle:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: 4px;
}

.menu-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  width: 1.5rem;
  height: 0.9rem;
  flex-shrink: 0;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: var(--radius-pill);
}

.menu-toggle__icon-line {
  display: block;
  width: 72%;
  height: 1.5px;
  background: currentColor;
  border-radius: var(--radius-pill);
}

.menu-toggle__icon::after {
  width: 86%;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu-backdrop);
  background:
    linear-gradient(180deg, var(--color-navy-a14), var(--color-navy-a40)),
    var(--color-navy-a16);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

html.is-open .menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-drawer {
  --menu-width: clamp(280px, 36vw, 420px);
  --menu-visible-strip: 0px;
  --menu-edge-offset: 0px;
  --menu-closed-offset: 100%;
  position: fixed;
  inset: 0;
  z-index: var(--z-menu-drawer);
  pointer-events: none;
}

.menu-drawer.is-open {
  pointer-events: auto;
}

.menu-drawer__layer,
.menu-panel {
  position: absolute;
  top: 0;
  right: var(--menu-edge-offset);
  bottom: 0;
  transform: translateX(var(--menu-closed-offset));
  transition: transform var(--duration-drawer) var(--ease-out-expo);
}

.menu-drawer__layer {
  pointer-events: none;
}

.menu-drawer__layer--outer {
  width: calc(var(--menu-width) + 4.5rem);
  background: linear-gradient(180deg, rgba(5, 131, 242, 0.96), rgba(5, 107, 241, 0.96));
  transition-duration: 0.62s;
}

.menu-drawer__layer--inner {
  width: calc(var(--menu-width) + 2rem);
  background: var(--color-navy);
  transition-duration: 0.54s;
  transition-delay: 0.03s;
}

html.is-open .menu-drawer__layer--outer,
html.is-open .menu-drawer__layer--inner,
html.is-open .menu-panel {
  transform: translateX(0);
}

.menu-drawer.is-open .menu-drawer__layer--outer,
.menu-drawer.is-open .menu-drawer__layer--inner,
.menu-drawer.is-open .menu-panel {
  transform: translateX(0);
}

.menu-panel {
  width: var(--menu-width);
  background:
    radial-gradient(circle at top right, rgba(5, 107, 241, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.32), rgba(255,255,255,0)),
    var(--color-cream);
  border-left: 1px solid var(--color-navy-a08);
  box-shadow: var(--shadow-drawer);
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 1.8vh, 1.35rem);
  padding: clamp(1rem, 2.4vw, 1.5rem) clamp(1.25rem, 2.8vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  pointer-events: auto;
}

.menu-panel:focus {
  outline: none;
}

.menu-panel__nav {
  display: flex;
  flex-direction: column;
}

.menu-panel__header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: clamp(0.35rem, 1vh, 0.75rem);
}

.menu-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-accent-on-light);
  font-family: var(--font-heading);
  font-size: 0;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.28s ease;
}

html.is-open .menu-panel__close,
.menu-drawer.is-open .menu-panel__close {
  opacity: 1;
  transition-delay: 0.24s;
}

.menu-panel__close:hover {
  color: var(--color-accent-on-light);
}

.menu-panel__close:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: 4px;
}

.menu-panel__close-icon {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.menu-panel__close-icon::before,
.menu-panel__close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: var(--radius-pill);
}

.menu-panel__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-panel__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-panel__primary {
  list-style: none;
  counter-reset: menu-item;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.menu-panel__primary li,
.menu-panel__meta,
.menu-panel__footer {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-panel__primary li:nth-child(1) { transition-delay: 0.08s; }
.menu-panel__primary li:nth-child(2) { transition-delay: 0.14s; }
.menu-panel__primary li:nth-child(3) { transition-delay: 0.2s; }
.menu-panel__primary li:nth-child(4) { transition-delay: 0.26s; }
.menu-panel__meta { transition-delay: 0.3s; }
.menu-panel__footer { transition-delay: 0.36s; }

html.is-open .menu-panel__primary li,
html.is-open .menu-panel__meta,
html.is-open .menu-panel__footer {
  opacity: 1;
  transform: none;
}

.menu-panel__primary li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.875rem;
  align-items: start;
}

.menu-panel__counter {
  padding-top: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--color-accent-on-light);
}

.menu-panel__primary a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-navy);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu-panel__primary a:hover,
.menu-panel__primary a:focus-visible,
.menu-panel__primary a[aria-current="page"] {
  color: var(--color-accent-on-light);
}

.menu-panel__primary a:hover {
  transform: translateX(0.125rem);
}

.menu-panel__primary a:focus-visible,
.menu-panel__secondary a:focus-visible,
.menu-panel__social a:focus-visible,
.menu-panel__cta:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: 4px;
  border-radius: 0;
}

.menu-panel__meta {
  padding-top: 1rem;
  border-top: 1px solid var(--color-navy-a12);
}

.menu-panel__section-title {
  margin-bottom: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-on-light);
}

.menu-panel__secondary {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.menu-panel__secondary a {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu-panel__secondary a:hover,
.menu-panel__secondary a:focus-visible {
  color: var(--color-navy);
  transform: translateX(0.125rem);
}

.menu-panel__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-navy-a12);
  display: grid;
  gap: 0.85rem;
}

.menu-panel__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1rem;
}

.menu-panel__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  text-decoration: none;
}

.menu-panel__social img {
  width: 26px;
  height: 26px;
  display: block;
  /* Native SVG fill is --color-navy (#032244). */
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.menu-panel__social a:hover img,
.menu-panel__social a:focus-visible img {
  opacity: 1;
}

.menu-panel__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--color-navy);
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.menu-panel__cta:hover,
.menu-panel__cta:focus-visible {
  background: var(--color-deep-blue);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* --- Hero --- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: var(--z-content);
  padding-block: var(--space-2xl);
  width: min(100% - var(--header-gutter) * 2, var(--header-container));
  margin-inline: auto;
}

.hero__content-inner {
  max-width: 36rem;
}

/* Photo | full bleed, positioned right */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
  pointer-events: none;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
}

/* Gradient overlay | lighter on the left (copy), solid navy on the right; left stops bumped for readability */
.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: var(--z-raised);
  pointer-events: none;
  background: linear-gradient(
    to left,
    var(--color-navy) 0%,
    var(--color-navy) 30%,
    var(--color-navy-a88) 45%,
    var(--color-navy-a62) 62%,
    var(--color-navy-a46) 80%,
    var(--color-navy-a42) 100%
  );
}

/* Topo texture on the text side */
.hero__topo {
  position: absolute;
  inset: 0;
  z-index: var(--z-foreground);
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: soft-light;
  mask-image: linear-gradient(to left, black 40%, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, black 40%, transparent 70%);
}
.hero__topo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: var(--space-md);
}

.hero__heading {
  display: block;
}

.hero__heading-static {
  display: block;
}

.hero__heading-typed {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  vertical-align: top;
}

.hero__typed-text {
  font-weight: inherit;
  color: inherit;
}

.hero__typed-cursor {
  display: inline-block;
  margin-left: 0.06em;
  font-weight: 300;
  animation: hero-typed-cursor 1s steps(1, end) infinite;
}

@keyframes hero-typed-cursor {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__heading-typed {
    white-space: normal;
  }

  .hero__typed-cursor {
    animation: none;
    opacity: 0;
  }

  .intake__option-body,
  .intake__option-indicator::after {
    transition: none;
  }
}

.hero__content-inner .lead {
  font-size: 1.2rem;
  line-height: 1.68;
  text-shadow:
    0 1px 2px var(--color-navy-a55),
    0 2px 14px var(--color-navy-a28);
}

/* Hero split: copy left, intake form right */

.hero__content--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__content--split .hero__content-inner {
  max-width: none;
}

/* Frosted cream panel over the blue photo */

.hero-intake {
  position: relative;
  background: var(--color-cream-a88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--color-cream-a45);
  padding: var(--space-md);
  box-shadow: var(--shadow-intake);
}

/* Overrides for the intake form inside the hero */

/* Reset text colors that .section--navy overrides to cream */
.hero-intake p,
.hero-intake li,
.hero-intake small {
  color: var(--color-muted);
}

.hero-intake h3,
.hero-intake .intake__question {
  color: var(--color-navy);
}

.hero-intake .intake__steps-label {
  color: var(--color-muted);
}

.hero-intake .intake__steps-label span:first-child {
  color: var(--color-navy);
}

.hero-intake .intake__back {
  color: var(--color-muted);
}

.hero-intake .intake__back:hover:not(:disabled) {
  color: var(--color-navy);
}

.hero-intake .intake__track {
  background: var(--color-navy-a12);
}

.hero-intake .intake__option-body {
  border-color: var(--color-navy-a12);
}

.hero-intake .intake__option:first-child .intake__option-body {
  border-top-color: var(--color-navy-a12);
}

.hero-intake .intake__option-indicator {
  border-color: var(--color-navy-a25);
}

.hero-intake .intake__nav {
  border-top: none;
}

.hero-intake .intake__progress {
  border-bottom: none;
}

.hero-intake .intake__pill span {
  border-color: var(--color-navy-a15);
  background: transparent;
}

.hero-intake .intake__pill:hover span {
  border-color: var(--color-navy);
}

.hero-intake .intake__pill input:checked + span {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-cream);
}

.hero-intake .intake__step input[type="text"],
.hero-intake .intake__step input[type="email"],
.hero-intake .intake__step input[type="tel"],
.hero-intake .intake__step textarea {
  border-color: var(--color-navy-a15);
  background: transparent;
}

.hero-intake .intake__step input:focus,
.hero-intake .intake__step textarea:focus {
  border-color: var(--color-navy);
}

.hero-intake .intake__confirmation {
  padding: var(--space-md);
}

.hero-intake .intake__done-text a {
  color: var(--color-navy);
  text-decoration-color: var(--color-navy-a30);
}

.hero-intake .intake__done-text a:hover {
  text-decoration-color: var(--color-navy);
}

.btn--outline-light {
  border: 2px solid var(--color-cream);
  color: var(--color-cream);
  background: transparent;
}
.btn--outline-light:hover {
  background: var(--color-cream);
  color: var(--color-navy);
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-on-light);
}
.section--navy .eyebrow,
.section--blue .eyebrow {
  color: var(--color-accent-on-dark);
}

.hero .eyebrow {
  color: var(--color-white);
}

.lead {
  max-width: 38rem;
  margin-top: var(--space-sm);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast), color var(--duration-fast), transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}
/* Buttons that sit on navy/blue fields need the lighter ring to stay visible */
.btn--light:focus-visible,
.btn--outline-light:focus-visible {
  outline-color: var(--color-focus-on-dark);
}

.btn--primary {
  background: var(--color-navy);
  color: var(--color-cream);
}
.btn--primary:hover {
  background: var(--color-navy-hover);
}

.btn--outline {
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
  background: transparent;
}
.btn--outline:hover {
  background: var(--color-navy);
  color: var(--color-cream);
}

.btn--light {
  background: var(--color-cream);
  color: var(--color-navy);
}
.btn--light:hover {
  background: var(--color-white);
}

.btn--accent {
  background: var(--color-deep-blue);
  color: var(--color-white);
}
.btn--accent:hover {
  background: var(--color-accent-hover);
}

/* --- Cards --- */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-sm);
}
.card__icon img {
  width: 100%;
  height: 100%;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-on-light);
  transition: gap 0.2s;
}
.card__link:hover { gap: 0.625rem; }

/* --- Bento grid --- */

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(0.75rem, 1.35vw, 1.1rem);
}

.bento-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-cream-a16);
  border-radius: 0;
  background: var(--color-bento-shell);
  box-shadow: inset 0 1px 0 var(--color-cream-a05);
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  padding-left: calc(clamp(1.1rem, 2.2vw, 1.5rem) + 2rem);
  padding-bottom: calc(clamp(1.1rem, 2.2vw, 1.5rem) + 0.95rem);
}

.bento-shell::before,
.bento-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.bento-shell::before {
  top: auto;
  right: 0;
  left: 0;
  bottom: 0.7rem;
  height: 4px;
  background: var(--color-cream-a68);
}

.bento-shell::after {
  left: 0.95rem;
  width: 1rem;
  background: linear-gradient(180deg, var(--color-blue), var(--color-deep-blue));
}

/* Cell placement | 3 cols, 2 rows — 2×2 block left, tall hero right */
.bento > a:nth-child(2) { grid-column: 1; grid-row: 1; }   /* Softlanding */
.bento > a:nth-child(3) { grid-column: 2; grid-row: 1; }   /* Escrow */
.bento > a:nth-child(4) { grid-column: 2; grid-row: 2; }   /* Investments */
.bento__cell--hero   { grid-column: 3; grid-row: 1 / 3; }  /* tall right */
.bento__cell--accent { grid-column: 1; grid-row: 2; }       /* CTA, bottom-left of 2×2 */

/* Base cell | monochromatic: white surface, navy text */
.bento__cell {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: var(--color-cream-a96);
  border: 1px solid var(--color-cream-a10);
  transition: transform var(--duration-med), box-shadow var(--duration-med), border-color var(--duration-fast);
  display: flex;
}
a.bento__cell:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-bento-hover);
  border-color: rgba(147, 197, 253, 0.34);
}

.bento__body {
  position: relative;
  z-index: var(--z-foreground);
  padding: clamp(1.05rem, 2vw, 1.35rem) clamp(1.1rem, 2.15vw, 1.45rem);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Topo texture | simple: cover the card, control with opacity */
.bento__topo {
  position: absolute;
  inset: 0;
  z-index: var(--z-raised);
  pointer-events: none;
}
.bento__topo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
}

/* Navy cards | beige patterns, subtler */
.bento__cell--hero .bento__topo img,
.bento__cell--accent .bento__topo img {
  opacity: 0.2;
}

/* Layered topo | second pattern offset */
.bento__topo--layered .bento__topo-a,
.bento__topo--layered .bento__topo-b {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento__topo--layered .bento__topo-b {
  opacity: 0.12;
  transform: scale(1.2) rotate(15deg);
}

/* ── Hero card ── */
.bento__cell--hero {
  background: var(--color-navy);
  border-color: var(--color-cream-a12);
}
.bento__cell--hero h3 { color: var(--color-cream); }
.bento__cell--hero p  { color: var(--color-text-on-navy-muted); }
.bento__cell--hero .bento__link { color: var(--color-accent-on-dark); }

/* ── Accent cell ── */
.bento__cell--accent {
  background: var(--color-navy);
  border-color: var(--color-cream-a12);
  justify-content: center;
}

.bento__cell--accent .bento__link {
  color: var(--color-accent-on-dark);
}

/* Icon | wrapped for alignment */
.bento__icon-wrap {
  width: fit-content;
  margin-bottom: 0.8rem;
}

.bento__icon {
  width: 2.45rem;
  height: 2.45rem;
  display: block;
  transform: scale(1.18);
  transform-origin: center;
}

/* Light variant for dark cards */
.bento__icon--light {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

/* Title */
.bento__title {
  font-size: 1.125rem;
  line-height: 1.1;
  margin-bottom: 0.45rem;
}

/* Link | accent color */
.bento__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-on-light);
  transition: gap 0.2s;
}
a.bento__cell:hover .bento__link { gap: 0.625rem; }

/* Accent cell content | CTA */
.bento__accent-body {
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 0.8rem;
  width: 100%;
}

.bento__accent-body .btn {
  align-self: flex-start;
  width: auto;
}

.bento__accent-quote {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: var(--color-cream);
  line-height: 1.4;
}

/* Small button variant */
.btn--sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.75rem;
  border-radius: 0;
}

/* Card paragraph sizing */
.bento__cell p {
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* --- Etymology --- */

.section--etymology {
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
}

.section--etymology-dark {
  background: var(--color-navy);
  border-bottom: none;
  display: flex;
  align-items: center;
  min-height: 65vh;
  position: relative;
  overflow: hidden;
}

.etymology__topo {
  position: absolute;
  top: 73.18%;
  left: 21.88%;
  transform: translateY(-50%);
  width: 65%;
  height: 200%;
  opacity: 0.12;
  pointer-events: none;
  z-index: var(--z-base);
}
.etymology__topo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.etymology {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  position: relative;
  z-index: var(--z-raised);
  align-items: start;
}

.etymology__word {
  text-align: right;
  padding-right: var(--space-md);
  border-right: 1px solid var(--color-navy-a16);
  min-width: 10rem;
}

.etymology__label {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.etymology__phonetic {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.etymology__pos {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-on-light);
  margin-top: 0.25rem;
}

.etymology__meaning {
  max-width: 36rem;
}

.etymology__def {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--color-navy);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

.etymology__meaning > p {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.section--etymology-dark .etymology__word {
  text-align: center;
  padding-right: 0;
  padding-bottom: var(--space-md);
  border-right: none;
  border-bottom: 1px solid var(--color-cream-a72);
  min-width: unset;
}

.section--etymology-dark .etymology {
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: var(--space-md);
  margin-inline: auto;
  text-align: center;
}

.section--etymology-dark .etymology__meaning {
  max-width: 42rem;
}

.section--etymology-dark .etymology__label,
.section--etymology-dark .etymology__def {
  color: var(--color-cream);
}

.section--etymology-dark .etymology__phonetic {
  color: var(--color-text-on-navy-subtle);
}

.section--etymology-dark .etymology__meaning > p {
  color: var(--color-cream-a72);
}

/* --- Why MOOR / Split layout --- */

.section--why {
  position: relative;
  overflow: hidden;
}

.section--why-light {
  background: var(--color-cream);
  color: var(--color-text);
}

.section--why-light h2 {
  color: var(--color-navy);
}

.section--why-light .lead {
  color: var(--color-muted);
}

.why__topo {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 72%;
  height: 115%;
  z-index: 0;
  opacity: 0.1;
  pointer-events: none;
}
.why__topo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
}

.section--why-light .why__topo {
  opacity: 0.14;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Why MOOR: left col = text + photo stacked, right col = checklist */
.split--why {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.check-list--why {
  align-self: center;
}

.split--reverse {
  direction: rtl;
}
.split--reverse > * {
  direction: ltr;
}

/* Our Approach: mobile = flat stack (overrides in max-width 768). Desktop layout in min-width 769 only. */
.split__approach-lead {
  margin-block: 0;
}
.split__approach-side {
  display: grid;
  gap: var(--space-md);
}
.split__approach-traits .approach-traits {
  margin-top: 0;
}

@media (min-width: 769px) {
  /* Desktop: left side remains split into intro/photo; right side is centered as one column */
  .split--approach {
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: stretch;
    gap: var(--space-md) var(--space-lg);
  }
  .split__approach-intro {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    align-self: center;
  }
  .split__approach-side {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: stretch;
    align-content: center;
  }
  .split--approach > .split__photo {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }
  .split__approach-lead,
  .split__approach-traits {
    width: 100%;
  }
}

.split__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.split__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Framed photo | thin outline offset behind the image */
.split__photo--framed {
  overflow: visible;
}
.split__photo--framed::before {
  content: "";
  position: absolute;
  border: 2px solid var(--color-navy);
  z-index: -1;
  pointer-events: none;
}
.split__photo-topo {
  display: none;
}

/* Why MOOR: image sits in left col → frame overflows left */
.section--why .split__photo--framed {
  max-width: 80%;
}
.section--why .split__photo--framed img {
  max-height: 260px;
}
.section--why .split__photo--framed::before {
  inset: 10px 10px -10px -10px;
}

/* Our Approach: image under intro on left; frame overflows left */
.section--navy .split__photo--framed {
  max-width: 100%;
}
.section--navy .split__photo--framed img {
  max-height: 360px;
}
.section--navy .split__photo--framed::before {
  inset: 10px -10px -10px 10px;
}

/* Framed variant on dark/navy backgrounds */
.split__photo--framed-light::before {
  border-color: var(--color-cream);
}

.check-list {
  display: grid;
  gap: var(--space-md);
}

.check-list li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  color: rgba(249, 249, 227, 0.85);
}

.check-list__icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  opacity: 0.6;
  filter: brightness(0) invert(1);
}

.check-list li strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-cream);
  letter-spacing: 0.02em;
}

.check-list li span {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(249, 249, 227, 0.6);
}

.section--why-light .check-list li {
  color: var(--color-text);
}

.section--why-light .check-list__icon {
  width: 2.75rem;
  height: 2.75rem;
  opacity: 1;
  filter: invert(28%) sepia(96%) saturate(2000%) hue-rotate(203deg) brightness(97%) contrast(98%);
}

.section--why-light .check-list li strong {
  color: var(--color-navy);
}

.section--why-light .check-list li span {
  color: var(--color-muted);
}

/* --- Manifesto --- */

.section--manifesto {
  position: relative;
  overflow: hidden;
  background: var(--color-cream);
  padding-block: var(--space-lg);
}

.manifesto__topo {
  position: absolute;
  top: 50%;
  right: -20%;
  transform: translateY(-50%) rotate(30deg);
  width: 65%;
  height: 170%;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.manifesto__topo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.manifesto__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.manifesto__logo {
  margin-bottom: var(--space-md);
  opacity: 0.15;
}

.manifesto__quote p {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.7;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.manifesto__quote p:last-child {
  margin-bottom: 0;
  margin-top: var(--space-md);
}

.manifesto__quote strong {
  font-weight: 900;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
}

/* --- Approach traits --- */

.approach-traits {
  display: grid;
  gap: var(--space-sm);
}

.approach-trait {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-cream-a10);
}

.approach-trait__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-on-dark);
  margin-bottom: 0.25rem;
}

.approach-trait__desc {
  font-size: 1rem;
  color: var(--color-cream-a70);
  line-height: 1.6;
}

.approach-cta {
  margin-top: var(--space-md);
  align-self: start;
  justify-self: start;
  width: auto;
}

/* --- CTA with background photo --- */

.section--cta {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-2xl);
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-navy);
  opacity: 0.82;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Services V5 - Premium Command Center --- */

.services-v5 {
  background:
    radial-gradient(circle at 18% 8%, rgba(5, 107, 241, 0.1), transparent 26rem),
    radial-gradient(circle at 86% 12%, rgba(5, 131, 242, 0.08), transparent 24rem),
    var(--color-cream);
}

.v5-progress,
.moor-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 220;
  height: 3px;
  background: rgba(3, 34, 68, 0.08);
  pointer-events: none;
}

.v5-progress__fill,
.moor-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-deep-blue), var(--color-blue), var(--color-cream));
  transition: width 0.08s linear;
}

.moor-in,
.v3-reveal,
.services-v5 .v5-in {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js .moor-in,
  .js .v3-reveal,
  .js .services-v5 .v5-in {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
    transition:
      opacity 0.78s var(--ease-out-expo),
      transform 0.78s var(--ease-out-expo),
      filter 0.78s var(--ease-out-expo);
    transition-delay: var(--moor-reveal-delay, 0ms);
  }

  .js .moor-in.is-visible,
  .js .v3-reveal.is-visible,
  .js .services-v5 .v5-in.is-visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

.v5-orbit {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.4rem);
  top: 50%;
  z-index: 85;
  display: grid;
  gap: 0.4rem;
  transform: translateY(-50%);
  padding: 0.65rem;
  background: rgba(249, 249, 227, 0.82);
  border: 1px solid rgba(3, 34, 68, 0.12);
  box-shadow: 0 20px 60px rgba(3, 34, 68, 0.12);
  backdrop-filter: blur(14px);
  transition: opacity 0.18s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hidden mid-swap: fade out the lateral card before it becomes the bar */
.v5-orbit.is-fading {
  opacity: 0;
  transform: translateY(8px);
}

.v5-orbit__mark {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.45rem;
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}

.v5-orbit__mark span {
  color: var(--color-deep-blue);
  font-weight: 900;
  opacity: 0.55;
}

.v5-orbit__mark:hover,
.v5-orbit__mark.is-active {
  color: var(--color-navy);
  background: rgba(5, 107, 241, 0.08);
  border-left-color: var(--color-deep-blue);
  transform: translateX(-2px);
}

.v5-orbit__mark.is-active span {
  opacity: 1;
}

/* Docked state: minimalist bar pinned to the bottom (desktop + mobile) */
body.is-past-hero .v5-orbit {
  display: flex;
  inset: auto 0 0 0;
  transform: none;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 5vw, 2.75rem);
  padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: var(--color-navy);
  border: 0;
  border-top: 1px solid rgba(249, 249, 227, 0.12);
  box-shadow: 0 -10px 30px rgba(3, 34, 68, 0.22);
  backdrop-filter: none;
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Entrance: rise + fade as the bar takes over */
body.is-past-hero .v5-orbit.is-fading {
  opacity: 0;
  transform: translateY(14px);
}

/* Retract the bar when the footer arrives so it never overlaps it */
body.is-past-hero.is-at-end .v5-orbit {
  opacity: 0;
  transform: translateY(115%);
  pointer-events: none;
}

body.is-past-hero .v5-orbit__mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: none;
  gap: 0;
  padding: 0.38rem 0.75rem;
  border: 1px solid transparent;
  color: rgba(249, 249, 227, 0.72);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  transition:
    color 0.35s ease,
    border-color 0.35s ease;
}

/* Drop the 00–04 numbers; labels carry the minimal bar */
body.is-past-hero .v5-orbit__mark span {
  display: none;
}

/* Active/hover: neutralize lateral-mode chrome; the label itself glows up */
body.is-past-hero .v5-orbit__mark:hover {
  color: var(--color-cream);
  background: transparent;
  border-left-color: transparent;
  transform: none;
}

body.is-past-hero .v5-orbit__mark.is-active {
  color: var(--color-cream);
  background: transparent;
  border-color: currentColor;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .v5-orbit,
  body.is-past-hero .v5-orbit,
  body.is-past-hero .v5-orbit__mark,
  body.is-past-hero .v5-orbit__mark::before {
    transition: none;
  }
  .v5-orbit.is-fading {
    opacity: 1;
    transform: none;
  }
}

.v5-hero {
  position: relative;
  min-height: calc(100vh - 4.5rem);
  overflow: hidden;
  background: var(--color-navy);
  color: var(--color-cream);
  isolation: isolate;
}

.v5-hero__media,
.v5-hero__topo,
.v5-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.v5-hero__media {
  z-index: -3;
}

.v5-hero__media img,
.v5-hero__topo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v5-hero__media img {
  opacity: 0.42;
  filter: saturate(0.9) contrast(1.06);
  transform: scale(1.04);
}

.v5-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 55% at 82% 26%, rgba(5, 131, 242, 0.38), transparent 58%),
    radial-gradient(65% 55% at 18% 18%, rgba(100, 184, 255, 0.18), transparent 55%),
    linear-gradient(112deg, rgba(3, 34, 68, 0.97) 0%, rgba(3, 34, 68, 0.84) 48%, rgba(3, 34, 68, 0.94) 100%);
}

.v5-hero__topo {
  z-index: -2;
  opacity: 0.13;
  mix-blend-mode: screen;
}

.v5-hero__glow {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(249, 249, 227, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(249, 249, 227, 0.05) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), transparent 78%);
}

.v5-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(24rem, 0.82fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  min-height: calc(100vh - 4.5rem);
  padding-block: var(--space-2xl) var(--space-xl);
}

.v5-hero__copy {
  max-width: 48rem;
}

.v5-hero__title {
  margin: 0.35rem 0 var(--space-sm);
  color: var(--color-cream);
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
}

.v5-hero__title span {
  display: block;
}

.v5-hero__title span:nth-child(2) {
  color: var(--color-accent-on-dark);
}

.v5-hero .lead {
  max-width: 39rem;
  color: rgba(249, 249, 227, 0.78);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.v5-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.v5-text-link,
.v5-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-accent-on-dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.v5-text-link::after,
.v5-card-link::after {
  content: "";
  width: 1.7rem;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.2s;
}

.v5-text-link:hover::after,
.v5-card-link:hover::after {
  transform: scaleX(1.35);
}

.v5-console {
  position: relative;
}

.v5-console::before {
  content: "";
  position: absolute;
  inset: -1.2rem;
  border: 1px solid rgba(249, 249, 227, 0.14);
  transform: translate(1.1rem, -1.1rem);
}

.v5-console__frame {
  position: relative;
  min-height: 34rem;
  padding: var(--space-sm);
  background: rgba(249, 249, 227, 0.08);
  border: 1px solid rgba(249, 249, 227, 0.18);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.v5-console__image {
  position: absolute;
  inset: var(--space-sm) var(--space-sm) 8.25rem var(--space-sm);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(249, 249, 227, 0.18);
}

.v5-console__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 8s ease-out;
}

.v5-console.is-visible .v5-console__image img {
  transform: scale(1.045);
}

.v5-console__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 34, 68, 0.02), rgba(3, 34, 68, 0.72)),
    linear-gradient(90deg, rgba(5, 107, 241, 0.24), transparent 45%);
}

.v5-console__status {
  position: absolute;
  left: var(--space-md);
  right: var(--space-md);
  bottom: 9.35rem;
  z-index: 2;
  display: grid;
  gap: 0.18rem;
  padding: 0.9rem 1rem;
  background: rgba(249, 249, 227, 0.94);
  color: var(--color-navy);
}

.v5-console__status span {
  color: var(--color-deep-blue);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v5-console__status strong {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.v5-console__metrics {
  position: absolute;
  inset: auto var(--space-sm) var(--space-sm);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(249, 249, 227, 0.18);
}

.v5-console__metrics div {
  padding: 1rem 0.85rem;
  background: rgba(3, 34, 68, 0.86);
}

.v5-console__metrics dt {
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 900;
  line-height: 1;
}

.v5-console__metrics dd {
  margin-top: 0.35rem;
  color: rgba(249, 249, 227, 0.62);
  font-size: 0.76rem;
  line-height: 1.35;
}

.v5-signal-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: var(--space-lg);
  background: rgba(249, 249, 227, 0.18);
  border: 1px solid rgba(249, 249, 227, 0.16);
}

.v5-signal-strip article {
  display: grid;
  gap: 0.55rem;
  min-height: 8rem;
  padding: var(--space-sm);
  background: rgba(3, 34, 68, 0.72);
}

.v5-signal-strip span {
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.v5-signal-strip strong {
  align-self: end;
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1.18;
}

.v5-section-head {
  max-width: 54rem;
  margin-bottom: var(--space-lg);
}

.v5-section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.v5-section-head--light h2,
.v5-section-head--light .lead {
  color: var(--color-cream);
}

.v5-section-head--light .lead {
  color: rgba(249, 249, 227, 0.76);
}

.v5-services {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--color-cream), rgba(255,255,255,0.58)),
    var(--color-cream);
}

.v5-services::before {
  content: "";
  position: absolute;
  inset: 4rem auto auto -14rem;
  width: 34rem;
  height: 34rem;
  background: url("../img/topographic/topo-light-blue-3-2-squared.svg") center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

/* Stitched grid: cards abut with 1px hairline seams (container bg shows through) */
.v5-service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(3, 34, 68, 0.14);
  border: 1px solid rgba(3, 34, 68, 0.14);
}

/* Unified proportions across all bands so the grid reads as one system */
.v5-service-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, 0.42fr) minmax(0, 0.58fr);
  align-items: stretch;
  min-height: 26rem;
  background: var(--color-surface);
  overflow: hidden;
}

/* Primary keeps hierarchy through navy + a touch more height, not a bigger split */
.v5-service-card--primary {
  min-height: 30rem;
  background: var(--color-navy);
}

/* secondary cards inherit the unified stitched proportions from .v5-service-card */

/* Z-pattern: reverse bands mirror the split so the image flips side */
.v5-service-card--reverse {
  grid-template-columns: minmax(0, 0.58fr) minmax(15rem, 0.42fr);
}

.v5-service-card--reverse .v5-service-card__media {
  order: 2;
}

.v5-service-card--reverse .v5-service-card__body {
  order: 1;
}

/* Stitched: no card-lift on hover (it would break the seams). The image
   zoom below carries the feedback; raise z-index so the zoom isn't clipped. */
.v5-service-card:hover,
.v5-service-card.is-focus {
  z-index: 1;
}

.js .services-v5 .v5-service-card.v5-in.is-visible:hover,
.js .services-v5 .v5-service-card.v5-in.is-visible.is-focus {
  transform: none;
}

.v5-service-card__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--color-navy);
}

.v5-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  transition: transform 0.7s var(--ease-out-expo), filter 0.7s;
}

.v5-service-card:hover .v5-service-card__media img,
.v5-service-card.is-focus .v5-service-card__media img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.08);
}

.v5-service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 34, 68, 0.78));
}

.v5-service-card__badge {
  position: absolute;
  left: var(--space-sm);
  bottom: var(--space-sm);
  z-index: 1;
  padding: 0.55rem 0.75rem;
  color: var(--color-navy);
  background: var(--color-cream);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

.v5-service-card__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding: clamp(1.5rem, 2.4vw, 2.35rem);
}

.v5-service-card__extras {
  margin-top: var(--space-sm);
}

.v5-service-card__footer {
  margin-top: auto;
  padding-top: var(--space-sm);
}

.v5-service-card--primary .v5-service-card__body {
  color: var(--color-cream);
}

.v5-service-card__kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.v5-service-card__kicker span {
  color: var(--color-deep-blue);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.v5-service-card__kicker img {
  width: 2.5rem;
  height: 2.5rem;
  filter: invert(27%) sepia(94%) saturate(2000%) hue-rotate(204deg) brightness(97%) contrast(97%);
}

.v5-service-card--primary .v5-service-card__kicker img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.v5-service-card h3 {
  margin-bottom: 0.55rem;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.v5-service-card--primary h3 {
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 0.98;
}

.v5-service-card--secondary h3 {
  font-size: clamp(1.2rem, 1.45vw, 1.65rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  max-width: 28ch;
}

.v5-service-card--secondary .lead {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  max-width: 52ch;
}

.v5-service-card--secondary p:not(.lead) {
  font-size: 0.9375rem;
  max-width: 58ch;
}

.v5-service-card--primary h3,
.v5-service-card--primary .lead {
  color: var(--color-cream);
}

.v5-service-card--primary p:not(.lead) {
  color: rgba(249, 249, 227, 0.74);
}

.v5-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

/* Static chip grammar (shared with __badge and mini-flow): RoadRadio 900,
   0.68rem, 0.1em tracking, uppercase, square, one padding. */
.v5-pills li {
  flex: 0 0 auto;
  padding: 0.55rem 0.75rem;
  color: var(--color-navy);
  background: rgba(5, 107, 241, 0.07);
  border: 1px solid rgba(5, 107, 241, 0.16);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.v5-service-card--primary .v5-pills li {
  color: var(--color-cream);
  background: rgba(249, 249, 227, 0.07);
  border-color: rgba(249, 249, 227, 0.16);
}

.v5-service-card .faq-item {
  margin-top: 0;
}

.v5-service-card__footer .faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.v5-service-card--primary .faq-item,
.v5-service-card--primary .v5-service-card__footer .faq-item:first-child {
  border-top-color: rgba(249, 249, 227, 0.14);
  border-bottom-color: rgba(249, 249, 227, 0.14);
}

.v5-service-card--primary .faq-item summary {
  color: var(--color-cream);
}

.v5-service-card--primary .faq-item__answer p {
  color: rgba(249, 249, 227, 0.72);
}

.v5-card-link {
  margin-top: var(--space-sm);
  color: var(--color-deep-blue);
}

.v5-service-card--primary .v5-card-link {
  color: var(--color-accent-on-dark);
}

/* Mini-flow = three chips stitched into one sequence; same chip grammar,
   blue seams instead of grey so it reads as the same family. */
.v5-mini-flow {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(5.5rem, 1fr));
  gap: 0.5rem;
  max-width: 24rem;
}

.v5-mini-flow span {
  padding: 0.55rem 0.6rem;
  text-align: center;
  color: var(--color-navy);
  background: rgba(5, 107, 241, 0.07);
  border: 1px solid rgba(5, 107, 241, 0.16);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.v5-checkpoints {
  display: grid;
  gap: 0;
  margin-top: var(--space-sm);
}

.v5-checkpoints li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: var(--space-sm);
  padding-block: 0.62rem;
  border-bottom: 1px solid var(--color-border);
}

.v5-checkpoints strong {
  color: var(--color-deep-blue);
  font-family: var(--font-heading);
}

.v5-checkpoints span {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.v5-path {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  color: var(--color-cream);
}

.v5-path__topo {
  position: absolute;
  inset: -15% -10% auto auto;
  width: 58%;
  height: 120%;
  background: url("../img/topographic/topo-deep-blue-2-1-squared.svg") center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.v5-path__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-xl);
  align-items: start;
}

.v5-path__panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(249, 249, 227, 0.16);
  border: 1px solid rgba(249, 249, 227, 0.16);
}

.v5-path__panel article {
  min-height: 16rem;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(249, 249, 227, 0.055);
  transition: background 0.25s, transform 0.25s;
}

.v5-path__panel article:hover {
  background: rgba(249, 249, 227, 0.1);
  transform: translateY(-3px);
}

.v5-path__panel span {
  margin-bottom: auto;
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.v5-path__panel h3 {
  color: var(--color-cream);
  margin-bottom: 0.35rem;
}

.v5-path__panel p {
  color: rgba(249, 249, 227, 0.68);
  margin: 0;
}

.v5-network {
  position: relative;
  overflow: hidden;
  background: var(--color-cream);
}

.v5-network::before {
  content: "";
  position: absolute;
  inset: auto -10rem -16rem auto;
  width: 42rem;
  height: 42rem;
  background: url("../img/topographic/topo-beige-4-3-squared.svg") center / contain no-repeat;
  opacity: 0.44;
  pointer-events: none;
}

.v5-network__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: var(--space-xl);
  align-items: center;
}

.v5-network__copy h2 {
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.v5-network__links {
  display: grid;
  gap: 0.55rem;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.v5-network__links a {
  color: var(--color-deep-blue);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.v5-network__links a:hover {
  text-decoration: underline;
}

.v5-network__visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.v5-network__portrait {
  position: relative;
  min-height: 21rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: var(--space-sm);
  background: var(--color-navy);
  border: 1px solid rgba(3, 34, 68, 0.12);
}

.v5-network__portrait img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.v5-network__portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 34, 68, 0.02), rgba(3, 34, 68, 0.82)),
    url("../img/topographic/topo-light-blue-3-4-squared.svg") center / cover no-repeat;
  opacity: 0.82;
}

.v5-network__portrait:has(img)::before {
  background: linear-gradient(180deg, rgba(3, 34, 68, 0.08), rgba(3, 34, 68, 0.88));
  opacity: 1;
}

.v5-network__portrait--alt::before {
  background:
    linear-gradient(180deg, rgba(3, 34, 68, 0.04), rgba(3, 34, 68, 0.84)),
    url("../img/topographic/topo-deep-blue-2-2-squared.svg") center / cover no-repeat;
}

.v5-network__portrait span,
.v5-network__portrait figcaption {
  position: relative;
  z-index: 2;
}

.v5-network__portrait span {
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 900;
}

.v5-network__portrait figcaption {
  margin-top: 0.25rem;
  color: rgba(249, 249, 227, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}

.v5-network__node {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem var(--space-sm);
  align-items: center;
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 60px rgba(3, 34, 68, 0.08);
}

.v5-network__node img {
  grid-row: span 2;
  width: 2.65rem;
  height: 2.65rem;
  filter: invert(27%) sepia(94%) saturate(2000%) hue-rotate(204deg) brightness(97%) contrast(97%);
}

.v5-network__node strong {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.v5-network__node p {
  margin: 0;
  font-size: 0.92rem;
}

.v5-closing {
  padding-block: clamp(6.5rem, 12vw, 11rem);
}

/* Closing CTA sits above the .cta__bg image/overlay; copy reads on dark */
.v5-closing .container {
  position: relative;
  z-index: 2;
}
.v5-closing h2 {
  color: var(--color-cream);
}
.v5-closing .lead {
  margin-inline: auto;
  color: var(--color-text-on-navy-muted);
}
.v5-closing .hero__actions {
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .moor-in,
  .v3-reveal,
  .services-v5 .v5-in {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .moor-progress__fill,
  .v5-progress__fill,
  .v5-console__image img,
  .v5-service-card,
  .v5-service-card__media img,
  .v5-path__panel article {
    transition: none;
  }
  .v5-console.is-visible .v5-console__image img,
  .v5-service-card:hover .v5-service-card__media img,
  .v5-service-card.is-focus .v5-service-card__media img {
    transform: none;
  }
}

@media (min-width: 981px) {
  .v5-service-card--secondary .v5-service-card__media {
    min-height: 24rem;
  }

  .v5-service-card--secondary .v5-service-card__kicker {
    margin-bottom: 0.65rem;
  }

  .v5-service-card--secondary .faq-item summary {
    font-size: 0.875rem;
  }
}

@media (max-width: 1180px) {
  .v5-orbit {
    display: none;
  }
}

@media (max-width: 980px) {
  .v5-hero__grid,
  .v5-path__grid,
  .v5-network__grid {
    grid-template-columns: 1fr;
  }
  .v5-hero__grid {
    min-height: auto;
    padding-block: var(--space-xl);
  }
  .v5-console__frame {
    min-height: 29rem;
  }
  .v5-signal-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .v5-service-card,
  .v5-service-card--primary,
  .v5-service-card--secondary,
  .v5-service-card--reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .v5-service-card--reverse .v5-service-card__media,
  .v5-service-card--reverse .v5-service-card__body {
    order: unset;
  }
  .v5-service-card__media {
    min-height: 18rem;
  }
  .v5-service-card--secondary h3 {
    max-width: none;
  }
  .v5-mini-flow {
    display: grid;
    max-width: none;
  }
}

@media (max-width: 700px) {
  .v5-hero__title {
    font-size: clamp(2.25rem, 11vw, 3.75rem);
  }
  .v5-console::before {
    display: none;
  }
  .v5-console__metrics,
  .v5-signal-strip,
  .v5-path__panel,
  .v5-network__visual {
    grid-template-columns: 1fr;
  }
  .v5-console__metrics {
    position: static;
    margin-top: 1px;
  }
  .v5-console__image {
    position: relative;
    inset: auto;
    height: 19rem;
  }
  .v5-console__status {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  .v5-console__frame {
    min-height: auto;
  }
  .v5-signal-strip article,
  .v5-path__panel article {
    min-height: 10rem;
  }
  .v5-network__node {
    grid-template-columns: 1fr;
  }
  .v5-network__node img {
    grid-row: auto;
  }
}

/* --- FAQ accordion (shared) --- */

.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.section--navy .faq-item {
  border-bottom-color: rgba(249, 249, 227, 0.12);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.section--navy .faq-item:first-child {
  border-top-color: rgba(249, 249, 227, 0.12);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
}

.section--navy .faq-item summary {
  color: var(--color-cream);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-deep-blue);
  transition: transform 0.2s;
}

.section--navy .faq-item summary::after {
  color: var(--color-blue);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__answer {
  padding-bottom: var(--space-sm);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.section--navy .faq-item__answer {
  color: rgba(249, 249, 227, 0.72);
}

/* --- Blog --- */

.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.js .article-card.moor-in.is-visible:hover,
.js .article-card.moor-in.is-visible:focus-visible {
  transform: translateY(-2px);
}

.article-card__img {
  aspect-ratio: 16 / 9;
  background: var(--color-navy);
  overflow: hidden;
}
.article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__body {
  padding: var(--space-md);
}

.article-card__meta {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: var(--space-xs);
}

.article-card__title {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.article-content {
  max-width: 42rem;
  margin-inline: auto;
}
.article-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}
.article-content p {
  margin-bottom: var(--space-sm);
}
.article-content ul,
.article-content ol {
  margin-bottom: var(--space-sm);
  padding-left: 1.5rem;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

/* --- Contact --- */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: var(--space-sm);
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent-on-light);
  box-shadow: 0 0 0 3px rgba(5,107,241,0.12);
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

/* --- Contact: Intake Form --- */

.contact-section {
  padding-block: var(--space-xl);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-intro {
  padding-top: 0.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.contact-detail__icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  filter: invert(27%) sepia(94%) saturate(2000%) hue-rotate(204deg) brightness(97%) contrast(97%);
}

.contact-detail__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.125rem;
}

.contact-detail__value {
  font-size: 0.9375rem;
  color: var(--color-navy);
  line-height: 1.4;
}

a.contact-detail__value {
  text-decoration: none;
  transition: color 0.2s;
}
a.contact-detail__value:hover {
  color: var(--color-accent-on-light);
}

.contact-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.contact-social a {
  display: flex;
}

.contact-social img {
  width: 2rem;
  height: 2rem;
  display: block;
  /* Native SVG fill is Chart Navy (#032244) — same ink as menu socials. */
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.contact-social a:hover img,
.contact-social a:focus-visible img {
  opacity: 1;
}

/* Intake wrapper */

.intake {
  position: relative;
  border: 1px solid var(--color-border);
  padding: var(--space-md);
}

.contact-page .intake {
  background: var(--color-white);
  border-color: rgba(3, 34, 68, 0.12);
  box-shadow: 0 28px 70px rgba(3, 34, 68, 0.14);
}

.intake__error {
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  color: #B3261E;
}

.intake__form {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Honeypot: keep in the DOM for bots, clip to nothing for real users. */
.intake__honeypot {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.intake__honeypot label,
.intake__honeypot input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Progress track */

.intake__progress {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: var(--space-md);
  padding-bottom: 0;
  border-bottom: none;
}

.intake__track {
  flex: 1;
  height: 2px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}

.intake__fill {
  position: absolute;
  inset: 0;
  background: var(--color-navy);
  transform-origin: left;
  transform: scaleX(0.333);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.intake__steps-label {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.intake__steps-label span:first-child {
  color: var(--color-navy);
  font-weight: 700;
}

/* Steps */

.intake__step {
  border: none;
  padding: 0;
  margin: 0;
  display: none;
  animation: intakeFadeIn 0.4s ease both;
}

.intake__step.is-active {
  display: block;
}

@keyframes intakeFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intake__question {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem);
  color: var(--color-navy);
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
}

.intake__hint {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

/* Step 1: Service options */

.intake__options {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.intake__option {
  display: block;
  cursor: pointer;
  position: relative;
}

.intake__option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.intake__option-body {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border);
  transform: translateX(0);
  transition: transform var(--duration-med) var(--ease-out-expo);
}

.intake__option:first-child .intake__option-body {
  border-top: 1px solid var(--color-border);
}

.intake__option-indicator {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  border: 1.5px solid var(--color-border);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.intake__option-indicator::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 1px;
  width: 5px;
  height: 8px;
  border: solid var(--color-cream);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.intake__option input:checked ~ .intake__option-body .intake__option-indicator {
  border-color: var(--color-navy);
  background: var(--color-navy);
}

.intake__option input:checked ~ .intake__option-body .intake__option-indicator::after {
  transform: rotate(45deg) scale(1);
}

.intake__option input:checked ~ .intake__option-body {
  transform: translateX(0.375rem);
}

.intake__option:hover .intake__option-indicator {
  border-color: var(--color-navy);
}

.intake__option input:focus-visible ~ .intake__option-body {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: -2px;
}

.intake__option-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.intake__option-text strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  color: var(--color-navy);
}

.intake__option-text small {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Catch-all option reads as a quieter fallback beneath the four services */
.intake__option--soft .intake__option-text strong {
  font-weight: 400;
  color: var(--color-muted);
}

/* Step 2: Pills */

.intake__field-group {
  margin-bottom: var(--space-sm);
}

.intake__field-group:last-child {
  margin-bottom: 0;
}

.intake__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.intake__optional {
  font-weight: 400;
  color: var(--color-muted);
  text-transform: none;
  letter-spacing: 0;
}

.intake__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.intake__pill {
  cursor: pointer;
  position: relative;
}

.intake__pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.intake__pill span {
  display: inline-flex;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  transition: all 0.2s ease;
}

.intake__pill:hover span {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.intake__pill input:focus-visible + span {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}

.intake__pill input:checked + span {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-cream);
}

/* Shared inputs */

.intake__step input[type="text"],
.intake__step input[type="email"],
.intake__step input[type="tel"],
.intake__step textarea {
  width: 100%;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-navy);
  transition: border-color 0.2s;
}

.intake__step input::placeholder,
.intake__step textarea::placeholder {
  color: var(--color-placeholder);
}

.intake__step input:focus,
.intake__step textarea:focus {
  outline: none;
  border-color: var(--color-navy);
}

.intake__step textarea {
  resize: none;
  min-height: 4.5rem;
  line-height: 1.6;
}

/* Navigation */

.intake__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-md);
  padding-top: 0;
  border-top: none;
}

.intake__back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.intake__back:hover:not(:disabled) {
  color: var(--color-navy);
}

.intake__back:disabled {
  opacity: 0;
  pointer-events: none;
}

.intake__next,
.intake__submit {
  margin-left: auto;
  padding: 0.75rem 1.75rem;
  font-size: 0.8125rem;
}

.intake__submit:disabled,
.intake__submit[aria-busy="true"] {
  cursor: wait;
  opacity: 0.65;
}

/* Confirmation */

.intake__confirmation {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.intake__done-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto var(--space-md);
}

.intake__done-icon svg {
  width: 100%;
  height: 100%;
}

.intake__done-icon svg circle {
  fill: var(--color-navy);
}

.intake__done-icon svg path {
  stroke: var(--color-cream);
}

.intake__done-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.375rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.intake__done-text {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 26rem;
  margin-inline: auto;
}

.intake__done-text a {
  color: var(--color-accent-on-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.intake__done-text a:hover {
  color: var(--color-navy);
}

/* --- Footer --- */

.site-footer {
  background: var(--color-navy);
  color: var(--color-cream);
  padding-block: var(--space-xl) var(--space-md);
}

.site-footer p,
.site-footer li {
  color: var(--color-text-on-navy-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
}

.footer-col a {
  display: block;
  padding-block: 0.25rem;
  color: var(--color-cream-a70);
  font-size: 0.9375rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--color-cream);
}

.footer-bottom {
  border-top: 1px solid var(--color-cream-a15);
  padding-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--color-text-on-navy-subtle);
}

.footer-credit a {
  color: var(--color-text-on-navy-muted);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.2s;
}
.footer-credit a:hover {
  color: var(--color-cream);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}
.footer-social a {
  display: flex;
  padding: 0;
}
.footer-social img {
  width: 26px;
  height: 26px;
  /* Icons ship as navy (#032244); invert so they read on the navy footer. */
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.2s;
}
.footer-social a:hover img {
  opacity: 1;
}

.footer-intro {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* --- Utilities --- */

.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.is-hidden { display: none !important; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* --- Responsive --- */

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .site-header {
    background: var(--color-cream);
    backdrop-filter: none;
    border-bottom-color: transparent;
  }
  .menu-panel {
    background: var(--color-cream);
  }
  .site-header__actions {
    gap: 0.65rem;
  }
  .site-header__cta {
    padding: 0.6rem 0.75rem;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }
  .menu-drawer {
    --menu-visible-strip: clamp(3.5rem, 14.285vw, 6rem);
    --menu-width: calc((100vw - var(--menu-visible-strip)) * 0.75);
    --menu-edge-offset: 0px;
    --menu-closed-offset: 100%;
  }
  @supports (width: 100dvw) {
    .menu-drawer {
      --menu-width: calc((100dvw - var(--menu-visible-strip)) * 0.75);
    }
  }
  .menu-panel__header {
    height: 0;
    margin-bottom: 0;
  }
  .menu-panel__footer {
    position: relative;
  }
  .menu-panel__footer > :first-child {
    padding-right: 2.75rem;
  }
  .menu-panel__close {
    position: absolute;
    right: 1.25rem;
    top: auto;
    bottom: calc(6.0875rem + env(safe-area-inset-bottom, 0px));
    transform: none;
    z-index: 2;
  }
  .menu-panel__primary li {
    grid-template-columns: 1.75rem 1fr;
  }
  .hero {
    min-height: auto;
  }
  .hero__gradient {
    background: linear-gradient(
      to bottom,
      var(--color-navy) 0%,
      var(--color-navy) 30%,
      var(--color-navy-a92) 50%,
      var(--color-navy-a70) 75%,
      var(--color-navy-a50) 100%
    );
  }
  .hero__content {
    max-width: 100%;
  }
  .hero__content--split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .hero-intake {
    padding: var(--space-sm);
  }
  .section {
    padding-block: var(--space-lg);
  }
  .split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .split--reverse {
    direction: ltr;
  }
  .split__photo {
    order: -1;
  }
  /* Our Approach: intro → lead → traits → image (photo last at bottom of section) */
  .split--approach {
    grid-template-rows: auto;
    gap: var(--space-lg);
  }
  .split--approach > * {
    grid-column: 1;
    grid-row: auto;
  }
  .split__approach-intro {
    order: 1;
  }
  .split__approach-side {
    order: 2;
  }
  .split--approach .split__photo {
    order: 3;
  }
  .split__photo-topo {
    display: none;
  }
  .section--why .split__photo--framed {
    max-width: 100%;
  }
  .section--navy .split__photo--framed img {
    max-height: 220px;
    aspect-ratio: 16 / 9;
  }
  .check-list--why {
    order: 1;
  }
  .etymology__topo {
    width: 140%;
    height: 180%;
    top: 73.18%;
    left: 4%;
    transform: translateY(-50%) rotate(35deg);
  }
  .etymology {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .etymology__word {
    text-align: left;
    border-right: none;
    border-bottom: 3px solid var(--color-navy);
    padding-right: 0;
    padding-bottom: var(--space-sm);
    min-width: unset;
  }
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .bento-shell {
    padding: 0.9rem;
    padding-left: calc(0.9rem + 1.15rem);
    padding-bottom: calc(0.9rem + 0.75rem);
  }
  .bento-shell::before {
    left: 0;
    right: 0;
    bottom: 0.55rem;
  }
  .bento-shell::after {
    left: 0.55rem;
    width: 0.6rem;
  }
  .bento__cell--hero   { grid-column: 1; grid-row: auto; }
  .bento__cell--accent { grid-column: 1; grid-row: auto; }
  .bento > a:nth-child(2),
  .bento > a:nth-child(3),
  .bento > a:nth-child(4) {
    grid-column: 1;
    grid-row: auto;
  }
  .bento__accent-body {
    text-align: left;
    align-items: flex-start;
  }
  .footer-grid {
    gap: var(--space-md);
  }
  .section--cta {
    padding-block: var(--space-xl);
  }
  /* Contact layout: stack on mobile */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .contact-intro {
    padding-top: 0;
  }
  .contact-details {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
  }
  .contact-social {
    margin-top: var(--space-md);
  }
  .intake {
    padding: var(--space-sm);
  }
  .intake__progress {
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
  }
  .intake__question {
    font-size: 1.25rem;
  }
  .intake__option-body {
    padding: 0.75rem 0;
    gap: 0.75rem;
  }
  .intake__pill span {
    padding: 0.4375rem 0.75rem;
    font-size: 0.75rem;
  }
  .intake__nav {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 1rem;
  }
  .site-header__actions {
    gap: 0.55rem;
  }
  .site-header__cta {
    padding: 0.52rem 0.62rem;
    font-size: 0.58rem;
  }
  .menu-toggle {
    width: 1.35rem;
    height: 1rem;
  }
  .menu-panel {
    padding-inline: 1rem;
    padding-bottom: 1rem;
  }
  .menu-panel__close {
    right: 1rem;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .intake__next,
  .intake__submit,
  .approach-cta,
  .bento__accent-body .btn {
    width: auto;
  }
  .hero__actions {
    flex-direction: column;
  }
}
