/* ==========================================================
   Сенсорная диагностика — тихий музейный сайт
   Палитра: лён, песочный, шалфей, тёмный лес, бронза
   ========================================================== */

:root {
  /* Палитра (по брифу) */
  --bg-linen: #F6F1E8;
  --bg-sand:  #ECE2CF;
  --bg-flax:  #D9CDB7;
  --sage:     #3d6b1f;
  --forest:   #2F3A2B;
  --ink:      #2C2924;
  --bronze:   #A48B5D;

  /* Производные (мягкие грани) */
  --ink-soft:  #4A4338;
  --flax-soft: #C9BAA0;
  --linen-card:#FBF8F1;

  /* Токены */
  --bg: var(--bg-linen);
  --surface: var(--linen-card);
  --fg: var(--ink);
  --muted: var(--ink-soft);
  --border: rgba(44, 41, 36, 0.12);
  --accent: var(--bronze);
  --accent-on: var(--ink);

  /* Типографика */
  --font-display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-body: "Lora", "Cormorant Garamond", Georgia, serif;

  /* Геометрия */
  --radius: 2px;
  --radius-soft: 4px;
  --space-section: clamp(64px, 9vw, 120px);
  --container: 1120px;
  --container-narrow: 720px;
  --side-pad: clamp(20px, 5vw, 48px);

  /* Тайминги */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 200ms;
  --t-med:  400ms;
  --t-slow: 700ms;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  color: var(--ink);
  background: var(--bg-linen);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.nowrap {
  white-space: nowrap;
}

.display, .display--light {
  hyphens: manual;
  -webkit-hyphens: manual;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

/* ============== Layout primitives ============== */
.section {
  padding: var(--space-section) 0;
  position: relative;
}

.section--linen { background: var(--bg-linen); }
.section--sand  { background: var(--bg-sand); }
.section--forest{
  background: var(--forest);
  color: var(--bg-linen);
}

/* Тонкая фактура льна на светлых фонах */
.section--texture::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(44,41,36,0.018) 0 1px,
      transparent 1px 4px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(44,41,36,0.014) 0 1px,
      transparent 1px 4px
    );
  mix-blend-mode: multiply;
}

.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--side-pad);
  position: relative;
  min-width: 0;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* ============== Typography ============== */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 8vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.5em;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.display--light {
  color: var(--bg-linen);
  font-style: italic;
  font-weight: 300;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

.section--forest .h2,
.section--forest .eyebrow {
  color: var(--bg-linen);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 24px;
}

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.65;
  color: var(--ink);
  font-weight: 300;
}

.lead + p { margin-top: 1em; }

/* ============== Hero ============== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(80px, 12vh, 140px);
  background: var(--bg-linen);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.85) contrast(0.96) brightness(1.04);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(246, 241, 232, 0.55) 0%,
      rgba(246, 241, 232, 0.35) 35%,
      rgba(246, 241, 232, 0.78) 75%,
      rgba(246, 241, 232, 1) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  width: 100%;
  min-width: 0;
}

.hero__lead-accent {
  display: block;
  color: var(--sage);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  margin: 0 0 0.55em;
  max-width: 32ch;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}

.hero__lead {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.75;
  color: var(--ink);
  max-width: min(56ch, 100%);
  margin-bottom: 2.2em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
  text-align: left;
  line-height: 1.3;
}

.btn:hover,
.btn:focus-visible {
  background: var(--forest);
  color: var(--bg-linen);
  border-color: var(--forest);
  outline: none;
}

.btn--line {
  border-color: var(--bronze);
  color: var(--bronze);
}
.btn--line:hover,
.btn--line:focus-visible {
  background: var(--bronze);
  color: var(--bg-linen);
  border-color: var(--bronze);
}

.btn--ghost-light {
  border-color: rgba(246, 241, 232, 0.5);
  color: var(--bg-linen);
}
.btn--ghost-light:hover,
.btn--ghost-light:focus-visible {
  background: var(--bg-linen);
  color: var(--forest);
  border-color: var(--bg-linen);
}
.btn--ghost-light .btn__sub {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 300;
  opacity: 0.75;
  line-height: 1.4;
}
.btn--ghost-light em {
  font-style: normal;
  opacity: 0.7;
}

.btn--bronze {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--bg-linen);
}
.btn--bronze:hover,
.btn--bronze:focus-visible {
  background: var(--bg-linen);
  color: var(--bronze);
  border-color: var(--bronze);
}

.btn__sub {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 300;
  opacity: 0.8;
}

/* — Переходная фотография между секциями — */
.section__divider {
  max-width: 720px;
  margin: clamp(48px, 7vw, 96px) auto;
  padding: 0 24px;
}
.section__divider img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-soft);
  box-shadow: 0 8px 30px rgba(44, 41, 36, 0.08);
}

/* ============== Two-column ============== */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(60px, 7vw, 110px);
  }
  .two-col--reverse .two-col__media { order: 2; }
  .two-col--reverse .two-col__text  { order: 1; }
}

.two-col__text { max-width: 540px; }

.about__media {
  margin: 0;
  border-radius: var(--radius-soft);
  max-width: 480px;
  width: 100%;
}
.about__media img {
  width: 100%;
  height: auto;
  display: block;
}

.about__places {
  margin-top: 1.6em;
  color: var(--ink-soft);
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
}

/* Сделать бейдж "Made with Spru" менее навязчивым */
#spru-pages-badge-host {
  transform: scale(0.55);
  transform-origin: bottom right;
  opacity: 0.35;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
#spru-pages-badge-host:hover {
  opacity: 0.95;
  transform: scale(0.75);
  transform-origin: bottom right;
}
.two-col__media {
  margin: 0;
  border-radius: var(--radius-soft);
  overflow: hidden;
  background: var(--bg-flax);
  aspect-ratio: 4 / 5;
}
.two-col__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.two-col__media:hover img { transform: scale(1.02); }

.two-col#origin .two-col__media { aspect-ratio: 3 / 2; }

/* — Благодарность Джане внутри «Истории метода» — */
.origin__gratitude {
  margin-top: 48px;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(164, 139, 93, 0.32);
  border-bottom: 1px solid rgba(164, 139, 93, 0.32);
  max-width: 560px;
}
.origin__gratitude p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.72;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}
@media (max-width: 600px) {
  .origin__gratitude { margin-top: 32px; padding-top: 24px; padding-bottom: 24px; }
}

/* ============== Steps ============== */
.steps {
  list-style: none;
  margin: 0 0 80px;
  padding: 0;
  max-width: 760px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.step:last-child {
  border-bottom: 1px solid var(--border);
}

.step__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 32px;
  color: var(--sage);
  line-height: 1;
  letter-spacing: 0.02em;
  padding-top: 4px;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.25;
  margin: 0 0 0.4em;
  color: var(--ink);
}

.step__body p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 52ch;
}

/* ============== Quote ============== */
.quote {
  max-width: 720px;
  margin: 0;
  padding: 0;
}
.quote p {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: inherit;
  line-height: 1.6;
  color: var(--ink);
  border-left: 1px solid var(--bronze);
  padding-left: 32px;
  margin: 0;
}

/* ============== Process media ============== */
.process__media {
  margin: 0 0 64px;
  max-width: 540px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-soft);
  background: var(--bg-flax);
}
.process__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============== After section (notable list) ============== */
.notable {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
}
.notable li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  color: var(--ink);
}
.notable li:last-child {
  border-bottom: 1px solid var(--border);
}
.notable__dash {
  color: var(--bronze);
  font-weight: 300;
  font-size: 22px;
  padding-top: 2px;
}

.after__media {
  margin: 64px 0 0;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-soft);
  background: var(--bg-flax);
}
.after__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============== Reviews ============== */
.section__head--center {
  text-align: center;
}
.section__head--center .eyebrow,
.section__head--center .h2 {
  margin-left: auto;
  margin-right: auto;
}

/* — Feature (длинный нарративный) отзыв — */
.review-feature {
  position: relative;
  max-width: 880px;
  margin: 56px auto 0;
  padding: 56px 48px 40px;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(44, 41, 36, 0.18);
  border-bottom: 1px solid rgba(44, 41, 36, 0.18);
  text-align: left;
}
.review-feature::before,
.review-feature::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 1px;
  background: var(--bronze);
  opacity: 0.55;
}
.review-feature::before { top: 18px; }
.review-feature::after  { bottom: 18px; }

.review-feature__quote {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.45rem);
  line-height: 1.6;
  color: var(--ink);
  hyphens: auto;
}
.review-feature__quote p {
  margin: 0 0 1em;
  text-indent: 1.4em;
}
.review-feature__quote p:first-child {
  text-indent: 0;
  position: relative;
  padding-left: 1.6em;
}
.review-feature__quote p:first-child::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.25em;
  font-size: 2.4em;
  line-height: 1;
  color: var(--bronze);
  opacity: 0.55;
  font-family: var(--font-display);
  font-style: italic;
}
.review-feature__quote p:last-child { margin-bottom: 0; }

.review-feature__author {
  margin: 36px 0 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.65;
  text-align: center;
}

@media (min-width: 860px) {
  .review-feature {
    padding: 64px 72px 48px;
  }
  .review-feature__quote p:first-child::before {
    font-size: 3em;
  }
}
@media (max-width: 600px) {
  .review-feature { padding: 40px 24px 28px; margin-top: 40px; }
  .review-feature__quote p { text-indent: 1em; }
}

.reviews {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) {
  .reviews {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }
}
@media (min-width: 1080px) {
  .reviews {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .reviews > .review:nth-child(4),
  .reviews > .review:nth-child(5) {
    grid-column: span 1;
  }
  /* Центрируем последние два отзыва, чтобы было 3+2 */
  .reviews > .review:nth-child(4) { grid-column: 1 / 2; }
  .reviews > .review:nth-child(5) { grid-column: 2 / 3; }
}

.review {
  position: relative;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(44, 41, 36, 0.08);
  border-radius: var(--radius-soft);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.5s ease, background 0.4s ease, border-color 0.4s ease;
}
.review:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(164, 139, 93, 0.35);
  transform: translateY(-2px);
}

.review__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  hyphens: auto;
  position: relative;
}

.review__author {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(44, 41, 36, 0.12);
  align-self: stretch;
}

@media (max-width: 600px) {
  .review { padding: 26px 22px 22px; }
  .reviews { margin-top: 40px; gap: 18px; }
}

/* ============== Formats ============== */
.formats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .formats {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.format {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 48px 0 0;
  border-top: 1px solid var(--border);
}

.format__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

.format__subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0;
  text-transform: none;
  margin: 6px 0 18px;
}

.format__desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0 0 16px;
  flex: 1;
}

.format__price {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
  color: var(--bronze);
  margin: 0 0 28px;
}

.format .btn { align-self: flex-start; }

.format__note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 14px 0 0;
}

.format__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: text-decoration-color 0.2s ease;
}

.format__note a:hover {
  text-decoration-color: var(--bronze);
}

/* ============== FAQ ============== */
.faq {
  margin-top: 48px;
}

.faq__item {
  border-top: 1px solid var(--border);
  padding: 0;
}
.faq__item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 56px 28px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  color: var(--ink);
  position: relative;
  transition: color var(--t-fast) var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  border-right: 1px solid var(--bronze);
  border-bottom: 1px solid var(--bronze);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--t-med) var(--ease);
  transform-origin: center;
}

.faq__item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq__item summary:hover,
.faq__item summary:focus-visible {
  color: var(--forest);
  outline: none;
}

.faq__item p {
  margin: 0 0 28px;
  padding-right: 56px;
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ============== Final ============== */
.final {
  padding: clamp(60px, 8vw, 80px) 0 40px;
  text-align: center;
}

.final .display {
  max-width: 18ch;
  margin: 0 auto 0.4em;
}

.final__lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.7;
  color: rgba(246, 241, 232, 0.78);
  max-width: 50ch;
  margin: 0 auto 56px;
}

.final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 80px;
}

/* — Согласие на обработку данных (152-ФЗ) — */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 52ch;
  margin: 0 auto 36px;
  padding: 0;
  text-align: left;
  cursor: pointer;
  user-select: none;
}
.consent__input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.consent__box {
  position: relative;
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border: 1px solid rgba(246, 241, 232, 0.5);
  border-radius: 2px;
  background: transparent;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.consent__input:focus-visible + .consent__box {
  outline: 1px solid var(--bronze);
  outline-offset: 3px;
}
.consent__input:checked + .consent__box {
  background: var(--bronze);
  border-color: var(--bronze);
}
.consent__input:checked + .consent__box::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 6px; height: 11px;
  border: solid var(--forest);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.consent:hover .consent__box { border-color: var(--bronze); }
.consent__text {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(246, 241, 232, 0.7);
  letter-spacing: 0.01em;
}
.consent__text a {
  color: var(--bg-flax);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(246, 241, 232, 0.35);
  transition: text-decoration-color var(--t-fast) var(--ease);
}
.consent__text a:hover { text-decoration-color: var(--bg-flax); }

/* — Кнопки в финале неактивны, пока нет согласия — */
.final__cta[aria-disabled="true"] {
  opacity: 0.32;
  pointer-events: none;
  filter: saturate(0.6);
}

.final__small {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.45);
  margin: 0;
}

.footer {
  padding: 32px 0 40px;
  text-align: center;
  border-top: 1px solid rgba(246, 241, 232, 0.1);
}
.footer p {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(246, 241, 232, 0.4);
  margin: 0;
}

/* ============== Reveal animation ============== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============== Focus ============== */
:focus-visible {
  outline: 1px solid var(--bronze);
  outline-offset: 3px;
}

/* ============== Reduced motion ============== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html { scroll-behavior: auto; }
  .two-col__media img,
  .format__media img { transform: none !important; }
}

/* ============== Mobile ============== */
@media (max-width: 480px) {
  body { font-size: 17px; }
  .display { font-size: clamp(32px, 9.5vw, 44px); }
  .h2      { font-size: clamp(24px, 7.5vw, 34px); }
  .hero__lead-accent { font-size: 18px; }
  .hero__lead { font-size: 15px; line-height: 1.65; }
  .btn     {
    width: 100%;
    justify-content: center;
    padding: 20px 24px;
    text-align: center;
  }
  .format .btn { width: auto; align-self: stretch; justify-content: center; }
  .step {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 28px 0;
  }
  .step__num { font-size: 24px; }
  .final__actions { flex-direction: column; align-items: stretch; }
  .final__actions .btn { justify-content: center; }
  .consent { margin-bottom: 28px; gap: 10px; }
  .consent__text { font-size: 12.5px; }
  .notable li { font-size: 19px; }
  .hero__media img { object-position: center 40%; }
  .hero__veil {
    background: linear-gradient(180deg,
      rgba(246, 241, 232, 0.7) 0%,
      rgba(246, 241, 232, 0.55) 30%,
      rgba(246, 241, 232, 0.85) 70%,
      rgba(246, 241, 232, 1) 100%);
  }
}
