/* Vantyx Solutions — site stylesheet
   Brand tokens sampled from ops/brand/logos/vantyx-logo-final.png:
   navy #012853, teal #017294, wordmark gray #3c4046. */

@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-latin-var.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #012853;
  --navy-deep: #001b3a;
  --navy-mid: #0a3a6b;
  --teal: #017294;
  --teal-dark: #015c78;
  --teal-bright: #5cc6de;   /* text/accents on navy (AA on --navy) */
  --teal-wash: #e7f3f7;
  --ink: #0c1a2b;
  --ink-soft: #44546a;
  --gray: #3c4046;
  --paper: #ffffff;
  --paper-2: #f4f7fa;
  --line: #dbe3eb;
  --warn: #8f5310;
  --warn-wash: #fbf3e8;
  --ok: #0f6b4a;
  --err: #a3261b;

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-text: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(1, 40, 83, .06), 0 8px 24px -12px rgba(1, 40, 83, .18);
  --shadow-lg: 0 2px 4px rgba(1, 40, 83, .06), 0 24px 48px -20px rgba(1, 40, 83, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: .18em; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--teal-bright); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 10px;
  background: currentColor;
  clip-path: polygon(0 0, 28% 0, 50% 62%, 72% 0, 100% 0, 60% 100%, 40% 100%);
}
.on-navy .eyebrow { color: var(--teal-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -10px rgba(1, 114, 148, .8); }
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal-wash); color: var(--navy); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(1, 40, 83, .5); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand { display: inline-flex; flex: none; border-radius: 6px; }
.brand img { height: 40px; width: auto; }
@media (min-width: 768px) { .brand img { height: 48px; } .header-inner { min-height: 84px; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 8px var(--gutter) 20px;
}
.site-nav ul { list-style: none; display: grid; gap: 2px; }
.site-nav a {
  display: block;
  padding: 12px 8px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.site-nav a:hover { background: var(--paper-2); color: var(--teal-dark); }
.site-nav .nav-cta { margin-top: 8px; }
.site-nav .nav-cta a { background: var(--teal); color: #fff; text-align: center; border-radius: 999px; }
.site-nav .nav-cta a:hover { background: var(--teal-dark); color: #fff; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: block; position: static; box-shadow: none; border: 0; padding: 0; background: none;
  }
  .site-nav ul { display: flex; align-items: center; gap: 4px; }
  .site-nav a { padding: 10px 14px; font-size: .95rem; }
  .site-nav .nav-cta { margin: 0 0 0 10px; }
  .site-nav .nav-cta a { padding: 10px 20px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 85% 20%, rgba(1, 114, 148, .55), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(10, 58, 107, .9), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.hero::after {
  /* faint dot grid */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  padding-block: 56px 72px;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.3fr .7fr; align-items: center; gap: 56px; padding-block: 104px 120px; }
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.6vw, 4.1rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
  margin-top: 18px;
}
.hero h1 .accent { color: var(--teal-bright); white-space: nowrap; }
.hero .lede {
  margin-top: 22px;
  max-width: 58ch;
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  color: rgba(255, 255, 255, .84);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; list-style: none; }
.hero-tags li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600;
  color: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  padding: 7px 13px;
  border-radius: 999px;
}
.hero-tags svg { width: 15px; height: 15px; color: var(--teal-bright); }

.hero-art { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.hero-art .orbit { transform-origin: 280px 262px; animation: spin 60s linear infinite; }
/* Pillar pills: HTML over the SVG so each one sizes to its label */
.hero-art { container-type: inline-size; }
.pillars { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.pillar-slot { position: absolute; top: 10.7%; }
.slot-a { left: 2%; }
.slot-b { right: 2%; }
.slot-c { top: 77.8%; left: 0; right: 0; display: flex; justify-content: center; }
.pillar {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .55em 1em .55em .55em;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(11px, 3.6cqi, 17px); line-height: 1.2;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: .85em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pillar-icon {
  display: grid; place-items: center; flex: none;
  width: 2.1em; height: 2.1em; border-radius: .6em;
  background: var(--teal-bright); color: var(--navy);
}
.pillar-icon.alt { background: #fff; color: var(--teal); }
.pillar-icon svg { width: 1.25em; height: 1.25em; }
.slot-a .pillar { animation: floaty 7s var(--ease) infinite alternate; }
.slot-b .pillar { animation: floaty 8s var(--ease) -2s infinite alternate; }
.slot-c .pillar { animation: floaty 9s var(--ease) -4s infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

/* hero entrance (CSS only, no JS dependency) */
.hero-copy > * { animation: rise .7s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }
.hero-copy > *:nth-child(5) { animation-delay: .24s; }
.hero-art { animation: fadein 1s var(--ease) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: 80px; }
@media (min-width: 960px) { .section { padding-block: 120px; } }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); font-weight: 700; margin-top: 14px; }
.section-head p { margin-top: 18px; font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }

/* Problems */
.problem-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .problem-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .problem-grid { grid-template-columns: repeat(4, 1fr); } }
.problem {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.problem:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c5d4e1; }
.problem .icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--teal-wash); color: var(--teal);
}
.problem .icon svg { width: 24px; height: 24px; }
.problem h3 { font-size: 1.2rem; margin-top: 20px; }
.problem p { margin-top: 10px; color: var(--ink-soft); font-size: .98rem; flex: 1; }
.problem a {
  margin-top: 18px; font-weight: 600; font-size: .95rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.problem a svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.problem a:hover svg { transform: translateX(3px); }

/* How we work */
.steps { display: grid; gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 3.4rem; font-weight: 700; line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--teal);
  display: block;
}
.step::after {
  content: "";
  position: absolute; right: -40px; bottom: -40px;
  width: 140px; height: 140px;
  background: linear-gradient(135deg, var(--teal-wash), transparent 70%);
  clip-path: polygon(0 0, 28% 0, 50% 62%, 72% 0, 100% 0, 60% 100%, 40% 100%);
  opacity: .9;
}
.step h3 { font-size: 1.25rem; margin-top: 18px; }
.step p { margin-top: 10px; color: var(--ink-soft); position: relative; z-index: 1; }

/* One relationship band */
.one-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 44px 28px;
  margin-top: 56px;
  display: grid; gap: 32px;
}
@media (min-width: 900px) { .one-band { grid-template-columns: 1fr 1fr; align-items: center; padding: 64px 60px; gap: 56px; } }
.one-band h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-top: 12px; }
.one-band p { color: rgba(255, 255, 255, .84); margin-top: 16px; }
.one-list { list-style: none; display: grid; gap: 12px; position: relative; z-index: 1; }
.one-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  padding: 16px 18px;
}
.one-list svg { width: 22px; height: 22px; flex: none; color: var(--teal-bright); margin-top: 2px; }
.one-list strong { display: block; font-family: var(--font-display); font-weight: 600; }
.one-list span { color: rgba(255, 255, 255, .78); font-size: .95rem; }
.one-band .deco {
  position: absolute; right: -90px; bottom: -120px; width: 360px; opacity: .06; pointer-events: none;
}

/* Services */
.service {
  display: grid; gap: 32px;
  padding-block: 56px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.service:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 960px) {
  .service { grid-template-columns: 380px 1fr; gap: 64px; padding-block: 72px; }
}
.service-intro .tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-wash);
  padding: 5px 11px; border-radius: 999px;
}
.service-intro .tag.backbone { color: var(--navy); background: #e6ecf3; }
.service-intro h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 16px; }
.service-intro p { margin-top: 14px; color: var(--ink-soft); font-size: 1.05rem; }
.service-glyph {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy), var(--teal));
  color: #fff; margin-bottom: 22px;
  box-shadow: 0 12px 24px -12px rgba(1, 40, 83, .6);
}
.service-glyph svg { width: 30px; height: 30px; }
@media (min-width: 960px) { .service-intro { position: sticky; top: 120px; align-self: start; } }

.feature-grid { display: grid; gap: 14px; list-style: none; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 22px 20px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.feature:hover { border-color: #b9ccdc; transform: translateY(-2px); }
.feature h4 { font-size: 1.05rem; display: flex; gap: 10px; align-items: flex-start; }
.feature h4 svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 1px; }
.feature p { margin-top: 8px; color: var(--ink-soft); font-size: .97rem; }

.callout {
  margin-top: 20px;
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--teal-wash);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 20px;
  color: var(--ink);
  font-size: .98rem;
}
.callout svg { width: 22px; height: 22px; flex: none; color: var(--teal); margin-top: 1px; }

/* Imaging scope */
.scope {
  margin-top: 24px;
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
@media (min-width: 720px) { .scope { grid-template-columns: 1fr 1fr; } }
.scope-col { padding: 24px 24px 18px; }
.scope-col + .scope-col { border-top: 1px solid var(--line); }
@media (min-width: 720px) { .scope-col + .scope-col { border-top: 0; border-left: 1px solid var(--line); } }
.scope-col h4 {
  display: flex; align-items: center; gap: 10px;
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.scope-col h4 svg { width: 20px; height: 20px; }
.scope-in { background: linear-gradient(180deg, var(--teal-wash), #fff 55%); }
.scope-in h4 { color: var(--teal-dark); }
.scope-out { background: linear-gradient(180deg, var(--warn-wash), #fff 55%); }
.scope-out h4 { color: var(--warn); }
.scope-col ul { list-style: none; display: grid; gap: 10px; }
.scope-col li { position: relative; padding-left: 20px; color: var(--ink-soft); font-size: .97rem; }
.scope-col li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg);
}
.scope-in li::before { background: var(--teal); }
.scope-out li::before { background: var(--warn); }
.scope-note { margin-top: 14px; font-size: .95rem; color: var(--ink-soft); }

/* Independence + HIPAA band */
.principles { display: grid; gap: 20px; }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.principle {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
}
.principle svg { width: 32px; height: 32px; color: var(--teal-bright); }
.principle h3 { color: #fff; font-size: 1.2rem; margin-top: 18px; }
.principle p { color: rgba(255, 255, 255, .8); margin-top: 10px; font-size: .98rem; }
.navy-section {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--navy-deep), var(--navy));
  color: #fff;
}
.navy-section .section-head h2 { color: #fff; }
.navy-section .section-head p { color: rgba(255, 255, 255, .82); }
.pms-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; list-style: none; }
.pms-row li {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2); color: #fff;
}
.pms-caption { margin-top: 12px; font-size: .92rem; color: rgba(255, 255, 255, .72); }

/* Contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } }
.team { list-style: none; display: grid; gap: 14px; margin-top: 32px; }
.person {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 18px;
}
.monogram {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
  color: #fff; background: linear-gradient(145deg, var(--navy), var(--teal));
}
.person h3 { font-size: 1.08rem; }
.person .role { font-size: .88rem; color: var(--ink-soft); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .form-card { padding: 40px 40px 36px; } }
.form-card h3 { font-size: 1.5rem; }
.form-card > p { margin-top: 8px; color: var(--ink-soft); }
.form-grid { display: grid; gap: 18px; margin-top: 26px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .95rem; color: var(--navy); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1.5px solid #c9d5e0;
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #9fb3c6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(1, 114, 148, .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }
.field .hint { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }
.field .error-msg { font-size: .88rem; color: var(--err); margin-top: 6px; font-weight: 600; }
.field .error-msg:empty { display: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.phi-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--warn-wash);
  border: 1px solid #efd9bb;
  color: #5a3408;
  font-size: .95rem;
}
.phi-note svg { width: 22px; height: 22px; flex: none; color: var(--warn); margin-top: 1px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-actions .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  animation: spin .8s linear infinite; display: none;
}
.is-sending .spinner { display: inline-block; }
.is-sending .btn-arrow { display: none; }
.form-legal { font-size: .85rem; color: var(--ink-soft); }
.form-status { margin-top: 18px; }
.form-status:empty { display: none; }
.status-box {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: 12px; font-size: .98rem;
}
.status-box svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.status-box.ok { background: #e8f5ef; color: var(--ok); border: 1px solid #bfe3d1; }
.status-box.err { background: #fbecea; color: #7c1c13; border: 1px solid #f0c9c4; }
.status-box a { color: inherit; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .78); padding-block: 56px 36px; font-size: .95rem; }
.footer-top { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; } }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 40ch; }
.site-footer h2 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--teal-bright); text-decoration: underline; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .86rem; color: rgba(255, 255, 255, .68);
}

/* ---------- Simple pages (privacy, 404) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding-block: 64px 56px;
  position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin-top: 14px; }
.page-hero p { margin-top: 14px; color: rgba(255, 255, 255, .82); max-width: 60ch; }
.prose { max-width: 720px; padding-block: 56px 88px; }
.prose h2 { font-size: 1.45rem; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 14px; color: var(--ink); }
.prose ul { padding-left: 1.25em; }
.prose li { margin-top: 6px; }
.prose .meta { color: var(--ink-soft); font-size: .92rem; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound .big {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(5rem, 18vw, 9rem); line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 2px var(--teal-bright);
}
.notfound h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-top: 18px; }
.notfound p { color: rgba(255, 255, 255, .82); margin: 14px auto 0; max-width: 46ch; }
.notfound .hero-cta { justify-content: center; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .07s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .14s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .21s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .28s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

.contact-title { font-size: clamp(1.85rem, 4vw, 2.6rem); font-weight: 700; margin-top: 14px; }
.contact-lede { margin-top: 16px; font-size: 1.1rem; color: var(--ink-soft); max-width: 52ch; }

/* eyebrow must win over section paragraph styles */
.section-head .eyebrow, .one-band .eyebrow, .page-hero .eyebrow {
  font-size: .78rem; line-height: 1.4; margin-top: 0; max-width: none; color: var(--teal);
}
.navy-section .section-head .eyebrow, .one-band .eyebrow, .page-hero .eyebrow { color: var(--teal-bright); }

.contact-lines { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.sales-line {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy);
}
.sales-line svg { width: 22px; height: 22px; flex: none; color: var(--teal); }
.sales-line a { text-decoration: none; }
.sales-line a:hover { text-decoration: underline; }
.sales-line span { overflow-wrap: anywhere; }
.team-heading { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 36px; }
.team { margin-top: 14px; }
@media (max-width: 420px) {
  .person { grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 14px; }
  .monogram { width: 44px; height: 44px; font-size: .95rem; border-radius: 12px; }
  }
@media (max-width: 420px) { .sales-line { font-size: 1rem; gap: 8px; } .sales-line svg { width: 20px; height: 20px; } }
