/* ==========================================================================
   The Open Floor — styles
   Palette borrows from the room itself: maple, wainscot gray, white trim.
   ========================================================================== */

:root {
  --ink:        #17171b;
  --ink-soft:   #4a4a52;
  --paper:      #faf7f2;
  --paper-warm: #f3ece2;
  --line:       #e2dace;
  --maple:      #b9834c;
  --maple-lite: #d8a86f;
  --dark:       #1b1d21;
  --dark-soft:  #262a30;
  --on-dark:    #ece7e0;
  --on-dark-dim:#a9a49d;

  --display: "Montserrat", "Futura", "Avenir Next", system-ui, sans-serif;
  --text:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --shell: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}

h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.85rem); }
h3 { font-size: 1.0625rem; letter-spacing: 0.1em; text-transform: uppercase; }

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

.wrap {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 840px; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--maple);
  margin-bottom: 1.1em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 999;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--maple);
  outline-offset: 3px;
}

/* ─────────────────────────────── Header ──────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding-block: 1.1rem;
}
.site-header__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* White over the hero photo, ink once the header gains its background.
   Both files are transparent SVGs built by build-images.sh. */
.site-header__logo {
  display: block;
  width: 168px;
  aspect-ratio: 900 / 306;
  background: url("images/logo-white.svg") center / contain no-repeat;
  filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.45));
  transition: width 0.35s ease;
}
.site-header.is-stuck .site-header__logo {
  background-image: url("images/logo-ink.svg");
  filter: none;
}
/* Keep the mark above the mobile menu panel, and white against it. */
.site-header.menu-open .site-header__logo {
  position: relative;
  z-index: 2;
  background-image: url("images/logo-white.svg");
  filter: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2.2vw, 2.1rem);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
.site-nav a:hover { border-bottom-color: currentColor; }

.site-header.is-stuck {
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.7rem;
}
.site-header.is-stuck .site-nav a {
  color: var(--ink-soft);
  text-shadow: none;
}
.site-header.is-stuck .site-nav a:hover { color: var(--ink); }

/* ── Mobile menu ────────────────────────────────────────────────────── */

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 40px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, opacity 0.2s ease, background 0.3s ease;
}
.site-header.is-stuck .nav-toggle span { background: var(--ink); box-shadow: none; }
.nav-toggle[aria-expanded="true"] span { background: #fff; box-shadow: none; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4.25px) rotate(-45deg); }

/* 1000, not 820: a seventh nav item (Downstairs) pushed the row into
   wrapping below ~900px, and that was measured in fallback fonts —
   Montserrat sets wider still. Below this width the menu button takes over,
   which is cleaner than a two-line nav in a fixed header. Re-measure if an
   eighth item is ever added. */
@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .site-header__logo { width: 132px; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(20, 21, 24, 0.97);
    font-size: 0.92rem;
    letter-spacing: 0.22em;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
  }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav a,
  .site-header.is-stuck .site-nav a { color: #fff; text-shadow: none; }
}

/* ──────────────────────────────── Hero ───────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 8rem var(--gutter) 6rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,15,18,0.62) 0%, rgba(14,15,18,0.28) 32%, rgba(14,15,18,0.58) 72%, rgba(14,15,18,0.86) 100%);
}

.hero__content {
  position: relative;
  text-align: center;
  color: #fff;
  /* place-items:center sizes this to max-content; width:100% keeps it inside
     the viewport on narrow screens. */
  width: 100%;
  max-width: 660px;
}

.hero__logo {
  width: min(430px, 78vw);
  height: auto;
  margin: 0 auto 1.6rem;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.4));
}

.hero__tagline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(0.95rem, 0.8rem + 0.8vw, 1.3rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  padding-left: 0.42em; /* optical centering against the tracking */
  color: rgba(255, 255, 255, 0.94);
}

.hero__sub {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  color: rgba(255, 255, 255, 0.86);
  margin: 0 auto 2.4rem;
  max-width: 34em;
}

.hero__actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 2.1em;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--solid { background: var(--paper); color: var(--ink); }
.btn--solid:hover { background: var(--maple-lite); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  translate: -50% 0;
  width: 1px;
  height: 58px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute;
  inset: 0;
  background: #fff;
  animation: trickle 2.4s ease-in-out infinite;
}
@keyframes trickle {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ────────────────────────────── Spec bar ─────────────────────────────── */

.specbar {
  background: var(--ink);
  color: var(--on-dark);
}
.specbar ul {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 2.4rem var(--gutter);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}
.specbar li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}
.specbar li + li::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.specbar strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem);
  letter-spacing: 0.04em;
}
.specbar span {
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
}
@media (max-width: 640px) {
  .specbar ul { grid-template-columns: repeat(2, 1fr); }
  .specbar li:nth-child(3)::before { display: none; }
}

/* ────────────────────────────── Sections ─────────────────────────────── */

/* The header is fixed, so anchor jumps need clearance. */
section[id] { scroll-margin-top: 76px; }

.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .eyebrow { color: var(--maple-lite); }
.section--warm { background: var(--paper-warm); }

.section__title { max-width: 18ch; }
.center .section__title { max-width: none; }

.section__lede {
  max-width: 58ch;
  font-size: clamp(1.03rem, 1rem + 0.3vw, 1.19rem);
  color: var(--ink-soft);
  margin-bottom: 3rem;
}
.section--dark .section__lede { color: var(--on-dark-dim); }
.center .section__lede { margin-inline: auto; }

/* ─────────────────────── Prose block ("Our Home") ────────────────────── */

.prose {
  max-width: 62ch;
  font-size: clamp(1.03rem, 1rem + 0.3vw, 1.15rem);
  color: var(--ink-soft);
}
.prose p { margin-bottom: 1.35em; }

/* Labels the photo row below it. Ink rather than maple, so it reads as a
   sub-heading and doesn't compete with the section eyebrow above. */
.residents__heading {
  margin: clamp(2.5rem, 5vw, 3.25rem) 0 0;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

/* The household, pictured. */
.residents {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  max-width: 640px;
}
/* The circle lives on the wrapper so the image can be scaled inside it:
   these are candid shots and the subjects sit at different distances, so
   each one gets its own framing via --pos and --zoom. */
.residents__photo {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--line);
}
.residents__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  transform: scale(var(--zoom, 1));
  transform-origin: var(--origin, center);
}
.residents__name {
  margin: 1rem 0 0.2rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.residents__note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
/* Keep all three in a row even on small phones — stacking them turned a
   light aside into a very tall column. The circles just get smaller. */
@media (max-width: 480px) {
  .residents { gap: 0.75rem; }
  .residents__name { font-size: 0.66rem; letter-spacing: 0.1em; }
  .residents__note { font-size: 0.72rem; line-height: 1.35; }
}

/* ─────────────────────────── Split (text + photo) ────────────────────── */

.split {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__text { order: 2; }

.split__text { max-width: 46ch; }

.split__media { margin: 0; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 38%;
}
.split--reverse .split__media img { aspect-ratio: 4 / 5; object-position: center 30%; }

.split__media figcaption {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__text { order: 0; }
  .split__media img,
  .split--reverse .split__media img { aspect-ratio: 4 / 3; }
}

/* ─────────────────────────────── Cards ───────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.11);
}
.card {
  background: var(--dark);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.card h3 {
  color: var(--maple-lite);
  margin-bottom: 1rem;
}
.card p { color: var(--on-dark-dim); margin: 0; }

@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
}

/* ────────────────────────────── Gallery ──────────────────────────────── */

.gallery {
  margin-top: 1rem;
  padding-inline: var(--gutter);
  max-width: 1440px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* dense backfills the gap a wide cell leaves when it can't fit the row —
     without it the two-column breakpoint has a hole in it. */
  grid-auto-flow: dense;
  gap: clamp(0.5rem, 1.2vw, 1rem);
}
.gallery__item {
  position: relative;
  padding: 0;
  border: 0;
  background: var(--line);
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery__item--wide { grid-column: span 2; aspect-ratio: 8 / 3; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}
/* Portrait source in a landscape cell — bias the crop up to the sign. */
.gallery__item--tall img { object-position: center 20%; }
/* Portrait source again — hold the crop on the fan, not the floor. */
.gallery__item--ceiling img { object-position: center 32%; }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 27, 0.16);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.045); }
.gallery__item:hover::after,
.gallery__item:focus-visible::after { opacity: 1; }

@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
  /* Odd cell count over two columns would strand the last photo at half
     width; letting it run full width closes the grid cleanly. */
  .gallery__item:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  /* Reset both span rules from the two-column breakpoint — left in place
     they create a phantom second column. */
  .gallery__item--wide,
  .gallery__item:last-child { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* The downstairs grid follows a split block rather than a heading, so it
   needs its own breathing room above it. */
.gallery--downstairs { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* Captions and small print have to flip on the dark sections. */
.section--dark .split__media figcaption { color: var(--on-dark-dim); }

.photo-note {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  max-width: 62ch;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--on-dark-dim);
}

/* ────────────────────────────── Tick list ────────────────────────────── */

.ticks {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 0.85rem;
}
.ticks li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.55;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 1.1rem;
  height: 1px;
  background: var(--maple);
}

/* ────────────────────────────── Roadmap ──────────────────────────────── */

.roadmap {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.roadmap li {
  counter-increment: step;
  border-bottom: 1px solid var(--line);
  padding: clamp(1.6rem, 3vw, 2.2rem) 0;
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  align-items: start;
}
.roadmap li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--maple);
  padding-top: 0.2em;
}
/* The counter occupies column 1; both text children share column 2. */
.roadmap h3,
.roadmap p { grid-column: 2; }
.roadmap h3 { margin-bottom: 0.7rem; }
.roadmap p { color: var(--ink-soft); margin: 0; max-width: 54ch; }

@media (max-width: 560px) {
  .roadmap li { grid-template-columns: 1fr; gap: 0.5rem; }
  .roadmap h3,
  .roadmap p { grid-column: 1; }
}

/* ─────────────────────────────── Offer ───────────────────────────────── */

.offer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: left;
  margin-bottom: 3.5rem;
}
.offer__item h3 { color: var(--maple-lite); margin-bottom: 0.8rem; }
.offer__item p { color: var(--on-dark-dim); margin: 0; }

/* The no-charge statement. Set apart from the two offers above it because
   it is the thing most likely to be misread, and left-aligned inside a
   centred section so it reads as prose rather than a slogan. */
.gift,
.panel {
  margin: 0 0 3.5rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
  color: var(--on-dark-dim);
}
.gift__lead,
.panel__lead {
  font-family: var(--display);
  font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.45rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--on-dark);
  margin-bottom: 1.1rem;
}
.gift em,
.panel em {
  font-style: normal;
  color: var(--maple-lite);
}

.contact {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2.5rem;
}
.contact__label {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  margin-bottom: 0.8rem;
}
.contact__value {
  font-family: var(--display);
  font-size: clamp(1.1rem, 0.9rem + 1.1vw, 1.6rem);
  margin-bottom: 1.2rem;
}
.contact__value a {
  text-decoration: none;
  border-bottom: 1px solid var(--maple);
  padding-bottom: 0.12em;
  transition: color 0.25s ease;
}
.contact__value a:hover { color: var(--maple-lite); }
.contact__note {
  font-size: 0.92rem;
  color: var(--on-dark-dim);
  max-width: 42ch;
  margin-inline: auto;
}

/* ─────────────────────────────── Footer ──────────────────────────────── */

.site-footer {
  background: var(--paper-warm);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.site-footer__inner { text-align: center; }
.site-footer__logo {
  width: 190px;
  height: auto;
  margin: 0 auto 1.4rem;
  opacity: 0.85;
}
.site-footer__tag {
  font-family: var(--display);
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  padding-left: 0.34em;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.site-footer__meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
  opacity: 0.75;
  margin: 0;
}

/* ───────────────────────────── Lightbox ──────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 12, 14, 0.94);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox__figure {
  margin: 0;
  max-width: min(1280px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100svh - 9rem);
  object-fit: contain;
}
.lightbox__figure figcaption {
  color: var(--on-dark-dim);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.65;
  transition: opacity 0.2s ease;
  padding: 0.5rem 0.9rem;
}
.lightbox__close:hover,
.lightbox__nav:hover { opacity: 1; }

.lightbox__close { top: 1rem; right: 1.2rem; font-size: 2.4rem; }
.lightbox__nav { top: 50%; translate: 0 -50%; font-size: 3.2rem; }
.lightbox__nav--prev { left: 0.3rem; }
.lightbox__nav--next { right: 0.3rem; }

/* ─────────────────────────── Scroll reveal ───────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero__scroll, .lightbox { display: none !important; }
  body { background: #fff; }
}
