/* Stephen Strong, M.D. — Private Internal Medicine
   Shared site stylesheet — palette and type pulled from the website concept PDF */

:root {
  --ink: #273024;          /* deep forest ink — cover bg + all body text */
  --ink-soft: #58634f;
  --paper: #f5f0e7;        /* cream page background */
  --paper-raised: #ece3d1; /* card / callout background */
  --paper-line: rgba(39, 48, 36, 0.14);
  --paper-line-strong: rgba(39, 48, 36, 0.26);
  --gold: #d9c9a3;         /* headline gold on dark backgrounds */
  --gold-deep: #a98f5c;    /* readable gold-on-cream for links/accents */
  --ink-darker: #1c231a;   /* darker olive — left edge accent bar */
  --ink-lighter: #3f4d3a;  /* lighter olive — right edge accent bar */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  font-family: 'Public Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1, h2, h3, .serif {
  font-family: 'Lora', serif;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--ink);
}

p { color: var(--ink); }
p + p { margin-top: 16px; }

.pull-quote {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  margin-top: 28px;
  color: var(--ink);
}

/* ===== NAV ===== */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--paper-line);
}
nav.site-nav .wrap {
  max-width: 1040px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
nav.site-nav { position: sticky; top: 0; }
.brand {
  font-family: 'Lora', serif;
  font-size: 17px;
  font-weight: 500;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
@keyframes logoRise {
  from { transform: translateY(7px); }
  to   { transform: translateY(0px); }
}
@media (prefers-reduced-motion: no-preference) {
  .brand-mark {
    animation: logoRise 5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  }
}
@keyframes pillarDrop2 {
  from { transform: translateY(-6px); }
  to   { transform: translateY(0); }
}
@keyframes pillarDrop3 {
  from { transform: translateY(-12px); }
  to   { transform: translateY(0); }
}
.intro-pillars.in li:nth-child(2) {
  animation: pillarDrop2 4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.intro-pillars.in li:nth-child(3) {
  animation: pillarDrop3 4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.brand small {
  display: block;
  font-family: 'Public Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}
.nav-links { display: flex; gap: 34px; font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; opacity: 0.72; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }

.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-ct-link { font-size: 13px; font-weight: 600; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--paper-line-strong); padding-bottom: 2px; white-space: nowrap; }
.nav-ct-link:hover { color: var(--ink); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav-panel {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
  padding: 8px 24px 28px;
}
.mobile-nav-panel.open { display: flex; }
.mobile-nav-panel a {
  text-decoration: none;
  font-size: 17px;
  font-family: 'Lora', serif;
  color: var(--ink);
  padding: 14px 0;
  border-top: 1px solid var(--paper-line);
}
.mobile-nav-panel a:first-child { border-top: none; }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--ink);
  padding: 10px 18px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  max-width: 1040px;
  margin: 0 auto;
  padding: 84px 40px 56px;
  border-bottom: 1px solid var(--paper-line);
}
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); max-width: 760px; margin-top: 18px; }
.page-hero .sub { max-width: 560px; margin-top: 20px; font-size: 17px; color: var(--ink-soft); }

/* ===== SECTION ===== */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 76px 40px;
  border-bottom: 1px solid var(--paper-line);
}
.section:last-of-type { border-bottom: none; }
.section:has(+ .photo-break) { border-bottom: none; background: var(--paper); }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 14px; }

.callout-box {
  background: #fff;
  border: 1px solid var(--paper-line);
  padding: 40px 44px;
  margin: 34px 0;
}
.callout-box .serif { font-size: 21px; line-height: 1.55; }
.callout-box .serif + .serif { margin-top: 10px; }

/* ===== OFFERINGS ===== */
.offering-list { margin-top: 46px; display: flex; flex-direction: column; }
.offering {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-top: 1px solid var(--paper-line);
}
.offering:last-child { border-bottom: 1px solid var(--paper-line); }
.offering-num {
  font-family: 'Lora', serif;
  font-size: 22px;
  color: var(--gold-deep);
}
.offering h3 { font-size: 21px; margin-bottom: 8px; }
.offering .tag { font-size: 14px; color: var(--ink-soft); font-style: italic; margin-bottom: 10px; }
.offering p { color: var(--ink-soft); font-size: 15.5px; }

/* ===== TIER COMPARISON ===== */
.tier-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--paper-line-strong);
  border: 1px solid var(--paper-line-strong);
  margin-top: 40px;
}
.tier-col { background: var(--paper); padding: 36px 34px; }
.tier-col h3 { font-size: 19px; margin-bottom: 4px; }
.tier-col .think { font-size: 13.5px; font-style: italic; color: var(--ink-soft); margin-bottom: 18px; }
.tier-col ul { list-style: none; }
.tier-col li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 9px 0;
  border-top: 1px solid var(--paper-line);
}
.tier-col li:first-child { border-top: none; }

/* ===== STEPS (flagship offering) ===== */
.steps { display: flex; gap: 0; margin-top: 46px; flex-wrap: wrap; }
.step { flex: 1; min-width: 140px; padding: 0 18px 0 0; }
.step-num {
  font-family: 'Lora', serif;
  font-size: 26px;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 10px;
}
.step h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.step p { font-size: 13.5px; color: var(--ink-soft); }

/* ===== LONGITUDINAL CARDS ===== */
.longi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 44px; }
.longi-card h3 { font-size: 18px; margin-bottom: 10px; }
.longi-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ===== CREDENTIALS (about) ===== */
.credentials-list { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.credentials-list .item { display: flex; gap: 16px; font-size: 15px; padding: 14px 0; border-top: 1px solid var(--paper-line); }
.credentials-list .item:first-child { border-top: none; }
.credentials-list .label { min-width: 160px; color: var(--ink-soft); font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }

/* ===== FOOTER ===== */
footer.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 90px 0 44px;
  position: relative;
  overflow: hidden;
}
footer.site-footer .wrap { max-width: 1040px; position: relative; z-index: 1; }

@media (max-width: 820px) {
  #mainHeadline { letter-spacing: -0.02em; transition: none; }
  .practice-intro-section { padding-top: 8px !important; }
  /* On mobile the nav brand name was wrapping to two lines on wider phones
     (Pro Max viewport ~440px leaves barely enough room at 17px Lora).
     Slightly smaller type + tighter Inquire button prevents the wrap and
     keeps the nav height to a proper single-band on all phone sizes. */
  nav.site-nav .wrap { height: 68px; }
  .brand { font-size: 15px; }
  .brand small { font-size: 9.5px; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
}
footer.site-footer h2 { color: var(--gold); font-size: clamp(21px, 2.7vw, 31.5px); max-width: 780px; }
footer.site-footer .sub { color: rgba(245, 240, 231, 0.68); max-width: 480px; margin-top: 18px; font-size: 16px; }
.footer-cta-btn {
  display: inline-block;
  margin-top: 34px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  padding: 15px 28px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.footer-cta-btn:hover { background: #fff; }

.inquire-hint {
  margin-top: 26px;
  max-width: 420px;
}
.inquire-hint p {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 240, 231, 0.5);
  margin-bottom: 10px;
}
.inquire-hint ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.inquire-hint li {
  font-size: 14px;
  color: rgba(245, 240, 231, 0.72);
  padding-left: 14px;
  position: relative;
}
.inquire-hint li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.footer-bottom {
  margin-top: 90px;
  padding-top: 28px;
  border-top: 1px solid rgba(245, 240, 231, 0.16);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: rgba(245, 240, 231, 0.5);
}
.footer-bottom a { text-decoration: none; opacity: 0.9; }
.footer-bottom a:hover { color: var(--gold); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.clinical-interest-item:nth-child(1) { transition-delay: 0s; }
.clinical-interest-item:nth-child(2) { transition-delay: 0.1s; }
.clinical-interest-item:nth-child(3) { transition-delay: 0.2s; }
.clinical-interest-item:nth-child(4) { transition-delay: 0.3s; }
.clinical-interest-item:nth-child(5) { transition-delay: 0.4s; }
.clinical-interest-item:nth-child(6) { transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== PHOTOGRAPHY ===== */
.photo-break {
  width: 100%;
  height: 38.5vh;
  min-height: 235px;
  max-height: 454px;
  position: relative;
  margin-top: -1px;
  z-index: 1;
}
@media (max-width: 820px) {
  .photo-break { height: 25.6vh; min-height: 157px; max-height: 302px; }
  /* More overflow on mobile: parallax range can exceed the desktop 22.5% on tall viewports */
  .photo-break img { height: 170%; top: -35%; }
}
.photo-panorama {
  display: none;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.photo-panorama img { width: 100%; height: auto; display: block; }
@media (min-width: 821px) {
  .photo-panorama { display: block; }
  .intro-pillars { font-size: 19px !important; }
}
@media (max-width: 820px) {
  .blurb-delayed { transition-delay: 0.6s; }
}
.photo-break img { width: 100%; height: 145%; object-fit: cover; display: block; position: absolute; top: -22.5%; left: 0; will-change: transform; }
.photo-break video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 821px) {
  .mobile-only-video { display: none; }
}
.photo-break .caption {
  position: absolute;
  bottom: 12px;
  left: 40px;
  color: #f5f0e7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  transition: color 0.5s ease, text-shadow 0.5s ease;
}
.photo-break .caption-date {
  position: absolute;
  bottom: 12px;
  right: 40px;
  color: rgba(245, 240, 231, 0.8);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  transition: color 0.5s ease, text-shadow 0.5s ease;
}
.photo-break.caption-dark .caption { color: var(--ink); text-shadow: 0 1px 6px rgba(245,240,231,0.5); }
.photo-break.caption-dark .caption-date { color: var(--ink-soft); text-shadow: 0 1px 6px rgba(245,240,231,0.5); }

.essay-photo-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 52px;
  align-items: center;
  margin-top: 8px;
}
.essay-photo-grid .photo-frame { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; }
.essay-photo-grid .photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.essay-photo-grid .photo-caption {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-style: italic;
}

.about-hero-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.about-hero-grid .photo-frame { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; }
.about-hero-grid .photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.essay-list { margin: 16px 0; padding-left: 0; list-style: none; }
.essay-list li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--ink); line-height: 1.5; }
.essay-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold-deep); }
.mic-bullet { font-family: 'Lora', serif; font-size: 24px; font-weight: 500; color: var(--ink); margin-bottom: 14px; opacity: 0; transform: translateY(16px); }
.essay-list.tight li { font-size: 15px; }

.clinical-interests { display: flex; flex-direction: column; margin-top: 40px; border-top: 1px solid var(--paper-line-strong); }
.clinical-interest-item { padding: 24px 4px; border-bottom: 1px solid var(--paper-line-strong); }
.clinical-interest-item h3 { font-size: 18px; margin-bottom: 6px; }
.clinical-interest-item p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* Desktop: descriptions hidden until toggled open all at once */
@media (min-width: 821px) {
  .clinical-interest-item p.interest-desc {
    max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
  }
  .clinical-interests.expanded .clinical-interest-item p.interest-desc {
    max-height: 200px; opacity: 1; margin-top: 6px;
  }
}
/* Mobile: descriptions always visible, hide the desktop toggle control */
@media (max-width: 820px) {
  .interests-desc-control { display: none; }
}

/* Desktop is the base/default here; mobile gets its own override below,
   using the same breakpoint already proven correct elsewhere on the site (nav, grids, etc.) */
.crop-ct-marina { object-position: center 65%; }
.crop-ct-sunset { object-position: center 65%; }
.crop-ct-shoreline { object-position: center 45%; }
.crop-ct-gravel { object-position: center 65%; }
.crop-ct-tree { object-position: center 65%; }

@media (max-width: 820px) {
  .crop-ct-marina { object-position: center center; }
  .crop-ct-sunset { object-position: center center; }
  .crop-ct-shoreline { object-position: center center; }
  .crop-ct-gravel { object-position: center center; }
  .crop-ct-tree { object-position: center center; }
}

/* alternating tint gives the long scroll of stacked sections some visual rhythm,
   most noticeable on mobile where everything reads as one continuous column */
.section:nth-of-type(even) { background: var(--paper-raised); }

/* ===== HUB: three-way overview + two doors (Practice page) ===== */
.mini-overview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 44px; }
.mini-overview-item { padding: 26px 24px; background: #fff; border: 1px solid var(--paper-line); }
.mini-overview-item .eyebrow { color: var(--gold-deep); margin-bottom: 10px; }
.mini-overview-item h3 { font-size: 18px; margin-bottom: 8px; }
.mini-overview-item p { font-size: 14px; color: var(--ink-soft); }

.hub-doors { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--paper-line-strong); border: 1px solid var(--paper-line-strong); margin-top: 20px; }
.hub-doors-photo-row { display: flex; align-items: stretch; gap: 1px; background: var(--paper-line-strong); border: 1px solid var(--paper-line-strong); margin-top: 20px; }
.hub-doors-photo-row .hub-door { max-width: 520px; flex-shrink: 0; }
.hub-doors-photo { flex: 1; overflow: hidden; background: var(--paper-raised); min-width: 160px; }
.hub-doors-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
@media (max-width: 820px) {
  .hub-doors-photo-row { flex-direction: column; }
  .hub-doors-photo-row .hub-door { max-width: none; }
  .hub-doors-photo { min-height: 200px; }
}
.hub-door { background: var(--paper); padding: 40px 36px; text-decoration: none; display: block; transition: background 0.2s; }
.hub-door:hover { background: var(--paper-raised); }
.hub-door .eyebrow { color: var(--gold-deep); margin-bottom: 10px; }
.hub-door h3 { font-size: 22px; margin-bottom: 10px; }
.hub-door p { font-size: 15px; color: var(--ink-soft); margin-bottom: 16px; }
.hub-door .arrow { font-size: 14px; font-weight: 600; }

/* ===== PHILOSOPHY page: index + sticky sub-nav ===== */
.philosophy-index { display: flex; flex-direction: column; margin-top: 40px; border-top: 1px solid var(--paper-line-strong); }
.philosophy-index a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 18px 4px; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--paper-line-strong); transition: opacity 0.2s;
}
.philosophy-index a:hover { opacity: 0.65; }
.philosophy-index .num { font-family: 'Lora', serif; font-size: 15px; color: var(--gold-deep); min-width: 22px; }
.philosophy-index .title { font-family: 'Lora', serif; font-size: 18px; }

.essay-subnav {
  position: sticky; top: 78px; z-index: 40;
  background: rgba(245, 240, 231, 0.94); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--paper-line); overflow-x: auto;
  -ms-overflow-style: none; scrollbar-width: none;
}
.essay-subnav::-webkit-scrollbar { display: none; }
.essay-subnav .wrap { max-width: 1040px; display: flex; gap: 26px; padding-top: 14px; padding-bottom: 14px; white-space: nowrap; }
.essay-subnav a { text-decoration: none; font-size: 13px; color: var(--ink-soft); opacity: 0.7; transition: opacity 0.2s, color 0.2s; }
.essay-subnav a.current { opacity: 1; color: var(--gold-deep); font-weight: 600; }

.bridge-cta { text-align: center; padding: 8px 0 4px; }
.bridge-cta p { font-size: 17px; margin-bottom: 20px; }
.bridge-cta .footer-cta-btn { background: var(--ink); color: var(--paper); }
.bridge-cta .footer-cta-btn:hover { background: var(--gold-deep); }

/* ===== Meet Stephen: campus photo grid ===== */
.campus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 44px; }
.campus-grid .photo-frame { aspect-ratio: 4 / 5; overflow: hidden; }
.campus-grid .photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Featured card (Story link from About; CT link from How We Work Together) ===== */
.featured-link-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  margin-top: 20px; text-decoration: none; color: var(--paper);
  background: var(--ink); overflow: hidden;
}
.featured-link-card .photo-frame { aspect-ratio: 4 / 3; overflow: hidden; }
.featured-link-card .photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-link-card .content { padding: 36px 38px; display: flex; flex-direction: column; justify-content: center; }
.featured-link-card .eyebrow { color: var(--gold); margin-bottom: 10px; }
.featured-link-card h3 { color: var(--gold); font-size: 24px; margin-bottom: 12px; }
.featured-link-card p { color: rgba(245, 240, 231, 0.78); font-size: 15px; margin-bottom: 18px; }
.featured-link-card .arrow { color: var(--paper); font-size: 14px; font-weight: 600; }

/* ===== Tide widget (site-wide footer) ===== */
.tide-widget {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(245, 240, 231, 0.16);
  font-size: 12.5px; letter-spacing: 0.04em; color: rgba(245, 240, 231, 0.55);
}
.tide-stack {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(245, 240, 231, 0.16);
  font-size: 12.5px; letter-spacing: 0.04em; color: rgba(245, 240, 231, 0.55);
}
.tide-stack-title { text-transform: uppercase; font-weight: 600; }
.tide-stack-list { display: flex; flex-direction: column; gap: 4px; }
.tide-stack-list .tide-widget { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: none; font-size: inherit; letter-spacing: inherit; color: inherit; }
.tide-widget .tide-label { text-transform: uppercase; }
.tide-widget .tide-readout { color: var(--gold); font-weight: 600; }
.tide-widget .tide-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(245, 240, 231, 0.35); }

@media (max-width: 820px) {
  .tide-widget { font-size: 10.5px; gap: 6px; }
  .tide-stack { font-size: 10.5px; gap: 10px; }
}

.est-badge {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245, 240, 231, 0.5);
}

@media (max-width: 820px) {
  .wrap, .section, .page-hero { padding-left: 24px; padding-right: 24px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-ct-link { display: none; }
  .tier-compare, .longi-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 26px; }
  .footer-bottom { flex-direction: column; }

  .photo-break { height: 25.6vh; min-height: 157px; max-height: 302px; }
  .photo-break .caption { left: 24px; bottom: 10px; }
  .photo-break .caption-date { right: 24px; bottom: 10px; font-size: 10px; }
  .essay-photo-grid { grid-template-columns: 1fr; gap: 20px; }
  .essay-photo-grid .photo-frame { order: -1; aspect-ratio: 16 / 10; }
  .essay-photo-grid .photo-frame.tall-mobile { aspect-ratio: 3 / 4; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-hero-grid .photo-frame { aspect-ratio: 16 / 11; }

  .mini-overview { grid-template-columns: 1fr; gap: 14px; }
  .hub-doors { grid-template-columns: 1fr; }
  .hub-door { padding: 30px 26px; }
  .campus-grid { grid-template-columns: 1fr 1fr; gap: 3px; }
  .featured-link-card { grid-template-columns: 1fr; }
  .featured-link-card .content { padding: 28px 26px; }

  /* tighten vertical rhythm so the page doesn't feel like one endless scroll */
  .page-hero { padding-top: 56px; padding-bottom: 40px; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  .pull-quote { font-size: 20px; }
  .callout-box { padding: 30px 26px; }
  .offering { grid-template-columns: 44px 1fr; gap: 16px; padding: 26px 0; }
}

