/* ============================================================
   The Heart Hospital Clarksville — Modern Clinical
   ============================================================ */

/* ---- Tokens ---- */
:root {
  /* Brand */
  --heart-red: #BF0A32;      /* logo-correct */
  --heart-red-deep: #8A0823; /* darker hover */
  --heart-red-alt: #C01E30;  /* content-package variant for hover */
  --blue: #0057A0;
  --blue-deep: #003F7A;
  --gray-corp: #6E6F71;      /* corporate gray (logo guideline) */
  --ink: #1A1A1A;
  --ink-soft: #2A2A2D;
  --muted: #5A5C60;
  --muted-2: #8A8C90;
  --line: #E4E6EA;
  --line-strong: #D2D5DA;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --bg-tint: #F9FAFC;
  --bg-dark: #15171C;
  --bg-dark-2: #1F232B;

  /* Type */
  --font-display: "Fraunces", "Source Serif 4", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Sizes */
  --text-xs: 0.75rem;     /* 12 */
  --text-sm: 0.875rem;    /* 14 */
  --text-base: 1rem;      /* 16 */
  --text-md: 1.0625rem;   /* 17 */
  --text-lg: 1.125rem;    /* 18 */
  --text-xl: clamp(1.25rem, 1.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 2.2vw, 2rem);
  --text-3xl: clamp(1.875rem, 3.4vw, 2.75rem);
  --text-hero: clamp(2.5rem, 5.4vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(15, 18, 25, 0.05), 0 1px 3px rgba(15, 18, 25, 0.04);
  --shadow: 0 4px 12px rgba(15, 18, 25, 0.06), 0 2px 4px rgba(15, 18, 25, 0.04);
  --shadow-lg: 0 24px 48px -16px rgba(15, 18, 25, 0.18), 0 8px 16px rgba(15, 18, 25, 0.06);

  --container: 1240px;
  --container-narrow: 980px;
  --container-prose: 720px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--blue); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--blue-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
p { color: var(--ink-soft); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 1.75rem); }
.container--narrow { max-width: var(--container-narrow); }
.container--prose { max-width: var(--container-prose); }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--video { padding-top: clamp(1.5rem, 4vw, 3rem); background: #fff; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heart-red);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--heart-red);
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; color: #fff; }

/* ============================================================
   Emergency Banner
   ============================================================ */
.emergency-banner {
  background: var(--heart-red);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.emergency-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  text-align: center;
  flex-wrap: wrap;
}
.emergency-banner .pulse {
  display: none;
}
.emergency-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.emergency-banner a:hover { color: #fff; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .emergency-banner .pulse { animation: none; }
}

/* ============================================================
   Header / Nav
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.875rem 0;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.nav__logo img {
  height: 56px;
  width: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  padding: 0;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav__link {
  color: var(--ink-soft);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.005em;
  padding: 0.5rem 0;
  position: relative;
}
.nav__link:hover { color: var(--heart-red); }
.nav__link[aria-current="page"] {
  color: var(--heart-red);
}
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--heart-red);
}
.nav__emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--heart-red);
  color: #fff !important;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}
.nav__emergency:hover {
  background: var(--heart-red-deep);
  color: #fff !important;
  transform: translateY(-1px);
}
.nav__emergency svg { width: 14px; height: 14px; }

/* Mobile menu */
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; color: var(--ink); }

@media (max-width: 980px) {
  .nav__toggle { display: inline-flex; }
  .nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
  }
  .nav__list[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__list li { width: 100%; }
  .nav__link {
    display: block;
    padding: 0.625rem 0.5rem;
    border-radius: var(--radius-sm);
  }
  .nav__emergency { display: inline-flex; margin-top: 0.5rem; width: max-content; }
  .nav__logo img { height: 54px; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.375rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--heart-red);
  color: #fff;
}
.btn--primary:hover {
  background: var(--heart-red-deep);
  color: #fff;
}
.btn--secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost {
  background: transparent;
  color: var(--blue);
  border: 1px solid transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn--ghost:hover { color: var(--blue-deep); }
.btn--ghost::after {
  content: "→";
  transition: transform 0.18s var(--ease);
}
.btn--ghost:hover::after { transform: translateX(3px); }

.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: #000; color: #fff; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 50% at 0% 0%, rgba(0,87,160,0.04), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%);
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy { max-width: 36rem; }
.hero h1 {
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--heart-red); font-style: italic; font-weight: 500; }
.hero__lede {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 0.875rem;
  max-width: 34rem;
}
.hero__body {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 34rem;
}
.hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero__address {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--muted);
}
.hero__address svg { width: 16px; height: 16px; color: var(--heart-red); margin-top: 2px; flex-shrink: 0; }
.hero__address strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }

.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
}
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { aspect-ratio: 4 / 3; }
}

/* ============================================================
   Homepage video
   ============================================================ */
.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: var(--shadow);
}
.video-feature__copy {
  padding: clamp(0.75rem, 2vw, 1rem);
}
.video-feature__copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 0.875rem;
}
.video-feature__copy p {
  color: var(--muted);
  font-size: var(--text-md);
  margin: 0;
}
.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow-lg);
}
.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}
.video-fallback {
  grid-column: 2;
  margin: -1.75rem 0 0;
  font-size: var(--text-sm);
  color: var(--muted);
}
.video-fallback a {
  color: var(--blue);
  font-weight: 700;
}
@media (max-width: 880px) {
  .video-feature { grid-template-columns: 1fr; }
  .video-fallback { grid-column: 1; margin-top: -0.5rem; }
}

/* ============================================================
   Stat / Trust badges
   ============================================================ */
.trust {
  background: var(--ink);
  color: #fff;
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.trust__item {
  background: var(--ink);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.trust__item-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(191,10,50,0.18);
  color: var(--heart-red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.25rem;
}
.trust__item-icon svg { width: 16px; height: 16px; }
.trust__item-icon { color: #ff7e8f; }
.trust__item h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.trust__item p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 880px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Section heading
   ============================================================ */
.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 44rem;
}
.section-head h2 {
  font-size: var(--text-3xl);
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.section-head p {
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: 1.55;
  max-width: 38rem;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head--row > div { max-width: 36rem; }

/* ============================================================
   Services
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.service {
  grid-column: span 4;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.service:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.service__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--heart-red);
  letter-spacing: 0.1em;
  font-style: italic;
}
.service__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(191,10,50,0.08);
  color: var(--heart-red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.5rem;
}
.service__icon svg { width: 22px; height: 22px; }
.service h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.service__brief {
  font-size: var(--text-sm);
  color: var(--heart-red);
  font-weight: 500;
  font-style: italic;
  font-family: var(--font-display);
}
.service__desc {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: 1.6;
}
.service--feature {
  grid-column: span 8;
  background: var(--ink);
  color: #fff;
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.service--feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 100% 0%, rgba(191,10,50,0.22), transparent 60%);
  pointer-events: none;
}
.service--feature h3 { color: #fff; font-size: var(--text-2xl); }
.service--feature .service__brief { color: #ff8597; }
.service--feature .service__desc { color: rgba(255,255,255,0.78); }
.service--feature .service__icon { background: rgba(255,255,255,0.08); color: #fff; }
.service--feature .service__num { color: #ff8597; }
.service--feature > * { position: relative; z-index: 1; }

@media (max-width: 1080px) {
  .service { grid-column: span 6; }
  .service--feature { grid-column: span 12; }
}
@media (max-width: 640px) {
  .service { grid-column: span 12; }
}

/* ============================================================
   Editorial split section
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split--text-first .split__media { order: 2; }
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
}
.split__media--wide {
  aspect-ratio: 16 / 10;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__copy h2 {
  font-size: var(--text-3xl);
  font-weight: 500;
  margin: 0.5rem 0 1.25rem;
  letter-spacing: -0.02em;
}
.split__copy p {
  font-size: var(--text-md);
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 32rem;
}
.split__copy p.lede {
  font-size: var(--text-lg);
  color: var(--ink);
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--text-first .split__media { order: 0; }
}

/* ============================================================
   Mission pull-quote
   ============================================================ */
.mission {
  background: var(--heart-red);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.mission::before {
  content: "“";
  position: absolute;
  top: -2rem; left: 1.5rem;
  font-family: var(--font-display);
  font-size: 12rem;
  line-height: 1;
  color: rgba(255,255,255,0.12);
}
.mission__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}
.mission__quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.35;
  font-style: italic;
  color: #fff;
  max-width: 52rem;
  letter-spacing: -0.005em;
}
.mission__attribution {
  margin-top: 1.5rem;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}

/* ============================================================
   Stat row (about page)
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 2rem 1.5rem 2rem 0;
  border-right: 1px solid var(--line);
}
.stat:nth-child(3n), .stat:last-child { border-right: 0; }
.stat:nth-child(n+4) { padding-top: 2rem; border-top: 1px solid var(--line); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 500;
  color: var(--heart-red);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stat__num .unit { font-size: 0.6em; color: var(--ink); margin-left: 0.15em; }
.stat__label {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
  max-width: 18rem;
}
@media (max-width: 880px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(2n+1) { border-right: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 2rem; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
  .stat:last-child { border-bottom: 0; }
}

/* ============================================================
   Map / Find Us
   ============================================================ */
.findus {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.findus__map {
  background: var(--bg-alt);
  min-height: 380px;
  position: relative;
}
.findus__map iframe {
  width: 100%; height: 100%; border: 0; min-height: 380px;
  display: block;
}
.findus__info {
  padding: clamp(2rem, 4vw, 3rem);
}
.findus__info h3 {
  font-size: var(--text-2xl);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.findus__row {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--muted);
}
.findus__row:first-of-type { border-top: 0; padding-top: 0; }
.findus__row svg {
  width: 18px; height: 18px;
  color: var(--heart-red);
  margin-top: 1px;
  flex-shrink: 0;
}
.findus__row strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 0.125rem; }
@media (max-width: 880px) {
  .findus { grid-template-columns: 1fr; }
}

/* ============================================================
   Careers — benefits & openings
   ============================================================ */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.benefit {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: #fff;
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}
.benefit__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(0,87,160,0.08);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.benefit__icon svg { width: 18px; height: 18px; }
.benefit h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--ink);
}
.benefit p {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 880px) {
  .benefits { grid-template-columns: 1fr; }
}

.openings {
  border-top: 1px solid var(--line);
}
.opening {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.18s var(--ease);
}
.opening:hover { padding-left: 0.5rem; }
.opening__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--muted-2);
  min-width: 2.5rem;
}
.opening__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--ink);
}
.opening__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.375rem 0.625rem;
  background: var(--bg-alt);
  border-radius: 999px;
}
@media (max-width: 640px) {
  .opening { grid-template-columns: 1fr; gap: 0.375rem; }
  .opening__num { display: none; }
  .opening__tag { justify-self: start; }
}

/* ============================================================
   News / Blog cards
   ============================================================ */
.posts {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.post {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.post--feature { grid-column: span 12; }
.post--feature .post__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; }
.post--feature .post__media { aspect-ratio: auto; min-height: 280px; }
.post__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--heart-red), var(--heart-red-deep));
  position: relative;
  overflow: hidden;
}
.post__media svg.pattern {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.18;
}
.post__media-label {
  position: absolute;
  bottom: 1rem; left: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.5);
}
.post__body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}
.post__meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.post__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.post__meta .cat { color: var(--heart-red); font-weight: 600; }
.post h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.post--feature h3 { font-size: var(--text-2xl); }
.post p {
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}
.post__more {
  color: var(--blue);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-top: auto;
  display: inline-flex; gap: 0.375rem; align-items: center;
}
.post__more::after { content: "→"; transition: transform 0.18s var(--ease); }
.post:hover .post__more::after { transform: translateX(3px); }
@media (max-width: 880px) {
  .post { grid-column: span 12; }
  .post--feature .post__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   Contact form
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info > * + * { margin-top: 1.5rem; }
.contact-info__item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}
.contact-info__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--heart-red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info__icon svg { width: 18px; height: 18px; }
.contact-info__item h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 0.125rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-info__item p, .contact-info__item a {
  font-size: var(--text-md);
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}
.contact-info__item a { color: var(--blue); }

.disclaimer {
  background: rgba(191,10,50,0.06);
  border: 1px solid rgba(191,10,50,0.25);
  border-left: 4px solid var(--heart-red);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.disclaimer__icon {
  color: var(--heart-red);
  flex-shrink: 0;
  margin-top: 1px;
}
.disclaimer h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--heart-red);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.disclaimer p {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form__field { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.form__field--full { grid-column: 1 / -1; }
.form__field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.form__field label .req { color: var(--heart-red); margin-left: 2px; }
.form__field input,
.form__field select,
.form__field textarea {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.875rem;
  font-size: var(--text-md);
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  width: 100%;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,87,160,0.18);
}
.form__field textarea { resize: vertical; min-height: 140px; font-family: inherit; }
.form__success {
  display: none;
  padding: 1rem 1.125rem;
  background: rgba(67, 122, 34, 0.08);
  border: 1px solid rgba(67, 122, 34, 0.3);
  border-radius: var(--radius);
  color: #2F5418;
  font-size: var(--text-sm);
  margin-bottom: 1rem;
}
.form__success[data-show="true"] { display: block; }
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 2rem;
}
.cta-banner h2 {
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.625rem;
}
.cta-banner p { color: var(--muted); margin-bottom: 0; font-size: var(--text-md); }
.cta-banner__ctas { display: flex; gap: 0.75rem; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 760px) {
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner__ctas { justify-content: flex-start; }
}

/* ============================================================
   Page hero (interior)
   ============================================================ */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%);
}
.page-hero h1 {
  font-size: var(--text-3xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  max-width: 24ch;
}
.page-hero .lede {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.55;
}
.breadcrumbs {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { margin: 0 0.5rem; color: var(--line-strong); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.78);
  padding: clamp(3rem, 5vw, 4.5rem) 0 1.5rem;
  margin-top: clamp(3rem, 5vw, 4rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer__brand img {
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  height: 64px;
  width: auto;
  margin-bottom: 1.25rem;
}
.footer__brand p {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 22rem;
}
.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer__col ul { list-style: none; padding: 0; }
.footer__col li { margin-bottom: 0.625rem; }
.footer__col a {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
}
.footer__bottom .meta { display: flex; gap: 1.25rem; flex-wrap: wrap; }
@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   Utility
   ============================================================ */
.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;
}
.text-red { color: var(--heart-red); }
.text-blue { color: var(--blue); }
.divider {
  height: 1px;
  background: var(--line);
  margin: clamp(3rem, 5vw, 4rem) 0;
}
