/* ===========================================================
   MiamiSurgeryGuide — editorial edition
   -----------------------------------------------------------
   Palette   D&D navy + green on white and cool grey. No gradients.
   Type      Cormorant Garamond (headlines), Montserrat (reading),
             Akzidenz Grotesk Extended (small category labels only).
   Shapes    Square corners. Rules (hairlines) instead of boxes.
   =========================================================== */

/* ---------- Fonts (self-hosted, Latin subset) ---------- */
@font-face { font-family: 'Cormorant Garamond'; src: url('../assets/fonts/CormorantGaramond-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../assets/fonts/CormorantGaramond-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../assets/fonts/CormorantGaramond-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../assets/fonts/CormorantGaramond-600-italic.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../assets/fonts/Montserrat-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../assets/fonts/Montserrat-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../assets/fonts/Montserrat-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../assets/fonts/Montserrat-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../assets/fonts/Montserrat-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Akzidenz Grotesk Extended'; src: url('../assets/fonts/AkzidenzGrotesk-MediumExtended.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* D&D Pharmacy brand (danddpharmacy.com) */
  --navy: #0a355e;
  --navy-deep: #062340;
  --navy-700: #1a4f7e;
  --green: #0fa04e;
  --green-700: #0b7a3b;

  /* Neutrals — white and cool grey only */
  --ink: #14202e;
  --body: #2c3745;
  --muted: #5d6776;
  --mist: #f2f5f8;
  --rule: #d6dde5;
  --rule-strong: #14202e;
  --white: #ffffff;

  /* Status */
  --danger: #b3261e;
  --danger-tint: #fcefee;
  --amber: #9a6200;
  --ok-tint: #eef8f2;

  --maxw: 1280px;
  --gutter: 40px;
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));

  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Montserrat', -apple-system, 'Segoe UI', Arial, sans-serif;
  --label: 'Akzidenz Grotesk Extended', 'Montserrat', Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
figcaption { font-size: 11px; letter-spacing: .02em; color: var(--muted); margin-top: 8px; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 200; }
.small { font-size: 14px; }
.muted { color: var(--muted); }

/* Category labels — the only place Akzidenz appears */
.label, .kicker {
  font-family: var(--label); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  line-height: 1.3; color: var(--green-700); margin: 0 0 12px;
}
.dek { font-size: 15px; color: var(--muted); margin: 8px 0 0; }

/* Buttons: rectangular, small caps, one primary per view */
.btn {
  display: inline-block; background: var(--navy-deep); color: #fff; text-decoration: none; text-align: center;
  font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding: 18px 28px; border: 1px solid var(--navy-deep); border-radius: 0; transition: background .15s, color .15s;
}
.btn:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.btn.btn-ghost { background: transparent; color: var(--navy-deep); }
.btn.btn-ghost:hover { background: var(--navy-deep); color: #fff; }
.btn.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn.btn-danger:hover { background: #8c1d17; border-color: #8c1d17; }
.tlink { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.tlink::after { content: " →"; }
.actions, .cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }

/* ---------- Topline & masthead ---------- */
.topline { background: var(--navy-deep); color: #c9d6e4; font-size: 12px; letter-spacing: .02em; }
.topline .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topline a { color: #fff; font-weight: 600; text-decoration: none; }
.topline a:hover { text-decoration: underline; color: #fff; }

.masthead { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--rule); }
.masthead .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 29px; letter-spacing: -.01em; color: var(--navy-deep); text-decoration: none; white-space: nowrap; line-height: 1; }
.wordmark em { font-weight: 500; color: var(--navy-700); padding: 0 1px; }
.wordmark:hover { color: var(--navy-deep); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav > a, .nav .dd > button { font: 500 14px/1 var(--sans); color: var(--ink); text-decoration: none; background: none; border: 0; padding: 30px 0 28px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav > a:hover, .nav .dd > button:hover { color: var(--navy-700); }
.nav > a[aria-current="page"], .nav .dd.is-active > button { border-bottom-color: var(--green); }
.nav .dd { position: relative; }
.nav .dd > button::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; }
.nav .dd-menu { display: none; position: absolute; top: 100%; left: -20px; min-width: 280px; background: #fff; border: 1px solid var(--rule); border-top: 2px solid var(--navy-deep); padding: 10px 0; }
.nav .dd:hover .dd-menu, .nav .dd:focus-within .dd-menu, .nav .dd.open .dd-menu { display: block; }
.nav .dd-menu a { display: block; padding: 10px 20px; font-size: 14.5px; color: var(--ink); text-decoration: none; }
.nav .dd-menu a:hover, .nav .dd-menu a[aria-current="page"] { background: var(--mist); color: var(--navy-700); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; align-items: center; gap: 12px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding: 12px 0; }
.menu-btn-bars { display: block; width: 22px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }

/* ===========================================================
   HOME
   =========================================================== */

/* 1 — Opening spread: copy aligned to the grid, photo bleeding off the right edge */
.h-open { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(860px, calc(100vh - 110px)); border-bottom: 1px solid var(--rule); }
.h-open-copy { padding: 64px 72px 48px var(--edge); display: flex; flex-direction: column; }
.h-issue { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font: 500 10.5px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 auto; padding-bottom: 48px; }
.h-issue span + span { padding-left: 18px; border-left: 1px solid var(--rule); }
.h-open h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 6.1vw, 94px); line-height: .96; letter-spacing: -.022em; color: var(--navy-deep); max-width: 9.5em; }
.h-open h1 em { display: block; color: var(--navy-700); }
.h-intro { font-size: 18px; line-height: 1.6; max-width: 440px; margin: 30px 0 0; }
.h-cta { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-top: 34px; }
.h-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: auto 0 0; padding-top: 56px; }
.h-facts div { border-top: 1px solid var(--rule-strong); padding-top: 12px; }
.h-facts dt { font: 500 9.5px/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.h-facts dd { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink); }
.h-open-fig { position: relative; }
.h-open-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.h-open-fig figcaption { position: absolute; right: 12px; bottom: 10px; margin: 0; color: rgba(255,255,255,.9); text-shadow: 0 1px 2px rgba(0,0,0,.4); }

/* Shared section title — set on a strong rule, never centered */
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -.015em; border-top: 2px solid var(--rule-strong); padding-top: 18px; margin-bottom: 48px; }
.section-title em, .h-city h2 em, .h-close h2 em { color: var(--navy-700); }

/* 2 — Journey: three unequal columns divided by hairlines */
.h-journey { padding: 104px 0 96px; }
.h-journey-head { display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: end; border-top: 2px solid var(--rule-strong); padding-top: 18px; margin-bottom: 56px; }
.h-journey-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -.015em; }
.h-journey-head p { grid-column: 3; font-size: 17px; color: var(--muted); max-width: 520px; margin: 0; }
.stages { display: grid; grid-template-columns: 5fr 4fr 4fr; }
.stage { padding: 0 40px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.stage:first-child { padding-left: 0; border-left: 0; }
.stage:last-child { padding-right: 0; }
.stage-num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 64px; line-height: 1; color: var(--green-700); margin-bottom: 14px; }
.stage h3 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; margin-bottom: 12px; }
.stage > p { font-size: 15.5px; }
.stage-fig img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.stage-1 .stage-fig { margin-top: auto; padding-top: 36px; }
.stage-1 .stage-fig img { aspect-ratio: 5 / 4; }
.stage-3 .stage-fig { margin-bottom: 30px; }
.stage-links { list-style: none; padding: 0; margin: 12px 0 0; }
.stage-links li { border-top: 1px solid var(--rule); }
.stage-links a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; }
.stage-links a::after { content: "→"; color: var(--green-700); }
.stage-links a:hover { color: var(--navy-700); }
.stage-quote { margin: auto 0 0; padding: 40px 0 0; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.25; color: var(--navy-deep); }
.stage-quote cite { display: block; margin-top: 12px; font: 500 9.5px/1 var(--label); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stage-quote cite a { color: inherit; }

/* 3 — Planning: one feature, a column of shorter stories */
.h-plan { padding: 0 0 104px; }
.plan-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.plan-feature-link, .plan-list a, .g-lead a, .g-side a, .g-more a { color: inherit; text-decoration: none; display: block; }
.plan-feature-fig img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-height: 760px; }
.plan-feature-fig { margin-bottom: 24px; }
.plan-feature h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.01em; max-width: 15em; }
.plan-feature .dek { font-size: 16.5px; max-width: 34em; margin-top: 14px; }
.plan-feature-link:hover h3, .plan-list a:hover h3, .g-lead a:hover h3, .g-side a:hover h3, .g-more a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.plan-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.plan-list li { border-top: 1px solid var(--rule); padding: 22px 0; }
.plan-list li:first-child { border-top: 2px solid var(--rule-strong); }
.plan-list h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.12; }
.plan-list .label { margin-bottom: 8px; }
.plan-list .has-thumb a { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: start; }
.plan-thumb img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.plan-thumb figcaption { display: none; }

/* 4 — Recovery essentials: the one dark, full-bleed spread */
.h-essentials { background: var(--navy-deep); color: #d5e0ec; }
.essentials-grid { display: grid; grid-template-columns: 5fr 7fr; }
.essentials-fig { position: relative; min-height: 520px; }
.essentials-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.essentials-fig figcaption { position: absolute; left: 16px; bottom: 12px; color: rgba(255,255,255,.9); text-shadow: 0 1px 2px rgba(0,0,0,.4); margin: 0; }
.essentials-copy { padding: 96px var(--edge) 96px 80px; }
.essentials-copy h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.2vw, 60px); line-height: 1; color: #fff; letter-spacing: -.015em; }
.essentials-intro { font-size: 17px; max-width: 34em; margin: 18px 0 40px; color: #b9c8d8; }
.essentials-list { list-style: none; counter-reset: ess; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.essentials-list li { counter-increment: ess; border-top: 1px solid rgba(255,255,255,.2); padding: 18px 0 22px; }
.essentials-list li:last-child { grid-column: 1 / -1; }
.essentials-list li::before { content: counter(ess, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 22px; color: #4cc47f; display: block; margin-bottom: 4px; }
.essentials-list h3 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.essentials-list p { font-size: 14.5px; margin: 0; color: #b9c8d8; }
.essentials-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 36px 0 0; }
.essentials-links a { color: #fff; font-weight: 600; font-size: 15px; text-underline-offset: 6px; }
.essentials-links a::after { content: " →"; }
.essentials-links a:hover { color: #9fe0b9; }

/* 5 — City guide: an index, not ad tiles */
.h-city { background: var(--mist); padding: 104px 0; }
.city-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; }
.city-intro { position: sticky; top: 108px; }
.h-city h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.6vw, 50px); line-height: 1.03; letter-spacing: -.015em; border-top: 2px solid var(--rule-strong); padding-top: 18px; margin-bottom: 18px; }
.city-intro > p { font-size: 15.5px; color: var(--muted); }
.city-fig { margin: 28px 0; }
.city-fig img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.city-search label { display: block; font: 500 10px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.city-search div { display: flex; border-bottom: 1.5px solid var(--ink); }
.city-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 10px 0; outline: none; }
.city-search button { border: 0; background: none; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-deep); }
.city-entries { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.city-entry { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 26px 0 30px; border-top: 1px solid var(--rule); color: inherit; text-decoration: none; }
.city-entry:nth-child(-n+2) { border-top: 2px solid var(--rule-strong); }
.city-idx { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--navy-700); }
.city-entry h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.1; margin-bottom: 8px; }
.city-entry p { font-size: 14.5px; color: var(--body); margin: 0 0 12px; }
.city-more { font-size: 13px; font-weight: 600; color: var(--green-700); }
.city-more::after { content: " →"; }
.city-entry:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.city-entry-official { grid-column: 1 / -1; background: var(--navy-deep); color: #d5e0ec; padding: 26px 28px 28px; margin-top: 8px; border-top: 0 !important; }
.city-entry-official h3, .city-entry-official .city-idx { color: #fff; }
.city-entry-official p { color: #b9c8d8; }
.city-entry-official .city-more { color: #9fe0b9; }

/* 6 — Featured guides: one lead, one portrait, a ruled row of headlines */
.h-guides { padding: 104px 0 88px; }
.guides-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 56px; }
.g-lead-fig img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.g-lead-fig, .g-side-fig { margin-bottom: 22px; }
.g-lead h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.1vw, 42px); line-height: 1.06; letter-spacing: -.01em; max-width: 18em; }
.g-side { border-left: 1px solid var(--rule); padding-left: 40px; }
.g-side-fig img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.g-side h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.12; }
.g-more { grid-column: 1 / -1; list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.g-more li { border-top: 2px solid var(--rule-strong); padding-top: 16px; }
.g-more h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.15; }

/* 7 — Close: a statement, not a banner */
.h-close { padding: 0 0 112px; }
.close-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; padding-top: 64px; position: relative; }
.close-grid::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--rule); }
.h-close h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 76px); line-height: .98; letter-spacing: -.02em; color: var(--navy-deep); }
.h-close h2 em { display: block; }
.close-grid p { font-size: 17px; max-width: 30em; margin-bottom: 26px; }

/* ===========================================================
   ARTICLES
   =========================================================== */
.art-head { border-bottom: 1px solid var(--rule); }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: 52px; padding-bottom: 52px; }
.art-head.has-img .art-grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.art-copy { max-width: 820px; min-width: 0; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 40px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy-700); text-decoration: underline; }
.crumbs .sep { margin: 0 8px; color: #a9b4c0; }
.art-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 5.2vw, 76px); line-height: .98; letter-spacing: -.022em; color: var(--navy-deep); max-width: 13em; }
.standfirst { font-size: 19px; line-height: 1.55; color: var(--body); max-width: 38em; margin: 24px 0 0; }
.byline { display: flex; flex-wrap: wrap; row-gap: 4px; margin: 36px 0 0; padding-top: 14px; border-top: 1px solid var(--rule-strong); font-size: 12.5px; color: var(--muted); max-width: 640px; }
.byline span + span::before { content: "·"; margin: 0 10px; color: #a9b4c0; }
.byline-note { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
.art-fig img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-height: 540px; }
.art-head.tone-alert { background: var(--danger-tint); border-bottom-color: #f1c9c6; }
.art-head.tone-alert .kicker { color: var(--danger); }
.art-head.tone-alert .byline { border-top-color: var(--danger); }

/* Body sections */
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.section.alt { background: var(--mist); }
.page-article main > .section:last-child { padding-bottom: 104px; }
.layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 80px; align-items: start; }
.layout > * { min-width: 0; }
.toc { position: sticky; top: 104px; font-size: 13.5px; }
.toc strong { display: block; font: 500 10px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-top: 2px solid var(--rule-strong); padding-top: 14px; margin-bottom: 8px; }
.toc a { display: block; padding: 8px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: padding .15s; }
.toc a:hover { color: var(--navy-700); padding-left: 4px; }

/* Long-form reading */
.prose { max-width: 700px; font-size: 17px; line-height: 1.75; overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1.08; letter-spacing: -.012em; margin: 64px 0 18px; padding-top: 18px; border-top: 1px solid var(--rule); scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1.35; margin: 32px 0 8px; scroll-margin-top: 100px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--green-700); }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 26px; font-size: 14.5px; line-height: 1.55; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--rule-strong); font-weight: 600; color: var(--ink); }
.prose tbody th { font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; }
.wrap.prose { max-width: 780px; }

/* Notes in the margin of the text */
.callout { margin: 28px 0; padding: 18px 22px 18px 24px; border-left: 3px solid var(--navy-deep); background: var(--mist); font-size: 15.5px; line-height: 1.65; }
.callout > strong:first-child { display: block; font: 500 10px/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-700); margin-bottom: 8px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout ul { padding-left: 20px; }
.callout.warn { border-left-color: var(--amber); background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.callout.warn > strong:first-child { color: var(--amber); }
.callout.danger { border-left-color: var(--danger); background: var(--danger-tint); }
.callout.danger > strong:first-child { color: var(--danger); }
.callout.tip { border-left-color: var(--green); background: var(--ok-tint); }
.callout.tip > strong:first-child { color: var(--green-700); }

/* Patient voices: paraphrased themes set as pull-text */
.voices { display: grid; margin: 8px 0 20px; }
.voice { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.35; color: var(--navy-deep); padding: 20px 0; border-top: 1px solid var(--rule); }
.voice strong { font-style: normal; font-family: var(--label); font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); display: block; margin-bottom: 6px; }
.voice .src { display: block; margin-top: 10px; font: 500 9.5px/1.3 var(--label); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Timeline */
.tl { position: relative; margin: 8px 0 0; padding-left: 36px; border-left: 1px solid var(--rule-strong); }
.tl-item { position: relative; margin-bottom: 40px; scroll-margin-top: 100px; }
.tl-item::before { content: ""; position: absolute; left: -41px; top: 2px; width: 9px; height: 9px; background: var(--green); }
.tl-when { font: 500 10px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: 8px; }
.prose .tl-item h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 0 0 10px; }

/* Tabs: an index line, not pills */
.tabs { display: flex; flex-wrap: wrap; gap: 0 28px; border-bottom: 1px solid var(--rule); margin-bottom: 40px; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 14px 0; font: 500 14.5px/1 var(--sans); color: var(--muted); }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--navy-deep); font-weight: 600; }
.tabpanel[hidden] { display: none; }
.tabpanel.prose { max-width: 860px; }
.prose.tabpanel > h2:first-child { padding-top: 0; border-top: 0; }

/* Ruled blocks (replace rounded cards) */
.grid { display: grid; gap: 40px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-form { grid-template-columns: 7fr 4fr; align-items: start; gap: 72px; }
.card { border-top: 2px solid var(--rule-strong); padding-top: 18px; }
.card h3, .prose .card h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.15; margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }
.card ul.prose { margin: 0; font-size: 15px; }
.g-form > aside.card h3 + ul { margin-bottom: 20px; }

/* Packing checklist */
.checklist { list-style: none; padding: 0 !important; margin: 4px 0 0 !important; font-size: 15px; line-height: 1.5; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--rule); margin: 0 !important; }
.checklist input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1.5px solid var(--ink); margin: 2px 0 0; flex: none; display: grid; place-items: center; cursor: pointer; border-radius: 0; }
.checklist input:checked { background: var(--navy-deep); border-color: var(--navy-deep); }
.checklist input:checked::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.checklist label { cursor: pointer; }
.checklist input:checked + label { color: var(--muted); text-decoration: line-through; }
.progress { height: 3px; background: var(--rule); margin: 4px 0 6px; }
.progress span { display: block; height: 100%; background: var(--green); width: 0; transition: width .2s; }
.progress + .small { font-size: 12px; }

/* Warning-sign triage */
.triage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--rule-strong); }
.triage .card { border-top: 0; padding: 26px 28px 30px; font-size: 15px; }
.triage .card + .card { border-left: 1px solid var(--rule); }
.triage .card h3 { font-size: 26px; }
.triage .card ul { padding-left: 18px; margin: 0 0 12px; }
.triage .card li { margin-bottom: 7px; }
.triage .t911 { background: var(--danger-tint); }
.triage .t911 h3 { color: var(--danger); }
.triage .tcall h3 { color: var(--amber); }
.triage .tok h3 { color: var(--green-700); }

/* FAQ */
details { border-top: 1px solid var(--rule); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.2; color: var(--ink); }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 22px; color: var(--green-700); line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding-top: 10px; font-size: 16px; }

/* ---------- Directory ---------- */
.dir-controls { display: grid; grid-template-columns: 1fr 220px 200px; gap: 24px; margin: 8px 0 22px; }
.dir-controls input, .dir-controls select { font: inherit; font-size: 16px; padding: 12px 0; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); width: 100%; }
.dir-controls select { cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 30px; }
.chip { background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 0; font: 500 14px/1.2 var(--sans); color: var(--muted); }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--green); }
.dir-count { font: 500 10px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; }
.dir-list { border-top: 2px solid var(--rule-strong); }
.listing { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.listing .cat { font: 500 10px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: 10px; }
.listing h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; margin-bottom: 8px; }
.listing .meta { font-size: 14.5px; color: var(--ink); }
.listing .meta span + span::before { content: " · "; color: var(--muted); }
.listing .serves { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.listing .stated { font-size: 14px; margin: 12px 0 0; max-width: 46em; }
.listing .stated strong { font-weight: 600; }
.listing .svc { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.listing .checked { font-size: 12px; color: var(--muted); margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.listing .actions { margin: 0; flex-direction: column; align-items: stretch; gap: 10px; }
.listing .actions .btn { padding: 14px 16px; font-size: 11.5px; }
.listing .actions .report { font-size: 12.5px; color: var(--muted); text-align: center; }
.badge { display: inline-block; font: 500 9.5px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; padding: 5px 7px; border: 1px solid currentColor; vertical-align: middle; }
.badge.unverified { color: var(--amber); }
.badge.partner { color: var(--navy-700); margin-left: 10px; position: relative; top: -4px; }
.empty { padding: 48px 0; color: var(--muted); border-bottom: 1px solid var(--rule); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink); margin-bottom: 6px; }
.form .hint { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border: 1px solid #b9c3cf; border-radius: 0; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--navy-700); outline-offset: -1px; border-color: var(--navy-700); }
.form .hp { position: absolute; left: -9999px; }
.form-msg { display: none; padding: 14px 18px; border-left: 3px solid; font-size: 15px; }
.form-msg.ok { display: block; border-color: var(--green); background: var(--ok-tint); color: var(--green-700); }
.form-msg.err { display: block; border-color: var(--danger); background: var(--danger-tint); color: var(--danger); }

/* Credits list (about page) */
.credits { list-style: none; padding: 0 !important; font-size: 14px; }
.credits li { border-bottom: 1px solid var(--rule); padding: 8px 0; margin: 0 !important; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #b9c8d8; font-size: 14.5px; padding: 80px 0 36px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer-top { display: grid; grid-template-columns: 6fr 6fr; gap: 64px; align-items: end; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer .wordmark-lg { font-size: clamp(36px, 4.4vw, 60px); color: #fff; }
.footer .wordmark-lg em { color: #9fbbd8; }
.footer .wordmark-lg:hover { text-decoration: none; }
.footer-top p { max-width: 30em; margin: 0; font-size: 15.5px; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; padding: 40px 0; }
.footer h2 { font: 500 10px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: #8ea6bf; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.18); padding-top: 24px; font-size: 12.5px; line-height: 1.6; color: #9db0c6; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-legal strong { color: #fff; font-weight: 600; }
.footer-legal p { margin: 0; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: fixed; top: var(--mh, 76px); left: 0; right: 0; bottom: 0; background: var(--navy-deep); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px; overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a, .nav .dd > button { color: #fff; font-family: var(--serif); font-weight: 500; font-size: 30px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.15); width: 100%; text-align: left; }
  .nav > a:hover, .nav .dd > button:hover { color: #fff; }
  .nav > a[aria-current="page"], .nav .dd.is-active > button { border-bottom-color: rgba(255,255,255,.15); color: #9fe0b9; }
  .nav .dd > button::after { display: none; }
  .nav .dd-menu { display: block; position: static; border: 0; background: transparent; padding: 4px 0 12px; min-width: 0; }
  .nav .dd-menu a { color: #c9d6e4; padding: 9px 0; font-size: 15px; }
  .nav .dd-menu a:hover, .nav .dd-menu a[aria-current="page"] { background: transparent; color: #fff; }
  body.menu-open { overflow: hidden; }
  .stages { grid-template-columns: 1fr 1fr; }
  .stage-1 { grid-column: 1 / -1; padding: 0 0 48px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-content: start; border-bottom: 1px solid var(--rule); margin-bottom: 48px; }
  .stage-1 .stage-fig { grid-column: 2; grid-row: 1 / span 4; margin: 0; padding: 0; }
  .stage-2 { padding-left: 0; border-left: 0; }
  .essentials-copy { padding: 72px var(--gutter) 72px 56px; }
  .essentials-list { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .topline .wrap { justify-content: center; text-align: center; }
  .topline .wrap > span:first-child { display: none; }
  .masthead .wrap { height: 64px; }
  .wordmark { font-size: 25px; }

  /* Opening spread becomes a magazine cover: photo first, then the headline */
  .h-open { grid-template-columns: 1fr; min-height: 0; }
  .h-open-fig { order: -1; aspect-ratio: 4 / 5; max-height: 64vh; width: 100%; }
  .h-issue span + span { border-left: 0; padding-left: 0; }
  .h-open-copy { padding: 28px var(--gutter) 48px; }
  .h-issue { padding-bottom: 22px; }
  .h-open h1 { font-size: clamp(42px, 11.5vw, 60px); }
  .h-intro { font-size: 17px; margin-top: 20px; }
  .h-facts { grid-template-columns: 1fr; gap: 0; padding-top: 36px; }
  .h-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; border-top-color: var(--rule); padding: 10px 0; }
  .h-facts div:first-child { border-top-color: var(--rule-strong); }

  .h-journey { padding: 64px 0; }
  .h-journey-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 36px; }
  .h-journey-head p { grid-column: 1; }
  .stages { grid-template-columns: 1fr; }
  .stage, .stage-1, .stage-2, .stage-3 { padding: 0 0 40px; margin: 0 0 40px; border-left: 0; border-bottom: 1px solid var(--rule); display: flex; }
  .stage-3 { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
  .stage-1 .stage-fig { padding-top: 24px; }
  .stage-fig img, .stage-1 .stage-fig img { aspect-ratio: 3 / 2; }
  .stage-num { font-size: 52px; }
  .stage-quote { font-size: 22px; padding-top: 28px; }

  .section-title { margin-bottom: 32px; }
  .h-plan { padding-bottom: 64px; }
  .plan-grid { grid-template-columns: 1fr; gap: 40px; }
  .plan-list .has-thumb a { grid-template-columns: 96px 1fr; gap: 16px; }

  .essentials-grid { grid-template-columns: 1fr; }
  .essentials-fig { min-height: 0; aspect-ratio: 3 / 2; }
  .essentials-copy { padding: 52px var(--gutter) 60px; }

  .h-city { padding: 64px 0; }
  .city-grid { grid-template-columns: 1fr; gap: 36px; }
  .city-intro { position: static; }
  .city-fig { display: none; }
  .city-entries { grid-template-columns: 1fr; }
  .city-entry:nth-child(2) { border-top: 1px solid var(--rule); }
  .city-entry { padding: 20px 0 22px; grid-template-columns: 36px 1fr; }
  .city-entry h3 { font-size: 23px; }
  .city-entry-official { padding: 22px 20px; }

  .h-guides { padding: 64px 0; }
  .guides-grid { grid-template-columns: 1fr; gap: 40px; }
  .g-side { border-left: 0; padding-left: 0; }
  .g-side a { display: grid; grid-template-columns: 120px 1fr; grid-template-rows: auto 1fr; column-gap: 18px; align-items: start; }
  .g-side-fig { margin: 0; grid-row: 1 / span 2; }
  .g-side-fig figcaption { display: none; }
  .g-side h3 { font-size: 22px; }
  .g-more { grid-template-columns: 1fr; gap: 0; }
  .g-more li { border-top: 1px solid var(--rule); padding: 16px 0; }
  .g-more li:first-child { border-top: 2px solid var(--rule-strong); }

  .h-close { padding-bottom: 72px; }
  .close-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; }

  .art-grid { padding-top: 28px; padding-bottom: 36px; }
  .art-head.has-img .art-grid { grid-template-columns: 1fr; gap: 28px; }
  .art-head.has-img .art-fig { order: -1; margin: -28px calc(var(--gutter) * -1) 0; }
  .art-head.has-img .art-fig figcaption { margin: 6px var(--gutter) 0; text-align: right; }
  .art-fig img { aspect-ratio: 3 / 2; max-height: none; }
  .crumbs { margin-bottom: 22px; }
  .art-head h1 { font-size: clamp(38px, 10vw, 52px); }
  .standfirst { font-size: 17.5px; margin-top: 18px; }
  .byline { margin-top: 26px; }

  .section { padding: 48px 0; }
  .layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 2px 18px; border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule); padding: 14px 0 12px; }
  .toc strong { flex-basis: 100%; border-top: 0; padding-top: 0; }
  .toc a { border-bottom: 0; padding: 4px 0; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
  .toc a:hover { padding-left: 0; }
  .byline { flex-direction: column; }
  .byline span + span::before { content: none; }
  .prose { font-size: 16.5px; }
  .prose h2 { margin-top: 48px; }
  .voice { font-size: 20px; }
  .g2, .g3, .g-form { grid-template-columns: 1fr; gap: 36px; }
  .triage { grid-template-columns: 1fr; }
  .triage .card + .card { border-left: 0; border-top: 1px solid var(--rule); }
  .dir-controls { grid-template-columns: 1fr 1fr; gap: 16px; }
  .dir-controls input { grid-column: 1 / -1; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 24px; padding: 0 var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex: none; }
  .listing { grid-template-columns: 1fr; gap: 18px; padding: 26px 0; }
  .listing h3 { font-size: 25px; }
  .listing .actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .listing .actions .btn { flex: 1 1 auto; }
  .listing .actions .report { width: 100%; text-align: left; }
  .form .row { grid-template-columns: 1fr; }

  .footer { padding-top: 56px; }
  .footer-top { grid-template-columns: 1fr; gap: 18px; padding-bottom: 32px; }
  .footer-legal { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 420px) {
  .dir-controls { grid-template-columns: 1fr; }
  .footer-cols { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .topline, .masthead, .footer, .no-print, .toc, .actions, .art-fig { display: none !important; }
  .layout { grid-template-columns: 1fr; }
  body { font-size: 12px; }
  .art-head h1 { font-size: 32px; }
}

/* Planning worksheets and factual directory details */
.care-facts { margin-top: 18px; font-size: 14px; }
.care-facts dt, .planning-lines dt { font-weight: 600; margin-top: 12px; }
.care-facts dd, .planning-lines dd { margin-left: 0; overflow-wrap: anywhere; }
@media print { .no-print { display: none !important; } .table-scroll { overflow: visible; } .planning-lines dd { overflow-wrap: anywhere; } }

/* Search-friendly directories and concise answer summaries */
[hidden] { display: none !important; }
.service-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 24px 0; }
.service-links a { font-weight: 600; }
.answer-summary { border-left: 3px solid var(--green); padding: 12px 18px; margin-top: 24px; background: var(--mist); font-size: 15px; }
.answer-summary p { margin: 8px 0 0; }
.listing, .listing > div { min-width: 0; }
.listing dd, .listing h3 { overflow-wrap: anywhere; }
