/* Root Canal Specialists of Arizona — Shared Stylesheet
   Cloudflare Pages static site · ADA/WCAG 2.1 AA compliant
   ============================================================ */

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  --cream: #FBF8F1;
  --cream-mid: #F4EEE2;
  --cream-deep: #EDE6D6;
  --ink: #1E1F21;
  --ink-soft: #3E3F42;
  --ink-muted: #55565A;
  --ink-subtle: #6B6C6F;
  --ink-faint: #8B8C8F;
  --ink-border: rgba(30,31,33,0.1);
  --ink-border-mid: rgba(30,31,33,0.2);
  --rust: #A66941;
  --rust-dark: #8F5734;
  --rust-light: #F7EEE6;
  --grey-mid: #A8A8AA;
  --grey-warm: #B9BABC;
  --dark-bg: #1A1B1D;
  --dark-bg-lighter: #24252A;
  --dark-bg-section: #1E1F23;
  --white: #FFFFFF;
  --error-red: #9A3B2E;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --nav-height: 88px;
  --utility-height: 38px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--rust); }
a:hover { color: var(--rust-dark); }

img, svg { display: block; max-width: 100%; height: auto; }

/* ── Skip to Content (ADA) ──────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--rust);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Screen Reader Only ─────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes navFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes linkIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
.site-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 500;
  font-family: var(--font-sans);
}

/* Utility strip */
.nav-utility {
  background: var(--dark-bg);
  color: var(--grey-mid);
  display: none;
}
@media (min-width: 1180px) {
  .nav-utility { display: block; }
}
.nav-utility-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: var(--utility-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-utility-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
}
.nav-utility-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-utility-hours {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.nav-utility-phone {
  text-decoration: none;
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}
.nav-utility-phone:hover { color: var(--rust); }
.nav-utility-phone:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

/* Main bar */
.nav-main-bar {
  background: rgba(251,248,241,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-border);
}
.nav-main-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  height: var(--nav-height);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex: none;
}
.nav-logo:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.nav-logo-icon { height: 40px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
}
.nav-logo-sub {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--rust);
  margin-top: 4px;
}

/* Desktop nav links */
.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(26px, 2.6vw, 40px);
  animation: navFade 0.5s ease-out both;
}
@media (min-width: 1180px) {
  .nav-desktop { display: flex; }
}

/* Extend wrapper to fill full nav height — eliminates hover gap to dropdown */
.nav-dropdown-wrapper {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink);
  transition: color 0.2s;
}
.nav-dropdown-btn:hover { color: var(--rust); }
.nav-dropdown-btn:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.nav-dropdown-btn.active { color: var(--rust); }

.nav-chevron {
  font-size: 7px;
  color: var(--grey-mid);
  transition: transform 0.2s ease;
}
.nav-dropdown-wrapper.open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 10px 0 14px;
  display: none;
  position: absolute;
  top: 100%;
  left: -26px;
  min-width: 300px;
  background: var(--white);
  border: 1px solid rgba(30,31,33,0.08);
  border-top: none;
  box-shadow: 0 20px 48px rgba(30,31,33,0.14);
  z-index: 200;
  animation: navFade 0.18s ease-out both;
}
.nav-dropdown-wrapper.open .nav-dropdown-menu { display: block; }

.nav-dropdown-link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 26px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s;
}
.nav-dropdown-link:hover { background: var(--cream); }
.nav-dropdown-link:focus-visible { outline: 2px solid var(--rust); outline-offset: -2px; }
.nav-dropdown-link.active { color: var(--rust); }
.nav-dropdown-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--grey-mid);
}
.nav-dropdown-label { font-size: 14.5px; font-weight: 500; letter-spacing: 0.02em; }

.nav-link {
  position: relative;
  padding: 10px 0 8px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover { color: var(--rust); }
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-link:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.nav-link.active { color: var(--rust); }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  flex: none;
  text-decoration: none;
  background: var(--rust);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 16px 26px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--rust-dark); transform: translateY(-1px); color: var(--white); }
.nav-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Desktop CTA: hide on mobile, show at desktop breakpoint */
.nav-cta-desktop { display: none; }
@media (min-width: 1180px) {
  .nav-cta-desktop { display: inline-block; }
}

/* Mobile nav controls */
.nav-mobile-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (min-width: 1180px) {
  .nav-mobile-controls { display: none; }
}
.nav-mobile-phone {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--rust);
  font-variant-numeric: tabular-nums;
}
.nav-mobile-phone:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.nav-hamburger {
  background: none;
  border: 1px solid rgba(30,31,33,0.16);
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.2s;
}
.nav-hamburger:hover { border-color: var(--rust); }
.nav-hamburger:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

/* Mobile menu overlay */
.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--cream);
  overflow: auto;
  flex-direction: column;
  animation: overlayIn 0.25s ease-out both;
}
.nav-mobile-menu.open { display: flex; }

.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(20px, 5vw, 40px);
  border-bottom: 1px solid var(--ink-border);
}
.nav-mobile-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-mobile-logo-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.nav-close {
  background: none;
  border: 1px solid rgba(30,31,33,0.16);
  cursor: pointer;
  width: 48px;
  height: 48px;
  font-size: 18px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.nav-close:hover { border-color: var(--rust); color: var(--rust); }
.nav-close:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.nav-mobile-body {
  flex: 1;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 5vw, 40px);
  display: flex;
  flex-direction: column;
}
.nav-mobile-section-label {
  margin: 0 0 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--rust);
  animation: linkIn 0.4s ease-out 0.05s both;
}
.nav-mobile-section-label.second { margin-top: 34px; animation-delay: 0.36s; }

.nav-mobile-link {
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.4;
  color: var(--ink);
  transition: color 0.2s, font-style 0.1s;
}
.nav-mobile-link:hover { color: var(--rust); font-style: italic; }
.nav-mobile-link:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.nav-mobile-link.active { color: var(--rust); }

.nav-mobile-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
  animation: linkIn 0.5s ease-out 0.7s both;
}

/* ── BUTTONS / CTAs ─────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  text-decoration: none;
  background: var(--rust);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  padding: 19px 32px;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.btn-primary:hover { background: var(--rust-dark); color: var(--white); }
.btn-primary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.btn-outline {
  display: inline-block;
  text-decoration: none;
  background: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  padding: 19px 32px;
  border: 1px solid rgba(30,31,33,0.25);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.22s, color 0.22s, transform 0.22s;
}
.btn-outline:hover { border-color: var(--rust); color: var(--rust); }
.btn-outline:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.btn-outline-light {
  display: inline-block;
  text-decoration: none;
  background: none;
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  padding: 19px 32px;
  border: 1px solid rgba(251,248,241,0.35);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.22s, color 0.22s, transform 0.22s;
}
.btn-outline-light:hover { border-color: var(--rust); color: var(--rust); }
.btn-outline-light:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.btn-sm { font-size: 12.5px; padding: 15px 24px; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn-group.centered { justify-content: center; }

/* Underline link */
.link-underline {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1.5px solid var(--rust);
  padding-bottom: 5px;
  transition: color 0.22s;
}
.link-underline:hover { color: var(--rust); }
.link-underline:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

/* ── SECTIONS ───────────────────────────────────────────────── */
.section-pad {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
}
.section-pad-sm {
  padding: clamp(40px, 5vw, 64px) clamp(20px, 5vw, 72px);
}
.section-pad-lg {
  padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 72px);
}

.max-w { max-width: 1280px; margin: 0 auto; }
.max-w-md { max-width: 860px; margin: 0 auto; }
.max-w-sm { max-width: 720px; margin: 0 auto; }
.max-w-text { max-width: 900px; margin: 0 auto; }

/* ── EYEBROW / LABELS ───────────────────────────────────────── */
.eyebrow {
  margin: 0 0 18px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--rust);
}
.eyebrow-sm {
  margin: 0 0 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--rust);
}

/* ── HEADINGS ───────────────────────────────────────────────── */
.h-display {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(54px, 7vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(42px, 5.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.h2-mid {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
}
.h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
}

/* ── GRID LAYOUTS ───────────────────────────────────────────── */
.grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.grid-2col-start { align-items: start; }

.grid-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  align-items: stretch;
}

.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(40px, 5vw, 80px);
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: rgba(30,31,33,0.1);
  border: 1px solid rgba(30,31,33,0.1);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero-content {
  padding: clamp(72px, 10vw, 148px) clamp(20px, 5vw, 72px) clamp(64px, 9vw, 112px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
}
.hero-image-wrapper {
  position: relative;
  min-height: min(78vh, 680px);
  overflow: hidden;
  background: #EDE7DA;
}
.hero-image-inner {
  position: absolute;
  inset: -8% 0;
  animation: heroZoom 2.6s cubic-bezier(0.22, 0.6, 0.2, 1) both;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── IMAGE PLACEHOLDER ──────────────────────────────────────── */
.img-placeholder {
  position: relative;
  background: var(--cream-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.img-placeholder span {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  color: var(--ink-faint);
  text-align: center;
  padding: 16px;
}
.img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── DARK SECTIONS ──────────────────────────────────────────── */
.section-dark {
  background: var(--dark-bg);
  color: var(--cream);
}
.section-dark a { color: var(--cream); }
.section-dark a:hover { color: var(--rust); }

.section-warm { background: var(--cream-mid); }
.section-white { background: var(--white); }

/* Rust top-rule accent */
.section-rule-top {
  border-top: 2px solid var(--rust);
}
/* Section divider — full-width accent bar */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--rust) 20%, var(--rust) 80%, transparent 100%);
  opacity: 0.22;
  margin: 0;
}

/* ── STAT/NUMBER DISPLAY ─────────────────────────────────────── */
.stat-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--cream);
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--grey-mid);
}

/* ── PROCEDURE ROWS ──────────────────────────────────────────── */
.svc-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink-border);
}

.svc-row {
  display: grid;
  grid-template-columns: clamp(52px,6.5vw,86px) 1fr clamp(44px,5vw,60px);
  align-items: center;
  gap: clamp(16px,3vw,40px);
  padding: clamp(22px,3.2vw,42px) 0;
  border-bottom: 1px solid var(--ink-border);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.28s;
}
.svc-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream-mid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.44s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.svc-row:hover::before { transform: scaleX(1); }
.svc-row:focus-visible { outline: 2px solid var(--rust); outline-offset: -2px; }

.svc-row-num {
  font-family: var(--font-serif);
  font-size: clamp(42px,5.2vw,76px);
  font-weight: 300;
  color: var(--rust);
  opacity: 0.22;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: opacity 0.32s;
  position: relative;
  z-index: 1;
  user-select: none;
}
.svc-row:hover .svc-row-num { opacity: 0.9; }

.svc-row-body {
  position: relative;
  z-index: 1;
}
.svc-row-name {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(22px,2.6vw,36px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 5px;
}
.svc-row-desc {
  display: block;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-subtle);
}

/* Circular arrow badge — rotates ↗ → → on hover */
.svc-row-arrow {
  width: clamp(44px,5vw,60px);
  height: clamp(44px,5vw,60px);
  border-radius: 50%;
  border: 1px solid var(--ink-border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--rust);
  transform: rotate(45deg);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.28s, background 0.28s, color 0.28s;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  justify-self: end;
}
.svc-row:hover .svc-row-arrow {
  transform: rotate(0deg);
  border-color: var(--rust);
  background: var(--rust);
  color: var(--cream);
}

/* Quote row at the end of the list */
.svc-row-quote {
  display: flex;
  align-items: center;
  padding: clamp(22px,3.2vw,42px) 0;
  border-bottom: 1px solid var(--ink-border);
}
.svc-row-quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px,2vw,26px);
  color: var(--rust);
  line-height: 1.35;
}

/* Keep .svc-arrow for any legacy references on inner pages */
.svc-arrow {
  display: inline-block;
  font-size: 22px;
  line-height: 1;
  color: var(--rust);
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
  opacity: 0.35;
}

/* ── VALUES GRID ────────────────────────────────────────────── */
.value-card {
  background: var(--white);
  padding: 34px 30px;
}
.value-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
}
.value-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-muted);
}

/* ── AT A GLANCE BOX ────────────────────────────────────────── */
.glance-box {
  background: var(--white);
  border: 1px solid var(--ink-border);
  padding: 30px 32px;
  max-width: 420px;
  width: 100%;
}
.glance-box dl { margin: 0; }
.glance-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(30,31,33,0.08);
}
.glance-row:last-child { border-bottom: none; }
.glance-row dt { font-size: 14px; color: var(--ink-subtle); }
.glance-row dd { margin: 0; font-size: 14px; font-weight: 600; }

/* ── NUMBERED STEPS ─────────────────────────────────────────── */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.step-item {
  display: flex;
  gap: 26px;
  padding: 28px 0;
  border-top: 1px solid var(--ink-border);
}
.step-item:last-child { border-bottom: 1px solid var(--ink-border); }
.step-num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 300;
  color: var(--rust);
  line-height: 1.0;
  min-width: 52px;
  letter-spacing: -0.02em;
  opacity: 0.6;
}
.step-item h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 600; }
.step-item p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink-muted); }

/* ── ROTATING ARROW LINKS ────────────────────────────────────── */
/* Arrow rotates from 45° (diagonal ↗) to 0° (right →) on hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.22s;
}
.link-arrow .arr {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  transform: rotate(45deg);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.link-arrow:hover { color: var(--rust); }
.link-arrow:hover .arr { transform: rotate(0deg); }
.link-arrow:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.link-arrow-light {
  color: var(--cream);
}
.link-arrow-light:hover { color: var(--rust); }

/* Updated link-underline: adds rotating arrow suffix */
.link-underline .arr {
  display: inline-block;
  margin-left: 6px;
  transform: rotate(45deg);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  font-style: normal;
}
.link-underline:hover .arr { transform: rotate(0deg); }

/* ── FEATURE ROWS ───────────────────────────────────────────── */
.feature-num {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--grey-mid);
}
.feature-row {
  display: flex;
  gap: 26px;
  padding: 28px 0;
  border-top: 1px solid rgba(251,248,241,0.1);
  transition: border-color 0.2s;
}
.feature-row:last-child { border-bottom: 1px solid rgba(251,248,241,0.1); }
.feat-num {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 300;
  color: rgba(255,255,255,0.18); /* ghost number */
  line-height: 1;
  min-width: 60px;
  letter-spacing: -0.02em;
  user-select: none;
  flex-shrink: 0;
}
.feature-row h3, .feature-row-h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--cream); }
.feature-row p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--grey-mid); }

/* ── ASIDE / SIDEBAR ────────────────────────────────────────── */
.aside-sticky {
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-self: start;
}
@media (min-width: 960px) {
  .aside-sticky { position: sticky; top: calc(var(--nav-height) + 14px); }
}

.aside-urgent {
  background: var(--dark-bg);
  color: var(--cream);
  padding: 30px 28px;
}
.aside-urgent a { color: var(--cream); }
.aside-urgent-title {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--rust);
}
.aside-urgent p {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.25;
}

.aside-trauma {
  background: var(--rust);
  color: var(--white);
  padding: 30px 28px;
}
.aside-trauma a { color: var(--white); }

.aside-related {
  border: 1px solid var(--ink-border);
  padding: 26px 28px;
  background: var(--white);
}
.aside-related-title {
  margin: 0 0 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--rust);
}
.aside-links { display: flex; flex-direction: column; gap: 12px; }
.aside-link {
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s;
}
.aside-link:hover { color: var(--rust); }
.aside-link:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

/* ── PAGE BODY CONTENT ──────────────────────────────────────── */
.body-text { font-size: 16px; line-height: 1.85; color: var(--ink-soft); }
.body-text p { margin: 0 0 18px; }
.body-text p:last-child { margin-bottom: 0; }

.body-list {
  margin: 0 0 18px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-h2 {
  margin: 56px 0 22px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.005em;
}
.page-h2:first-child { margin-top: 0; }

.page-h3 { margin: 0 0 16px; font-size: 17px; font-weight: 600; }

/* ── FAQ ACCORDION ──────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(30,31,33,0.12);
}
details.faq-item {
  border-bottom: 1px solid rgba(30,31,33,0.12);
}
details.faq-item summary {
  cursor: pointer;
  padding: 20px 4px;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.2s;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--rust);
  flex: none;
  transition: transform 0.2s;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item summary:hover { color: var(--rust); }
details.faq-item summary:focus-visible { outline: 2px solid var(--rust); outline-offset: -2px; }
details.faq-item p {
  margin: 0;
  padding: 0 4px 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-muted);
}

/* ── REVIEWS PLACEHOLDER ────────────────────────────────────── */
.reviews-slot {
  border: 1.5px dashed #C9C4B8;
  padding: 34px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  border-top: 1px solid var(--ink-border);
}
.reviews-slot code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--ink-faint);
}
.reviews-slot span {
  font-size: 13px;
  color: var(--ink-faint);
}

/* ── MAP PLACEHOLDER ────────────────────────────────────────── */
.map-placeholder {
  background: repeating-linear-gradient(45deg, #EFE9DC 0, #EFE9DC 14px, #F6F1E6 14px, #F6F1E6 28px);
  border: 1px solid var(--ink-border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(320px, 40vw, 520px);
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-placeholder span {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--ink-faint);
  background: var(--cream);
  padding: 8px 14px;
  border: 1px dashed var(--grey-mid);
}

/* ── INFO BOX (office details etc) ─────────────────────────── */
.info-box {
  background: var(--white);
  border: 1px solid var(--ink-border);
  padding: 30px 32px;
}
.info-box-dark {
  background: var(--dark-bg-lighter);
  border: 1px solid rgba(251,248,241,0.12);
  padding: 30px 32px;
}
.info-box-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.info-box-list li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(251,248,241,0.1);
  font-size: 14px;
  line-height: 1.6;
  color: #D8D5CD;
}
.info-box-list li:last-child { border-bottom: none; }

/* ── DASHED DOWNLOAD BOX ────────────────────────────────────── */
.download-box {
  border: 1.5px dashed #C9C4B8;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.download-box p { margin: 0; }
.download-box-title { font-size: 15px; font-weight: 600; margin-bottom: 6px !important; }
.download-box-sub { font-size: 13.5px; color: var(--ink-subtle); }
.download-link {
  display: inline-block;
  text-decoration: none;
  background: var(--rust);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 10px 18px;
  transition: background 0.2s;
}
.download-link:hover { background: var(--rust-dark); }
.download-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.download-placeholder {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--ink-faint);
  border: 1px solid #C9C4B8;
  padding: 12px 18px;
}

/* ── DIRECTIONS TABLE ───────────────────────────────────────── */
.directions-row {
  padding: 18px 0;
  border-top: 1px solid var(--ink-border);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.directions-row:last-child { border-bottom: 1px solid var(--ink-border); }
.directions-row dt { font-size: 15px; font-weight: 600; }
.directions-row dd { margin: 0; font-size: 14.5px; color: var(--ink-muted); }

/* ── FORM ───────────────────────────────────────────────────── */
.form-wrapper {
  background: var(--white);
  border: 1px solid var(--ink-border);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: riseIn 0.8s ease-out 0.12s both;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.form-required { color: var(--rust); }
.form-optional { font-weight: 400; color: var(--ink-faint); letter-spacing: 0.02em; }

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-sans);
  font-size: 15.5px;
  padding: 14px 16px;
  border: 1px solid rgba(30,31,33,0.2);
  background: var(--cream);
  color: var(--ink);
  width: 100%;
  appearance: auto;
  -webkit-appearance: auto;
  transition: border-color 0.2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: 2px solid var(--rust);
  outline-offset: 1px;
}
.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"] { border-color: var(--error-red); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}

.form-error {
  font-size: 13px;
  color: var(--error-red);
  display: none;
}
.form-error.visible { display: block; }

.form-fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-legend {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0;
  margin-bottom: 2px;
}
.form-radio-group { display: flex; flex-wrap: wrap; gap: 10px; }

.form-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(30,31,33,0.18);
  background: var(--white);
  padding: 12px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.form-radio-label:has(input:checked) {
  border-color: var(--rust);
  background: var(--rust-light);
}
.form-radio-label input[type="radio"] {
  accent-color: var(--rust);
  margin: 0;
  width: 16px;
  height: 16px;
}
.form-radio-label input:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

.form-disclaimer {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-faint);
}

.form-submit {
  font-family: var(--font-sans);
  background: var(--rust);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 18px 30px;
  transition: background 0.2s ease;
  width: fit-content;
}
.form-submit:hover { background: var(--rust-dark); }
.form-submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark-bg);
  color: var(--cream);
  font-family: var(--font-sans);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 88px) clamp(18px, 4vw, 36px) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px 40px;
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid rgba(251,248,241,0.12);
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 320px; }
.footer-brand-logo { display: flex; align-items: center; gap: 13px; }
.footer-brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--cream);
  display: block;
}
.footer-brand-sub {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--rust);
  margin-top: 4px;
  display: block;
}
.footer-brand-desc { margin: 0; font-size: 14px; line-height: 1.7; color: var(--grey-mid); }

.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--rust);
  margin-bottom: 6px;
}
.footer-nav a {
  color: #D8D5CD;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--cream); text-decoration: underline; }
.footer-nav a:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.75;
  color: #D8D5CD;
}
.footer-phone {
  color: var(--cream);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}
.footer-phone:hover { color: var(--rust); }
.footer-phone:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.footer-hours { margin: 0; font-size: 14px; line-height: 1.75; color: var(--grey-mid); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 26px 0 30px;
}
.footer-copy { margin: 0; font-size: 12px; color: #77787B; }
.footer-disclaimer { margin: 0; font-size: 12px; color: #77787B; }

/* ── CLOSING CTA (dark band) ────────────────────────────────── */
.cta-band {
  background: var(--dark-bg);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(166,105,65,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band .eyebrow { color: var(--rust); }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: var(--grey-warm); }

/* ── THANK YOU PAGE ─────────────────────────────────────────── */
.thankyou-box {
  background: var(--dark-bg);
  color: var(--cream);
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.thankyou-box h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  margin: 0;
}
.thankyou-box p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--grey-warm);
  max-width: 46ch;
}
.thankyou-box a { color: var(--cream); font-weight: 600; }

/* ── HERO INTRO / PAGE HERO (centered) ──────────────────────── */
.page-hero {
  border-bottom: 1px solid var(--ink-border);
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px);
}
.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  animation: riseIn 0.7s ease-out both;
}
.page-hero-sub {
  margin: 26px auto 0;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-subtle);
  max-width: 60ch;
}

/* ── ANIMATION DATA ATTRIBUTES (GSAP targets) ────────────────── */
[data-reveal] { opacity: 1; }

/* ── ADDRESS ────────────────────────────────────────────────── */
address { font-style: normal; }

/* ── NAV SCROLL SHADOW ──────────────────────────────────────── */
.site-nav-wrapper.scrolled .nav-main-bar {
  box-shadow: 0 4px 24px rgba(30,31,33,0.09);
  border-bottom-color: var(--ink-border-mid);
}

/* ── VALUE CARD HOVER ───────────────────────────────────────── */
.value-card {
  border: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover {
  border-color: var(--rust-light);
  box-shadow: 0 4px 20px rgba(166,105,65,0.08);
}

/* ── STEP ITEM HOVER ────────────────────────────────────────── */
.step-item {
  transition: padding-left 0.2s ease;
}
.step-item:hover { padding-left: 6px; }
.step-item:hover .step-num { color: var(--rust-dark); }

/* ── BUTTON POLISH (lift + shadow on hover) ─────────────────── */
.btn-primary:hover {
  background: var(--rust-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(166,105,65,0.30);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--rust);
  color: var(--rust);
  transform: translateY(-2px);
}
.btn-outline-light:hover {
  border-color: var(--rust);
  color: var(--rust);
  transform: translateY(-2px);
}

/* ── ASIDE LINK ARROW ───────────────────────────────────────── */
.aside-link::after {
  content: ' →';
  opacity: 0;
  transition: opacity 0.18s, transform 0.18s;
  display: inline-block;
}
.aside-link:hover::after {
  opacity: 1;
  transform: translateX(3px);
}

/* ── FOOTER LINK HOVER ──────────────────────────────────────── */
.footer-nav a {
  transition: color 0.2s, padding-left 0.2s;
}
.footer-nav a:hover {
  color: var(--cream);
  text-decoration: none;
  padding-left: 4px;
}

/* ── FAQ ITEM SMOOTH ────────────────────────────────────────── */
details.faq-item p {
  transition: opacity 0.18s;
}

/* ── GLANCE ROW HOVER ───────────────────────────────────────── */
.glance-row {
  transition: background 0.15s;
}

/* ── FULL-VIEWPORT HERO ─────────────────────────────────────── */
.hero-full {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* progressive enhancement — avoids mobile chrome jump */
  display: flex;
  align-items: center;
  background: var(--dark-bg);
  /* No overflow:hidden here — that breaks sticky nav & ScrollTrigger pins */
}

/* Inner wrapper clips the zoom animation without affecting the stacking context */
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 3.5s cubic-bezier(0.22, 0.6, 0.2, 1) both;
}

.hero-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    168deg,
    rgba(26,27,29,0.32) 0%,
    rgba(26,27,29,0.62) 40%,
    rgba(26,27,29,0.92) 100%
  );
  pointer-events: none;
}

.hero-full-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(80px,10vw,140px) clamp(20px,5vw,72px);
}

.hero-full-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 880px) {
  .hero-full-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* Hero line-reveal — GSAP sets y:'110%' as from-state via JS */
.hero-headline {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line-inner {
  display: block;
}

/* ── STAT STRIP ─────────────────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--rust);
}
@media (max-width: 640px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
}
.stat-item {
  padding: clamp(20px,2.8vw,34px) clamp(16px,2.5vw,32px);
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
@media (max-width: 640px) {
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.15); }
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(26px,3.4vw,46px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: rgba(251,248,241,0.6);
  text-transform: uppercase;
}

/* ── PHOTO COVER ────────────────────────────────────────────── */
.photo-cover {
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
  will-change: transform; /* keeps compositing layer stable near GSAP animations */
}
.photo-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.22, 0.6, 0.2, 1);
}
.photo-cover:hover img {
  transform: scale(1.04);
}

/* ── SCROLL-REVEAL: CLIP PATH ────────────────────────────────── */
/* data-reveal="clip" — handled by site-motion.js */

/* ── INNER PAGE IMAGE HERO ──────────────────────────────────── */
.page-img-hero {
  position: relative;
  min-height: clamp(420px, 52vw, 620px);
  display: flex;
  align-items: center;
  background: var(--dark-bg);
  color: var(--cream);
}
.page-img-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.page-img-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-img-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26,27,29,0.92) 0%,
    rgba(26,27,29,0.78) 50%,
    rgba(26,27,29,0.38) 100%
  );
}
.page-img-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

/* ── JOURNEY SECTION (LAVA-style pinned horizontal scroll) ── */
.journey-section {
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
}
.journey-intro {
  text-align: center;
  padding: clamp(72px, 9vw, 112px) clamp(20px, 5vw, 72px) clamp(48px, 6vw, 72px);
  background: var(--dark-bg);
  color: var(--cream);
}
.journey-tagline {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.5vw, 62px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cream);
  max-width: 760px;
  margin: 16px auto 0;
}
.journey-scroller {
  position: relative;
  overflow: hidden;
}
.journey-strip {
  display: flex;
  flex-direction: row;
  will-change: transform;
}
.journey-panel {
  position: relative;
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.journey-panel-bg {
  position: absolute;
  inset: 0;
}
.journey-panel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.journey-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,27,29,0.3) 0%,
    rgba(26,27,29,0.65) 100%
  );
}
.journey-panel-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  padding: clamp(24px, 5vw, 64px);
  max-width: 680px;
}
.journey-panel-step {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 22px;
}
.journey-panel-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 300;
  line-height: 0.85;
  color: rgba(251,248,241,0.08);
  margin-bottom: -0.12em;
  user-select: none;
}
.journey-panel-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--cream);
}
.journey-panel-desc {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: rgba(251,248,241,0.78);
  max-width: 46ch;
  margin: 0 auto;
}

/* Mobile: stack panels vertically */
@media (max-width: 768px) {
  .journey-strip {
    flex-direction: column;
    transform: none !important;
  }
  .journey-panel {
    width: 100%;
    height: auto;
    min-height: 70vh;
    padding: clamp(48px, 8vw, 72px) 0;
  }
}

/* ── PRINT ──────────────────────────────────────────────────── */
@media print {
  .site-nav-wrapper, .site-footer, .aside-sticky { display: none; }
  body { background: white; color: black; }
  a { color: black; }
}
