/* ==========================================================================
   Variant E - Editorial
   The third proposal, made after measuring why C and M felt different.

   C and M are the same page below the hero - identical markup, and every
   differing CSS rule is .hero scoped. The client read M as having better scroll
   rhythm not because anything downstream changed, but because C's hero is 246px
   taller and pushes the first real content from 612px down to 858px.

   In C that height is spent twice over: once on the full-measure headline
   (which is the point, and which the client responded to), and again on the
   credentials, which sit in a tall vertical rail beside the lede and end up
   being the tallest thing in the row.

   E keeps the headline at C's full 100px and takes the height back from the
   second source instead: the credentials come out of the side column and run as
   a horizontal band across the foot of the hero, where three items scan faster
   than a stacked list anyway. The lede and the call to action then share one
   short row rather than stacking.

   So the headline is C's, the pace is close to M's, and nothing below the hero
   is touched - because nothing below the hero was ever the problem.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;800&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

:root {
  /* ground + ink - identical to C and M; the palette is settled */
  --bg: #f3f2f2;
  --surface: #eae9e9;
  --ink: #201e1d;
  --ink-80: #2d2b2b;
  --ink-78: #333131;
  --ink-75: #3b3939;
  --ink-72: #444141;
  --ink-70: #444141;
  /* Ratios below are measured against --bg. --surface is a touch darker, so
     --ink-50 (4.44:1) and --ink-45 (4.20:1) do NOT clear AA on it. Nothing
     places them there today: the only text on --surface is .drop-note at
     --ink-60 (5.32:1) plus inherited --ink. Keep it that way. */
  --ink-65: #5a5857;                  /* 6.33:1 */
  --ink-60: #605e5e;                  /* 5.74:1 */
  --ink-55: #666564;                  /* 5.21:1 */
  --ink-50: #6c6a69;                  /* 4.83:1 */
  --ink-45: #6f6e6d;                  /* 4.56:1 */
  --ink-40: #9b9797;                  /* borders only, never text */

  /* accent - AAHA red, one red for every job. See theme-c.css for the working. */
  --accent: #c02144;                  /* 5.31:1 on the ground */
  --accent-hover: #9b1a36;            /* 7.24:1 on the ground */
  --accent-on: #f3f2f2;               /* 5.31:1 on --accent */
  --accent-on-dark: #ff9db0;          /* 8.46:1 on the #201e1d bands */
  --accent-soft: #fdeef1;

  /* rules */
  --line: #d7d3d3;
  --rule-color: #201e1d;
  --rule-on-dark: rgba(243, 242, 242, 0.24);
  --rule-w: 2px;

  /* chrome */
  --header-bg: #f3f2f2;
  --header-blur: none;
  --menu-shadow: 0 3px 10px rgba(45, 43, 43, 0.16);
  --drop-hover-bg: #fdeef1;
  --drop-hover-fg: #8f1832;
  --map-filter: none;

  /* type */
  --font-head: "Source Serif 4", Georgia, serif;
  --font-body: Archivo, system-ui, -apple-system, sans-serif;
  --head-weight: 600;
  --brand-weight: 700;
  --head-tracking: -0.01em;
  --feat-font: "Source Serif 4", Georgia, serif;
  --feat-weight: 600;

  /* C's headline, unchanged - this is the part the client responded to. One
     smooth ramp from phone to desktop, no step at any width. */
  --h1: clamp(46px, calc(25.6px + 6.25vw), 100px);
  --h1-lh: 1.02;
  --h1-tracking: -0.02em;
  --h1-em-style: normal;
  --h1-em-color: var(--accent);
  --h2: clamp(30px, 4.4vw, 46px);
  --h3: clamp(32px, 6.4vw, 60px);

  /* buttons */
  --btn-font: Archivo, system-ui, sans-serif;
  --btn-weight: 800;
  --btn-size: clamp(18px, 3.8vw, 23px);
  --btn-tracking: -0.025em;
  --btn-primary-bg: var(--accent);
  --btn-primary-fg: #f3f2f2;
  --btn-primary-hover: var(--accent-hover);
  --outline-color: #201e1d;
}

.brand-name { font-size: 15px; letter-spacing: -0.015em; }
.btn-outline { font-size: 14px; letter-spacing: 0.04em; }
.btn-outline:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-hover); }
.btn-call { font-size: 13px; letter-spacing: 0.05em; }

/* --- hero ------------------------------------------------------------------
   Tighter than C everywhere except the headline itself, which is untouched. */
.hero { padding-top: clamp(30px, 5vw, 56px); }
.hero h1 { max-width: 15em; font-weight: 700; }
.hero-head { padding-bottom: clamp(18px, 2.8vw, 28px); border-bottom: var(--rule-w) solid var(--ink); }
.hero-grid { gap: clamp(20px, 2.6vw, 32px) clamp(24px, 4vw, 56px); }
.hero .lede { max-width: 30em; font-size: clamp(17px, 3.4vw, 20px); line-height: 1.5; }
/* Read straight on from the headline: same serif, a size down, ink not red,
   so the claim above is answered rather than repeated. */
.hero-sub {
  margin-top: clamp(8px, 1.2vw, 14px);
  font-family: var(--font-head); font-weight: var(--head-weight);
  font-size: clamp(22px, calc(12px + 2.2vw), 40px); line-height: 1.15;
  letter-spacing: var(--head-tracking); color: var(--ink-80);
}
.hero-facts { margin-top: 10px; max-width: 40em; font-size: 14px; line-height: 1.55; color: var(--ink-65); }
.hero-actions { min-width: 0; }
.hero-visit { margin-top: 16px; font-size: 13px; line-height: 1.65; color: var(--ink-65); }
.hero-visit > span, .hero-visit > a { display: block; }
.hero-visit > a { font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.hero-visit > a:hover { color: var(--accent); text-decoration: underline; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .hero-head { grid-column: 1 / -1; grid-row: 1; }

  /* Row 2: the lede and the action side by side rather than stacked. Halves
     the height of this row and puts the phone number level with the sentence
     that earns it. */
  .hero-body {
    grid-column: 1 / -1; grid-row: 2;
    display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px); align-items: start;
  }
  .hero-body .hero-intro { grid-column: 1; }
  .hero-body .lede { margin-top: 0; }
  .hero-body .hero-actions { grid-column: 2; }
  .hero-body .cta-row { margin-top: 0; }

  /* Row 3: credentials as a horizontal band. This is the height C spends on a
     vertical rail, recovered - and three items across scan faster than three
     stacked. */
  .hero .creds {
    grid-column: 1 / -1; grid-row: 3;
    border-top: var(--rule-w) solid var(--rule-color);
    padding-top: 14px;
    display: grid; grid-template-columns: minmax(0, 1fr);
    gap: 6px clamp(20px, 3vw, 40px); align-items: baseline;
  }
  .hero .creds-label { grid-column: 1; grid-row: 1; }
  .hero .creds-list {
    grid-column: 1 / -1; grid-row: 2;
    margin-top: 6px; border-top: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 clamp(20px, 2.6vw, 40px);
  }
  .hero .creds-list li {
    padding: 0 0 0 clamp(20px, 2.6vw, 40px);
    border-bottom: 0; border-left: 1px solid var(--line);
  }
  .hero .creds-list li:first-child { padding-left: 0; border-left: 0; }
  .hero .creds-list li:last-child { border-bottom: 0; }
}

/* Below 900px the hero is a single column and the band becomes a list again,
   which is what base.css already does - so only the type sizes are set here. */
.creds-list { margin-top: 13px; }
.creds-list li { padding: 15px 0; }
.creds-title { font-size: 15px; }

/* A short overview first; native disclosures keep the full service text
   available in the HTML and usable without JavaScript. */
.pillars-grid {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 48px) clamp(28px, 5vw, 64px);
  align-items: start;
}
.pillars-grid .pillar {
  min-width: 0; margin: 0; padding-top: 22px;
  border-top: var(--rule-w) solid var(--rule-color);
}
.pillars-grid .pillar-head { display: block; margin-top: 0; }
.pillars-grid .pillar h3 { font-size: clamp(24px, 2.4vw, 30px); }
.pillars-grid .pillar-lede { margin-top: 14px; font-size: 17px; line-height: 1.5; max-width: none; }
/* The lede is ink, not red: four two-line red sentences took the accent away
   from the call buttons. A fixed two-line height keeps the highlights and the
   disclosure rows level across each pair of cards. */
.pillars-grid .pillar-lede { color: var(--ink-80); min-height: 3em; }
.service-highlights { margin-top: 20px; }
.service-highlights li {
  position: relative; padding: 5px 0 5px 16px;
  font-size: 15px; line-height: 1.5; color: var(--ink-75);
}
.service-highlights li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 4px; height: 4px; background: var(--accent);
}
.service-details { margin-top: 18px; border-top: 1px solid var(--line); }
.service-details > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 48px; padding: 12px 0;
  font-size: 14px; font-weight: 600; line-height: 1.5;
}
.service-details > summary::-webkit-details-marker { display: none; }
.service-details > summary::after {
  content: "+"; flex: none; color: var(--accent); font-size: 22px; line-height: 1;
}
.service-details[open] > summary::after { content: "\2212"; }
.service-details > summary:hover { color: var(--accent); }
.service-details .feats { margin-top: 0; grid-template-columns: 1fr; border-top: 0; }
.service-details .feat { padding: 12px 0; }
.service-detail-intro { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; color: var(--ink-70); }
.pillar-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px;
  font-size: 14px; font-weight: 700; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.pillar-link span { color: var(--accent); }

.hero-rating span { color: var(--accent); }

@media (min-width: 981px) {
  .nav { font-size: 12.5px; letter-spacing: 0.12em; }
}

/* --- reviews ---------------------------------------------------------- */
.rating { display: flex; align-items: center; gap: 18px; }
.rating-score {
  font-family: var(--font-head); font-weight: var(--head-weight);
  font-size: clamp(56px, 8vw, 84px); line-height: 0.9; letter-spacing: -0.05em;
}
.rating-meta { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.5; color: var(--ink-65); }
.rating-meta a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 700; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.quotes {
  margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.quote { display: flex; flex-direction: column; padding-top: 20px; border-top: var(--rule-w) solid var(--rule-color); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 17px; line-height: 1.55; color: var(--ink-80); }
.quote blockquote p::before {
  content: "\201C"; display: block; margin-bottom: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 0.8; color: var(--accent);
}
.quote[lang="ko"] blockquote p { word-break: keep-all; }
.quote-by { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--ink-65); }

/* --- visit + contact, one closing band --------------------------------- */
.contact .contact-inner { align-items: start; }
/* Three columns now share the band, so the number steps down a size and never
   breaks inside "947-5600". */
.contact .contact-num { font-size: clamp(44px, 4.6vw, 64px); white-space: nowrap; }
.contact-h { color: inherit; font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; }
.contact .hours { margin-top: 16px; border-top-color: var(--rule-on-dark); }
.contact .hours li { border-bottom-color: var(--rule-on-dark); }
.contact .hours .d { color: inherit; opacity: 0.8; }
.contact .hours li.is-closed .t { color: inherit; opacity: 0.7; }
.contact .visit-note { color: inherit; font-size: 14px; }
.contact .cta-row { margin-top: 24px; }
.contact .btn-primary:hover { background: var(--bg); color: var(--ink); }
.contact .btn-outline { color: var(--bg); border-color: rgba(243, 242, 242, 0.6); }
.contact .btn-outline:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.contact .map { border-color: var(--rule-on-dark); min-height: 320px; }

@media (max-width: 760px) {
  .pillars-grid { grid-template-columns: 1fr; }
}
/* The surgery card lists four highlights and the others three. Every list
   holds four lines' height side by side, so the disclosure rows stay level
   across each pair the way the two-line ledes do. */
@media (min-width: 761px) {
  .pillars-grid .service-highlights { min-height: calc(4 * (15px * 1.5 + 10px)); }
}
/* The fifth card, the cat hotel, has no pair. It spans both columns: the copy
   takes the left one and the cat room photograph the right, on the same column
   line as the cards above. The photograph is square because the red band starts
   on the ceiling - see tools/prep_photos.py. */
.pillar-wide .media { margin-top: 24px; }
.media-square img { aspect-ratio: 1 / 1; height: auto; }
.media-square.is-empty::before { aspect-ratio: 1 / 1; }
@media (min-width: 761px) {
  .pillars-grid .pillar-wide {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(28px, 5vw, 64px); align-items: start;
  }
  .pillars-grid .pillar-wide .pillar-lede { min-height: 0; }
  .pillars-grid .pillar-wide .service-highlights { min-height: 0; }
  .pillar-wide .media { margin-top: 0; }
}

/* --- interior pages ------------------------------------------------------
   The travel page is the only page that is not the home page, so its two
   extra pieces live here rather than in base.css: a breadcrumb, and the lead
   paragraph that answers the page's title question in one block. That answer
   is the paragraph an answer engine is most likely to lift, so it is set
   slightly larger than body copy and given room of its own. */

.breadcrumb {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-60);
}
.breadcrumb a { color: var(--ink-60); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }
.breadcrumb span:last-child { margin: 0; color: var(--ink-80); }

.answer {
  margin-top: 18px;
  max-width: 46em;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--ink);
}
.body-copy {
  margin-top: 16px;
  max-width: 46em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-80);
}

/* The numbered list on the travel page carries a sentence per step rather than
   a phrase, so the rows need to breathe more than the home page's version. */
.steps-detail li { align-items: flex-start; padding: 18px 0; line-height: 1.65; }
.steps-detail strong { color: var(--ink); }

.bring-list li { font-size: 15.5px; }

/* --- city pages ----------------------------------------------------------
   The service list links home rather than restating each pillar. Repeating the
   service copy on every city page is precisely what made the old pages read as
   doorway pages, so these are links with one clause of context and nothing more. */
.service-links li { font-size: 15.5px; line-height: 1.6; }
.service-links a { color: var(--accent); text-decoration: none; font-weight: 600; }
.service-links a:hover { text-decoration: underline; }

/* The towns without a page of their own still have to appear as text somewhere.
   The client brief asked for an "Areas we serve" line on the front end, and a
   schema areaServed that no visitor can read is not that. */
.footer-areas { display: block; margin-top: 10px; color: var(--ink-60); line-height: 1.7; }
