/* Loop Medical Center — site styles
   Editorial serif headlines, warm neutrals, Loop navy + sun-yellow accents. */

:root {
  --navy: #0e2a47;
  --navy-2: #173b62;
  --navy-deep: #0a1f36;
  --ink: #16283b;
  --muted: #4d5e70;
  --blue: #2c5fbf;
  --sky: #a3bac8;
  --mist: #eaf0f4;
  --mist-2: #dfe8ee;
  --cream: #f7f4ee;
  --paper: #ffffff;
  --sun: #f5e26b;
  --sun-2: #eed54a;
  --sun-soft: #fbf3cf;
  --line: #dde4ea;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(14, 42, 71, .06), 0 12px 32px -12px rgba(14, 42, 71, .18);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .5em; font-weight: 500; text-wrap: balance; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.1vw, 3rem); line-height: 1.1; }
h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.2; }
h4 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; }
h1 em, h2 em { color: var(--blue); font-style: italic; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); line-height: 1.6; }
.eyebrow {
  display: inline-block; font: 700 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.muted { color: var(--muted); }
.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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-sun { background: var(--sun); color: var(--navy); }
.btn-sun:hover { background: var(--sun-2); color: var(--navy); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.prose .btn { color: #fff; text-decoration: none; text-transform: none; }
.link-arrow { font-weight: 700; color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform .18s ease; }
.link-arrow:hover { color: var(--blue); }
.link-arrow:hover::after { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--sun-soft); color: var(--navy); font-size: .95rem; }
.announce .container { display: flex; gap: 8px 22px; justify-content: center; align-items: center; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.announce a { color: var(--navy); font-weight: 700; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.announce .short { display: none; }
@media (max-width: 700px) {
  .announce { font-size: .88rem; }
  .announce .container { padding-top: 8px; padding-bottom: 8px; gap: 4px 12px; }
  .announce .long { display: none; }
  .announce .short { display: inline; }
}

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(14, 42, 71, .4); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-link, .nav-toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px;
  font: 600 .98rem/1 var(--sans); color: var(--navy); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-toggle:hover, .nav-item.open > .nav-toggle { background: var(--mist); color: var(--navy); }
.nav-link[aria-current="page"] { color: var(--blue); }
.nav-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-item { position: relative; }
.nav-item.open > .nav-toggle svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 290px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s, transform .16s, visibility .16s;
}
.nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--navy); text-decoration: none; font-weight: 600; }
.dropdown a small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.dropdown a:hover { background: var(--mist); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 999px; border: 0; background: var(--mist); color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .header-actions .portal { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .menu-btn { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h)); background: #fff;
    overflow-y: auto; overscroll-behavior: contain; padding: 16px var(--gutter) 120px; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; height: 58px; padding: 0 4px; font-size: 1.15rem; border-radius: 0; }
  .nav-link:hover, .nav-toggle:hover, .nav-item.open > .nav-toggle { background: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; display: none; }
  .nav-item.open > .dropdown { display: block; }
  .dropdown a { padding: 10px 4px; }
  .nav-mobile-cta { display: grid !important; gap: 12px; margin-top: 24px; }
}
.nav-mobile-cta { display: none !important; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 5vw + 32px, 120px) 0; }
.section-sm { padding: clamp(48px, 3vw + 28px, 80px) 0; }
.bg-cream { background: var(--cream); }
.bg-mist { background: var(--mist); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero { background: var(--cream); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; min-height: min(680px, calc(100vh - var(--header-h) - 44px)); padding-top: 48px; padding-bottom: 48px; }
.hero h1 { margin-bottom: 22px; font-size: clamp(2.4rem, 1.2rem + 3.3vw, 4.05rem); }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.trust-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .96rem; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.trust-list svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

.orb { position: relative; width: min(100%, 560px); margin-left: auto; aspect-ratio: 1; }
.orb .ring { position: absolute; inset: -4% -4% -4% -10%; border: 2px solid var(--blue); border-radius: 50%; clip-path: inset(0 55% 0 0); pointer-events: none; }
.orb .photo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--mist); }
.orb .photo img { width: 100%; height: 100%; object-fit: cover; }
.orb .badge {
  position: absolute; left: -6%; bottom: 8%; background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; gap: 12px; align-items: center; max-width: 260px;
}
.orb .badge strong { display: block; font: 600 1.5rem/1 var(--serif); color: var(--navy); }
.orb .badge span { font-size: .88rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }
.orb .badge .dot { width: 44px; height: 44px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; color: var(--navy); flex: none; }
.orb .badge .dot svg { width: 22px; height: 22px; }
.orb .badge.top { left: auto; right: -2%; top: 6%; bottom: auto; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 28px; padding-top: 36px; }
  .orb { margin: 12px auto 0; width: min(88%, 420px); }
  .orb .badge { left: -4%; }
  .orb .badge.top { right: -4%; }
}

/* Interior page hero */
.page-hero { background: var(--cream); padding: clamp(40px, 4vw + 16px, 80px) 0 clamp(48px, 5vw + 16px, 96px); overflow: hidden; }
.page-hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.9rem); margin-bottom: 20px; }
.page-hero .lead { max-width: 620px; margin-bottom: 28px; }
.page-hero.compact .lead { margin-bottom: 0; }
.arch { position: relative; width: min(100%, 440px); margin-left: auto; }
.arch .frame { border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); }
.arch .frame img { width: 100%; height: 100%; object-fit: cover; }
.arch .ring { position: absolute; inset: -18px -18px auto -18px; aspect-ratio: 1; border: 2px solid var(--blue); border-radius: 50%; clip-path: inset(0 0 50% 0); pointer-events: none; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--sky); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
@media (max-width: 900px) {
  .page-hero .grid { grid-template-columns: 1fr; gap: 36px; }
  .arch { margin: 0 auto; width: min(80%, 360px); }
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 36px); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.story-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.story-card .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist-2); margin-bottom: 22px; }
.story-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-card:hover .media img { transform: scale(1.04); }
.story-card h3 { margin-bottom: 10px; }
.story-card p { color: var(--muted); margin-bottom: 16px; }
.story-card .link-arrow { margin-top: auto; }
.story-card:hover h3 { color: var(--blue); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 34px); }
.card h3 { margin-bottom: 12px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.soft { background: var(--cream); border-color: transparent; }
a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .18s, box-shadow .18s, transform .18s; }
a.card:hover { border-color: var(--sky); box-shadow: var(--shadow); transform: translateY(-2px); }
a.card p { color: var(--muted); }
a.card .link-arrow { margin-top: auto; padding-top: 8px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230e2a47' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list.two-col { grid-template-columns: 1fr 1fr; gap: 12px 32px; }
@media (max-width: 640px) { .check-list.two-col { grid-template-columns: 1fr; } }

/* Feature grid with icons */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; margin-top: 56px; }
.feature { text-align: center; padding: 0 8px; }
.feature .icon { width: 84px; height: 84px; margin: 0 auto 18px; position: relative; display: grid; place-items: center; color: var(--navy); }
.feature .icon::before { content: ""; position: absolute; width: 58px; height: 58px; right: 4px; top: 4px; border-radius: 50%; background: var(--sun); opacity: .9; }
.feature .icon svg { position: relative; width: 44px; height: 44px; }
.feature h3 { font-size: 1.3rem; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; gap: 36px; } }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-top: 2px solid var(--navy); padding-top: 16px; }
.stat strong { display: block; font: 500 clamp(2rem, 1.4rem + 2vw, 3rem)/1 var(--serif); color: var(--navy); margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .98rem; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split.top { align-items: start; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; } }
.portrait { position: relative; width: min(100%, 460px); margin: 0 auto; aspect-ratio: 1; }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--mist); }
.portrait .ring { position: absolute; inset: -5%; border: 2px solid var(--blue); border-radius: 50%; clip-path: inset(50% 0 0 0); }
/* Follows the bio while scrolling on desktop only; on stacked mobile layouts it stays put. */
@media (min-width: 901px) { .portrait-sticky { position: sticky; top: calc(var(--header-h) + 32px); } }
.quote { font: italic 400 clamp(1.3rem, 1.1rem + .7vw, 1.7rem)/1.4 var(--serif); color: var(--navy); border-left: 3px solid var(--sun); padding-left: 22px; margin: 0 0 24px; }
.creds { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.creds li { display: flex; gap: 12px; align-items: flex-start; }
.creds svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 3px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 1.1rem/1 var(--serif); margin-bottom: 16px; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.review { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.review .mark { font: 500 4rem/0.6 var(--serif); color: var(--sun-2); height: 28px; }
.review blockquote { margin: 0 0 22px; font: 400 1.22rem/1.5 var(--serif); color: var(--navy); }
.review figcaption { margin-top: auto; font-weight: 700; color: var(--navy); }
.review figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* Insurance chips */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { background: #fff; border: 1px solid var(--line); color: var(--navy); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: .95rem; }

/* Locations */
.location { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.location .pic { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; background: var(--mist); }
.location .pic img { width: 100%; height: 100%; object-fit: cover; }
.location h3 { margin-bottom: 6px; }
.location address { font-style: normal; color: var(--muted); margin-bottom: 8px; }
.location .hours { font-size: .95rem; color: var(--ink); margin-bottom: 14px; }
.tag { display: inline-block; background: var(--sun-soft); color: var(--navy); font: 700 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; margin-bottom: 10px; }
@media (max-width: 560px) { .location { grid-template-columns: 1fr; text-align: left; } .location .pic { width: 120px; height: 120px; } }

.hours-table { width: 100%; border-collapse: collapse; font-size: .96rem; margin: 8px 0 18px; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; color: var(--muted); }
.hours-table tr.closed td:last-child { color: #8a97a4; }
.map { border: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); background: var(--mist); display: block; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font: 500 clamp(1.15rem, 1.05rem + .4vw, 1.35rem)/1.35 var(--serif); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230e2a47' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 24px 0; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; text-align: center; padding: clamp(64px, 5vw + 32px, 112px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border: 2px solid rgba(163, 186, 200, .25); border-radius: 50%; left: -180px; top: -260px; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border: 2px solid rgba(245, 226, 107, .25); border-radius: 50%; right: -140px; bottom: -220px; }
.cta-band h2 { color: #fff; max-width: 820px; margin: 0 auto 14px; position: relative; }
.cta-band p { color: rgba(255, 255, 255, .82); font-size: 1.12rem; margin-bottom: 32px; position: relative; }
.cta-band .actions { justify-content: center; position: relative; }

/* Callout */
.callout { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.callout h3 { color: #fff; margin-bottom: 8px; }
.callout p { color: rgba(255, 255, 255, .82); margin: 0; }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }

/* ---------- Prose (imported articles) ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.prose { max-width: 720px; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: 1.6em 0 .5em; }
.prose h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); margin: 1.5em 0 .45em; }
.prose h4 { margin: 1.4em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.prose blockquote { font: italic 1.25rem/1.5 var(--serif); color: var(--navy); border-left: 3px solid var(--sun); margin: 1.5em 0; padding-left: 20px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); color: var(--navy); }
.prose .video, .prose .map-embed { position: relative; width: 100%; margin: 1.75em 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--mist); }
.prose .video { aspect-ratio: 16 / 9; }
.prose .map-embed { aspect-ratio: 4 / 3; }
.prose .video iframe, .prose .map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .feature-img { margin-top: 0; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--cream); border-radius: var(--radius); padding: 30px; }
.aside-card h3 { font-size: 1.45rem; }
.aside-card p { color: var(--muted); font-size: .98rem; }
.aside-card .btn { width: 100%; margin-bottom: 10px; }
.aside-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.aside-card .mini { font-size: .92rem; color: var(--muted); }
.aside-card .mini strong { color: var(--navy); }
.related { list-style: none; padding: 0; margin: 0; }
.related a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .96rem; }
.related a:hover { color: var(--blue); }

.post-meta { color: var(--muted); font-size: .95rem; }

/* Blog */
.post-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; text-decoration: none; color: inherit; margin-bottom: clamp(48px, 5vw, 72px); }
.post-feature .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist-2); }
.post-feature .media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.post-feature:hover h2 { color: var(--blue); }
.post-feature p { color: var(--muted); }
@media (max-width: 800px) { .post-feature { grid-template-columns: 1fr; } }
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--mist) 0%, var(--mist-2) 100%); }
.ph img { width: 42%; height: auto !important; opacity: .5; object-fit: contain !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .78); padding: 72px 0 32px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer .brand img { height: 56px; margin-bottom: 18px; }
.site-footer address { font-style: normal; margin-bottom: 14px; }
.footer-phone { font: 500 1.6rem/1 var(--serif); color: #fff !important; display: inline-block; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.footer-bottom nav { display: flex; gap: 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky call bar */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; }
  body { padding-bottom: 72px; }
}

/* Staging marker (only rendered on non-production builds) */
.staging-flag { background: var(--navy); color: var(--sun); font: 700 .68rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }

/* Reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
