/* ============================================================
   Unity Health Partnerships public page styles.
   Scoped to .uhp-page so no rule leaks into other GBCA pages.
   Palette per project spec: sky + teal + navy (text only) +
   warm/sand paper backgrounds. Fonts inherit from site (Fraunces
   + Sora already loaded).
   ============================================================ */

.uhp-page {
  --sky:        #5cc8e0;
  --sky-light:  #d6f2f8;
  --sky-bg:     #edf9fc;
  --teal:       #3ab09e;
  --teal-bright:#44c4ad;
  --teal-deep:  #2d7f70;   /* AA on white; use for link text */
  --teal-ink:   #266a5e;   /* AA (>=4.5:1) on white, --warm and --teal-bg; use for small text like eyebrows */
  --teal-bg:    #dff5f0;
  --navy:       #14334e;
  --seafoam:    #78d4be;
  --warm:       #faf8f4;
  --sand:       #f3f0e8;
  --ink:        #1a2e22;
  --ink-soft:   #4a6055;
  --uhp-font-h: 'Fraunces', Georgia, serif;
  --uhp-font-b: 'Sora', system-ui, sans-serif;
  --uhp-ease:   cubic-bezier(.16, 1, .3, 1);
}

/* Reset scoped headings so the base GBCA h2 rules don't win
   the specificity war. Same-specificity later-rule pattern from
   the last iteration. */
.uhp-page h1, .uhp-page h2, .uhp-page h3, .uhp-page h4 {
  font-family: var(--uhp-font-h); font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.15; color: var(--navy); margin: 0;
}
.uhp-page main { color: var(--ink); font-family: var(--uhp-font-b); background: #fff; }
/* Fully zero specificity so any section-scoped rule (single class)
   overrides. Wrapping the entire selector in :where() drops the
   compound to (0,0,0,0); previous ":where(p)" only zeroed the p
   part while leaving .uhp-page main at (0,0,1,1) -- section rules
   like .uhp-hero__lede (0,0,1,0) still lost. */
:where(.uhp-page main p) { font-family: var(--uhp-font-b); line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* Rich-text output from Quill: html-typed fields render their DB
   value straight into the DOM (no esc()). These rules give the
   emitted <p> / <h2>-<h4> / <ul> / <ol> / <blockquote> / <a>
   tags reasonable spacing so pages don't collapse into one dense
   block. Kept generic here -- section-scoped colour rules
   (e.g. white text on the hero) still win over this baseline.

   Body copy is left-aligned even inside section heads that use
   text-align:center. Headings (h2-h4 outside .uhp-rich) can still
   be centered by their own rules; this only touches the rich
   inline body content. */
.uhp-rich          { text-align: left; }
.uhp-rich p        { margin: 0 0 1em; line-height: inherit; }
.uhp-rich p:last-child { margin-bottom: 0; }
.uhp-rich ul, .uhp-rich ol { margin: 0 0 1em; padding-left: 1.4em; }
.uhp-rich li       { margin: 0 0 0.35em; }
.uhp-rich a        { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.uhp-rich strong, .uhp-rich b { font-weight: 600; }
.uhp-rich em, .uhp-rich i     { font-style: italic; }
.uhp-rich h2, .uhp-rich h3, .uhp-rich h4 { font-family: var(--uhp-font-h); font-weight: 500; margin: 0.9em 0 0.4em; line-height: 1.2; }
.uhp-rich h2 { font-size: 1.3em; }
.uhp-rich h3 { font-size: 1.15em; }
.uhp-rich h4 { font-size: 1.03em; }
.uhp-rich blockquote { margin: 0 0 1em; padding: 0.6em 1em; border-left: 3px solid var(--teal); background: rgba(58,176,158,0.06); border-radius: 0 8px 8px 0; }
/* Use --teal-deep for link text -- --teal (#3ab09e) fails AA on
   white (~2.9:1). --teal-deep (#2d7f70) passes 4.7:1. */
.uhp-page main a { color: var(--teal-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.uhp-page main a:hover { color: var(--navy); }
.uhp-page main a:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 2px; }

.uhp-section { padding: clamp(3.5rem, 6vw, 6rem) 1.5rem; position: relative; }
.uhp-section > .uhp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(0.5rem, 2vw, 1.5rem); }

.uhp-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--uhp-font-b); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal-ink); margin: 0 0 0.9rem;
}
.uhp-eyebrow::before { content: ""; width: 2.2rem; height: 2px; background: var(--teal-bright); display: inline-block; }
/* Eyebrow on dark section backgrounds: solid white for AA against
   the teal / navy gradients (the default --teal on dark teal fails
   AA at 0.72rem body text). */
.uhp-eyebrow--on-dark { color: #fff; }
.uhp-eyebrow--on-dark::before { background: #fff; }

/* loading + error */
.uhp-loading { min-height: 60vh; display: flex; align-items: center; justify-content: center; background: #f4fbfd; color: var(--navy); }
.uhp-loading__inner { text-align: center; }
.uhp-loading p { color: var(--ink-soft); margin-top: 1rem; font-family: var(--uhp-font-b); }
.uhp-loading__spinner {
  display: inline-block; width: 42px; height: 42px;
  border: 3px solid rgba(20,51,78,0.15); border-top-color: var(--teal-bright);
  border-radius: 50%; animation: uhp-spin 0.9s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .uhp-loading__spinner { animation: none; } }
@keyframes uhp-spin { to { transform: rotate(360deg); } }
.uhp-error { min-height: 60vh; display: flex; align-items: center; justify-content: center; background: var(--warm); padding: 2rem 1rem; }
.uhp-error__inner { max-width: 44rem; text-align: center; }

/* =============================================================
   1. HERO — full-screen looping video
   ============================================================= */
/* Hero anchors content at the BOTTOM so the top ~2/3 of the media
   (building signage + logo bank on the right) stays clear. The
   overlay is a bottom-only dark gradient -- transparent for the
   top 45%, ramping to rgba(0,0,0,0.65) at the base -- so the
   architecture reads without wash while the text below still
   clears WCAG AA against a dark substrate. */
/* min-height uses calc(100vh - 7rem) so the hero fits inside the
   initial viewport BELOW the ~7rem site navbar. With plain 100vh
   the section extended past the viewport bottom, so bottom-anchored
   text (align-items: flex-end) landed off-screen and the visitor
   had to scroll to see it. */
.uhp-section--hero {
  position: relative; min-height: calc(100vh - 7rem); padding: 0; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  background: linear-gradient(160deg, #1a8a7a 0%, #2a9a88 55%, #1a7a8c 100%);
  color: #fff;
}
/* object-fit:contain (not cover) so the full frame -- e.g. a
   building shot with logos on the right column -- is always
   visible at every viewport width. Letterbox bars fall on the
   section's gradient background which is intentional. */
.uhp-hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; z-index: 0;
}
.uhp-hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 45%,
    rgba(0,0,0,0.30) 65%,
    rgba(0,0,0,0.65) 100%);
}
.uhp-hero__inner {
  position: relative; z-index: 2; text-align: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem) clamp(4rem, 10vh, 7rem);
  max-width: 900px; width: 100%;
}
.uhp-hero__mark img {
  height: 90px; width: auto; margin: 0 auto 2.5rem; display: block;
  filter: brightness(0) invert(1);
}
.uhp-section--hero h1 {
  font-family: var(--uhp-font-h); font-weight: 500; color: #fff;
  font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.02;
  margin: 0 0 1.1rem; letter-spacing: -0.02em;
}
.uhp-hero__subtitle {
  font-family: var(--uhp-font-h); font-style: italic; color: rgba(255,255,255,0.94);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.3;
  margin: 0 0 1.4rem;
}
.uhp-hero__lede {
  font-family: var(--uhp-font-b); color: rgba(255,255,255,0.94);
  font-size: clamp(1rem, 1.6vw, 1.14rem); line-height: 1.6;
  max-width: 42rem; margin: 0 auto 2.2rem;
}
.uhp-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: 0 0 1.6rem; }
.uhp-btn {
  padding: 0.9rem 1.7rem; border-radius: 999px;
  font-family: var(--uhp-font-b); font-weight: 600; font-size: 0.98rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem;
  transition: transform 0.2s var(--uhp-ease), background 0.2s var(--uhp-ease),
              border-color 0.2s var(--uhp-ease), color 0.2s var(--uhp-ease);
}
.uhp-btn--primary   { background: #fff;      color: var(--navy); border: 1.5px solid #fff; }
.uhp-btn--primary:hover   { transform: translateY(-1px); background: var(--sky-light); color: var(--navy); }
/* Outline was transparent with a thin rgba border which vanished
   against light backdrops in the hero video. Now a solid --teal-deep
   fill with white text: 4.72:1 contrast (passes AA for normal
   body text) and matches --primary's visual weight so both CTAs
   feel equally clickable. */
.uhp-btn--outline   { background: var(--teal-deep); color: #fff; border: 1.5px solid var(--teal-deep); }
.uhp-btn--outline:hover   { transform: translateY(-1px); background: var(--navy); border-color: var(--navy); color: #fff; }
.uhp-btn--teal      { background: var(--teal-bright); color: #fff; border: 1.5px solid var(--teal-bright); }
.uhp-btn--teal:hover      { transform: translateY(-1px); background: var(--teal); color: #fff; }
.uhp-btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .uhp-btn { transition: none; } .uhp-btn:hover { transform: none; } }
.uhp-hero__addr {
  font-family: var(--uhp-font-b); font-size: 0.95rem;
  color: rgba(255,255,255,0.94); letter-spacing: 0.04em;
  margin-top: 0.8rem;
}
@media (max-width: 767px) {
  .uhp-section--hero { min-height: auto; }
  .uhp-hero__inner { padding: 4rem 1.5rem 3rem; }
  .uhp-hero__mark img { height: 68px; margin-bottom: 1.6rem; }
  .uhp-hero__ctas .uhp-btn { flex: 1 1 auto; justify-content: center; }
}

/* =============================================================
   2. STORY / THE NEED
   ============================================================= */
.uhp-section--need { background: #fff; overflow: hidden; }
.uhp-need { max-width: 950px; margin: 0 auto; text-align: center; position: relative; }
.uhp-need__blobs { position: absolute; inset: -80px -80px; pointer-events: none; z-index: 0; opacity: 0.7; }
.uhp-need__blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
}
.uhp-need__blob--teal { top: -60px; left: -80px; width: 340px; height: 340px; background: rgba(58,176,158,0.14); }
.uhp-need__blob--sky  { bottom: -80px; right: -60px; width: 380px; height: 380px; background: rgba(92,200,224,0.12); }
.uhp-need__inner { position: relative; z-index: 1; }
.uhp-need h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 0.9rem; max-width: 22ch; margin-inline: auto; }
.uhp-need__subtitle { font-family: var(--uhp-font-b); color: var(--ink-soft); font-size: clamp(1.02rem, 1.6vw, 1.15rem); max-width: 44rem; margin: 0 auto 3rem; line-height: 1.65; }

.uhp-journey { display: grid; grid-template-columns: 1fr; gap: 2rem; margin: 0 0 3.4rem; }
@media (min-width: 780px) { .uhp-journey { grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; position: relative; } }
.uhp-journey__step { text-align: center; position: relative; }
.uhp-journey__step h3 { font-family: var(--uhp-font-h); font-weight: 500; font-size: 1.3rem; color: var(--navy); margin: 1rem 0 0.5rem; }
.uhp-journey__step p  { font-family: var(--uhp-font-b); font-size: 0.98rem; color: var(--ink-soft); max-width: 22rem; margin: 0 auto; line-height: 1.55; }
.uhp-journey__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--sky) 100%);
  color: #fff; font-family: var(--uhp-font-h); font-weight: 500; font-size: 1.8rem;
  box-shadow: 0 12px 24px -14px rgba(58,176,158,0.55);
  position: relative; z-index: 2;
}
@media (min-width: 780px) {
  .uhp-journey::before {
    content: ""; position: absolute; top: 34px; left: 18%; right: 18%; height: 2px;
    background: linear-gradient(90deg, rgba(58,176,158,0), rgba(58,176,158,0.4) 20%, rgba(92,200,224,0.4) 80%, rgba(92,200,224,0));
    z-index: 1;
  }
}

.uhp-pullquote {
  background: linear-gradient(120deg, var(--sky-bg) 0%, var(--teal-bg) 100%);
  border-radius: 22px; padding: clamp(1.8rem, 3vw, 2.6rem);
  font-family: var(--uhp-font-h); font-style: italic; color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4;
  max-width: 44rem; margin: 0 auto;
}
.uhp-pullquote::before { content: "\201C"; font-size: 2.4em; line-height: 0.5; color: var(--teal); margin-right: 0.1em; vertical-align: -0.4em; }
.uhp-pullquote::after  { content: "\201D"; font-size: 2.4em; line-height: 0.5; color: var(--teal); margin-left: 0.1em; vertical-align: -0.4em; }

/* =============================================================
   3. STATS — sky background
   White on --sky (#5cc8e0) fails WCAG AA (~1.7:1). Navy #14334e
   on #5cc8e0 gives ~6.9:1 which passes AAA for normal text. Label
   size bumped 12px -> 13px so it clears the 4.5:1 threshold at
   normal-text sizing.
   ============================================================= */
.uhp-section--stats { background: var(--sky); color: var(--navy); padding: clamp(3rem, 5vw, 4.5rem) 1.5rem; }
.uhp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
@media (max-width: 767px) { .uhp-stats { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.uhp-stats__num { font-family: var(--uhp-font-h); font-weight: 500; font-size: 34px; color: var(--navy); line-height: 1; letter-spacing: -0.01em; }
.uhp-stats__lbl { font-family: var(--uhp-font-b); font-size: 13px; font-weight: 500; color: var(--navy); line-height: 1.35; margin-top: 0.7rem; letter-spacing: 0.02em; }

/* =============================================================
   4. PARTNERS — warm background
   ============================================================= */
.uhp-section--partners { background: var(--warm); }
.uhp-partners__head { text-align: center; margin: 0 auto 3rem; max-width: 60ch; }
.uhp-partners__head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 0.8rem; }
.uhp-partners__head .uhp-eyebrow { justify-content: center; }
.uhp-partners__subtitle { font-size: 1rem; }

/* Lead convener now renders as a normal grid card with a small
   chip; the old full-width .uhp-lead-card layout is retired. Chip
   marks the lead so the role stays visible even at grid size. */
.uhp-partner-card--lead { border: 2px solid var(--teal-bright); position: relative; }
.uhp-partner-card__lead {
  position: absolute; top: -10px; left: 12px;
  background: var(--teal-ink); color: #fff; font-family: var(--uhp-font-b);
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 999px;
  white-space: nowrap;
}

.uhp-partners__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
@media (max-width: 1099px) { .uhp-partners__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px)  { .uhp-partners__grid { grid-template-columns: 1fr; } }

.uhp-partner-card {
  background: #fff; border-radius: 16px; padding: 1.5rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  border: 1px solid rgba(20,51,78,0.08);
  transition: transform 0.2s var(--uhp-ease), box-shadow 0.2s var(--uhp-ease), border-color 0.2s var(--uhp-ease);
}
.uhp-partner-card:hover { transform: translateY(-2px); border-color: var(--teal-bright); box-shadow: 0 16px 34px -22px rgba(58,176,158,0.4); }
@media (prefers-reduced-motion: reduce) { .uhp-partner-card { transition: none; } .uhp-partner-card:hover { transform: none; } }
.uhp-partner-card__logo {
  background: linear-gradient(135deg, var(--sky-bg) 0%, var(--teal-bg) 100%);
  border-radius: 10px; padding: 1rem; height: 92px;
  display: flex; align-items: center; justify-content: center;
}
.uhp-partner-card__logo img { max-width: 100%; max-height: 70px; object-fit: contain; }
.uhp-partner-card h3 { font-family: var(--uhp-font-h); font-weight: 500; font-size: 1.1rem; color: var(--navy); margin: 0; line-height: 1.25; }
.uhp-partner-card p  { font-family: var(--uhp-font-b); font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; margin: 0; flex: 1; }
/* Partner-card link text: use --teal-deep for AA contrast on the
   card's white background (--teal #3ab09e = ~2.9:1 on white; deep
   #2d7f70 = ~4.7:1). */
.uhp-partner-card a  { font-family: var(--uhp-font-b); font-weight: 600; font-size: 0.87rem; color: var(--teal-deep, #2d7f70); text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; align-self: flex-start; padding: 0.4rem 0.15rem; }
.uhp-partner-card a::after { content: "\2192"; transition: transform 0.2s var(--uhp-ease); }
.uhp-partner-card a:hover::after { transform: translateX(3px); }
.uhp-partner-card a:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; border-radius: 3px; }

.uhp-partners__fiscal-note {
  margin: 2rem 0 0; text-align: center; color: var(--ink-soft);
  font-family: var(--uhp-font-b); font-size: 0.85rem; letter-spacing: 0.03em;
}

/* =============================================================
   5. SDOH MATRIX
   ============================================================= */
.uhp-section--matrix { background: #fff; }
.uhp-matrix__head { text-align: center; margin: 0 auto 2.4rem; max-width: 60ch; }
.uhp-matrix__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0 0 0.7rem; }
.uhp-matrix__head .uhp-eyebrow { justify-content: center; }

.uhp-matrix {
  max-width: 640px; margin: 0 auto;
  background: #fff; border: 1px solid rgba(20,51,78,0.10);
  border-radius: 16px; overflow: hidden;
}
.uhp-matrix__row { display: grid; grid-template-columns: minmax(140px, 1.4fr) repeat(5, 1fr); }
.uhp-matrix__cell { padding: 0.72rem 0.4rem; font-family: var(--uhp-font-b); font-size: 0.78rem; text-align: center; display: flex; align-items: center; justify-content: center; line-height: 1.25; }
.uhp-matrix__row--head { background: #f6fafc; }
.uhp-matrix__row--head .uhp-matrix__cell { font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.7rem; }
.uhp-matrix__row + .uhp-matrix__row { border-top: 1px solid rgba(20,51,78,0.06); }
.uhp-matrix__cell--label { justify-content: flex-start; padding-left: 1rem; font-weight: 500; color: var(--navy); text-align: left; }
.uhp-matrix__yes { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px; background: var(--teal-deep); color: #fff; }
.uhp-matrix__yes::before { content: "\2713"; font-weight: 700; font-size: 15px; }
.uhp-matrix__no  { display: inline-block; width: 26px; height: 26px; border-radius: 6px; background: var(--sand); }

@media (max-width: 559px) {
  .uhp-matrix__cell { font-size: 0.68rem; padding: 0.55rem 0.2rem; }
  .uhp-matrix__cell--label { font-size: 0.72rem; padding-left: 0.5rem; }
  .uhp-matrix__yes, .uhp-matrix__no { width: 20px; height: 20px; }
}

/* =============================================================
   6. CAMPUS ITEMS — warm background
   ============================================================= */
.uhp-section--campus { background: var(--warm); }
.uhp-campus__head { text-align: center; margin: 0 auto 2.4rem; max-width: 60ch; }
.uhp-campus__head h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 0 0 0.7rem; }
.uhp-campus__head .uhp-eyebrow { justify-content: center; }
.uhp-campus__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 767px) { .uhp-campus__grid { grid-template-columns: repeat(2, 1fr); } }
.uhp-tile {
  background: #fff; border: 1px solid rgba(20,51,78,0.08);
  border-radius: 14px; padding: 1.4rem 1rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  transition: border-color 0.2s var(--uhp-ease), transform 0.2s var(--uhp-ease);
}
.uhp-tile:hover { border-color: var(--teal-bright); transform: translateY(-2px); }
.uhp-tile:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .uhp-tile { transition: none; } .uhp-tile:hover { transform: none; } }
.uhp-tile__icon { font-size: 1.8rem; line-height: 1; }
.uhp-tile__label { font-family: var(--uhp-font-b); font-size: 0.9rem; font-weight: 500; color: var(--navy); line-height: 1.35; }

/* =============================================================
   7. FLOOR PLAN — blueprint aesthetic
   ============================================================= */
.uhp-section--floorplan { background: #fff; }
.uhp-floorplan__head { text-align: center; margin: 0 auto 2.2rem; max-width: 60ch; }
.uhp-floorplan__head h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 0 0 0.7rem; }
.uhp-floorplan__head .uhp-eyebrow { justify-content: center; }
.uhp-floorplan__frame {
  background: #f8fbff; border: 1px solid #d0dce8; border-radius: 14px;
  padding: clamp(1rem, 2vw, 1.6rem);
  max-width: 1000px; margin: 0 auto;
}
.uhp-floorplan__frame svg { width: 100%; height: auto; display: block; }
@media (max-width: 767px) { .uhp-floorplan__frame { overflow-x: auto; padding: 0.8rem; } .uhp-floorplan__frame svg { min-width: 640px; } }

.uhp-fp-outer  { fill: none; stroke: #1a4a7a; stroke-width: 3.5; stroke-linejoin: miter; }
.uhp-fp-inner  { fill: none; stroke: #3a6a9a; stroke-width: 1.8; stroke-linejoin: miter; }
.uhp-fp-thin   { fill: none; stroke: #3a6a9a; stroke-width: 1.2; stroke-linejoin: miter; }
.uhp-fp-dash   { fill: none; stroke: #3a6a9a; stroke-width: 1.5; stroke-dasharray: 6 4; }
.uhp-fp-grid   { stroke: rgba(58,106,154,0.10); stroke-width: 0.5; }
.uhp-fp-grid-major { stroke: rgba(58,106,154,0.20); stroke-width: 0.75; }
.uhp-fp-title  { font-family: 'Sora', sans-serif; font-size: 10px; fill: #3a6a9a; letter-spacing: 0.16em; text-transform: uppercase; }
.uhp-fp-dim    { font-family: 'Sora', sans-serif; font-size: 9px;  fill: #3a6a9a; letter-spacing: 0.05em; }
.uhp-fp-room   { font-family: 'Sora', sans-serif; font-size: 13px; fill: #1a4a7a; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; pointer-events: none; }
.uhp-fp-room-sub { font-family: 'Sora', sans-serif; font-size: 10px; fill: #3a6a9a; letter-spacing: 0.06em; pointer-events: none; }

.uhp-fp-zone {
  cursor: pointer; fill-opacity: 0.40; stroke: #1a4a7a; stroke-width: 1.6;
  transition: fill-opacity 0.18s var(--uhp-ease), stroke-width 0.18s var(--uhp-ease);
}
.uhp-fp-zone:hover { fill-opacity: 0.62; stroke-width: 2.4; }
.uhp-fp-zone:focus { outline: none; }
.uhp-fp-zone:focus-visible { fill-opacity: 0.72; stroke-width: 2.6; }
.uhp-fp-zone[data-active="true"] { fill-opacity: 0.80; stroke-width: 2.6; }
.uhp-fp-zone--common { stroke-dasharray: 4 3; }
@media (prefers-reduced-motion: reduce) { .uhp-fp-zone { transition: none; } }

.uhp-fp-compass-ring   { fill: #fff; stroke: #3a6a9a; stroke-width: 0.75; }
.uhp-fp-compass-needle { fill: #1a4a7a; }
.uhp-fp-compass-label  { font-family: 'Sora', sans-serif; font-size: 10px; fill: #1a4a7a; font-weight: 600; letter-spacing: 0.06em; }

.uhp-fp-legend { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; justify-content: center; margin: 1.2rem 0 0; }
.uhp-fp-legend__item { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--uhp-font-b); font-size: 0.82rem; color: var(--navy); }
.uhp-fp-legend__swatch { width: 14px; height: 14px; border-radius: 3px; border: 1px solid rgba(20,51,78,0.35); }

.uhp-fp-panel {
  margin: 1.6rem auto 0; max-width: 720px;
  background: linear-gradient(120deg, var(--sky-bg) 0%, var(--teal-bg) 100%);
  border-radius: 16px; padding: 1.6rem 1.8rem; position: relative;
  color: var(--navy);
}
.uhp-fp-panel[hidden] { display: none; }
.uhp-fp-panel h3 { font-family: var(--uhp-font-h); font-weight: 500; font-size: 1.35rem; margin: 0 0 0.6rem; }
.uhp-fp-panel p  { font-family: var(--uhp-font-b); font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; margin: 0 0 0.55rem; }
.uhp-fp-panel__hours { font-family: var(--uhp-font-b); font-size: 0.85rem; color: var(--teal); font-weight: 600; }
.uhp-fp-panel__close {
  position: absolute; top: 0.65rem; right: 0.65rem; width: 36px; height: 36px;
  border: none; background: transparent; color: var(--navy); font-size: 1.35rem; cursor: pointer;
  border-radius: 8px;
}
.uhp-fp-panel__close:hover { background: rgba(20,51,78,0.08); }
.uhp-fp-panel__close:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* =============================================================
   8. PANTRY — teal gradient
   ============================================================= */
/* Gradient was --teal-bright (#44c4ad, L=0.44) -> --seafoam
   (#78d4be, L=0.57) which fails 4.5:1 for white text at any size
   below 24px (white on teal-bright = 2.15:1). Swapped to
   --teal-deep -> --teal-bright which floors at L=0.183 -- white on
   teal-deep passes AA at 5.4:1, and the lighter stop still keeps
   the visual identity. */
.uhp-section--pantry {
  background:
    radial-gradient(1000px 500px at 15% 15%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.uhp-section--pantry::before {
  /* organic circle pattern at 5% opacity */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background-image:
    radial-gradient(circle at 12% 22%, #fff 0 46px, transparent 47px),
    radial-gradient(circle at 82% 12%, #fff 0 34px, transparent 35px),
    radial-gradient(circle at 88% 68%, #fff 0 52px, transparent 53px),
    radial-gradient(circle at 20% 82%, #fff 0 40px, transparent 41px);
}
.uhp-pantry { position: relative; z-index: 1; text-align: center; max-width: 900px; margin: 0 auto; }
.uhp-pantry h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.6rem); margin: 0 0 0.7rem; }
.uhp-pantry__subhead { color: rgba(255,255,255,0.95); font-size: 1.05rem; margin: 0 0 2.2rem; }
.uhp-pantry__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: left; margin-bottom: 2rem; }
@media (max-width: 767px) { .uhp-pantry__cards { grid-template-columns: 1fr; } }
/* Card bg is a navy scrim (not a white glass panel) so the
   effective substrate under white text is dark enough for AA.
   rgba(20,51,78,0.4) over --teal-deep composites to ~rgb(35,97,98)
   with L=0.099, giving white text ~7:1 -- passes AAA. A white
   glass panel over the same gradient would have failed (~3.18:1). */
.uhp-pantry-card {
  background: rgba(20,51,78,0.4); border: 1px solid rgba(255,255,255,0.34);
  backdrop-filter: blur(4px);
  border-radius: 14px; padding: 1.3rem 1.2rem;
}
.uhp-pantry-card__title { font-family: var(--uhp-font-b); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin: 0 0 0.55rem; }
.uhp-pantry-card__body  { font-family: var(--uhp-font-h); font-weight: 500; color: #fff; font-size: 1.05rem; line-height: 1.35; margin: 0; }
/* The .uhp-page prefix bumps specificity above the sitewide
   .uhp-page main a { color: var(--teal-deep) } rule so the phone
   anchor inside the navy-scrim card stays white. Without it the
   two-element .uhp-page main a rule wins and the phone renders
   dark teal against the teal card background (~1.5:1 contrast). */
.uhp-page .uhp-pantry-card__body a { color: #fff; text-decoration: underline; }
.uhp-page .uhp-pantry-card__body a:hover { color: #fff; }
.uhp-page .uhp-pantry-card__body a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }
.uhp-pantry__cta { display: inline-flex; align-items: center; gap: 0.5rem; }
.uhp-pantry__note { margin-top: 1.2rem; color: rgba(255,255,255,0.95); font-size: 0.95rem; line-height: 1.5; }

/* =============================================================
   9. LOCATION — warm background
   ============================================================= */
.uhp-section--location { background: var(--warm); }
.uhp-location { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: start; }
@media (max-width: 899px) { .uhp-location { grid-template-columns: 1fr; gap: 1.6rem; } }
.uhp-location__prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.4rem); margin: 0 0 0.9rem; }
.uhp-location__addr {
  display: block; font-family: var(--uhp-font-h); font-weight: 500; font-size: 1.15rem;
  color: var(--navy); padding: 0.9rem 1.1rem; margin: 1rem 0 1.3rem;
  background: #fff; border-left: 3px solid var(--teal-bright); border-radius: 0 10px 10px 0;
}
.uhp-location__notes p { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.6; margin: 0 0 0.7rem; }
.uhp-location__map {
  border-radius: 14px; overflow: hidden; min-height: 320px; background: #fff;
  border: 1px solid rgba(20,51,78,0.12);
}
.uhp-location__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* =============================================================
   10. CTA — teal gradient
   ============================================================= */
/* Was #1a8a7a -> #2a9a88 (L 0.20 -> 0.24) which fails 4.5:1 for
   white body text (~4.27:1 at the darker end). Deepened to navy ->
   teal-deep so both stops clear AA (5.4:1 minimum). */
.uhp-section--cta {
  background:
    radial-gradient(900px 500px at 82% 20%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--teal-deep) 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.uhp-section--cta::before {
  content: ""; position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image:
    radial-gradient(circle at 8% 12%, #fff 0 24px, transparent 25px),
    radial-gradient(circle at 92% 24%, #fff 0 30px, transparent 31px),
    radial-gradient(circle at 24% 88%, #fff 0 26px, transparent 27px),
    radial-gradient(circle at 82% 78%, #fff 0 32px, transparent 33px);
}
.uhp-cta { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.uhp-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.7rem); margin: 0 0 0.7rem; }
.uhp-cta p  { color: rgba(255,255,255,0.95); font-size: 1.05rem; line-height: 1.55; margin: 0 0 2rem; }
.uhp-cta__buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
