/* ==========================================================================
   Elite Care International LLC — Site Styles
   Vanilla CSS, no build step. Organized as:
   1. Fonts  2. Design tokens  3. Reset/base  4. Layout utilities
   5. Header & navigation  6. Buttons  7. Hero  8. Sections & cards
   9. Forms  10. Footer  11. Utilities  12. Motion  13. Print
   ========================================================================== */

/* 1. Fonts — self-hosted (SIL Open Font License), latin subset ----------- */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../assets/fonts/playfair-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 500 800;
  font-display: swap;
  src: url("../assets/fonts/playfair-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/jakarta-latin.woff2") format("woff2");
}

/* 2. Design tokens -------------------------------------------------------- */
:root {
  /* Brand palette (all text pairings checked for WCAG AA contrast) */
  --navy-900: #0b1f3a;   /* primary dark / headings */
  --navy-800: #12305a;
  --navy-700: #1c4277;
  --teal-700: #0a6e6e;   /* hover / pressed */
  --teal-600: #0e7c7b;   /* links & buttons on white (5.0:1) */
  --teal-300: #4fd1c5;   /* accent on navy (8.9:1) */
  --teal-100: #e3f5f3;
  --white: #ffffff;
  --mist: #f3f7f9;       /* light section background */
  --line: #dce5ec;
  --ink: #1b2a3d;        /* body text (14.5:1) */
  --slate: #4a5b6e;      /* secondary text (7.0:1) */
  --on-navy: #c9d6e3;    /* body text on navy (11.2:1) */
  --error: #b42318;
  --success: #0a6e4f;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 2px 8px rgba(11, 31, 58, 0.05);
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, 0.22);
  --shadow-lg: 0 30px 60px -25px rgba(11, 31, 58, 0.35);

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4rem, 8vw, 6.5rem);
  --header-h: 76px;
  --focus: 3px solid #f2b705; /* high-visibility focus ring on light and dark */
}

/* 3. Reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.005em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
a { color: var(--teal-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-700); text-decoration-thickness: 2px; }
:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 650; color: var(--navy-900); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

/* Skip link */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--navy-900); color: var(--white);
  padding: 0.75rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* 4. Layout utilities ----------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); position: relative; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-900); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal-600); margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--teal-300); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--slate); max-width: 62ch; }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; } .split--reverse > :first-child { order: 2; } }

/* 5. Header & navigation -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy-900); flex-shrink: 0; }
.brand:hover { color: var(--navy-900); }
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand__sub { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal-600); margin-top: 3px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center; gap: 0.5rem;
  min-width: 48px; min-height: 48px; padding: 0 0.8rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--navy-900); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease; }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 0.55rem 0.75rem; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.95rem; white-space: nowrap;
}
.nav-list a:hover { color: var(--teal-700); background: var(--teal-100); }
.nav-list a[aria-current="page"] { color: var(--teal-700); box-shadow: inset 0 -2px 0 var(--teal-600); border-radius: 0; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1.25rem var(--gutter) 2rem; background: var(--white);
    border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s ease, transform 0.2s ease; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav-list a { padding: 0.9rem 0.75rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal-600); padding-left: 1rem; }
  .primary-nav .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}
/* No-JS fallback: show the menu as a normal block on small screens */
.no-js .nav-toggle { display: none; }
@media (max-width: 1100px) {
  .no-js .header-inner { flex-wrap: wrap; padding-block: 0.75rem; }
  .no-js .primary-nav { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; padding: 0.5rem 0 0; width: 100%; max-height: none; }
}

/* 6. Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 0.98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--teal-600); color: var(--white); box-shadow: 0 8px 20px -10px rgba(14, 124, 123, 0.8); }
.btn--primary:hover { background: var(--teal-700); color: var(--white); transform: translateY(-1px); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-800); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--ghost:hover { background: var(--navy-900); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--teal-100); color: var(--navy-900); transform: translateY(-1px); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: var(--white); }
.btn--sm { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.92rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.65; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.text-link { font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.text-link::after { content: "→"; transition: transform 0.2s ease; }
.text-link:hover::after { transform: translateX(3px); }

/* 7. Hero ----------------------------------------------------------------- */
.hero, .page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(79, 209, 197, 0.22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(28, 66, 119, 0.9), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--on-navy);
}
.hero::before, .page-hero::before {
  /* subtle geometric grid pattern */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero { padding-block: clamp(4rem, 9vw, 7rem) clamp(4.5rem, 9vw, 7.5rem); }
.hero h1, .page-hero h1 { color: var(--white); }
.hero h1 em, .page-hero h1 em { font-style: italic; color: var(--teal-300); }
.hero .lead, .page-hero .lead { color: var(--on-navy); }
.hero__grid { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero__actions { margin-top: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin: 2.25rem 0 0; padding: 0; list-style: none; font-size: 0.93rem; color: var(--on-navy); }
.hero__meta li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta svg { width: 18px; height: 18px; color: var(--teal-300); flex-shrink: 0; }
.hero__art { position: relative; max-width: 520px; margin-inline: auto; width: 100%; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35)); }

.page-hero { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.page-hero__inner { max-width: 780px; }
.page-hero--with-art .page-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .page-hero--with-art .page-hero__grid { grid-template-columns: 1.3fr 0.7fr; } }
.page-hero__icon { width: min(260px, 70%); margin-inline: auto; opacity: 0.95; }
.breadcrumb { font-size: 0.88rem; margin-bottom: 1.25rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: rgba(201, 214, 227, 0.6); }
.breadcrumb a { color: var(--on-navy); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current="page"] { color: var(--teal-300); }

/* 8. Sections & cards ----------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(14, 124, 123, 0.35); }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.25rem;
  border-radius: 16px; color: var(--teal-600);
  background: linear-gradient(145deg, var(--teal-100), #f4fbfa); border: 1px solid rgba(14, 124, 123, 0.18);
}
.card__icon svg { width: 28px; height: 28px; }
.card__footer { margin-top: auto; padding-top: 1.25rem; }
.service-card { padding-top: 2.25rem; overflow: hidden; }
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-300));
}
.service-card .card__number { position: absolute; top: 1.25rem; right: 1.5rem; font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; color: var(--line); font-weight: 600; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.1em; display: grid; gap: 0.55rem; }
.check-list li { position: relative; padding-left: 1.85rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c7b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.section--navy .check-list li::before { background-color: rgba(79, 209, 197, 0.15); }
.check-list--2col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); column-gap: 1.5rem; }

/* Feature (detailed sub-service) cards */
.feature { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; align-items: start; }
.feature .card__icon { margin: 0; }
.feature h3 { margin-top: 0.35rem; }

/* Steps / process */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 1.75rem 1.5rem 1.5rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.section--navy .steps li { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 0.9rem;
  font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; line-height: 1; color: var(--teal-600);
}
.section--navy .steps li::before { color: var(--teal-300); }
.steps h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.steps p { margin: 0; font-size: 0.98rem; }

/* Callout / notice */
.callout {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.4rem; border-radius: var(--radius); border: 1px solid rgba(14, 124, 123, 0.3);
  background: var(--teal-100); color: var(--ink);
}
.callout svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--teal-700); margin-top: 2px; }
.callout p { margin: 0; }
.callout p + p { margin-top: 0.5rem; }
.callout--warn { background: #fff7e6; border-color: #e9b949; }
.callout--warn svg { color: #8a5a00; }

/* Fact list (About page) */
.facts { display: grid; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.facts div { display: grid; grid-template-columns: 1fr; gap: 0.2rem 1.5rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
@media (min-width: 640px) { .facts div { grid-template-columns: 220px 1fr; } }
.facts dt { font-weight: 650; color: var(--navy-900); }
.facts dd { margin: 0; color: var(--slate); }

/* FAQ */
.faq { display: grid; gap: 0.85rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq details[open] { border-color: rgba(14, 124, 123, 0.4); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem; font-weight: 650; color: var(--navy-900); border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2px solid var(--teal-600); border-bottom: 2px solid var(--teal-600);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .faq__body { padding: 0 1.4rem 1.25rem; color: var(--slate); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* Value / principle tiles */
.tile { padding: 1.6rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); height: 100%; }
.section--navy .tile { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.tile h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.tile p { margin: 0; font-size: 0.98rem; }
.tile .card__icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1rem; }
.section--navy .tile .card__icon { background: rgba(79, 209, 197, 0.12); border-color: rgba(79, 209, 197, 0.3); color: var(--teal-300); }

/* Illustration panel */
.art-panel {
  position: relative; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); overflow: hidden; box-shadow: var(--shadow-lg);
}
.art-panel svg { width: 100%; height: auto; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: clamp(2.25rem, 5vw, 3.75rem);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(79, 209, 197, 0.3), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--on-navy);
  display: grid; gap: 1.75rem; align-items: center; grid-template-columns: 1fr;
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: var(--white); margin-bottom: 0.4rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; z-index: -1;
  border-radius: 50%; border: 40px solid rgba(79, 209, 197, 0.08);
}

/* Prose (privacy policy, long-form text) */
.prose { max-width: 75ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 2.5rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.prose ul li { margin-bottom: 0.35rem; }
.prose .placeholder { background: #fff3c4; color: #5c4400; padding: 0 0.25em; border-radius: 4px; font-weight: 600; }
.toc { padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); margin-bottom: 2rem; }
.toc h2 { font-size: 1.05rem; margin: 0 0 0.6rem; font-family: var(--font-sans); font-weight: 700; }
.toc ol { margin: 0; columns: 2 220px; column-gap: 2rem; }
.toc li { margin-bottom: 0.3rem; break-inside: avoid; }

/* 9. Forms ---------------------------------------------------------------- */
.contact-layout { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.35fr 0.65fr; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 650; color: var(--navy-900); font-size: 0.95rem; }
.field .req { color: var(--error); margin-left: 2px; }
.field .optional { font-weight: 500; color: var(--slate); font-size: 0.85rem; }
.field .hint { font-size: 0.86rem; color: var(--slate); margin: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.8rem 0.95rem; min-height: 48px; border: 1.5px solid #9fb0c0; border-radius: var(--radius-sm); background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 18px no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-700); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(14, 124, 123, 0.2), 0 0 0 1px var(--teal-600);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.18); border-color: var(--error); }
.field-error { display: flex; align-items: flex-start; gap: 0.35rem; color: var(--error); font-size: 0.88rem; font-weight: 600; margin: 0; }
.field-error:empty { display: none; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; flex-shrink: 0; width: 1.1em; height: 1.1em; margin-top: 0.15em; border-radius: 50%; background: var(--error); color: var(--white); font-size: 0.75em; }
.char-count { font-size: 0.82rem; color: var(--slate); text-align: right; margin: 0; }
.check-field { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-field input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex-shrink: 0; accent-color: var(--teal-600); }
.check-field label { font-weight: 500; color: var(--ink); font-size: 0.95rem; }

/* Honeypot: removed from view and from the accessibility tree */
.hp-field { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-actions .small { font-size: 0.88rem; color: var(--slate); margin: 0; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 550; display: none; }
.form-status.is-visible { display: block; }
.form-status--success { background: #e7f6f0; border: 1px solid #7cc7a8; color: var(--success); }
.form-status--error { background: #fdecea; border: 1px solid #f0a39b; color: var(--error); }
.form-status--info { background: var(--mist); border: 1px solid var(--line); color: var(--ink); }
.form-status:focus { outline: var(--focus); outline-offset: 2px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.45); border-top-color: var(--white); animation: spin 0.8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.aside-stack { display: grid; gap: 1.25rem; }
.aside-card { padding: 1.6rem; border-radius: var(--radius-lg); background: var(--mist); border: 1px solid var(--line); }
.aside-card h2 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.aside-card p:last-child, .aside-card ul:last-child, .aside-card ol:last-child { margin-bottom: 0; }
.aside-card--navy { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: var(--on-navy); border: 0; }
.aside-card--navy h2 { color: var(--white); }
.num-list { padding-left: 1.2rem; display: grid; gap: 0.5rem; }

/* 10. Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--on-navy); padding-top: clamp(3.5rem, 6vw, 5rem); font-size: 0.97rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 3rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer .brand { color: var(--white); }
.site-footer .brand__sub { color: var(--teal-300); }
.footer-about { max-width: 38ch; margin-top: 1.1rem; }
.footer-col h2 { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; font-size: 0.88rem; }
.footer-bottom p { margin: 0; }
.footer-note { font-size: 0.85rem; color: #a9bbcd; }

/* 11. Utilities ----------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.muted { color: var(--slate); }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: 0.4rem 0.85rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 550; color: var(--navy-900); }
.section--navy .pill-list li { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: var(--white); }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.not-found .code { font-family: var(--font-serif); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--teal-300); margin-bottom: 0.5rem; }

/* Reveal-on-scroll (progressive enhancement; content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* 12. Motion preferences -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__art .float { animation: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero__art .float { animation: float 7s ease-in-out infinite; transform-box: fill-box; }
  .hero__art .float--2 { animation-delay: -3s; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}

/* Windows High Contrast / forced colors */
@media (forced-colors: active) {
  .btn, .card, .nav-toggle, .field input, .field select, .field textarea { border: 1px solid CanvasText; }
  .check-list li::before { forced-color-adjust: none; }
}

/* 13. Print --------------------------------------------------------------- */
@media print {
  .site-header, .nav-toggle, .skip-link, .cta-band, .hero__art, .page-hero__icon, .site-footer .footer-grid, form, .btn { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero, .page-hero, .section--navy { background: none !important; color: #000; padding-block: 1rem; }
  .hero h1, .page-hero h1, .section--navy h2, .section--navy h3 { color: #000; }
  .hero .lead, .page-hero .lead, .breadcrumb a { color: #333; }
  .hero::before, .page-hero::before { display: none; }
  .site-footer { background: none; color: #000; padding-top: 0; }
  .card, .tile, .steps li { box-shadow: none; break-inside: avoid; border-color: #999; }
  a { color: #000; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Odd last feature card spans the full row in two-column grids */
@media (min-width: 900px) {
  .grid--2 > .feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.center .btn-row, .not-found .btn-row { justify-content: center; }
.center .lead { margin-inline: auto; }


/* Compact two-up tile grid used beside text */
.grid--tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

/* ==========================================================================
   v2 ENHANCEMENTS — photography, layered backgrounds, top bar, logo
   ========================================================================== */

:root {
  --pattern-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M29 22h6v7h7v6h-7v7h-6v-7h-7v-6h7z' fill='%230e7c7b' fill-opacity='0.07'/%3E%3C/svg%3E");
  --pattern-cross-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M29 22h6v7h7v6h-7v7h-6v-7h-7v-6h7z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  --pattern-dots: radial-gradient(rgba(14, 124, 123, 0.12) 1px, transparent 1.2px);
  --header-h: 84px;
}
body { font-size: 1.05rem; }
h1, h2 { letter-spacing: -0.015em; }
h3 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(1.1rem, 1.6vw, 1.22rem); }
.section--navy h3, .hero h3 { color: var(--white); }

/* Top contact bar */
.topbar { background: var(--navy-900); color: var(--on-navy); font-size: 0.88rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; flex-wrap: wrap; min-height: 42px; padding-block: 0.35rem; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: var(--teal-300); text-decoration: underline; }
.topbar svg { width: 16px; height: 16px; color: var(--teal-300); }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.topbar__note { color: #a9bbcd; }
@media (max-width: 720px) { .topbar__note { display: none; } .topbar__inner { justify-content: center; } }

/* Logo image */
.brand--logo img { height: 56px; width: auto; display: block; }
@media (max-width: 480px) { .brand--logo img { height: 48px; } }
.footer-logo { display: inline-block; background: var(--white); border-radius: 14px; padding: 0.6rem 0.9rem; }
.footer-logo img { height: 56px; width: auto; }

/* Header refinement */
.site-header { background: rgba(255, 255, 255, 0.95); }
.nav-list a { font-weight: 600; }

/* Photo hero */
.hero--photo { background: var(--navy-900); padding-block: clamp(5rem, 11vw, 8.5rem) clamp(5rem, 11vw, 8.5rem); }
.hero__bg, .page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img, .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero--photo::after, .page-hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 420px at 12% 110%, rgba(14, 124, 123, 0.45), transparent 60%),
    linear-gradient(90deg, rgba(11, 31, 58, 0.97) 0%, rgba(11, 31, 58, 0.93) 55%, rgba(11, 31, 58, 0.72) 80%, rgba(11, 31, 58, 0.5) 100%);
}
.hero--photo::before, .page-hero--photo::before { z-index: -1; background-image: var(--pattern-cross-light); background-size: 64px 64px; opacity: 1; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%); mask-image: linear-gradient(90deg, #000 0%, transparent 70%); }
@media (max-width: 900px) {
  .hero--photo::after, .page-hero--photo::after { background: linear-gradient(180deg, rgba(11, 31, 58, 0.93) 0%, rgba(11, 31, 58, 0.95) 100%); }
}
.hero--photo .hero__content { max-width: 680px; }
.hero--photo h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; }
.hero__contact { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; margin-top: 1.75rem; }
.hero__contact a { color: var(--white); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__contact a:hover { color: var(--teal-300); text-decoration: underline; }
.hero__contact svg { width: 20px; height: 20px; color: var(--teal-300); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2.25rem 0 0; padding: 0; list-style: none; }
.hero-badges li { padding: 0.5rem 0.95rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); color: var(--white); font-size: 0.88rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.page-hero--photo { background: var(--navy-900); padding-block: clamp(4.5rem, 9vw, 7rem); }

/* Layered section backgrounds */
.section--pattern { background-color: var(--mist); background-image: var(--pattern-cross); background-size: 64px 64px; }
.section--teal-soft {
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(79, 209, 197, 0.18), transparent 60%),
    radial-gradient(600px 320px at 0% 100%, rgba(28, 66, 119, 0.08), transparent 60%),
    linear-gradient(180deg, #f6fbfb 0%, #eef6f7 100%);
}
.section--navy {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(79, 209, 197, 0.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(28, 66, 119, 0.85), transparent 60%),
    var(--navy-900);
  isolation: isolate;
}
.section--navy::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern-cross-light); background-size: 64px 64px; }
.section--dots { background-color: var(--white); background-image: var(--pattern-dots); background-size: 22px 22px; }

/* Photo cards */
.photo-card { padding: 0; overflow: hidden; }
.photo-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.photo-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-card:hover .photo-card__media img { transform: scale(1.04); }
.photo-card__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, rgba(11, 31, 58, 0.45), transparent); }
.photo-card__body { padding: clamp(1.4rem, 3vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.photo-card__icon { position: absolute; left: 1.25rem; bottom: -24px; z-index: 2; margin: 0; background: var(--white); box-shadow: var(--shadow); }
.photo-card .photo-card__body { padding-top: 2.25rem; }
.photo-card .kicker { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-600); margin-bottom: 0.35rem; }
.photo-card__media-wrap { position: relative; }

/* Framed media with accent */
.media { position: relative; margin: 0; }
.media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.media::before { content: ""; position: absolute; z-index: 0; inset: 18px -18px -18px 18px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--teal-300), var(--teal-600)); opacity: 0.25; }
.media--left::before { inset: 18px 18px -18px -18px; }
.media__badge {
  position: absolute; z-index: 2; left: -12px; bottom: 28px; max-width: 260px;
  display: flex; gap: 0.75rem; align-items: center;
  background: var(--white); border-radius: var(--radius); padding: 0.9rem 1.1rem; box-shadow: var(--shadow-lg);
  font-weight: 650; color: var(--navy-900); font-size: 0.95rem; line-height: 1.35;
}
.media__badge .card__icon { width: 42px; height: 42px; margin: 0; border-radius: 12px; flex-shrink: 0; }
.media__badge .card__icon svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .media__badge { left: 10px; bottom: 10px; } .media::before { display: none; } }
.photo-note { font-size: 0.8rem; color: var(--slate); margin-top: 1.5rem; }

/* Topic tiles on pattern background */
.topic { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; height: 100%; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.topic:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.topic .card__icon { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 1rem; }
.topic .kicker { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-600); margin: 0 0 0.3rem; }
.topic h3 { margin-bottom: 0.4rem; }
.topic p { margin: 0; color: var(--slate); font-size: 0.98rem; }

/* Steps with labels */
.steps .step-label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-300); margin-bottom: 0.35rem; }
.section:not(.section--navy) .steps .step-label { color: var(--teal-600); }

/* Highlight band with photo */
.feature-band { display: grid; grid-template-columns: 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); color: var(--on-navy); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .feature-band { grid-template-columns: 0.9fr 1.1fr; } }
.feature-band__media { min-height: 260px; position: relative; }
.feature-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-band__body { padding: clamp(2rem, 5vw, 3.25rem); background: radial-gradient(500px 260px at 100% 0%, rgba(79, 209, 197, 0.2), transparent 60%), var(--navy-900); }
.feature-band__body h2, .feature-band__body h3 { color: var(--white); }
.feature-band__body p:last-child { margin-bottom: 0; }

/* Quote-style message block (company message, not a testimonial) */
.message-block { position: relative; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.message-block::before { content: "\201C"; position: absolute; top: -0.2em; left: 0.4em; font-family: var(--font-serif); font-size: 6rem; line-height: 1; color: var(--teal-300); opacity: 0.6; }
.message-block p { font-size: 1.12rem; }
.message-block .sig { font-weight: 700; color: var(--navy-900); margin: 0; font-size: 1rem; }

/* Contact cards */
.contact-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-bottom: 2rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; padding: 1.25rem 1.4rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
a.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(14, 124, 123, 0.4); color: var(--ink); }
.contact-card .card__icon { margin: 0; width: 50px; height: 50px; flex-shrink: 0; }
.contact-card .label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.contact-card .value { display: block; font-weight: 700; color: var(--navy-900); font-size: 1.05rem; word-break: break-word; }

/* Photo CTA band */
.cta-band--photo { background: var(--navy-900); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 31, 58, 0.97) 0%, rgba(11, 31, 58, 0.92) 55%, rgba(10, 80, 90, 0.88) 100%); }
@media (max-width: 859px) { .cta-band--photo::before { background: rgba(11, 31, 58, 0.94); } }
.cta-band .btn-row { justify-content: flex-start; }
.cta-band__contact { margin-top: 0.9rem !important; font-weight: 600; }
.cta-band__contact a { color: var(--white); }
.cta-band__contact a:hover { color: var(--teal-300); }

/* Footer contact */
.footer-contact { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.5rem; }
.footer-contact a { color: var(--white); font-weight: 600; }

/* Section heading accent line under centered heads */
.section-head--center h2::after { content: ""; display: block; width: 64px; height: 3px; margin: 1rem auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--teal-600), var(--teal-300)); }

@media print {
  .topbar, .hero__bg, .page-hero__bg, .cta-band__bg, .media, .feature-band__media, .photo-card__media { display: none !important; }
  .hero--photo::after, .page-hero--photo::after, .section--navy::before { display: none; }
}
.h3-like { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { color: inherit; }
a.card h3 { color: var(--navy-900); }
a[href^="tel:"] { white-space: nowrap; }
.callout a, .form-status a { color: var(--teal-700); font-weight: 650; }

/* Photography refresh: clear imagery, restrained backgrounds, responsive crops. */
.hero--photo, .page-hero--photo {
  background: radial-gradient(ellipse at 10% 95%, #124a57 0%, transparent 65%), #0b1f3a;
}
.hero--photo { padding-block: clamp(4rem, 7vw, 6.25rem); }
.hero--photo .hero__content { max-width: 53%; }
.hero__bg, .page-hero__bg { inset: 0 0 0 47%; z-index: -2; }
.hero__bg img { object-position: 56% center; }
.hero--photo::after, .page-hero--photo::after {
  background: linear-gradient(90deg, #0b1f3a 0%, #0b1f3a 42%, rgba(11,31,58,.94) 47%, rgba(11,31,58,.3) 63%, rgba(11,31,58,.02) 80%),
    linear-gradient(0deg, rgba(11,31,58,.25), transparent 38%);
}
.hero--photo::before, .page-hero--photo::before { opacity: .4; }
.page-hero--photo .page-hero__inner { max-width: 55%; }
.page-hero--photo .breadcrumb { max-width: 55%; }
.page-hero--photo { min-height: 420px; padding-block: 4.5rem; }
.hero--photo h1 { font-size: clamp(2.6rem, 4.7vw, 4.2rem); }
.hero-badges { gap: .45rem; }
.hero-badges li { font-size: .77rem; padding: .45rem .7rem; }
.section--dots { background: radial-gradient(ellipse at 95% 0%, #eaf6f5 0%, transparent 45%), #fff; }
.section--pattern { background-color: #f2f7fa; background-image: radial-gradient(ellipse at 0% 100%, rgba(79,209,197,.11), transparent 60%), var(--pattern-cross); background-size: auto, 88px 88px; }
.photo-card { border-color: #dce9ec; box-shadow: 0 12px 35px -18px rgba(11,31,58,.22); }
.photo-card__media { aspect-ratio: 4 / 3; }
.photo-card__media::after { height: 25%; background: linear-gradient(0deg, rgba(11,31,58,.12), transparent); }
.media img { border: 6px solid #fff; }
.care-gallery { background: linear-gradient(145deg, #f0f8f8, #fff 60%, #edf3f9); }
.care-gallery__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.25rem; }
.care-gallery figure { margin: 0; background: #fff; border: 1px solid #dce9ec; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 38px -25px rgba(11,31,58,.35); }
.care-gallery__image { overflow: hidden; aspect-ratio: 4/3; }
.care-gallery img { width: 100%; height: 100%; object-fit: cover; }
.care-gallery figcaption { padding: 1.2rem 1.4rem; }
.care-gallery figcaption span { display: block; color: #0e7c7b; font-size: .74rem; text-transform: uppercase; font-weight: 700; letter-spacing: .13em; margin-bottom: .35rem; }
.care-gallery figcaption strong { color: #0b1f3a; font-size: 1.05rem; }
.care-gallery__note { margin: 1.5rem 0 0; color: #4a5b6e; font-size: .8rem; }
.cta-band--photo::before { background: linear-gradient(90deg, rgba(11,31,58,.98) 0%, rgba(11,31,58,.95) 44%, rgba(11,31,58,.7) 65%, rgba(11,31,58,.35) 100%); }
.cta-band--photo > h2, .cta-band--photo > p { max-width: 650px; }
@media (max-width: 1000px) and (min-width: 761px) {
  .hero--photo .hero__content { max-width: 62%; }
  .hero__bg, .page-hero__bg { left: 52%; }
  .page-hero--photo .page-hero__inner { max-width: 65%; }
}
@media (max-width: 760px) {
  .hero--photo, .page-hero--photo { display: flex; flex-direction: column; padding: 0; min-height: 0; }
  .hero--photo > .container, .page-hero--photo > .container { order: 1; width: 100%; padding-block: 3rem; }
  .hero--photo .hero__content, .page-hero--photo .page-hero__inner, .page-hero--photo .breadcrumb { max-width: none; }
  .hero__bg, .page-hero__bg { position: relative; inset: auto; order: 2; height: clamp(230px, 62vw, 380px); width: 100%; z-index: 0; }
  .hero__bg::after, .page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,.12), transparent 32%); }
  .hero--photo::after, .page-hero--photo::after { background: none; }
  .hero--photo::before, .page-hero--photo::before { opacity: .25; }
  .hero--photo h1 { font-size: clamp(2.5rem, 9vw, 3.6rem); }
  .hero-badges { margin-top: 1.5rem; }
  .care-gallery__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .care-gallery__image { aspect-ratio: 16/10; }
  .cta-band--photo::before { background: rgba(11,31,58,.9); }
}
@media print { .care-gallery { display: none; } }

/* Final responsive portrait, typography, and business contact system. */
html { scroll-behavior: smooth; }
body { font-size: 1.0625rem; line-height: 1.7; }
p, li, h1, h2, h3, a { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
.hero--photo .hero__content { max-width: 49%; }
.hero--photo .hero__bg { left: 45%; }
.hero--photo .hero__bg img { object-position: 80% center; }
.hero--photo::after { background: linear-gradient(90deg, #0b1f3a 0%, #0b1f3a 42%, rgba(11,31,58,.94) 47%, rgba(11,31,58,.18) 62%, transparent 76%); }
.hero--photo .lead { max-width: 33rem; color: #e1eaf2; }
.hero--photo h1 { font-size: clamp(2.5rem, 4.7vw, 4.1rem); }
.page-hero--scribe .page-hero__bg img { object-position: 24% center; }
.page-hero .lead { color: #e1eaf2; }
.photo-card__media img[src*="elite-assistant"], .photo-card__media img[src*="elite-billing"] { object-position: 78% center; }
.photo-card__media img[src*="elite-scribe"] { object-position: 32% center; }
.care-gallery img[src*="elite-assistant"], .care-gallery img[src*="elite-billing"] { object-position: 78% center; }
.care-gallery img[src*="elite-scribe"] { object-position: 32% center; }
.inquiry-section { background: radial-gradient(ellipse at 0% 0%, #d9f1ed, transparent 60%), #eff5f8; }
.inquiry-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.inquiry-intro { padding-top: 1rem; }
.inquiry-intro h2 em { color: #096a69; }
.inquiry-phone { display: block; width: fit-content; color: #0b1f3a; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; text-decoration: none; margin-top: 2rem; }
.inquiry-email { display: block; width: fit-content; color: #096a69; font-weight: 650; margin-top: .4rem; }
.inquiry-steps { padding-top: 2rem; border-top: 1px solid #bdd4da; margin-top: 2rem; }
.inquiry-steps strong { color: #0b1f3a; }
.form-card { border-top: 5px solid #0e7c7b; }
.form-card .eyebrow { color: #096a69; }
.form-delivery-note { background: #eff6f8; border-radius: 8px; padding: .8rem 1rem; font-size: .9rem; color: #364c60; }
.form-status .btn { margin-top: 1rem; color: #fff; }
.field label { font-size: 1rem; }
.field .hint, .small, .form-actions .small { font-size: .9rem; }
.form-grid, .field, .inquiry-layout > *, .grid > *, .split > * { min-width: 0; }
.field input, .field select, .field textarea { font-size: 1rem; }
#inquiry { scroll-margin-top: calc(var(--header-h) + 2rem); }
.contact-float { position: fixed; z-index: 30; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: .7rem; padding: .85rem 1.25rem; border: 2px solid #fff; border-radius: 999px; background: #0b1f3a; color: #fff; box-shadow: 0 8px 30px #0b1f3a33; font-size: .95rem; font-weight: 700; text-decoration: none; }
.contact-float span { display: grid; place-items: center; border-radius: 50%; width: 1.6rem; height: 1.6rem; color: #0b1f3a; background: #80e2de; }
.contact-float:hover { background: #0a6968; color: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #edab19; outline-offset: 5px; }
.site-footer { padding-bottom: 6rem; }
@media (max-width: 1100px) and (min-width: 761px) {
  .hero--photo .hero__content { max-width: 55%; }
  .hero--photo .hero__bg { left: 49%; }
  .hero--photo h1 { font-size: 3.1rem; }
  .hero__contact { font-size: .95rem; }
}
@media (max-width: 900px) { .inquiry-layout { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .hero--photo .hero__content { max-width: none; }
  .hero--photo .hero__bg { left: auto; }
  .hero--photo::after { background: none; }
  .hero__bg { height: clamp(260px, 70vw, 430px); }
  .hero__bg img { object-fit: cover; object-position: 82% center !important; }
  .hero--photo h1 { font-size: clamp(2.5rem, 9vw, 3.7rem); }
  .inquiry-intro h2 { font-size: 2.15rem; }
  .form-card { padding: 1.4rem; }
  .contact-float { padding: .7rem 1rem; font-size: .9rem; bottom: .85rem; right: .85rem; }
  .hero .btn-row .btn { min-height: 50px; }
}
@media (min-width: 1800px) {
  :root { --container: 1480px; --section-y: 7rem; }
  body { font-size: 1.2rem; }
  .hero--photo h1 { font-size: 5rem; }
  .page-hero h1 { font-size: 4.2rem; }
  .nav-list a, .topbar, .hero-badges li { font-size: 1rem; }
  .brand--logo img { height: 64px; }
  .hero--photo .lead { max-width: 39rem; }
}
@media (min-width: 2560px) {
  :root { --container: 1960px; --section-y: 8rem; --header-h: 110px; }
  html { font-size: 21px; }
  .hero--photo h1 { font-size: 5rem; }
  .brand--logo img { height: 80px; }
  .topbar__inner { min-height: 58px; }
  .header-inner { min-height: 110px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .contact-float, .inquiry-section { display: none !important; } }
/* Keep tablet text entirely off photography; show the portrait early on phones. */
@media (max-width: 1000px) {
  .hero--photo, .page-hero--photo { display: flex; flex-direction: column; padding: 0; min-height: 0; }
  .hero--photo > .container, .page-hero--photo > .container { order: 1; width: 100%; padding-block: 3rem; }
  .hero--photo .hero__content, .page-hero--photo .page-hero__inner, .page-hero--photo .breadcrumb { max-width: none; }
  .hero--photo .hero__bg, .page-hero__bg { position: relative; inset: auto; order: 2; width: 100%; height: clamp(260px, 60vw, 480px); z-index: 0; }
  .hero--photo::after, .page-hero--photo::after { background: none; }
  .hero__bg::after, .page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,.08), transparent 35%); }
}
@media (max-width: 600px) {
  .hero--photo > .hero__bg { order: 0; height: 270px; }
  .hero--photo > .container { padding-top: 2rem; }
}

/* Keep Free Learning navigation readable without crowding the existing header. */
@media (min-width:1101px) and (max-width:1350px) {
  .primary-nav > .btn { display:none; }
  .primary-nav { gap:.5rem; }
  .nav-list { gap:.1rem; }
  .nav-list a { font-size:.9rem; padding-inline:.55rem; }
}
