/* ---------- Caixa Terracotta palette (soft wall — option C) ---------- */
:root {
  --bg: #ECCBBE;          /* softened wall — main page tone */
  --bg-deep: #DBA999;     /* deeper terracotta — cards, colophon, panels */
  --accent: #6E3328;      /* dark terracotta — eyebrows, links, italics */
  --accent-deep: #4A1F18; /* near-burgundy — quotes, hover */
  --text: #2A1410;        /* warm near-black */
  --text-soft: #5A4035;   /* readable secondary text */
  --hairline: #B07F6D;    /* visible hairline on terracotta */

  --serif-display: "DM Serif Display", "Georgia", serif;
  --serif-body: "Source Serif 4", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --measure: 64ch;
  --max-wide: 1280px;
  --pad-x: clamp(24px, 5vw, 72px);
  --section-pad-y: clamp(80px, 12vw, 160px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration: none; border-bottom: 1px solid var(--hairline); transition: border-color .2s; }
a:hover { border-color: var(--accent); }

/* ---------- Progress bar ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 100;
  transition: width .08s linear;
}

/* ---------- Language switcher ---------- */
.lang-switcher {
  position: fixed;
  top: 16px;
  right: var(--pad-x);
  z-index: 90;
  font-family: var(--sans);
}
.lang-switcher__menu { position: relative; }
.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: rgba(236, 203, 190, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  transition: color .2s, border-color .2s, background .2s;
}
.lang-switcher__toggle::-webkit-details-marker { display: none; }
.lang-switcher__toggle:hover,
.lang-switcher__menu[open] .lang-switcher__toggle {
  color: var(--accent-deep);
  border-color: var(--accent);
  background: rgba(219, 169, 153, 0.95);
}
.lang-switcher__icon { flex-shrink: 0; }
.lang-switcher__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 148px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: rgba(236, 203, 190, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: 0 12px 40px -16px rgba(74, 31, 24, 0.35);
}
.lang-switcher__list a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
  border: none;
  transition: background .15s, color .15s;
}
.lang-switcher__list a:hover {
  background: var(--bg-deep);
  color: var(--accent-deep);
}
.lang-switcher__list a[aria-current="page"] {
  color: var(--accent-deep);
  font-weight: 600;
}
@media (max-width: 600px) {
  .lang-switcher { top: 12px; right: 16px; }
  .lang-switcher__toggle { min-height: 40px; padding: 6px 12px; }
}

/* ---------- Top navigation ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px var(--pad-x);
  background: rgba(236, 203, 190, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.topnav__logo {
  font-family: var(--serif-display);
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--text);
  border: none;
  text-transform: uppercase;
}
.topnav__menu { position: relative; }
.topnav__menu summary {
  list-style: none;
  cursor: pointer;
  padding: 6px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  user-select: none;
  text-transform: uppercase;
  color: var(--text-soft);
}
.topnav__menu summary::-webkit-details-marker { display: none; }
.topnav__menu summary:hover { color: var(--text); border-color: var(--accent); }
.topnav__menu[open] summary { color: var(--accent-deep); border-color: var(--accent); }
.topnav__menu ol {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  margin: 0;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  list-style: none;
  min-width: 320px;
  box-shadow: 0 12px 32px rgba(42, 31, 26, 0.08);
}
.topnav__menu ol li { padding: 6px 0; }
.topnav__menu ol a {
  border: none;
  color: var(--text);
}
.topnav__menu ol a:hover { color: var(--accent-deep); }

/* ---------- Section base ---------- */
.section {
  padding: var(--section-pad-y) var(--pad-x);
  border-bottom: 1px solid var(--hairline);
}
.section__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}
.section__eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 18px;
}
.section__title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--text);
}
.section__period {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(24px, 3vw, 40px);
  color: var(--accent);
  margin: 0 0 56px;
}

/* ---------- Hero (Intro) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.hero__copy {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero__title {
  font-family: var(--serif-display);
  font-size: clamp(56px, 14vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--text);
}
.hero__title em {
  font-style: italic;
  color: var(--accent-deep);
}
.hero__sub {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(20px, 2.8vw, 32px);
  color: var(--accent);
  margin: 0 0 16px;
  line-height: 1.2;
  max-width: 24ch;
}
.hero__meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
  max-width: 42ch;
}
.hero__meta__date {
  white-space: nowrap;
}
.hero__image { margin: 0; }
.hero__image img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 30px 80px -30px rgba(74, 31, 24, 0.45),
              0 6px 20px -8px rgba(74, 31, 24, 0.25);
}
.hero__image figcaption {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}
.hero__image-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.hero__image-meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.55;
  color: var(--text-soft);
}
.hero__image-meta em { font-style: italic; color: var(--accent); }

.section--intro .prose {
  margin-top: clamp(40px, 8vw, 80px);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(280px, 0.78fr) 1.22fr;
    gap: 80px;
    align-items: start;
  }
}

/* ---------- Prose ---------- */
.prose {
  max-width: var(--measure);
  margin: 0 auto;
  font-size: 19px;
}
.prose > * + * { margin-top: 1.4em; }
.prose p { margin: 0; }
.prose em { font-style: italic; color: var(--accent-deep); }

/* ---------- Pull quote ---------- */
.pull-quote {
  max-width: 820px;
  margin: 96px auto;
  padding: 0 24px;
  text-align: center;
}
.pull-quote blockquote {
  margin: 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.18;
  color: var(--accent-deep);
  position: relative;
}
.pull-quote blockquote::before {
  content: "«";
  font-size: 1.4em;
  color: var(--accent);
  margin-right: 4px;
}
.pull-quote blockquote::after {
  content: "»";
  font-size: 1.4em;
  color: var(--accent);
  margin-left: 4px;
}
.pull-quote cite {
  display: block;
  margin-top: 24px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ---------- Works (Key paintings) ---------- */
.works {
  margin-top: 96px;
}
.works__header {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 48px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}
.work {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 96px;
}
.work:nth-child(even) {
  grid-template-columns: 1fr 1.1fr;
}
.work:nth-child(even) .work__image { order: 2; }
.work__image figure { margin: 0; }
.work__image img {
  width: 100%;
  border: 1px solid var(--hairline);
}
.work__image figcaption {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-soft);
}
.work__body { padding-top: 8px; }
.work__title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  margin: 0 0 6px;
  color: var(--text);
}
.work__title em { font-style: italic; }
.work__meta {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin: 0 0 24px;
}
.work__text {
  font-size: 17px;
  line-height: 1.65;
}
.work__text p + p { margin-top: 1em; }

/* ---------- Neighbours ---------- */
.neighbours {
  margin-top: 80px;
  padding: 56px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.neighbours__title {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 32px;
}
.neighbours__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
}
.neighbour {
  font-family: var(--serif-body);
}
.neighbour__name {
  font-family: var(--serif-display);
  font-size: 22px;
  margin: 0 0 4px;
  color: var(--text);
}
.neighbour__years {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-soft);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}
.neighbour__role {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

/* ---------- Bio cards ---------- */
.bios {
  margin-top: 80px;
}
.bios__title {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 32px;
}
.bios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.bio {
  padding: 28px;
  background: var(--bg-deep);
  border: 1px solid var(--hairline);
  border-radius: 4px;
}
.bio h4 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 4px;
  color: var(--accent-deep);
}
.bio__dates {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin: 0 0 14px;
}
.bio p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Coming-soon stub ---------- */
.section--stub {
  text-align: center;
  padding: 120px var(--pad-x);
}
.section--stub .section__title { opacity: 0.55; }
.section--stub__note {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 32px;
}

/* ---------- Closing (финал страницы) ---------- */
.closing {
  background: var(--bg-deep);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(120px, 14vw, 180px);
  padding-bottom: clamp(120px, 14vw, 180px);
}
.closing__inner {
  max-width: 820px;
  margin: 0 auto;
}
.closing__eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.closing__eyebrow--center {
  text-align: center;
  margin: 0 0 48px;
}
.closing__title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 64px;
}
.closing__essay p {
  font-family: var(--serif-body);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.7;
  margin: 0 0 28px;
  color: var(--text);
}
.closing__essay p:last-child {
  font-family: var(--serif-display);
  font-style: italic;
  color: var(--accent-deep);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.3;
  margin-bottom: 0;
}
.closing__essay em { font-style: italic; color: var(--accent-deep); }

/* Decorative divider — small dots + line */
.closing__divider {
  margin: 88px auto;
  width: 88px;
  height: 1px;
  background: var(--accent);
  position: relative;
}
.closing__divider::before,
.closing__divider::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.closing__divider::before { left: -3px; }
.closing__divider::after { right: -3px; }

/* ---------- Why-go (нумерованный список причин) ---------- */
.why-go {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  max-width: none;
}
.why-go__title {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 48px;
  text-align: center;
}
.why-go__list {
  list-style: none;
  counter-reset: why;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 36px;
}
.why-go__list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 24px;
  row-gap: 8px;
  align-items: baseline;
  counter-increment: why;
  padding: 0;
}
.why-go__list li::before {
  content: counter(why, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--serif-display);
  font-size: 40px;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.why-go__lead {
  grid-column: 2;
  grid-row: 1;
  display: block;
  font-family: var(--serif-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  color: var(--accent-deep);
}
.why-go__body {
  grid-column: 2;
  grid-row: 2;
  display: block;
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}
.why-go__body em {
  font-style: italic;
  color: var(--accent-deep);
}

/* ---------- Practical (адрес/время/билет, dl-формат) ---------- */
.closing__practical {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: clamp(32px, 4vw, 48px) clamp(28px, 4vw, 56px);
}
.closing__practical-title {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 40px;
  text-align: center;
}
.closing__practical-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
}
.closing__practical-list > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}
.closing__practical-list > div:first-child { padding-top: 0; }
.closing__practical-list > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.closing__practical-list dt {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding-top: 4px;
}
.closing__practical-list dd {
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

/* ---------- Colophon ---------- */
.colophon {
  background: var(--bg-deep);
  padding: 96px var(--pad-x);
  text-align: center;
}
.colophon h3 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 48px;
  margin: 0 0 24px;
  color: var(--text);
}
.colophon p {
  max-width: 600px;
  margin: 0 auto 16px;
  font-size: 16px;
  color: var(--text-soft);
}

/* ---------- Back-to-top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(42, 31, 26, 0.18);
  z-index: 40;
  transition: background .2s, transform .2s;
}
.back-to-top:hover { background: var(--accent-deep); transform: translateY(-2px); }
.back-to-top.is-visible { display: flex; }

/* =================================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ================================================================= */
@media (max-width: 1024px) {
  :root {
    --pad-x: clamp(24px, 4vw, 48px);
    --section-pad-y: clamp(72px, 11vw, 128px);
  }

  /* Hero остаётся 2-колоночным на iPad portrait, но компактнее */
  .hero {
    grid-template-columns: minmax(220px, 0.7fr) 1.3fr;
    gap: 48px;
  }

  /* Works на iPad — одна колонка для лучшей читаемости */
  .work, .work:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
  }
  .work:nth-child(even) .work__image { order: 0; }
  .work__image img { max-height: 70vh; object-fit: contain; width: auto; max-width: 100%; margin: 0 auto; }

  /* Bios — 2 колонки */
  .bios__grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

/* =================================================================
   RESPONSIVE — Mobile (≤ 768px)
   ================================================================= */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.65;
  }

  :root {
    --pad-x: 20px;
    --section-pad-y: 64px;
    --measure: 100%;
  }

  /* HERO ---------- одна колонка, картина сверху */
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }
  .hero__image { order: -1; }
  .hero__image img {
    max-height: 52vh;
    width: 100%;
    object-fit: contain;
    object-position: top center;
  }
  .hero__image figcaption {
    max-width: 100%;
    text-align: left;
    margin-top: 12px;
    gap: 6px;
  }
  .hero__image-eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
    color: var(--text-soft);
    opacity: 0.85;
  }
  .hero__image-meta {
    font-size: 11px;
    line-height: 1.5;
  }
  .hero__title {
    font-size: clamp(44px, 12vw, 64px);
    margin: 0 0 10px;
    line-height: 1;
  }
  .hero__sub {
    font-size: clamp(17px, 4.5vw, 22px);
    max-width: 100%;
    margin: 0 0 12px;
    line-height: 1.25;
  }
  .hero__meta {
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1.45;
    max-width: 100%;
  }

  .section--intro .prose {
    margin-top: 36px;
  }

  /* SECTION ---------- */
  .section__title {
    font-size: clamp(36px, 10vw, 56px);
    margin-bottom: 12px;
    line-height: 1.05;
  }
  .section__period {
    font-size: clamp(18px, 4.5vw, 24px);
    margin-bottom: 32px;
    line-height: 1.2;
  }
  .section__eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
  }

  /* PROSE ---------- */
  .prose {
    font-size: 17px;
    line-height: 1.65;
  }
  .prose > * + * { margin-top: 1.25em; }

  /* PULL QUOTE ---------- */
  .pull-quote {
    margin: 56px auto;
    padding: 0 8px;
  }
  .pull-quote blockquote {
    font-size: clamp(22px, 5.5vw, 32px);
  }
  .pull-quote cite { font-size: 11px; letter-spacing: 0.14em; }

  /* WORKS ---------- */
  .works { margin-top: 64px; }
  .works__header { margin-bottom: 32px; }
  .work {
    margin-bottom: 56px;
    gap: 20px;
  }
  .work__title { font-size: clamp(24px, 6vw, 32px); }
  .work__meta { font-size: 12px; margin-bottom: 16px; }
  .work__text { font-size: 16px; line-height: 1.6; }

  /* NEIGHBOURS / BIOS ---------- */
  .neighbours { margin-top: 56px; padding: 40px 0; }
  .neighbours__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .neighbour__name { font-size: 20px; }
  .bios { margin-top: 56px; }
  .bios__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bio { padding: 24px; }
  .bio h4 { font-size: 22px; }
  .bio p { font-size: 14px; }

  /* COLOPHON ---------- */
  .colophon { padding: 64px var(--pad-x); }
  .colophon h3 { font-size: 32px; }
  .colophon p { font-size: 15px; }

  /* CLOSING ---------- */
  .closing {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .closing__eyebrow--center { font-size: 12px; margin-bottom: 32px; }
  .closing__essay p { font-size: 17px; line-height: 1.65; }
  .closing__essay p:last-child { font-size: 19px; }
  .closing__divider { margin: 56px auto; width: 60px; }

  /* WHY-GO ---------- */
  .why-go__title { margin-bottom: 32px; }
  .why-go__list { gap: 28px; }
  .why-go__list li {
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
  }
  .why-go__list li::before { font-size: 30px; }
  .why-go__lead { font-size: clamp(19px, 5vw, 24px); }
  .why-go__body { font-size: 15px; }

  /* PRACTICAL ---------- */
  .closing__practical { padding: 28px 24px; }
  .closing__practical-title { font-size: 12px; margin-bottom: 28px; }
  .closing__practical-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }
  .closing__practical-list dt { padding-top: 0; font-size: 11px; }
  .closing__practical-list dd { font-size: 15px; }

  /* PROGRESS BAR ---------- */
  .progress { height: 2px; }

  /* BACK-TO-TOP — больше для тача */
  .back-to-top {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }
}

/* =================================================================
   RESPONSIVE — Small mobile (≤ 480px, iPhone SE и подобные)
   ================================================================= */
@media (max-width: 480px) {
  :root {
    --pad-x: 16px;
    --section-pad-y: 48px;
  }

  body { font-size: 16px; }

  .hero {
    gap: 24px;
  }
  .hero__image img { max-height: 46vh; }
  .hero__image-eyebrow {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .hero__image-meta { font-size: 10px; }
  .hero__title { font-size: clamp(38px, 11vw, 52px); }
  .hero__sub { font-size: clamp(16px, 4.2vw, 20px); }
  .hero__meta { font-size: 10px; }

  .section--intro .prose { margin-top: 28px; }

  .section__title { font-size: clamp(32px, 10vw, 48px); }
  .section__period { font-size: clamp(17px, 4.2vw, 22px); margin-bottom: 28px; }

  .prose {
    font-size: 16px;
    line-height: 1.65;
  }

  .work__title { font-size: clamp(22px, 6.5vw, 28px); }
  .work__text { font-size: 15px; line-height: 1.6; }

  .pull-quote { margin: 48px auto; }
  .pull-quote blockquote { font-size: clamp(20px, 6vw, 28px); }

  .closing__title { font-size: clamp(34px, 12vw, 48px); }
  .closing__essay p { font-size: 16px; }
  .closing__essay p:last-child { font-size: 17px; }

  .bio { padding: 20px; }
  .bio h4 { font-size: 20px; }

  .closing__practical { padding: 24px 18px; }
}

/* =================================================================
   TOUCH — отключить hover-эффекты на устройствах без точного указателя
   ================================================================= */
@media (hover: none) {
  a:hover { border-color: var(--hairline); }
  .back-to-top:hover { background: var(--accent); transform: none; }
}

/* ---------- Print / PDF (16:9 landscape) ---------- */
@page {
  size: 13.33in 7.5in;
  margin: 0;
}
@media print {
  :root {
    --section-pad-y: 64px;
    --pad-x: 80px;
  }
  body { font-size: 11pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .topnav, .progress, .back-to-top { display: none !important; }
  .section {
    break-before: page;
    border: none;
    min-height: 0;
  }
  .section--intro { break-before: avoid; }
  .work { break-inside: avoid; page-break-inside: avoid; }
  .bio { break-inside: avoid; page-break-inside: avoid; }
  .neighbour { break-inside: avoid; page-break-inside: avoid; }
  .hero__image img { max-height: 80vh; }
  .why-go__list li { break-inside: avoid; page-break-inside: avoid; }
  .closing__practical-list > div { break-inside: avoid; page-break-inside: avoid; }
  .pull-quote { break-inside: avoid; page-break-inside: avoid; }
  a { color: var(--text); border: none; }
  /* Make sure terracotta background prints */
  body, .section, .closing, .colophon { background-color: var(--bg) !important; }
  .bg-deep, .colophon, .closing, .why-go { background-color: var(--bg) !important; }
  .bio { background-color: var(--bg-deep) !important; }
  .closing__practical { background-color: var(--bg) !important; }
}
