/* ---------- Reset + tokens ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { max-width: 100%; display: block; }

:root {
  /* Brand */
  --navy: #2C3E50;
  --navy-soft: #3D5266;
  --cream: #F5EFE6;
  --cream-deep: #ECE6DA;
  --pale-blue: #EAF0F4;
  --ink: #1E2A36;
  --muted: #5C6B7A;
  --rule: #D7CFC0;
  --white: #FFFFFF;
  --shadow: 0 1px 0 rgba(44, 62, 80, 0.04), 0 12px 32px -16px rgba(44, 62, 80, 0.16);
  --shadow-strong: 0 1px 0 rgba(44, 62, 80, 0.06), 0 30px 60px -30px rgba(44, 62, 80, 0.28);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --container: 1180px;
  --page-x: clamp(1.25rem, 4vw, 3rem);
  --font-serif: "Crimson Pro", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --logo-filter: none;
}

/* ---------- Dark theme ---------- */
[data-theme="dark"] {
  --navy: #E6CFA1;            /* warm cream becomes the accent */
  --navy-soft: #FFFFFF;
  --cream: #14202B;           /* deep slate page bg */
  --cream-deep: #1C2A38;
  --pale-blue: #243240;
  --ink: #ECE6DA;             /* warm cream text */
  --muted: #9AA8B6;
  --rule: rgba(245, 239, 230, 0.13);
  --white: #233140;           /* card surface */
  --shadow: 0 1px 0 rgba(0,0,0,0.3), 0 20px 60px -20px rgba(0,0,0,0.6);
  --shadow-strong: 0 30px 80px -30px rgba(0,0,0,0.7);
  --logo-filter: invert(1) brightness(0.95) saturate(0.4);
}

/* Respect system preference on first paint when user hasn't chosen */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #E6CFA1;
    --navy-soft: #FFFFFF;
    --cream: #14202B;
    --cream-deep: #1C2A38;
    --pale-blue: #243240;
    --ink: #ECE6DA;
    --muted: #9AA8B6;
    --rule: rgba(245, 239, 230, 0.13);
    --white: #233140;
    --shadow: 0 1px 0 rgba(0,0,0,0.3), 0 20px 60px -20px rgba(0,0,0,0.6);
    --shadow-strong: 0 30px 80px -30px rgba(0,0,0,0.7);
    --logo-filter: invert(1) brightness(0.95) saturate(0.4);
  }
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.section, .site-header, .hero__visual, .about-hero__visual, .option-card, .compare__col, .contact-panel, .next-steps {
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.15s; }
a:hover { color: var(--navy-soft); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

/* ---------- Layout primitives ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--page-x); padding-right: var(--page-x); }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section--cream-deep { background: var(--cream-deep); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--cream); }
.section--navy a { color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--page-x);
  padding-right: var(--page-x);
}
.site-header__logo {
  margin-right: auto;
  transition: opacity 0.2s var(--ease-out);
  display: inline-flex;
  align-items: center;
}
.site-header__logo img {
  height: 60px;
  width: auto;
  filter: var(--logo-filter);
  transition: filter 0.4s var(--ease-out);
}
.site-header__logo:hover { opacity: 0.8; }
@media (max-width: 800px) {
  .site-header__logo img { height: 48px; }
}
.site-nav { display: flex; gap: clamp(1rem, 3vw, 2.25rem); align-items: center; }
.site-nav a {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--navy);
  padding: 0.4rem 0;
  position: relative;
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--navy);
}
.site-nav a:hover { color: var(--navy-soft); }

.nav-toggle {
  display: none;
  border: 0; background: transparent;
  font: inherit; color: var(--navy);
  cursor: pointer; padding: 0.5rem;
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; }
  .nav-toggle svg { width: 24px; height: 24px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--page-x) 1.25rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
  .site-nav a:last-child { border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem; font-weight: 500;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  transition: all 0.18s ease;
  cursor: pointer;
}
.btn--primary { background: var(--navy); color: var(--cream); }
.btn--primary:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: var(--cream); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); }
.btn--quiet {
  border: 0; padding: 0.25rem 0; border-radius: 0;
  border-bottom: 1.5px solid var(--navy);
  background: transparent;
}
.btn--quiet:hover { background: transparent; color: var(--navy-soft); border-bottom-color: var(--navy-soft); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy h1 { margin-bottom: 1.5rem; }
.hero__copy p.lede { font-size: 1.15rem; color: var(--muted); margin-bottom: 2rem; max-width: 36ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero__visual {
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  min-height: 360px;
  overflow: hidden;
  aspect-ratio: 5/6;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__visual--illustration { padding: 1.5rem; aspect-ratio: auto; }
.hero__visual--illustration img { width: 100%; height: auto; max-height: 480px; object-fit: contain; }
@media (max-width: 800px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 240px; }
}

/* ---------- Cards / grids ---------- */
.options-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.option-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.option-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.option-card__tag {
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.75rem;
}
.option-card h3 { margin-bottom: 0.75rem; }
.option-card p { color: var(--muted); margin-bottom: 1.25rem; flex-grow: 1; }
.option-card a.learn-more {
  font-family: var(--font-sans);
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none; color: var(--navy);
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 2px;
  align-self: flex-start;
}
.option-card--featured { background: var(--pale-blue); border-color: var(--navy); }

/* ---------- Two-column content ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Step list ---------- */
.steps { counter-reset: step; list-style: none; display: grid; gap: 1.5rem; }
.steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 500;
  color: var(--navy); line-height: 1;
  font-feature-settings: "lnum";
}
.steps h4 { margin-bottom: 0.4rem; text-transform: none; letter-spacing: 0; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; color: var(--navy); }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Bullet list with white-glove icons ---------- */
.checks { list-style: none; display: grid; gap: 1.25rem; }
.checks li { padding-left: 2.25rem; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.5rem;
  width: 18px; height: 18px;
  border: 1.5px solid var(--navy); border-radius: 50%;
  background: var(--cream);
}
.checks li::after {
  content: ""; position: absolute; left: 5px; top: 0.9rem;
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(-45deg);
}
.checks strong { font-family: var(--font-sans); font-weight: 600; color: var(--navy); }

/* ---------- Compare table (Selling Options page) ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.compare__col {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.compare__col--featured { background: var(--pale-blue); border-color: var(--navy); border-width: 1.5px; }
.compare__col h3 { margin-bottom: 0.25rem; }
.compare__col .tag {
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.compare__col dl { display: grid; gap: 0.75rem; margin-top: 0.5rem; }
.compare__col dt {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.compare__col dd { color: var(--ink); font-size: 0.97rem; }
.compare__col .tradeoff { font-size: 0.9rem; color: var(--muted); font-style: italic; padding-top: 0.75rem; border-top: 1px dashed var(--rule); }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3rem);
  margin-top: 2.5rem;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-panel {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-panel h3 { margin-bottom: 0.5rem; }
.contact-panel .panel-lede { color: var(--muted); margin-bottom: 1.5rem; }
.contact-panel .calendar-placeholder {
  background: var(--cream);
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.contact-panel .calendar-placeholder p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }

form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}
form button { justify-self: start; margin-top: 0.5rem; }

/* ---------- What happens next ---------- */
.next-steps {
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2.5rem;
}
.next-steps h4 { font-family: var(--font-serif); font-size: 1.3rem; text-transform: none; letter-spacing: 0; font-weight: 500; margin-bottom: 0.75rem; }
.next-steps p { color: var(--muted); }

/* ---------- About / Our Experience layout ---------- */
.about-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-hero__visual {
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about-hero__visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.about-hero__visual .placeholder-portrait {
  text-align: center; color: var(--muted); font-style: italic;
  padding: 2rem;
}
@media (max-width: 800px) { .about-hero { grid-template-columns: 1fr; } }

/* ---------- Footer (always dark, stays consistent across themes) ---------- */
.site-footer { background: #14202B; color: #ECE6DA; padding: 3rem 0 1.5rem; margin-top: 4rem; }
.site-footer a { color: #ECE6DA; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 700px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #ECE6DA; margin-bottom: 1rem; font-size: 0.78rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; font-size: 0.95rem; }
.site-footer .brokerage-line {
  font-size: 0.85rem; color: rgba(245, 239, 230, 0.7);
  padding-top: 1.25rem; margin-top: 1.5rem;
  border-top: 1px solid rgba(245, 239, 230, 0.15);
}
.site-footer .legal {
  font-size: 0.82rem; color: rgba(245, 239, 230, 0.6);
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between;
  padding-top: 1.5rem; border-top: 1px solid rgba(245, 239, 230, 0.15);
}
.site-footer__logo img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }

/* ---------- Pull-quote / closer ---------- */
.closer { text-align: center; max-width: 48ch; margin: 0 auto; }
.closer p.lede { font-size: 1.25rem; color: var(--muted); margin-bottom: 1.75rem; line-height: 1.55; }

/* ---------- Neighborhoods strip ---------- */
.neighborhoods {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1rem, 4vw, 3rem); padding: 1.25rem 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font-family: var(--font-sans); font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--navy);
}

/* ---------- Small + utility ---------- */
.muted { color: var(--muted); }
.text-center { text-align: center; }
.stack-sm > * + * { margin-top: 0.5rem; }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 2rem; }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover {
  background: var(--cream-deep);
  border-color: var(--navy);
  transform: scale(1.06);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.5s var(--ease-out), opacity 0.3s var(--ease-out);
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun,
:root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon,
:root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="dark"]) .theme-toggle .icon-moon { display: block; }
}
@media (max-width: 800px) {
  .theme-toggle { margin-right: 0.5rem; }
}

/* ---------- Enhanced micro-interactions ---------- */
.btn { position: relative; overflow: hidden; }
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary { transition: transform 0.2s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.btn--ghost:hover { transform: translateY(-1px); }

.option-card {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out), background-color 0.4s var(--ease-out);
}
.option-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: var(--navy);
}
.option-card a.learn-more {
  position: relative;
  transition: color 0.2s var(--ease-out);
}
.option-card a.learn-more::after {
  content: "→";
  display: inline-block;
  margin-left: 0.35em;
  transition: transform 0.25s var(--ease-out);
}
.option-card a.learn-more:hover::after { transform: translateX(4px); }

/* Nav link sliding indicator */
.site-nav a:not([aria-current="page"]) {
  position: relative;
}
.site-nav a:not([aria-current="page"])::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.site-nav a:not([aria-current="page"]):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Subtle hero kinetic typography — scales down slightly and lifts on scroll */
.hero__copy h1 {
  transition: transform 0.05s linear;
}

/* Glassmorphism utility (used on cards over photos) */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
[data-theme="dark"] .glass,
:root:not([data-theme="light"]) .glass {
  background: rgba(35, 49, 64, 0.55);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Asymmetric editorial layout */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
}
.editorial__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/6;
  background: var(--cream-deep);
}
.editorial__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.editorial__media svg { width: 100%; height: 100%; }
.editorial--offset .editorial__copy { position: relative; z-index: 2; }
.editorial--offset .editorial__copy::before {
  content: "";
  position: absolute;
  inset: -2rem -2rem -2rem -3rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.75;
}
.editorial__rule {
  position: absolute;
  left: 50%;
  top: -1rem; bottom: -1rem;
  width: 1px;
  background: var(--rule);
  transform: translateX(-0.5px);
  display: none;
}
@media (min-width: 900px) {
  .editorial--asymmetric { grid-template-columns: 1.3fr 0.7fr; }
  .editorial--asymmetric .editorial__media { aspect-ratio: 4/5; transform: translateY(-2rem); margin-bottom: -2rem; }
  .editorial__rule { display: block; }
}
@media (max-width: 800px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial--offset .editorial__copy::before { inset: -1rem; }
}

/* ---------- Parallax + reveal ---------- */
[data-parallax] {
  will-change: transform;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax background sections: full-bleed background image with slower scroll feel */
.parallax-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: var(--cream-deep);
}
.parallax-bg::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(44, 62, 80, 0.55);
}
.parallax-bg > * { position: relative; z-index: 1; }
.parallax-bg, .parallax-bg h1, .parallax-bg h2, .parallax-bg h3, .parallax-bg p { color: var(--cream); }
.parallax-bg .eyebrow { color: var(--cream); opacity: 0.85; }

/* Glass card overrides on parallax bg — text reverts to dark for readability */
.parallax-bg .glass { color: var(--ink); }
.parallax-bg .glass h1, .parallax-bg .glass h2, .parallax-bg .glass h3 { color: var(--navy); }
.parallax-bg .glass .eyebrow { color: var(--navy); opacity: 1; }
.parallax-bg .glass p { color: var(--ink); }
.parallax-bg .glass .lede { color: var(--muted); }

/* On touch devices, fixed-attachment is buggy; fall back to scroll */
@media (hover: none) and (pointer: coarse) {
  .parallax-bg { background-attachment: scroll; }
}

/* Respect reduced motion fully */
@media (prefers-reduced-motion: reduce) {
  [data-parallax] { transform: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .parallax-bg { background-attachment: scroll; }
  html { scroll-behavior: auto; }
}
