
/* Anchor Healthcare Partners — one-page site, v7 (all-ABA, Oct 18 2026)
   Built on the v6 mockup
   Brand (decided Oct 7): navy #122E52, orange #C95B28 (light) / #DD7440 (on navy),
   deep orange #9E451C under white text, grey #5C6B7A / #9DB0C9, bone/sand neutrals.
   Source Serif 4 headings (pairs with the wordmark), Hanken Grotesk body. */

:root {
  --navy: #122E52;
  --orange: #C95B28;
  --orange-bright: #DD7440;
  --orange-deep: #9E451C;
  --grey: #5C6B7A;
  --grey-on-navy: #9DB0C9;
  --bone: #FBFAF7;
  --sand: #F0EAE0;
  --ink: #1E2A38;
  --white: #FFFFFF;
  --hairline: rgba(30, 42, 56, 0.16);
  --measure: 64ch;
  --font-heading: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); margin: 0 0 1.25rem; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }

p { max-width: var(--measure); }

a { color: var(--navy); }
a:hover { color: var(--orange); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Header / nav ---------- */

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

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark { flex: none; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.46rem;
  letter-spacing: 0.23em;
  color: var(--grey);
  margin-top: 0.15rem;
}

.brand-sub em {
  font-style: normal;
  color: var(--orange);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--orange); }

.site-nav a.is-active {
  color: var(--navy);
  border-bottom-color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle-bar {
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle-bar::before { top: -5px; }
.nav-toggle-bar::after { top: 5px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bone);
    border-bottom: 1px solid var(--hairline);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hairline);
  }
  .site-nav a.is-active { border-bottom-color: var(--orange); }
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  touch-action: manipulation;
  text-align: center;
}

@media (max-width: 560px) {
  .button {
    display: block;
    width: 100%;
    padding: 0.95rem 1.2rem;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .button, .button:hover { transform: none; transition: none; }
}

.button-orange {
  background: var(--orange-bright);
  color: var(--navy);
  border-color: var(--orange-bright);
}
.button-orange:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.button-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.button-navy:hover {
  background: #0C2140;
  border-color: #0C2140;
  color: var(--white);
}

.button-light {
  background: var(--bone);
  color: var(--orange-deep);
  border-color: var(--bone);
}
.button-light:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.text-link-light { color: var(--grey-on-navy); }
.text-link-light:hover { color: var(--white); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero :focus-visible { outline-color: var(--white); }

.hero-contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 6.5rem 1.25rem 7rem;
}

.hero-kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--orange-bright);
  margin: 0 0 1.4rem;
}

.hero h1 {
  color: var(--white);
  max-width: 20ch;
}

.hero-lead {
  font-size: 1.25rem;
  max-width: 46ch;
  color: var(--grey-on-navy);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .hero-inner { padding: 3.25rem 1.25rem 3.75rem; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1.1rem;
  }
  .hero-actions .text-link { text-align: center; }
}

.hero-cred {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--grey-on-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1rem;
  max-width: 52ch;
}

/* ---------- Sections ---------- */

.section { border-bottom: 1px solid var(--hairline); }

.section-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

@media (max-width: 560px) {
  .section-inner { padding: 3rem 1.25rem; }
}

.section-sand { background: var(--sand); }

.section-navy {
  background: var(--navy);
  color: var(--white);
  border-bottom: none;
}
.section-navy h2 { color: var(--white); }
.section-navy p { color: var(--grey-on-navy); }
.section-navy :focus-visible { outline-color: var(--white); }

.section-lead { font-size: 1.15rem; }

.section-close {
  margin-top: 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
}

/* ---------- Owners ---------- */

.owner-lines {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  max-width: var(--measure);
}

.owner-lines li {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--navy);
  padding: 1.1rem 0 1.1rem 1.8rem;
  border-top: 1px solid var(--hairline);
  position: relative;
}
.owner-lines li:last-child { border-bottom: 1px solid var(--hairline); }

.owner-lines li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.95rem;
  width: 14px;
  height: 3px;
  background: var(--orange);
}

/* ---------- What we bring ---------- */

.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.25rem;
}

.area {
  border-top: 3px solid var(--orange);
  padding-top: 1.1rem;
}

.area h3 { font-size: 1.4rem; }
.area p { margin-bottom: 0; }

@media (max-width: 860px) {
  .areas { grid-template-columns: 1fr; gap: 1.8rem; }
}

.areas-close {
  margin-top: 2.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
}

.lanes {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.lane {
  border-top: 1px solid var(--hairline);
  padding-top: 1.1rem;
}

.lane-primary { border-top: 3px solid var(--navy); }

.lane-secondary h3 { font-size: 1.1rem; }
.lane-secondary p { font-size: 0.97rem; }

.lane-kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--orange);
  margin: 0 0 0.35rem;
}

@media (max-width: 860px) {
  .lanes { grid-template-columns: 1fr; }
}

/* ---------- Expertise tiles (3 across) ---------- */

.expertise-tiles {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.expertise-tiles li {
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--orange);
  border-radius: 6px;
  padding: 1.15rem 1.2rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.expertise-tiles li:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .expertise-tiles li, .expertise-tiles li:hover { transform: none; transition: none; }
}

.expertise-tiles h3 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.expertise-tiles p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--grey);
}

@media (max-width: 860px) {
  .expertise-tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .expertise-tiles { grid-template-columns: 1fr; gap: 0.8rem; }
}

/* ---------- CTA band ---------- */

.pull-band { background: var(--orange-deep); }

.pull-band-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .pull-band-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.4rem;
    padding: 2.25rem 1.25rem;
  }
  .pull-band p { max-width: none; }
}

.pull-band p {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: var(--bone);
  max-width: 30ch;
  line-height: 1.3;
}

.pull-band :focus-visible { outline-color: var(--bone); }

/* ---------- Firm ---------- */

.firm-para { font-size: 1.1rem; }

/* ---------- Process ---------- */

.process-strip {
  list-style: none;
  counter-reset: step;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-strip li {
  counter-increment: step;
  border-top: 1px solid var(--hairline);
  padding-top: 1rem;
}

.process-strip li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.process-strip h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.process-strip p { margin: 0; font-size: 0.97rem; }

@media (max-width: 860px) {
  .process-strip { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
}
@media (max-width: 560px) {
  .process-strip { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */

.contact-inner { max-width: 46rem; }

.contact-direct {
  margin: 0.25rem 0 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
}
.contact-direct a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
}
.contact-direct a:hover { color: var(--orange); }

.intake-card {
  margin-top: 2.25rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--white);
  padding: 1.75rem;
  box-shadow: 0 6px 24px rgba(18, 46, 82, 0.07);
}

@media (max-width: 560px) {
  .intake-card { padding: 1.15rem; margin-top: 1.5rem; }
}

.intake-note {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: var(--grey);
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--navy);
  text-decoration: underline;
  cursor: pointer;
}
.link-button:hover { color: var(--orange); }

#contact-form { margin-top: 2rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.optional { font-weight: 400; color: var(--grey); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 0.65rem 0.75rem;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}

.field-invalid input,
.field-invalid select { border-color: #A33B2B; }

.form-error { color: #A33B2B; font-size: 0.95rem; }

.form-success {
  color: #216E5B;
  font-weight: 700;
  margin-top: 1rem;
}

.privacy-line {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.92rem;
  color: var(--grey);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--white);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.footer-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.footer-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-anchor {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: 0.07em;
  color: var(--white);
}

.footer-subline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.59rem;
  letter-spacing: 0.23em;
  color: var(--grey-on-navy);
  margin-top: 0.2rem;
}

.footer-subline em {
  font-style: normal;
  color: var(--orange-bright);
}

.site-footer p { margin: 0.25rem 0; color: var(--grey-on-navy); }

.footer-contact a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--orange-bright);
}
.footer-contact a:hover { color: var(--orange-bright); }

.footer-link {
  color: var(--grey-on-navy);
  text-decoration: underline;
  margin-left: 0.6rem;
}
.footer-link:hover { color: var(--white); }

.copyright { font-size: 0.9rem; }


/* ---------- v7: What we do (4 cards) ---------- */

.offer-grid {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.offer {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  padding: 1.6rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.offer-kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 0 0 0.45rem;
}

.offer h3 { font-size: 1.45rem; }
.offer p { margin: 0 0 1rem; }

.offer-tags {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.offer-tags li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--sand);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

.offer-note {
  margin: auto 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
}

.offer-paths {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.offer-paths li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  position: relative;
  border-top: 1px solid var(--hairline);
}
.offer-paths li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 10px;
  height: 3px;
  background: var(--orange);
}
.offer-paths strong { color: var(--navy); }

@media (max-width: 860px) {
  .offer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .offer { padding: 1.25rem 1.15rem; }
  .offer h3 { font-size: 1.3rem; }
}

/* ---------- v7: Who we work with ---------- */

.fit {
  margin: 2.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.fit-item {
  border-top: 3px solid var(--navy);
  padding-top: 0.9rem;
}

.fit dt {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.35rem;
}

.fit dd {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--navy);
}

.fit-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--grey);
  margin-top: 0.3rem;
}

.fit-aside {
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--grey);
}

@media (max-width: 860px) {
  .fit { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .fit { grid-template-columns: 1fr; gap: 1.1rem; }
}

/* ---------- v7: 3-step process ---------- */

.process-strip.process-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .process-strip.process-3 { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* ---------- v7: Operators section ---------- */

.section-navy .section-inner > p { max-width: 62ch; }
.section-navy .lead-strong {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--white);
}
.ground {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.ground li {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

/* ---------- v7: contact form ---------- */

.form-card {
  margin-top: 2rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--white);
  padding: 1.75rem;
  box-shadow: 0 6px 24px rgba(18, 46, 82, 0.07);
}
@media (max-width: 560px) {
  .form-card { padding: 1.15rem; margin-top: 1.5rem; }
}
.form-hint { font-size: 0.88rem; color: var(--grey); margin: 0.75rem 0 0; }

.section-lead.tight { margin-bottom: 0.5rem; }

.text-link { font-weight: 700; text-underline-offset: 4px; }

/* v2.1: capital figure in hero */
.hero-figure { color: #DD7440; font-weight: 700; white-space: nowrap; }
.offer strong { white-space: nowrap; }


/* ================= v2.2: interaction pass ================= */
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

/* Sticky header shrinks on scroll */
.site-header { transition: box-shadow 0.25s ease, background-color 0.25s ease; }
.header-inner { transition: padding 0.25s ease; }
.brand-mark { transition: width 0.25s ease, height 0.25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(18, 46, 82, 0.10); background: rgba(251, 250, 247, 0.96); }
.site-header.is-scrolled .header-inner { padding-top: 0.35rem; padding-bottom: 0.35rem; }
.site-header.is-scrolled .brand-mark { width: 28px; height: 28px; }
.site-nav a { transition: color 0.2s ease, border-color 0.2s ease; }

/* Hero: slow-drifting contour lines + a soft orange glow (CSS only) */
.hero { position: relative; overflow: hidden; }
.hero-contours path { animation: contour-drift 14s ease-in-out infinite alternate; }
.hero-contours path:nth-child(2) { animation-duration: 17s; animation-delay: -3s; }
.hero-contours path:nth-child(3) { animation-duration: 20s; animation-delay: -6s; }
.hero-contours path:nth-child(4) { animation-duration: 23s; animation-delay: -2s; }
.hero-contours path:nth-child(5) { animation-duration: 26s; animation-delay: -8s; }
@keyframes contour-drift {
  from { transform: translate3d(-24px, 0, 0); }
  to   { transform: translate3d(24px, -10px, 0); }
}
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 520px; height: 520px; right: -140px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 116, 64, 0.30) 0%, rgba(221, 116, 64, 0) 65%);
  animation: glow-breathe 9s ease-in-out infinite alternate;
}
@keyframes glow-breathe {
  from { transform: scale(0.9) translate3d(0, 0, 0); opacity: 0.7; }
  to   { transform: scale(1.1) translate3d(-40px, 30px, 0); opacity: 1; }
}
.hero-inner { position: relative; z-index: 1; }
.hero .button-orange { transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.hero .button-orange:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }

/* Count-up figures keep their width while counting */
[data-countup] { font-variant-numeric: tabular-nums; }
.ground li.ground-key { background: var(--orange-deep); border-color: var(--orange-deep); }

/* Cards: hover lift + accent, tap to expand */
.offer {
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.offer::after {
  content: ""; position: absolute; left: 0; right: 0; top: -4px; height: 4px;
  border-radius: 8px 8px 0 0; background: var(--orange-bright);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
@media (hover: hover) {
  .offer:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(18, 46, 82, 0.13); }
  .offer:hover::after { transform: scaleX(1); }
  .offer:hover .offer-kicker { color: var(--orange); }
}
.offer.is-open { box-shadow: 0 16px 34px rgba(18, 46, 82, 0.13); }
.offer.is-open::after { transform: scaleX(1); }
.offer-kicker { transition: color 0.2s ease; }

.offer-toggle {
  margin-top: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  width: 100%;
  background: none; border: 0; border-top: 1px solid var(--hairline);
  padding: 0.85rem 0 0.1rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  color: var(--navy); cursor: pointer; text-align: left;
  min-height: 44px;
}
.offer-toggle:hover, .offer-toggle:focus-visible { color: var(--orange-deep); }
.offer-chev {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sand); position: relative;
  transition: transform 0.3s ease, background-color 0.2s ease;
}
.offer-chev::before {
  content: ""; position: absolute; left: 50%; top: 45%;
  width: 7px; height: 7px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: translate(-50%, -50%) rotate(45deg);
}
.offer.is-open .offer-chev { transform: rotate(180deg); background: var(--orange-bright); }
.offer.is-open .offer-chev::before { border-color: var(--white); }

.offer-more { display: grid; grid-template-rows: 1fr; }
.js .offer-more { grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.js .offer.is-open .offer-more { grid-template-rows: 1fr; }
.offer-more-inner { overflow: hidden; min-height: 0; }
.offer-list { list-style: none; margin: 0; padding: 0.6rem 0 0; }
.offer-list li {
  position: relative; padding: 0.4rem 0 0.4rem 1.5rem; font-size: 0.97rem;
  opacity: 1; transform: none; transition: opacity 0.3s ease, transform 0.3s ease;
}
.offer-list li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.85rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
}
.js .offer:not(.is-open) .offer-list li { opacity: 0; transform: translateY(-4px); }
.js .offer.is-open .offer-list li:nth-child(2) { transition-delay: 0.05s; }
.js .offer.is-open .offer-list li:nth-child(3) { transition-delay: 0.1s; }
.js .offer.is-open .offer-list li:nth-child(4) { transition-delay: 0.15s; }

/* Scroll reveal (only when JS runs and motion is welcome) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-contours path, .hero-glow { animation: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .offer, .offer::after, .offer-more, .offer-list li { transition: none !important; }
  .offer:hover { transform: none; }
}


/* ================= v2.3: infrastructure behind great operators. Fewer words, more visuals, crisp motion ================= */

/* ================= v2.4: hero back to the v2.2 look; "What we bring" centered with faded art ================= */

/* What we bring: centered tiles, each with a faded illustration behind the label */
.bring-inner { text-align: center; }
.bring-inner .section-lead { margin-left: auto; margin-right: auto; max-width: 48ch; }
.tiles {
  list-style: none; margin: 2.5rem auto 0; padding: 0;
  max-width: 64rem;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem;
}
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 11.5rem;
  padding: 1rem 0.9rem 1.05rem;
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.tile-art {
  position: absolute; z-index: -1; inset: 0.5rem 0.5rem 2.6rem;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  opacity: 0.2;
  mix-blend-mode: multiply;
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tile-label {
  position: relative;
  font-weight: 700; color: var(--navy); line-height: 1.25; font-size: 0.98rem;
  text-wrap: balance;
}
.tile::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 55%;
  background: linear-gradient(to top, var(--bone) 30%, rgba(255, 255, 255, 0));
  pointer-events: none;
}
.tile::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 34px; height: 3px; margin-left: -17px;
  background: var(--orange); border-radius: 3px 3px 0 0;
  transition: width 0.25s ease, margin-left 0.25s ease;
}
.tile-capital .tile-art { background-image: url("img/capital.webp"); }
.tile-payers .tile-art { background-image: url("img/payers.webp"); }
.tile-crm .tile-art { background-image: url("img/crm.webp"); }
.tile-finance .tile-art { background-image: url("img/finance.webp"); }
.tile-ops .tile-art { background-image: url("img/ops.webp"); }
.tile-util .tile-art { background-image: url("img/util.webp"); }
.tile-clinic .tile-art { background-image: url("img/clinic.webp"); }
.tile-states .tile-art { background-image: url("img/states.webp"); }
.tile-team .tile-art { background-image: url("img/team.webp"); }
.tile-backoffice .tile-art { background-image: url("img/backoffice.webp"); }
@media (hover: hover) {
  .tile:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(18, 46, 82, 0.12); border-color: rgba(201, 91, 40, 0.45); }
  .tile:hover .tile-art { opacity: 0.32; transform: scale(1.04); }
  .tile:hover::after { width: 64px; margin-left: -32px; }
}
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .tile { min-height: 9.5rem; padding: 0.85rem 0.7rem 0.95rem; }
  .tile-label { font-size: 0.92rem; }
  .tile-art { inset: 0.4rem 0.4rem 2.6rem; }
}

/* Experience: said once */
#experience { position: relative; overflow: hidden; }
.parallax-shape {
  position: absolute; pointer-events: none;
  width: 520px; height: 520px; right: -180px; top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 116, 64, 0.22) 0%, rgba(221, 116, 64, 0) 65%);
  will-change: transform;
}
.exp-grid { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 3.5rem; align-items: center; }
.exp-grid p { font-size: 1.15rem; max-width: 56ch; margin: 0; }
.exp-stat { text-align: center; padding-right: 3.5rem; border-right: 1px solid rgba(255, 255, 255, 0.18); }
.exp-num { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 4.5rem; line-height: 1; color: var(--orange-bright); }
.exp-label { display: block; margin-top: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--grey-on-navy); }
@media (max-width: 760px) {
  .exp-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .exp-stat { text-align: left; padding: 0 0 1.25rem; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.18); display: flex; align-items: baseline; gap: 0.9rem; }
  .exp-num { font-size: 3.2rem; }
  .exp-label { margin: 0; }
}

/* Ways to work */
.ways { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.way {
  background: var(--white);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  border-top: 4px solid var(--navy);
  box-shadow: 0 1px 0 var(--hairline);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.way-lead { border-top-color: var(--orange-deep); }
.way-ico { width: 30px; height: 30px; color: var(--orange-deep); margin-bottom: 0.9rem; }
.way h3 { font-size: 1.4rem; margin-bottom: 0.45rem; }
.way p { margin: 0; color: var(--grey); }
@media (hover: hover) { .way:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(18, 46, 82, 0.12); } }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }

/* Who + size guide */
.who-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.who-grid .section-lead { max-width: 52ch; margin-bottom: 0; }
.size-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; }
@media (max-width: 680px) { .size-boxes { grid-template-columns: 1fr; } }
.size-guide {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 1.8rem 1.8rem 1.6rem;
}
.size-guide p { margin: 0; }
.size-kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-bright); }
.size-num { font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.5rem, 5vw, 3.8rem); white-space: nowrap; line-height: 1.05; margin: 0.35rem 0 0.6rem !important; color: var(--white); }
.size-unit { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: var(--grey-on-navy); letter-spacing: 0.04em; }
.size-note { font-size: 0.88rem; color: var(--grey-on-navy); max-width: 40ch; }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Slide-in variants on scroll (added by script.js) */
.js .reveal.from-left { transform: translateX(-36px); }
.js .reveal.from-right { transform: translateX(36px); }
.js .reveal.from-left.is-in, .js .reveal.from-right.is-in { transform: none; }

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

@media (prefers-reduced-motion: reduce) {
  .tile, .way, .tile-art, .tile::after { transition: none; }
  .tile:hover .tile-art { transform: none; }
}
.exp-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-bright) !important; margin: 0 0 0.5rem !important; }


/* ================= v2.5: tiles fill the section, no heading; fuller steps; confidential contact; privacy page ================= */

/* What we bring: no heading block, the 10 tiles fill the full content width (5 x 2 desktop, 2 columns mobile) */
.section-bring .section-inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.tiles { max-width: none; margin: 0; gap: 1.25rem; }
.tile { min-height: 15.5rem; padding: 1.25rem 1rem 1.4rem; border-radius: 16px; }
.tile-art { inset: 0.75rem 0.75rem 3.4rem; }
.tile-label { font-size: 1.12rem; }
.tile::after { width: 40px; margin-left: -20px; }
@media (hover: hover) { .tile:hover::after { width: 72px; margin-left: -36px; } }
@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.9rem; }
  .tile { min-height: 13rem; padding: 1rem 0.7rem 1.15rem; }
  .tile-label { font-size: 1rem; }
}
@media (max-width: 760px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
  .tile { min-height: 11.5rem; padding: 0.95rem 0.75rem 1.1rem; }
  .tile-art { inset: 0.5rem 0.5rem 2.9rem; }
  .tile-label { font-size: 1rem; }
}
@media (max-width: 560px) {
  .section-bring .section-inner { padding-top: 2.25rem; padding-bottom: 2.25rem; }
}

/* How it works: a little more room for the fuller steps */
.process-strip.process-3 { gap: 2rem; }
.process-strip.process-3 p { max-width: 34ch; line-height: 1.55; }

/* Contact: confidentiality, said plainly */
.confidential {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 0 0 1rem; padding: 0.45rem 0.95rem 0.45rem 0.75rem;
  background: rgba(201, 91, 40, 0.09);
  border: 1px solid rgba(201, 91, 40, 0.35);
  border-radius: 999px;
  font-weight: 700; font-size: 1rem; color: var(--orange-deep);
}
.conf-ico { flex: none; color: var(--orange-deep); }
#contact .form-card { background: var(--bone); }
.copyright .footer-link { margin-left: 0.5rem; }

/* Privacy policy page */
.policy-hero { background: var(--sand); border-bottom: 1px solid var(--hairline); }
.policy-hero .section-inner { padding-top: 4rem; padding-bottom: 2.5rem; }
.policy-kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-deep); margin: 0 0 0.6rem; }
.policy-meta { color: var(--grey); margin: 0; }
.policy { max-width: 46rem; }
.policy h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 2.25rem 0 0.6rem; }
.policy h2:first-child { margin-top: 0; }
.policy ul { padding-left: 1.2rem; margin: 0 0 1rem; max-width: var(--measure); }
.policy li { margin: 0.3rem 0; }
.policy a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; text-decoration-color: var(--orange); }
.policy-note {
  border-left: 4px solid var(--orange); background: var(--bone);
  padding: 1rem 1.25rem; margin: 0 0 1.5rem; border-radius: 0 10px 10px 0; max-width: var(--measure);
}
.policy-note p { margin: 0; }
@media (max-width: 560px) {
  .policy-hero .section-inner { padding-top: 2.75rem; padding-bottom: 2rem; }
}


/* ================= v2.7: five capability tiles in one row, custom icons, prose detail on hover (desktop) / tap (touch) ================= */
.section-bring .bring-inner { max-width: 90rem; }
.tiles.tiles-5 {
  max-width: none;
  grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.15rem;
  text-align: left;
}
.tiles-5 .tile {
  display: block; padding: 0; min-height: 0;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--navy);
  border-radius: 16px;
  box-shadow: 0 1px 0 var(--hairline), 0 10px 24px rgba(18, 46, 82, 0.05);
}
.tiles-5 .tile::before, .tiles-5 .tile::after { display: none; }
.tiles-5 .tile-head {
  all: unset; box-sizing: border-box; cursor: pointer;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: center;
  width: 100%; height: 100%; min-height: 25rem; padding: 2.1rem 1rem 1.5rem;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.tiles-5 .tile-ico {
  display: grid; place-items: center; flex: none;
  width: 7.25rem; height: 7.25rem; margin-bottom: 1.35rem;
  border-radius: 50%;
  background: #F6F1EA;
  box-shadow: inset 0 0 0 2px rgba(201, 91, 40, 0.22), 0 0 0 6px #FFFFFF, 0 0 0 7px rgba(18, 46, 82, 0.08);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tiles-5 .tile-ico svg { display: block; width: 4.9rem; height: 4.9rem; }
.tiles-5 .tile-text { display: flex; flex-direction: column; align-items: center; flex: 1 1 auto; }
.tiles-5 .tile-label {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.34rem; line-height: 1.2;
  color: var(--navy); text-wrap: balance;
}
.tiles-5 .tile-line {
  display: block; margin-top: 0.55rem;
  font-size: 1rem; line-height: 1.45; color: var(--ink);
  text-wrap: balance;
}
.tiles-5 .tile-tags {
  display: block; margin-top: 0.85rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.6;
  color: var(--orange-deep);
  text-wrap: balance;
}
.tiles-5 .tile-tags .tag { white-space: nowrap; }
.tiles-5 .tile-tags .tag:not(:last-child)::after { content: "\00a0\00b7"; color: var(--orange-bright); padding-left: 0.2rem; }
.tiles-5 .tile-hint {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.1rem;
  font-size: 0.85rem; font-weight: 700; color: var(--navy);
}
.tiles-5 .tile-plus {
  position: relative; display: inline-block; flex: none;
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  border: 1px solid rgba(201, 91, 40, 0.5); background: var(--white);
  transition: transform 0.3s ease, background 0.25s ease, border-color 0.25s ease;
}
.tiles-5 .tile-plus::before, .tiles-5 .tile-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 0.66rem; height: 2px; margin: -1px 0 0 -0.33rem;
  background: var(--orange); border-radius: 2px;
}
.tiles-5 .tile-plus::after { transform: rotate(90deg); }
/* Brand accent: the Anchor mark, faint, tucked into the tile's corner */
.tiles-5 .tile-mark {
  position: absolute; z-index: -1; right: -1.1rem; bottom: -1.3rem;
  width: 6.5rem; height: 6.5rem;
  color: var(--navy); --mark-ring: var(--navy); opacity: 0.05;
  pointer-events: none;
}
.tiles-5 .tile-head:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; border-radius: 12px; }

/* Detail panel: slides up over the tile (desktop / tablet) */
.tiles-5 .tile-more {
  position: absolute; inset: -4px 0 0; z-index: 2;
  display: flex; align-items: center;
  padding: 1.5rem 1.3rem;
  background: var(--navy); color: var(--white);
  border-radius: 16px;
  overflow: auto;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.35s;
  cursor: pointer;
  text-align: left;
}
.tiles-5 .tile-more-inner { margin: auto 0; }
.tiles-5 .tile-more-title {
  margin: 0 0 0.8rem; padding-bottom: 0.55rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; line-height: 1.2; color: var(--white);
  border-bottom: 2px solid var(--orange-bright);
  display: inline-block;
}
.tiles-5 .tile-more-text { margin: 0; font-size: 0.93rem; line-height: 1.55; color: #E6ECF4; }
.tiles-5 .tile.is-open .tile-more,
.tiles-5 .tile:has(:focus-visible) .tile-more {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s;
}
@media (hover: hover) and (pointer: fine) {
  .tiles-5 .tile:hover .tile-more {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s;
  }
  .tiles-5 .tile:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(18, 46, 82, 0.18); border-color: var(--navy); }
}
.tiles-5 .tile.is-open .tile-plus { transform: rotate(45deg); }

/* Narrower desktops: still one row, a touch tighter */
@media (max-width: 1279px) {
  .tiles-5 .tile-head { min-height: 27rem; padding-left: 1rem; padding-right: 1rem; }
  .tiles-5 .tile-ico { width: 6.25rem; height: 6.25rem; }
  .tiles-5 .tile-ico svg { width: 4.2rem; height: 4.2rem; }
  .tiles-5 .tile-label { font-size: 1.25rem; }
  .tiles-5 .tile-more { padding: 1.25rem 1.05rem; }
  .tiles-5 .tile-more-text { font-size: 0.88rem; line-height: 1.5; }
}
/* Tablet: 3 + 2, centered */
@media (max-width: 1099px) {
  .tiles.tiles-5 { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .tiles-5 .tile { flex: 0 0 calc((100% - 2rem) / 3); }
  .tiles-5 .tile-head { min-height: 26rem; }
}

/* Phone: one after another, tap to expand in place */
@media (max-width: 760px) {
  .tiles.tiles-5 { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
  .tiles-5 .tile { flex: none; border-top-width: 1px; border-left: 4px solid var(--navy); }
  .tiles-5 .tile:hover { transform: none; }
  .tiles-5 .tile-head {
    min-height: 0; height: auto; padding: 1.1rem 3.3rem 1.1rem 1rem;
    flex-direction: row; align-items: center; justify-content: flex-start; gap: 0.95rem; text-align: left;
  }
  .tiles-5 .tile-ico {
    width: 3.9rem; height: 3.9rem; margin: 0;
    background: none; box-shadow: none; border-radius: 0;
  }
  .tiles-5 .tile-ico svg { width: 3.9rem; height: 3.9rem; }
  .tiles-5 .tile-text { align-items: flex-start; }
  .tiles-5 .tile-label { font-size: 1.2rem; }
  .tiles-5 .tile-line { margin-top: 0.2rem; font-size: 0.95rem; text-wrap: pretty; }
  .tiles-5 .tile-tags { margin-top: 0.4rem; font-size: 0.68rem; letter-spacing: 0.06em; text-wrap: pretty; }
  .tiles-5 .tile-hint { position: absolute; top: 50%; right: 0.95rem; margin: -0.8rem 0 0; font-size: 0; gap: 0; }
  .tiles-5 .tile-mark { display: none; }
  .tiles-5 .tile-more {
    position: static; display: grid; grid-template-rows: 0fr; align-items: stretch;
    padding: 0; background: transparent; color: inherit; border-radius: 0; overflow: visible;
    opacity: 1; visibility: visible; transform: none;
    transition: grid-template-rows 0.35s ease;
  }
  .tiles-5 .tile-more-inner { overflow: hidden; min-height: 0; margin: 0; }
  .tiles-5 .tile-more-title { display: none; }
  .tiles-5 .tile-more-text {
    margin: 0 1.1rem 1.15rem; padding-top: 0.9rem;
    border-top: 1px solid var(--hairline);
    color: var(--ink); font-size: 0.98rem; line-height: 1.6;
  }
  .tiles-5 .tile.is-open .tile-more { grid-template-rows: 1fr; }
  .tiles-5 .tile.is-open { border-color: rgba(201, 91, 40, 0.55); border-left-color: var(--orange); box-shadow: 0 8px 20px rgba(18, 46, 82, 0.08); }
  .tiles-5 .tile.is-open .tile-plus { background: var(--orange); border-color: var(--orange); }
  .tiles-5 .tile.is-open .tile-plus::before, .tiles-5 .tile.is-open .tile-plus::after { background: var(--white); }
}
@media (prefers-reduced-motion: reduce) {
  .tiles-5 .tile-more, .tiles-5 .tile-plus, .tiles-5 .tile-ico { transition: none; }
}

/* ================= v2.7: "operated in / 13+ / states" stat ================= */
.exp-stat { display: flex; flex-direction: column; align-items: center; }
.exp-pre { display: block; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-on-navy); margin-bottom: 0.45rem; }
.exp-num { font-size: 5rem; }
.exp-stat .exp-label { margin-top: 0.35rem; font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; letter-spacing: 0.02em; color: var(--white); }
@media (max-width: 760px) {
  .exp-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .exp-num { font-size: 3.8rem; }
  .exp-stat .exp-label { margin: 0.2rem 0 0; font-size: 1.3rem; }
}

/* ================= v2.7: size guide, unit on its own line ================= */
.size-num .size-unit { display: block; margin-top: 0.35rem; font-size: 1.05rem; line-height: 1.3; white-space: normal; letter-spacing: 0.02em; }

/* ================= v2.7: Anchor mark through the page ================= */
.watermark { position: absolute; pointer-events: none; z-index: 0; }
.watermark-exp {
  width: 30rem; height: 30rem; right: -5rem; bottom: -7rem;
  color: #FFFFFF; --mark-ring: #FFFFFF; opacity: 0.04;
}
#experience .section-inner { z-index: 1; }
#what-we-do { position: relative; overflow: hidden; }
#what-we-do .section-inner { position: relative; z-index: 1; }
.watermark-ways {
  width: 22rem; height: 22rem; right: -5rem; bottom: -6rem;
  color: var(--navy); --mark-ring: var(--navy); opacity: 0.035;
}
.site-footer { position: relative; overflow: hidden; }
.site-footer .footer-inner { position: relative; z-index: 1; }
.watermark-footer {
  width: 20rem; height: 20rem; right: -3rem; top: -2.5rem;
  color: #FFFFFF; --mark-ring: var(--orange-bright); opacity: 0.05;
}
/* Section seam: a small mark sitting on the line between two sections */
.has-seam { position: relative; }
.seam-mark {
  position: absolute; left: 50%; top: 0; z-index: 2;
  width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem;
  display: grid; place-items: center;
  background: var(--white); border-radius: 50%;
  box-shadow: 0 0 0 1px var(--hairline);
  color: var(--navy);
}
.seam-mark svg { width: 1.8rem; height: 1.8rem; }
.seam-mark::before, .seam-mark::after {
  content: ""; position: absolute; top: 50%; width: 4.5rem; height: 1px;
  background: linear-gradient(to var(--seam-dir, right), rgba(201, 91, 40, 0.55), rgba(201, 91, 40, 0));
}
.seam-mark::before { right: calc(100% + 0.6rem); --seam-dir: left; }
.seam-mark::after { left: calc(100% + 0.6rem); }
@media (max-width: 760px) {
  .watermark-exp { width: 18rem; height: 18rem; right: -5rem; bottom: -4rem; }
  .watermark-ways { width: 14rem; height: 14rem; }
  .watermark-footer { width: 13rem; height: 13rem; right: -3rem; top: auto; bottom: -2rem; }
}


/* ================= v2.8: margin line near tiles ================= */
.bring-lead {
  margin: 0 auto 2.25rem; max-width: 42ch;
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem); line-height: 1.3; color: var(--navy);
  text-wrap: balance;
}
@media (max-width: 760px) { .bring-lead { margin-bottom: 1.5rem; } }

/* ================= v2.8: Insights cards (home teaser, index, related) ================= */
.insights-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.25rem; }
.insights-eyebrow { color: var(--orange-deep) !important; }
.insights-head h2 { margin-bottom: 0.5rem; }
.insights-intro { margin: 0; max-width: 52ch; color: var(--grey); font-size: 1.08rem; }
.insights-all { color: var(--navy); white-space: nowrap; text-decoration-color: var(--orange); }
.insight-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.insight-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.insight-card { display: flex; }
.insight-link {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; width: 100%;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--white); border: 1px solid var(--hairline); border-top: 4px solid var(--navy); border-radius: 14px;
  color: var(--ink); text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.insight-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.insight-ico {
  display: grid; place-items: center; width: 4.6rem; height: 4.6rem; margin-bottom: 1.1rem;
  border-radius: 50%; background: #F6F1EA; box-shadow: inset 0 0 0 2px rgba(201, 91, 40, 0.22);
}
.insight-ico svg { width: 3rem; height: 3rem; display: block; }
.insight-meta { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-deep); }
.insight-title { margin: 0.5rem 0 0.6rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; line-height: 1.25; color: var(--navy); text-wrap: balance; }
.insight-sum { display: block; flex: 1 1 auto; font-size: 0.98rem; line-height: 1.5; color: var(--grey); }
.insight-more { display: inline-flex; gap: 0.4rem; margin-top: 1.1rem; font-weight: 700; font-size: 0.92rem; color: var(--navy); border-bottom: 2px solid var(--orange-bright); align-self: flex-start; padding-bottom: 2px; }
@media (hover: hover) {
  .insight-link:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(18, 46, 82, 0.12); border-top-color: var(--orange); }
  .insight-link:hover .insight-more { color: var(--orange-deep); }
}
@media (max-width: 960px) { .insight-grid { grid-template-columns: 1fr; } .insight-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .insights-head { flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.5rem; }
  .insight-link { padding: 1.3rem 1.2rem 1.25rem; }
  .insight-ico { width: 3.8rem; height: 3.8rem; margin-bottom: 0.85rem; }
  .insight-ico svg { width: 2.5rem; height: 2.5rem; }
  .insight-title { font-size: 1.2rem; }
}

/* ================= v2.8: Insights index + article pages ================= */
.insights-hero, .article-hero { position: relative; overflow: hidden; }
.insights-hero .section-inner, .article-hero .section-inner { position: relative; z-index: 1; }
.insights-watermark { width: 20rem; height: 20rem; right: -4rem; bottom: -6rem; color: var(--navy); --mark-ring: var(--navy); opacity: 0.05; }
.insights-hero h1, .article-hero h1 { max-width: 24ch; text-wrap: balance; }
.insights-hero-lead { margin: 0.75rem 0 0; max-width: 58ch; font-size: 1.12rem; color: var(--ink); }
.policy-kicker a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.article { max-width: 44rem; font-size: 1.07rem; line-height: 1.7; }
.article p { max-width: none; }
.article-lead { font-size: 1.22rem; line-height: 1.6; color: var(--navy); }
.article h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 2.4rem 0 0.6rem; }
.article ul { padding-left: 1.2rem; margin: 0 0 1.1rem; }
.article li { margin: 0.45rem 0; }
.article li::marker { color: var(--orange); }
.article a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; text-decoration-color: var(--orange); }
.article strong { color: var(--navy); }
.article-cta {
  position: relative; overflow: hidden;
  margin-top: 3rem; padding: 2rem 1.75rem;
  background: var(--navy); color: var(--white); border-radius: 16px;
}
.article-cta h2 { color: var(--white); margin: 0 0 0.5rem; }
.article-cta p { color: var(--grey-on-navy); margin: 0 0 1.25rem; position: relative; z-index: 1; }
.article-cta .button { position: relative; z-index: 1; }
.article-cta a.button { color: var(--white); text-decoration: none; }
.article-cta-mark { position: absolute; width: 11rem; height: 11rem; right: -2.5rem; bottom: -3rem; color: #FFFFFF; --mark-ring: var(--orange-bright); opacity: 0.07; pointer-events: none; }
.more-heading { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 1.5rem; }
.article-cta-band { text-align: center; }
.article-cta-inner p { margin: 0 auto 1.5rem; max-width: 52ch; }
@media (max-width: 560px) {
  .article { font-size: 1.02rem; }
  .article-lead { font-size: 1.12rem; }
  .article-cta { padding: 1.6rem 1.25rem; }
  .article-cta .button { width: 100%; text-align: center; box-sizing: border-box; }
}
.copyright .footer-link { white-space: nowrap; }


/* ================= v3.0: warmth, story and illustrations ================= */
:root { --peach: #FBEFE6; --peach-deep: #F6E2D3; }

/* Hero: copy + illustration */
.hero { background: radial-gradient(120% 90% at 85% 10%, #1B3D68 0%, var(--navy) 55%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2.5rem; align-items: center; padding-top: 5rem; padding-bottom: 5.5rem; }
.hero-art { display: block; width: 100%; height: auto; max-width: 520px; justify-self: end; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-art { justify-self: start; max-width: 400px; }
}
@media (max-width: 560px) {
  .hero-grid { padding-top: 2.75rem; padding-bottom: 3rem; gap: 1.5rem; }
  .hero-art { max-width: 340px; margin: 0 auto; }
}

/* Sound familiar? */
.section-familiar {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(221, 116, 64, 0.16) 0%, rgba(221, 116, 64, 0) 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(18, 46, 82, 0.06) 0%, rgba(18, 46, 82, 0) 70%),
    linear-gradient(180deg, var(--peach) 0%, var(--bone) 100%);
}
.familiar-inner { position: relative; }
.familiar-head { max-width: 44rem; }
.familiar-head h2 { margin-bottom: 0.6rem; }
.familiar-head .section-lead { margin: 0; font-size: 1.2rem; color: var(--ink); }
.pains {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem;
}
.pains li {
  display: flex; align-items: center; gap: 0.9rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(201, 91, 40, 0.16);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  font-weight: 600; color: var(--navy); line-height: 1.35;
  box-shadow: 0 6px 18px rgba(158, 69, 28, 0.06);
}
.pain-ico { flex: none; width: 44px; height: 44px; }
.turn-card {
  margin-top: 2rem;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center;
  background: var(--white);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  border-left: 6px solid var(--orange);
  box-shadow: 0 18px 44px rgba(18, 46, 82, 0.10);
}
.turn-line { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.15; color: var(--navy); margin: 0 0 0.6rem; }
.turn-text { margin: 0 0 1.1rem; color: var(--ink); font-size: 1.08rem; max-width: 46ch; }
.turn-art { display: block; width: 100%; height: auto; max-width: 440px; justify-self: end; }
@media (max-width: 1000px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .turn-card { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem 1.35rem; }
  .turn-art { justify-self: center; max-width: 360px; }
}
@media (max-width: 560px) {
  .pains { grid-template-columns: 1fr; gap: 0.6rem; margin-top: 1.5rem; }
  .pains li { padding: 0.75rem 0.9rem; font-size: 1rem; }
  .pain-ico { width: 38px; height: 38px; }
  .familiar-head .section-lead { font-size: 1.08rem; }
}

/* Who we are: map of states */
.exp-map { display: none; }
@media (min-width: 1100px) {
  .exp-grid { grid-template-columns: auto minmax(0, 1fr) 300px; gap: 3rem; }
  .exp-map { display: block; width: 100%; height: auto; opacity: 0.95; }
}
@media (max-width: 760px) {
  .exp-map { display: block; width: 100%; max-width: 300px; height: auto; margin-top: 0.5rem; }
}

/* Softer, warmer sand sections */
.section-sand {
  background:
    radial-gradient(55% 80% at 100% 100%, rgba(221, 116, 64, 0.10) 0%, rgba(221, 116, 64, 0) 70%),
    var(--sand);
}
#contact {
  background:
    radial-gradient(50% 60% at 0% 0%, rgba(221, 116, 64, 0.09) 0%, rgba(221, 116, 64, 0) 70%),
    var(--bone);
}

/* v4.2 */
.article .article-sources{font-size:15px;line-height:1.55;color:#5C6B7A;padding-left:20px}.article .article-sources li{margin-bottom:8px}.article .article-sources a{word-break:break-word}.article sup{font-size:.7em;line-height:0}.article sup a{text-decoration:none;color:#C95B28;font-weight:700}.article blockquote{margin:28px 0;padding:6px 0 6px 22px;border-left:3px solid #DD7440;font-family:"Source Serif 4",Georgia,serif;font-size:21px;line-height:1.45;color:#122E52}.article blockquote p:last-child{font-family:"Hanken Grotesk",Arial,sans-serif;font-size:14.5px;color:#5C6B7A;margin-top:8px}
