/* ═══════════════════════════════════════════════════════════════════
   тіло. — Приватна практика йоги
   Bottega Veneta × Helmut Lang gallery aesthetic
   60-70% negative space per screen. Minimal text. Museum captions.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ───────────────────────────────────────────────── */
:root {
  /* Palette */
  --bone:    #EDE7DD;
  --obsidian: #0A0908;
  --bronze:  #7A4A2B;
  --sienna:  #C4451C;

  /* Bone shades */
  --bone-dim: rgba(237, 231, 221, 0.85);

  /* Obsidian shades */
  --obsidian-60: rgba(10, 9, 8, 0.6);
  --obsidian-30: rgba(10, 9, 8, 0.3);
  --obsidian-15: rgba(10, 9, 8, 0.15);

  /* Typography */
  --font-display: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --font-mono:    'Space Mono', 'Courier New', 'Lucida Console', monospace;

  /* Type scale */
  --h1-desktop:    180px;
  --h1-mobile:     88px;
  --body-size:     15px;
  --caption-size:  10px;
  --label-size:    9px;

  /* Spacing */
  --gutter-desktop: 8vw;
  --gutter-mobile:  6vw;

  /* Transitions */
  --ease-subtle: cubic-bezier(0.16, 1, 0.3, 1);
}


/* ── Reset ───────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* Snap scroll on document root — most reliable cross-browser */
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scroll-behavior: smooth;
  background: var(--bone);
  color: var(--obsidian);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-display);
  font-size: var(--body-size);
  font-weight: 300;
  line-height: 1.5;
  background: var(--bone);
  color: var(--obsidian);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font-family: var(--font-display);
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ol,
ul {
  list-style: none;
}

blockquote,
figure,
figcaption {
  margin: 0;
}


/* ── Fixed Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  padding: 32px var(--gutter-desktop);
  pointer-events: none; /* entire bar non-interactive */
}

.nav__wordmark {
  pointer-events: all; /* only link is clickable */
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--obsidian);
  transition: color 0.25s var(--ease-subtle);
  outline-offset: 6px;
}

.nav__wordmark:hover {
  color: var(--sienna);
}

.nav__wordmark:focus-visible {
  outline: 1px solid var(--sienna);
  color: var(--sienna);
}

/* Nav turns bone when dark sections are active */
.nav--light .nav__wordmark {
  color: var(--bone);
}

.nav--light .nav__wordmark:hover,
.nav--light .nav__wordmark:focus-visible {
  color: var(--sienna);
}


/* ── Section Base ────────────────────────────────────────────────── */
.section {
  height: 100vh;
  min-height: 100svh; /* iOS Safari 15.4+ small viewport */
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
}


/* ── Museum Caption Base ─────────────────────────────────────────── */
.caption-frame {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--caption-size);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
}

.caption__sep,
.label__sep {
  opacity: 0.35;
  font-weight: 400;
}


/* ══════════════════════════════════════════════════════════════════
   SECTION I — HERO
   50% bone void + 50% photo, H1 in lower-left third
   ══════════════════════════════════════════════════════════════════ */
.section--hero {
  display: grid;
  grid-template-columns: 50% 50%;
  background: var(--bone);
}

/* Left: pure void */
.hero__void {
  background: var(--bone);
}

/* Right: photo full-height */
.hero__image-wrap {
  position: relative;
  overflow: hidden;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* H1 + byline — positioned bottom-left on the void side */
.hero__content {
  position: absolute;
  bottom: 10vh;
  left: var(--gutter-desktop);
  z-index: 10;
  /* Constrain to the bone panel only: 50% width - left gutter */
  max-width: calc(50% - var(--gutter-desktop) - 16px);
}

.hero__wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  /* Fluid: 180px cap at 1440px+, scales down to ~100px at 900px, 88px floor */
  font-size: clamp(88px, 12.5vw, 180px);
  letter-spacing: -0.03em;
  line-height: 0.85;
  text-transform: lowercase;
  color: var(--obsidian);
  font-feature-settings: 'kern' 1, 'liga' 1;
  white-space: nowrap;
}

.hero__byline {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: var(--caption-size);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--obsidian);
  opacity: 0.5;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__byline-dot {
  opacity: 0.3;
}

/* Museum caption — bottom right of the photo panel */
.hero__caption {
  position: absolute;
  bottom: 36px;
  right: 36px;
  z-index: 10;
  color: var(--bone);
  opacity: 0.75;
  padding: 8px 12px;
  border: 0.5px solid rgba(237, 231, 221, 0.4);
}


/* ══════════════════════════════════════════════════════════════════
   SECTION II — SCULPTURE I
   Full-bleed photo 100vw × 100vh, museum label bottom-left
   ══════════════════════════════════════════════════════════════════ */
.section--sculpture {
  background: var(--obsidian);
}

.sculpture__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.92;
}

.sculpture__label {
  position: absolute;
  bottom: 40px;
  left: 40px;
  padding: 10px 16px;
  border: 0.5px solid rgba(237, 231, 221, 0.5);
  color: var(--bone);
  opacity: 0.85;
  background: transparent;
  gap: 12px;
}

.label__number {
  opacity: 0.5;
}


/* ══════════════════════════════════════════════════════════════════
   SECTION III — MANIFESTO
   Bone, centered, one sentence. 60%+ void around text.
   ══════════════════════════════════════════════════════════════════ */
.section--manifesto {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bone);
  padding: 0 15vw;
}

.manifesto__wrap {
  display: contents; /* transparent — block layout passes through */
}

.manifesto__quote {
  text-align: center;
}

.manifesto__quote p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3.5vw, 48px);
  line-height: 1.35;
  letter-spacing: 0.025em;
  color: var(--obsidian);
}


/* ══════════════════════════════════════════════════════════════════
   SECTION IV — DIPTYCH
   Two photos side by side, no gap. Caption floating center-bottom.
   ══════════════════════════════════════════════════════════════════ */
.section--diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  background: var(--obsidian);
}

.diptych__panel {
  overflow: hidden;
  position: relative;
  /* Hairline separator via outline — avoids sub-pixel gaps */
}

.diptych__panel + .diptych__panel {
  border-left: 0.5px solid rgba(10, 9, 8, 0.4);
}

.diptych__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* Single label spanning both photos */
.diptych__caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 10;
  color: var(--bone);
  opacity: 0.7;
  padding: 8px 16px;
  border: 0.5px solid rgba(237, 231, 221, 0.35);
}


/* ══════════════════════════════════════════════════════════════════
   SECTION V — METHOD
   Bone, 4-line list, small portrait aligned to IV
   ══════════════════════════════════════════════════════════════════ */
.section--method {
  display: flex;
  align-items: center;
  background: var(--bone);
  padding: 0 var(--gutter-desktop);
}

.method__inner {
  display: grid;
  grid-template-columns: 1fr 200px;
  align-items: center;
  gap: 10vw;
  width: 100%;
}

.method__list {
  /* Flex column is cleaner than list markers */
}

.method__item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 0.5px solid var(--obsidian-15);
}

.method__item:first-child {
  border-top: 0.5px solid var(--obsidian-15);
}

.method__numeral {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: 0.12em;
  color: var(--obsidian);
  opacity: 0.35;
  min-width: 28px;
  flex-shrink: 0;
}

.method__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 2.8vw, 42px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--obsidian);
}

/* Portrait column */
.method__portrait {
  width: 200px;
  height: 268px;
  overflow: hidden;
  flex-shrink: 0;
  align-self: center;
}

.method__portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Museum caption */
.method__caption {
  position: absolute;
  bottom: 32px;
  left: var(--gutter-desktop);
  color: var(--obsidian);
  opacity: 0.45;
  padding: 7px 12px;
  border: 0.5px solid var(--obsidian-15);
}


/* ══════════════════════════════════════════════════════════════════
   SECTION VI — CONTACT
   Pure bone void. Pre-text tiny. One word CTA in sienna.
   ══════════════════════════════════════════════════════════════════ */
.section--contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bone);
  padding: 0 var(--gutter-desktop);
}

.contact__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.contact__pre {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: 0.28em;
  text-transform: lowercase;
  color: var(--obsidian);
  opacity: 0.4;
}

/* The single CTA word "sienna" in #C4451C */
.contact__cta {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(72px, 10vw, 130px);
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: lowercase;
  color: var(--sienna);
  background: transparent;
  border: none;
  padding: 0;
  transition: opacity 0.2s var(--ease-subtle);
  cursor: pointer;
  /* Underline on hover — gallery-style link convention */
  position: relative;
}

.contact__cta::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 0.5px;
  background: var(--sienna);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-subtle);
}

.contact__cta:hover::after,
.contact__cta:focus-visible::after {
  transform: scaleX(1);
}

.contact__cta:hover {
  opacity: 0.75;
}

.contact__cta:focus-visible {
  outline: 1px solid var(--sienna);
  outline-offset: 12px;
}

/* Footer — absolute bottom center */
.contact__footer {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 0 5vw;
  text-align: center;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--label-size);
  letter-spacing: 0.15em;
  text-transform: lowercase;
  color: var(--obsidian);
  opacity: 0.3;
}

.footer__sep {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  color: var(--obsidian);
  opacity: 0.2;
}

.footer__tagline {
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--obsidian);
  opacity: 0.25;
}


/* ══════════════════════════════════════════════════════════════════
   MODAL
   ══════════════════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal[hidden] {
  display: none;
}

/* Blurred dark backdrop */
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--obsidian-60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

/* Panel */
.modal__panel {
  position: relative;
  z-index: 1;
  background: var(--bone);
  padding: 52px 44px 44px;
  width: min(480px, 92vw);
  max-height: 92svh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--obsidian-30) transparent;
}

/* Close button — X mark, top-right */
.modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--obsidian);
  opacity: 0.35;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.modal__close:hover {
  opacity: 0.85;
}

.modal__close:focus-visible {
  outline: 1px solid var(--obsidian);
  outline-offset: 4px;
  opacity: 1;
}

.modal__header {
  margin-bottom: 36px;
}

.modal__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--obsidian);
}

.modal__subtitle {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--obsidian);
  opacity: 0.35;
}


/* ── Form ─────────────────────────────────────────────────────────── */
.modal__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form__label {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--obsidian);
  opacity: 0.45;
}

.form__optional {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 8px;
  opacity: 0.75;
  font-family: var(--font-display);
}

.form__input {
  font-family: var(--font-display);
  font-size: var(--body-size);
  font-weight: 300;
  color: var(--obsidian);
  background: transparent;
  border: none;
  border-bottom: 0.5px solid var(--obsidian-30);
  padding: 10px 0;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease;
  /* Prevent iOS styling */
  -webkit-appearance: none;
  border-radius: 0;
}

.form__input::placeholder {
  color: var(--obsidian);
  opacity: 0.25;
}

.form__input:focus {
  border-bottom-color: var(--obsidian);
}

.form__input[aria-invalid="true"] {
  border-bottom-color: var(--sienna);
}

/* Textarea variant */
.form__input--area {
  resize: none;
  border: 0.5px solid var(--obsidian-30);
  padding: 12px;
  margin-top: 2px;
  line-height: 1.6;
}

.form__input--area:focus {
  border-color: var(--obsidian);
}

/* Inline validation error */
.form__error {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--sienna);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.form__error:not([hidden]) {
  opacity: 1;
}

/* Submit button */
.form__submit {
  align-self: flex-start;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: var(--caption-size);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  background: var(--obsidian);
  border: none;
  padding: 16px 28px;
  transition: background 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.form__submit:hover:not(:disabled) {
  background: var(--sienna);
}

.form__submit:focus-visible {
  outline: 1px solid var(--obsidian);
  outline-offset: 4px;
}

.form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Loading state */
.form__submit--loading .form__submit-label::after {
  content: '...';
  animation: blink 1.2s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}


/* ── Modal States ─────────────────────────────────────────────────── */
.modal__success,
.modal__error {
  padding: 40px 0 16px;
  text-align: center;
}

.modal__success[hidden],
.modal__error[hidden] {
  display: none;
}

.success__heading,
.error__heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 24px;
  letter-spacing: 0.08em;
  color: var(--obsidian);
}

.success__sub,
.error__sub {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--obsidian);
  opacity: 0.4;
}


/* ══════════════════════════════════════════════════════════════════
   SCROLL REVEAL — subtle entrance
   JS adds .will-reveal, then .is-revealed on intersection
   ══════════════════════════════════════════════════════════════════ */
.will-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity  0.9s var(--ease-subtle),
    transform 0.9s var(--ease-subtle);
}

.will-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (768–1023px)
   ══════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --h1-desktop: 120px;
    --gutter-desktop: 6vw;
  }

  .hero__content {
    bottom: 8vh;
  }

  .method__inner {
    grid-template-columns: 1fr 160px;
    gap: 6vw;
  }

  .method__portrait {
    width: 160px;
    height: 214px;
  }
}


/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (< 768px)
   VARIANT 1: vertical stack — photo 70vh (top) + bone void (bottom)
   All typography lives on the bone half — zero readability issues.
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  :root {
    --gutter-desktop: var(--gutter-mobile);
  }

  .nav {
    padding: 24px var(--gutter-mobile);
  }

  /* ─────────────────────────────────────────────────────────────
     HERO — vertical stack: photo 70vh | bone ~30vh
     тіло. + byline + caption all on bone — guaranteed contrast
  ───────────────────────────────────────────────────────────── */
  .section--hero {
    /* Switch from 2-col grid to flex column */
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
  }

  /* Desktop left void gone — replaced by bottom bone area */
  .hero__void {
    display: none;
  }

  /* Photo: top 70vh, full width, static in flex flow */
  .hero__image-wrap {
    position: static;
    height: 70vh;
    min-height: 70svh;
    flex: 0 0 70vh;
    width: 100%;
    overflow: hidden;
  }

  /* Keep subject visible in the upper frame */
  .hero__photo {
    object-position: center 15%;
  }

  /* Wordmark + byline: bone background, out of absolute */
  .hero__content {
    position: static;
    flex: 0 0 auto;
    background: var(--bone);
    padding: 20px var(--gutter-mobile) 0;
    /* Reset desktop absolute values */
    bottom: auto;
    left: auto;
    z-index: auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* Wordmark: obsidian on bone — maximum contrast */
  .hero__wordmark {
    font-size: var(--h1-mobile);
    color: var(--obsidian);
    text-shadow: none;
  }

  /* Byline: obsidian at 50% — readable on bone */
  .hero__byline {
    color: var(--obsidian);
    opacity: 0.5;
    margin-top: 10px;
    flex-direction: column;
    gap: 1px;
    align-items: flex-start;
  }

  .hero__byline-dot {
    display: none;
  }

  /* Museum caption: repositioned into the bone area, below byline.
     position: static makes it a flex child of the section column.
     flex: 1 fills remaining height so section reaches 100vh. */
  .hero__caption {
    position: static;
    flex: 1;
    display: flex;
    align-items: flex-start;
    background: var(--bone);
    padding: 14px var(--gutter-mobile) 0;
    /* Reset absolute values */
    bottom: auto;
    right: auto;
    /* Bone-appropriate style: no frame, dark text, dim */
    border: none;
    color: var(--obsidian);
    opacity: 0.38;
    font-size: 8px;
    gap: 7px;
  }

  /* ─────────────────────────────────────────────────────────────
     SCULPTURE — full-bleed; label with read-protection shadow
  ───────────────────────────────────────────────────────────── */
  .sculpture__label {
    bottom: 16px;
    left: 16px;
    font-size: 8px;
    gap: 6px;
    padding: 7px 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  }

  /* ─────────────────────────────────────────────────────────────
     MANIFESTO
  ───────────────────────────────────────────────────────────── */
  .section--manifesto {
    padding: 0 var(--gutter-mobile);
  }

  .manifesto__quote p {
    font-size: clamp(20px, 5.5vw, 28px);
  }

  /* ─────────────────────────────────────────────────────────────
     DIPTYCH — stack vertically: each photo 50vh
  ───────────────────────────────────────────────────────────── */
  .section--diptych {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .diptych__panel + .diptych__panel {
    border-left: none;
    border-top: 0.5px solid rgba(10, 9, 8, 0.25);
  }

  .diptych__photo {
    object-position: center 20%;
  }

  /* Caption too wide for single column on mobile */
  .diptych__caption {
    display: none;
  }

  /* ─────────────────────────────────────────────────────────────
     METHOD — 2-col grid: list left | portrait right (100px)
  ───────────────────────────────────────────────────────────── */
  .section--method {
    padding: 0 var(--gutter-mobile);
    align-items: flex-start;
    justify-content: center;
  }

  .method__inner {
    grid-template-columns: 1fr 100px;
    gap: 20px;
    align-items: end;
  }

  .method__list {
    grid-column: 1;
    grid-row: 1;
  }

  .method__name {
    font-size: clamp(18px, 5vw, 26px);
  }

  .method__item {
    padding: 14px 0;
  }

  .method__portrait {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    width: 100px;
    height: 134px;
  }

  .method__caption {
    left: var(--gutter-mobile);
    bottom: 20px;
    font-size: 8px;
    gap: 6px;
  }

  /* ─────────────────────────────────────────────────────────────
     CONTACT
  ───────────────────────────────────────────────────────────── */
  .contact__cta {
    font-size: clamp(64px, 18vw, 88px);
  }

  .contact__footer {
    bottom: 20px;
    gap: 8px;
    font-size: 8px;
  }

  /* ─────────────────────────────────────────────────────────────
     MODAL
  ───────────────────────────────────────────────────────────── */
  .modal__panel {
    padding: 40px 20px 28px;
    width: 96vw;
    max-height: 88svh;
  }

  .modal__title {
    font-size: 22px;
  }

  .form__submit {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }
}


/* ══════════════════════════════════════════════════════════════════
   ACCESSIBILITY — 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-snap-type: none;
    scroll-behavior: auto;
  }

  .will-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ══════════════════════════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════════════════════════ */
@media print {
  html {
    scroll-snap-type: none;
  }

  .nav,
  .modal {
    display: none;
  }

  .section {
    height: auto;
    page-break-after: always;
  }
}
