/* The Skyfall Residence — design system
   Palette: ivory / deep pine / brass. Type: Cormorant Garamond (display) + Jost (text).
   Brass is flat and sparse: hairlines, large numerals, icons — never small text on ivory. */

:root {
  --ivory: #f7f4ed;
  --cream: #efe9dd;
  --pine: #16281f;
  --pine-soft: #21382b;
  --brass: #a98f5b;
  --brass-light: #c3ac7e;
  --brass-text: #8a7142;   /* darkened for legible small text on ivory */
  --ink: #20241f;
  --muted: #6d7167;
  --line: rgba(22, 40, 31, 0.16);
  --line-light: rgba(247, 244, 237, 0.22);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0325rem;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass-text);
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

section { padding: clamp(4.5rem, 9vw, 8rem) 0; }

.section-head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin: 0.9rem 0 1.1rem; }
.section-head p { color: var(--muted); max-width: 56ch; }

/* ---- buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 2.6em;
  border: 1px solid var(--pine);
  background: var(--pine);
  color: var(--ivory);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { background: transparent; color: var(--pine); }
.btn.ghost { background: transparent; color: var(--pine); }
.btn.ghost:hover { background: var(--pine); color: var(--ivory); }
.btn.on-dark { border-color: rgba(247, 244, 237, 0.7); background: transparent; color: var(--ivory); }
.btn.on-dark:hover { background: var(--ivory); color: var(--pine); border-color: var(--ivory); }
.btn.solid-ivory { background: var(--ivory); color: var(--pine); border-color: var(--ivory); }
.btn.solid-ivory:hover { background: transparent; color: var(--ivory); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn:disabled:hover { background: var(--pine); color: var(--ivory); }

/* ---- nav ---- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1.5rem 0 2.2rem;
  background: linear-gradient(180deg, rgba(18, 30, 23, 0.5), rgba(18, 30, 23, 0));
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav .brand { text-decoration: none; color: var(--ivory); display: flex; align-items: center; gap: 0.75rem; line-height: 1.25; transition: color 0.35s var(--ease); }
.nav .brand .brand-text { display: flex; flex-direction: column; }
.nav .brand .mono { flex-shrink: 0; }
.nav .brand .name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.04em; }
.nav .brand .sub { font-size: 0.58rem; letter-spacing: 0.44em; text-transform: uppercase; opacity: 0.82; }
.nav .links { display: flex; gap: 2.2rem; align-items: center; }
.nav .links a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.92;
  transition: opacity 0.25s, color 0.35s var(--ease), border-color 0.35s var(--ease);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav .links a:hover { opacity: 1; border-bottom-color: var(--brass-light); }
.nav .links .cta { border: 1px solid rgba(247, 244, 237, 0.55); padding: 0.65em 1.6em; }
.nav .links .cta:hover { background: var(--ivory); color: var(--pine); }
.nav.scrolled {
  background: rgba(247, 244, 237, 0.97);
  padding: 0.8rem 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav.scrolled .brand, .nav.scrolled .links a { color: var(--ink); }
.nav.scrolled .links .cta { border-color: var(--pine); color: var(--pine); }
.nav.scrolled .links .cta:hover { background: var(--pine); color: var(--ivory); }
@media (max-width: 860px) {
  .nav .links a:not(.cta):not(.keep) { display: none; }
  .nav .links { gap: 1.2rem; }
}
@media (max-width: 560px) {
  .nav .brand .name { font-size: 1.15rem; }
  .nav .brand .sub { display: none; }
  .nav .brand .mono { width: 26px; height: 26px; }
  .nav .links { gap: 0.9rem; }
  .nav .links a { font-size: 0.6rem; letter-spacing: 0.16em; }
  .nav .links .cta { padding: 0.6em 1.1em; }
}

/* ---- hero ---- */
.hero { position: relative; height: 100svh; min-height: 640px; display: flex; align-items: flex-end; padding: 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 30, 23, 0.45) 0%, rgba(18, 30, 23, 0.05) 45%, rgba(18, 30, 23, 0.74) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(3.5rem, 8vh, 6.5rem); color: var(--ivory); }
.hero .eyebrow { color: var(--brass-light); text-shadow: 0 1px 14px rgba(18, 30, 23, 0.5); }
.hero h1 { font-size: clamp(3.1rem, 7vw, 5.6rem); font-weight: 500; margin: 0.9rem 0 0.4rem; letter-spacing: 0.01em; }
/* keyword-bearing H1 text for crawlers; never shown — a Waldorf page doesn't say "luxury" */
.hero .h1-sub { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 400; opacity: 0.95; }
.hero .hero-actions { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }

/* ---- stats strip ---- */
.stats { background: var(--pine); color: var(--ivory); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .stat { padding: 2.3rem 1rem; text-align: center; border-left: 1px solid var(--line-light); }
.stats .stat:first-child { border-left: none; }
.stats .num { font-family: var(--serif); font-size: 2.3rem; color: var(--brass-light); line-height: 1.1; }
.stats .lbl { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.75; margin-top: 0.3rem; }
@media (max-width: 700px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats .stat:nth-child(3) { border-left: none; }
  .stats .stat { border-top: 1px solid var(--line-light); }
  .stats .stat:nth-child(-n+2) { border-top: none; }
}

/* ---- residence ---- */
.residence .cols { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.residence figure { position: relative; margin: 0 1.25rem 1.25rem 0; }
.residence figure img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.residence figure::after {
  content: '';
  position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--brass);
  pointer-events: none;
}
.residence h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin: 0.9rem 0 1.4rem; }
.residence p { color: var(--muted); margin-bottom: 1.1rem; max-width: 54ch; }
.residence p.lede { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); font-style: italic; line-height: 1.45; }
@media (max-width: 860px) { .residence .cols { grid-template-columns: 1fr; } }

/* ---- amenities ---- */
.amenities { background: var(--cream); }
.amenities .grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.amenity { padding: 2.4rem 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.35s var(--ease); }
.amenity:hover { background: var(--ivory); }
.amenity h3 { font-size: 1.45rem; margin: 0 0 0.5rem; }
.amenity p { font-size: 0.94rem; color: var(--muted); }
.amenity .a-eyebrow { font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--brass-text); display: block; margin-bottom: 0.9rem; }
@media (max-width: 860px) { .amenities .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .amenities .grid { grid-template-columns: 1fr; } }

/* ---- seasons ---- */
.seasons .s-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.s-card { position: relative; overflow: hidden; margin: 0; }
.s-card img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform 0.7s var(--ease); }
.s-card:hover img { transform: scale(1.03); }
.s-card figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 4.5rem 1.4rem 1.4rem;
  background: linear-gradient(180deg, rgba(18, 30, 23, 0), rgba(18, 30, 23, 0.82));
  color: var(--ivory);
}
.s-card h3 { font-size: 1.6rem; margin-bottom: 0.2rem; }
.s-card p { font-size: 0.88rem; opacity: 0.88; line-height: 1.55; }
@media (max-width: 860px) { .seasons .s-grid { grid-template-columns: 1fr 1fr; } }

/* ---- gallery ---- */
.gallery .grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.gallery img { object-fit: cover; width: 100%; height: 100%; }
.gallery .g1 { grid-column: span 7; aspect-ratio: 16 / 10; }
.gallery .g2 { grid-column: span 5; grid-row: span 2; }
.gallery .g3 { grid-column: span 4; aspect-ratio: 1; }
.gallery .g4 { grid-column: span 3; aspect-ratio: 3 / 4; }
@media (max-width: 760px) {
  .gallery .grid { grid-template-columns: 1fr 1fr; }
  .gallery .g1, .gallery .g2, .gallery .g3, .gallery .g4 { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}

/* ---- location ---- */
.location {
  position: relative;
  color: var(--ivory);
  background: var(--pine) url('/images/skyfall-residence-park-city-mountains-night.webp') center / cover no-repeat;
}
.location::before { content: ''; position: absolute; inset: 0; background: rgba(18, 30, 23, 0.78); }
.location .wrap { position: relative; }
.location .eyebrow { color: var(--brass-light); }
.location .section-head p { color: rgba(247, 244, 237, 0.75); }
.dist-table { width: 100%; max-width: 640px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.dist-table th, .dist-table td { text-align: left; padding: 1.1rem 0.5rem 1.1rem 0; border-top: 1px solid var(--line-light); font-weight: 300; }
.dist-table th { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.dist-table td { text-align: right; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-light); }

/* ---- FAQ ---- */
.faq .qa { border-bottom: 1px solid var(--line); max-width: 820px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.4rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); font-weight: 300; font-size: 1.3rem; color: var(--brass); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 1.6rem; max-width: 68ch; }

/* ---- booking ---- */
.booking { background: var(--cream); }
.booking .layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
@media (max-width: 920px) { .booking .layout { grid-template-columns: 1fr; } }

.panel { background: var(--ivory); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.5rem); }

/* calendar */
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.cal-head .hint { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.cal-nav { display: flex; gap: 0.5rem; }
.cal-nav button {
  width: 38px; height: 38px; border: 1px solid var(--line); background: transparent;
  cursor: pointer; font-size: 1rem; color: var(--ink); transition: background 0.25s, color 0.25s;
  font-family: var(--sans);
}
.cal-nav button:hover:not(:disabled) { background: var(--pine); color: var(--ivory); }
.cal-nav button:disabled { opacity: 0.3; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; }
@media (max-width: 640px) {
  .cal-months { grid-template-columns: 1fr; }
  .cal-months .month:nth-child(2) { display: none; }
}
.month .m-title { font-family: var(--serif); font-size: 1.35rem; text-align: center; margin-bottom: 0.9rem; }
.month .dow, .month .days { display: grid; grid-template-columns: repeat(7, 1fr); }
.month .dow div { text-align: center; font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); padding-bottom: 0.6rem; }
.day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; cursor: pointer; position: relative; border: 1px solid transparent;
  transition: background 0.15s, color 0.15s;
  background: transparent; font-family: var(--sans); font-weight: 300; color: var(--ink); padding: 0;
  font-variant-numeric: tabular-nums;
}
.day:hover:not(.off):not(.unavail):not(.past) { border-color: var(--pine); }
.day.off { visibility: hidden; }
.day.past, .day.unavail { color: rgba(32, 36, 31, 0.3); cursor: default; }
.day.in-range { background: rgba(169, 143, 91, 0.16); }
.day.edge { background: var(--pine); color: var(--ivory); }

/* form */
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; margin-top: 1.8rem; }
.f-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem; font-weight: 400; }
.field .opt { text-transform: none; letter-spacing: 0.05em; opacity: 0.8; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: transparent; padding: 0.9em 1em;
  font-family: var(--sans); font-weight: 300; font-size: 1rem; color: var(--ink);
  transition: border-color 0.25s; border-radius: 0; min-height: 52px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.field textarea { resize: vertical; min-height: 96px; }
.field.check { margin-top: 0.2rem; }
.checkline { display: flex; gap: 0.8rem; align-items: flex-start; cursor: pointer; }
.checkline input { width: auto; min-height: 0; margin-top: 0.35rem; accent-color: var(--pine); }
.checkline span { font-size: 0.85rem; color: var(--muted); text-transform: none; letter-spacing: 0.02em; line-height: 1.6; }
.checkline a { color: var(--brass-text); }

/* stepper */
.stepper { display: flex; align-items: center; border: 1px solid var(--line); min-height: 52px; }
.stepper button {
  width: 52px; align-self: stretch; border: none; background: transparent; font-size: 1.15rem;
  cursor: pointer; color: var(--ink); font-family: var(--sans); transition: background 0.2s;
}
.stepper button:hover { background: var(--cream); }
.stepper span { flex: 1; text-align: center; font-size: 1rem; font-variant-numeric: tabular-nums; }

/* quote card (folio) */
.quote-card { position: sticky; top: 92px; }
.quote-card h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.quote-card .dates { font-size: 0.88rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 1.1rem; margin-bottom: 1.1rem; min-height: 2.4em; }
#quoteLines { min-height: 148px; }
.quote-line { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.94rem; padding: 0.45rem 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.quote-line + .quote-line { border-top: 1px solid rgba(22, 40, 31, 0.08); }
.quote-line .q-sub { display: block; font-size: 0.78rem; opacity: 0.75; }
.quote-line.total { border-top: 1px solid var(--line); margin-top: 0.7rem; padding-top: 1rem; color: var(--ink); align-items: baseline; }
.quote-line.total strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.quote-card .note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; line-height: 1.6; }
.quote-card .btn { width: 100%; margin-top: 1.3rem; text-align: center; }
.quote-empty { color: var(--muted); font-size: 0.95rem; font-style: italic; font-family: var(--serif); }

.form-msg { margin-top: 1rem; font-size: 0.9rem; color: #8c3a2b; min-height: 1.4em; }

/* confirmation */
.confirm-panel { text-align: center; padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem); }
.confirm-panel .ornament { color: var(--brass); font-size: 1.5rem; letter-spacing: 0.5em; margin-bottom: 1rem; }
.confirm-panel h3 { font-size: 2.3rem; margin-bottom: 1rem; }
.confirm-panel p { color: var(--muted); max-width: 52ch; margin: 0 auto 0.6rem; }
.confirm-code {
  display: inline-block; font-family: var(--sans); font-weight: 400; letter-spacing: 0.3em;
  font-size: 1.1rem; border: 1px solid var(--brass); color: var(--pine);
  padding: 0.8em 1.8em; margin: 1.3rem 0 0.5rem;
}
.confirm-panel .btn { margin-top: 1.6rem; }
.confirm-panel .keep-code { font-size: 0.85rem; }
.confirm-panel .keep-code a { color: var(--brass-text); text-decoration: none; border-bottom: 1px solid var(--brass); }

/* calendar refinements */
.day.checkout-only { color: var(--ink); cursor: pointer; }
.day.checkout-only::after {
  content: ''; position: absolute; left: 26%; right: 26%; bottom: 16%;
  height: 1px; background: var(--brass);
}
.day.short { opacity: 0.35; }

/* timeline */
.timeline { display: flex; justify-content: center; gap: 0; margin: 1.6rem auto 1.2rem; max-width: 460px; }
.t-step { flex: 1; text-align: center; position: relative; }
.t-step::before {
  content: ''; display: block; width: 11px; height: 11px; margin: 0 auto 0.55rem;
  border: 1px solid var(--brass); background: transparent; transform: rotate(45deg);
}
.t-step.done::before { background: var(--brass); }
.t-step::after {
  content: ''; position: absolute; top: 5px; left: calc(50% + 14px); right: calc(-50% + 14px);
  height: 1px; background: var(--line);
}
.t-step:last-child::after { display: none; }
.t-step span { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.t-step.done span { color: var(--ink); }

/* status lookup */
.lookup .row { display: flex; gap: 0.8rem; max-width: 520px; }
.lookup input {
  flex: 1; border: 1px solid var(--line); background: transparent; padding: 0.85em 1em;
  font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 0;
  color: var(--ink); min-width: 0;
}
.lookup input:focus { outline: none; border-color: var(--brass); }
.status-card { margin-top: 2rem; border: 1px solid var(--line); background: var(--ivory); padding: 2.2rem; max-width: 640px; }
.status-badge {
  display: inline-block; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 0.5em 1.3em; border: 1px solid currentColor; margin-bottom: 1.1rem;
}
.status-badge.pending { color: #8a6d2f; }
.status-badge.approved { color: #2e5339; }
.status-badge.declined, .status-badge.cancelled { color: #7c4a3e; }
.status-card h3 { font-size: 1.8rem; margin-bottom: 0.3rem; }
.status-card .meta { color: var(--muted); font-size: 0.94rem; }
.status-card .explain { margin-top: 1.2rem; font-size: 0.94rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.2rem; line-height: 1.7; }
.status-card .timeline { margin-left: 0; }

/* ---- footer ---- */
footer { background: var(--pine); color: rgba(247, 244, 237, 0.75); padding: 4rem 0 2.5rem; }
footer .cols { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-end; }
footer .brand-f .name { font-family: var(--serif); font-size: 1.8rem; color: var(--ivory); }
footer .brand-f .sub { font-size: 0.58rem; letter-spacing: 0.44em; text-transform: uppercase; }
footer .contact { font-size: 0.9rem; text-align: right; }
footer .fine { font-size: 0.75rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; opacity: 0.65; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: var(--brass-light); }

/* ---- mobile bottom bar ---- */
.mobile-bar {
  display: none;
  position: fixed; inset: auto 0 0 0; z-index: 40;
  background: rgba(247, 244, 237, 0.98);
  border-top: 1px solid var(--line);
  padding: 0.7rem 1.25rem;
  align-items: center; justify-content: space-between; gap: 1rem;
}
.mobile-bar .mb-rate { font-family: var(--serif); font-size: 1.15rem; }
.mobile-bar .mb-rate em { font-family: var(--sans); font-style: normal; font-size: 0.7rem; color: var(--muted); }
.mobile-bar .btn { padding: 0.85em 1.6em; font-size: 0.68rem; }
@media (max-width: 760px) {
  .mobile-bar.show { display: flex; }
}

/* capture mode — headless screenshot tooling only */
.capture .hero { height: 760px; min-height: 0; }
.capture .reveal { opacity: 1; transform: none; transition: none; }
.capture html, .capture body { scroll-behavior: auto; }
.capture img { content-visibility: visible; }

/* reveal on scroll — reserved for section heads and editorial figures only */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .s-card:hover img { transform: none; }
  html { scroll-behavior: auto; }
}
