/* New Haven — brand stylesheet
   Colours taken from the logo & banner: deep purple, sage green, warm cream. */

:root {
  --purple-900: #2e1238;
  --purple-800: #3d1a4a;
  --purple-700: #552767;   /* logo purple */
  --purple-600: #6a3a80;
  --purple-100: #efe8f2;
  --sage-600: #6f8f66;
  --sage-500: #8fae86;
  --sage-400: #a9c4a0;     /* banner sage */
  --sage-100: #e8f0e4;
  --cream: #faf8f2;
  --white: #ffffff;
  --ink: #2a2230;
  --muted: #5e5566;
  --line: #e6e0e8;

  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Lora", Georgia, serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(46, 18, 56, .06), 0 2px 8px rgba(46, 18, 56, .05);
  --shadow: 0 10px 30px -10px rgba(46, 18, 56, .22);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--purple-700); text-underline-offset: 3px; }
a:hover { color: var(--purple-600); }
h1, h2, h3 { line-height: 1.15; color: var(--purple-800); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sage-500); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tint { background: var(--sage-100); }
.section-purple { background: var(--purple-700); color: var(--white); }
.center { text-align: center; margin-top: 2.5rem; }
.sr-only, .hidden-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--purple-700); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage-600); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sage-400); border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46rem; }
.small-note { font-size: .92rem; color: var(--muted); margin-top: 1.5rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn-primary { background: var(--purple-700); color: var(--white); box-shadow: 0 6px 16px -6px rgba(85, 39, 103, .6); }
.btn-primary:hover { background: var(--purple-800); color: var(--white); }
.btn-outline { border-color: var(--purple-700); color: var(--purple-700); background: transparent; }
.btn-outline:hover { background: var(--purple-700); color: var(--white); }
.btn-sage { background: var(--sage-400); color: var(--purple-900); }
.btn-sage:hover { background: var(--sage-100); color: var(--purple-900); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: var(--white); border-color: var(--white); }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--purple-700); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after, .card:hover .link-arrow::after { transform: translateX(4px); }

/* ---------- top bar & header ---------- */
.topbar { background: var(--purple-800); color: rgba(255, 255, 255, .85); font-size: .875rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 15px; height: 15px; }
.topbar-links { display: flex; gap: 1.5rem; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 242, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.45rem; font-weight: 800; color: var(--purple-700); letter-spacing: -.01em; }
.brand-text small { font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav > ul { display: flex; gap: .25rem; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a { display: block; padding: .55rem .85rem; border-radius: 999px; font-weight: 500; color: var(--ink); text-decoration: none; }
.site-nav > ul > li > a:hover { color: var(--purple-700); background: var(--purple-100); }
.site-nav a[aria-current="page"] { color: var(--purple-700); background: var(--purple-100); }
.has-menu > a::after { content: ""; display: inline-block; margin-left: .4rem; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 290px; padding: .5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: all .18s ease;
}
.submenu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { display: block; padding: .5rem .75rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.submenu a:hover { background: var(--sage-100); color: var(--purple-800); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--purple-100); cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--purple-700); border-radius: 2px; margin: 0 auto; position: relative; transition: transform .2s, background .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- waves ---------- */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(50px, 8vw, 110px); }
.wave-sage { fill: var(--sage-400); }
.wave-cream { fill: var(--cream); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--white), var(--purple-100)); padding: clamp(48px, 7vw, 96px) 0 clamp(110px, 14vw, 180px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 span { color: var(--sage-600); }
.hero-tagline { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--purple-700); margin-bottom: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-actions.center { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-size: .95rem; color: var(--muted); }
.hero-trust li { display: flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--sage-600); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.hero-blob {
  position: absolute; inset: 8%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, var(--purple-600), var(--purple-800));
  border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%;
  box-shadow: 0 40px 80px -30px rgba(61, 26, 74, .55);
  animation: blob 14s ease-in-out infinite;
}
.hero-blob::after { content: ""; position: absolute; inset: -14px; border: 2px solid var(--sage-400); border-radius: inherit; opacity: .7; }
.hero-blob img { width: 52%; }
@keyframes blob { 50% { border-radius: 44% 56% 42% 58% / 56% 44% 56% 44%; } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  font-size: .82rem; color: var(--muted); line-height: 1.3;
}
.float-card svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--sage-100); color: var(--purple-700); flex: none; }
.float-card strong { display: block; color: var(--purple-800); font-size: .95rem; }
.float-card-a { top: 4%; left: -6%; }
.float-card-b { top: 46%; right: -8%; }
.float-card-c { bottom: 2%; left: 6%; }

/* ---------- page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--white), var(--purple-100)); padding: clamp(40px, 6vw, 72px) 0 clamp(100px, 12vw, 150px); }
.page-hero-center { text-align: center; }
.page-hero-center .lead { margin-inline: auto; }
.page-hero-center .icon-badge { margin: 0 auto 1rem; }
.page-hero-title { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.page-hero-title h1 { margin: 0; }
.page-hero .lead { margin-top: 1rem; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--purple-700); }
.breadcrumb span { margin-inline: .3rem; }
.breadcrumb [aria-current] { color: var(--purple-700); margin: 0; }

/* ---------- section heads & grids ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p:last-child { color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.service-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--purple-700), var(--sage-400)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.service-card:hover::before { transform: scaleX(1); }
.service-card p { color: var(--muted); flex: 1; }
.service-card h3 { margin-top: 1.25rem; }

.icon-badge { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--sage-100); color: var(--purple-700); flex: none; }
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge-lg { width: 68px; height: 68px; border-radius: 20px; }
.icon-badge-lg svg { width: 32px; height: 32px; }
.section-tint .icon-badge { background: var(--white); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-reverse > :first-child { order: 2; }

.feature-list { display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); padding: 1.25rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.feature-list h3 { margin-bottom: .2rem; font-size: 1.1rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: .98rem; }

.check-list { display: grid; gap: .65rem; margin: 1.25rem 0 1.5rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--sage-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e1238' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat; }
.dot-list { display: grid; gap: .5rem; margin: 1rem 0 1.5rem; }
.dot-list li { position: relative; padding-left: 1.5rem; }
.dot-list li::before { content: ""; position: absolute; left: .2rem; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--purple-700); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { position: relative; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps p { color: var(--muted); margin: 0; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--purple-700); color: var(--white); font-weight: 700; margin-bottom: 1rem; }

.quote-block { text-align: center; max-width: 860px; }
.quote-block img { margin: 0 auto 1.5rem; opacity: .9; }
.quote-block blockquote { margin: 0; }
.quote-block blockquote p { font-family: var(--font-serif); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; }
.quote-cite { color: var(--sage-400); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }

.careers-card { background: linear-gradient(150deg, var(--purple-700), var(--purple-900)); color: rgba(255, 255, 255, .88); padding: clamp(2rem, 4vw, 3rem); border-radius: 28px; box-shadow: var(--shadow); }
.careers-card h3 { color: var(--white); font-size: 1.6rem; margin-top: 1.25rem; }
.careers-card .icon-badge { background: rgba(255, 255, 255, .12); color: var(--sage-400); }
.careers-card .btn { background: var(--sage-400); color: var(--purple-900); margin-top: .5rem; }

.value-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.value { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.value h3 { margin-top: 1.1rem; }
.value p { color: var(--muted); margin: 0; }

.mv-cards { display: grid; gap: 1.25rem; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.aside-card p { color: var(--muted); }
.aside-card p:last-child { margin-bottom: 0; }
.aside-card-accent { background: var(--purple-700); border-color: var(--purple-700); color: rgba(255, 255, 255, .88); }
.aside-card-accent h3 { color: var(--white); }
.aside-card-accent p { color: rgba(255, 255, 255, .85); }
.aside-card-accent a { color: var(--white); }
.aside-contact { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font-weight: 500; }
.aside-contact svg { width: 18px; height: 18px; color: var(--sage-400); flex: none; }
.form-intro .aside-contact svg { color: var(--sage-600); }

.stat-panel { display: grid; gap: 1rem; }
.stat-panel div { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 1.75rem; border-radius: var(--radius); background: var(--sage-100); }
.stat-panel strong { font-size: 2.2rem; font-weight: 800; color: var(--purple-700); min-width: 5.5rem; }
.stat-panel span { color: var(--muted); }

/* ---------- service detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose { max-width: 720px; }
.prose > p { font-size: 1.1rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.25rem; }
.inline-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.detail-aside { display: grid; gap: 1.25rem; position: sticky; top: 100px; }
.aside-links { display: grid; gap: .1rem; }
.aside-links a { display: block; padding: .45rem 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.aside-links li:last-child a { border: 0; }
.aside-links a:hover { color: var(--purple-700); padding-left: .25rem; transition: padding .15s; }

/* ---------- careers ---------- */
.role-list { display: grid; gap: 1rem; }
.role { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 1.75rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.role h3 { margin-bottom: .25rem; }
.role p { margin: 0; color: var(--muted); }
.tag { flex: none; font-size: .85rem; font-weight: 600; padding: .35rem .85rem; border-radius: 999px; background: var(--purple-100); color: var(--purple-700); }

/* ---------- contact & forms ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.contact-card { text-decoration: none; color: var(--ink); padding: 1.75rem; transition: transform .2s, box-shadow .2s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.contact-card h3 { margin: 1rem 0 .25rem; }
.contact-card p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }

.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; font-weight: 500; font-size: .95rem; color: var(--purple-800); }
.form input, .form select, .form textarea {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form input[type="file"] { padding: .65rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--purple-600); background: var(--white); box-shadow: 0 0 0 4px rgba(106, 58, 128, .15); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }

/* ---------- CTA band & footer ---------- */
.cta-band { background: var(--sage-100); padding-block: clamp(48px, 7vw, 80px); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; background: linear-gradient(135deg, var(--purple-700), var(--purple-900)); color: rgba(255, 255, 255, .85); padding: clamp(2rem, 5vw, 3.5rem); border-radius: 28px; position: relative; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(169, 196, 160, .18); }
.cta-inner h2 { color: var(--white); }
.cta-inner p { margin: 0; max-width: 34rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }

.site-footer { position: relative; background: var(--purple-900); color: rgba(255, 255, 255, .75); padding-top: 110px; }
.footer-wave { position: absolute; top: 0; left: 0; width: 100%; height: 70px; fill: var(--sage-100); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 190px; margin-bottom: 1rem; }
.tagline { font-family: var(--font-serif); font-style: italic; color: var(--sage-400); }
.site-footer h3 { color: var(--white); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .45rem; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; }
.contact-list svg { width: 18px; height: 18px; color: var(--sage-400); flex: none; margin-top: .2rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; }
.footer-bottom p { margin: 0; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 78px 0 auto; max-height: calc(100vh - 78px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gutter) 2rem;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li > a { padding: .8rem 1rem; font-size: 1.05rem; }
  .submenu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 1rem; min-width: 0; display: none; }
  .has-menu:hover .submenu, .has-menu:focus-within .submenu { transform: none; }
  .has-menu.is-open .submenu { display: block; }
  .nav-cta { align-self: stretch; }

  .hero-grid, .split, .detail-grid, .form-wrap { grid-template-columns: 1fr; }
  .split-reverse > :first-child { order: 0; }
  .hero-visual { max-width: 360px; }
  .detail-aside { position: static; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar-inner > span:first-child { display: none; }
  .topbar-links { width: 100%; justify-content: space-between; gap: 1rem; font-size: .8rem; }
  .brand-text small { display: none; }
  .form-row, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
  .role { flex-direction: column; align-items: flex-start; }
  .float-card { font-size: .75rem; padding: .6rem .8rem; }
  .float-card-a { left: -2%; }
  .float-card-b { right: -2%; }
  .btn-lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
