/* Бургер-клуб — клубный бюллетень */
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-cyrillic-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-cyrillic-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-cyrillic-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-cyrillic-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122;
}
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122;
}
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/rubik-cyrillic-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/rubik-cyrillic-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/rubik-cyrillic-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/rubik-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122;
}
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/rubik-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122;
}

:root {
  --ink: #1A120B;
  --paper: #FFF3DE;
  --mustard: #F2B705;
  --ketchup: #D64524;
  --pickle: #4C7A34;
  --smoke: #2A211A;
  --cream: #FFE9C2;
  --rule: 3px;
  --maxw: 1120px;
  --font-display: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Rubik', 'Helvetica Neue', Arial, sans-serif;
  --font-data: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ketchup); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ketchup); outline-offset: 3px; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Тикер */
.ticker {
  background: var(--ink);
  color: var(--mustard);
  overflow: hidden;
  border-bottom: var(--rule) solid var(--ink);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  padding: 8px 0;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  gap: 3rem;
  padding-right: 3rem;
  animation: ticker 38s linear infinite;
}
.ticker__track span::before { content: '★'; margin-right: 3rem; color: var(--ketchup); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Шапка */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: var(--rule) solid var(--ink);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo:hover { color: var(--ketchup); }
.logo__mark {
  width: 34px; height: 34px;
  background: var(--mustard);
  border: 2px solid var(--ink);
  display: grid; place-items: center;
  font-size: 18px; line-height: 1;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--ketchup); color: var(--ketchup); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--ink); font-weight: 600; }
.nav-toggle {
  display: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  background: var(--mustard);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 8px 14px;
  font-size: 0.95rem;
  cursor: pointer;
}

/* Кнопки */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 28px;
  border: var(--rule) solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.btn--primary { background: var(--ketchup); color: var(--paper); }
.btn--primary:hover { background: var(--ink); color: var(--mustard); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--mustard); transform: translateY(-2px); }
.btn--mustard { background: var(--mustard); color: var(--ink); }
.btn--mustard:hover { background: var(--paper); transform: translateY(-2px); }

/* Hero */
.hero {
  background: var(--mustard);
  border-bottom: var(--rule) solid var(--ink);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px 56px;
}
.eyebrow {
  font-family: var(--font-data);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  display: inline-block;
  background: var(--ink);
  color: var(--mustard);
  padding: 6px 12px;
}
.hero__title { margin-bottom: 18px; }
.hero__lead { font-size: 1.15rem; max-width: 46ch; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { position: relative; display: grid; place-items: center; }
.hero__stamp {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 130px;
  transform: rotate(12deg);
  filter: drop-shadow(3px 3px 0 rgba(26, 18, 11, 0.25));
}
.hero__art svg.burger-svg { width: min(100%, 380px); height: auto; }

@media (prefers-reduced-motion: no-preference) {
  .burger-svg .layer { animation: drop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .burger-svg .layer:nth-child(1) { animation-delay: 0.05s; }
  .burger-svg .layer:nth-child(2) { animation-delay: 0.15s; }
  .burger-svg .layer:nth-child(3) { animation-delay: 0.25s; }
  .burger-svg .layer:nth-child(4) { animation-delay: 0.35s; }
  .burger-svg .layer:nth-child(5) { animation-delay: 0.45s; }
  .burger-svg .layer:nth-child(6) { animation-delay: 0.55s; }
  .burger-svg .layer:nth-child(7) { animation-delay: 0.65s; }
}
@keyframes drop {
  from { opacity: 0; transform: translateY(-26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Секции */
.section { padding: 72px 0; border-bottom: var(--rule) solid var(--ink); }
.section--dark { background: var(--smoke); color: var(--paper); }
.section--dark a { color: var(--mustard); }
.section--dark a:hover { color: var(--paper); }
.section--cream { background: var(--cream); }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  border-bottom: var(--rule) solid currentColor;
  padding-bottom: 16px;
}
.section__num {
  font-family: var(--font-data);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 8px;
}
.section__title { margin: 0; }
.section__link { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }

/* Три колонки */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: var(--rule) solid var(--ink); }
.cols3 > * { padding: 28px; border-right: var(--rule) solid var(--ink); }
.cols3 > *:last-child { border-right: 0; }
.col__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ketchup);
  line-height: 1;
  margin: 0 0 10px;
}
.col__title { margin-bottom: 10px; }

/* Карточки рецептов */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--paper);
  border: var(--rule) solid var(--ink);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
a.card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.card__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-bottom: var(--rule) solid var(--ink); background: var(--cream); }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__tag {
  align-self: flex-start;
  font-family: var(--font-data);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--mustard);
  border: 2px solid var(--ink);
  padding: 3px 8px;
}
.card__title { margin: 0; font-size: 1.35rem; }
.card__text { margin: 0; font-size: 0.95rem; opacity: 0.9; }
.card__meta {
  margin-top: auto;
  font-family: var(--font-data);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}
.card--soon { opacity: 0.85; }
.card--soon .card__tag { background: var(--cream); }

/* Крупная карточка «рецепт недели» */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: var(--rule) solid var(--ink);
  background: var(--paper);
}
.feature__img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-right: var(--rule) solid var(--ink); }
.feature__body { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.feature__meta { font-family: var(--font-data); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.75; }

/* Галерея */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery__item { position: relative; border: var(--rule) solid var(--ink); overflow: hidden; background: var(--smoke); }
.gallery__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.25s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--wide img { aspect-ratio: 2 / 1; }
.gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(26, 18, 11, 0.88);
  color: var(--paper);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 10px 12px;
  margin: 0;
}
.gallery__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--rule) solid var(--ink); }

/* Заголовок страницы */
.page-head {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 48px;
  border-bottom: var(--rule) solid var(--ink);
}
.page-head .eyebrow { background: var(--mustard); color: var(--ink); }
.page-head__lead { max-width: 60ch; opacity: 0.92; margin: 0; }

/* Хлебные крошки */
.crumbs {
  font-family: var(--font-data);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 24px 0 0;
}
.crumbs a { color: var(--ink); }
.crumbs span { opacity: 0.6; }

/* Рецепт: сетка */
.recipe-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.recipe-hero-img { width: 100%; border: var(--rule) solid var(--ink); }
.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}
.meta-chip {
  font-family: var(--font-data);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid var(--ink);
  padding: 6px 12px;
  background: var(--cream);
}

/* Ингредиенты с точечными выносками */
.ingredients {
  list-style: none;
  margin: 0 0 32px;
  padding: 24px;
  border: var(--rule) solid var(--ink);
  background: var(--paper);
}
.ingredients__title { margin: 0 0 16px; font-size: 1.25rem; }
.ingredient {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dotted rgba(26, 18, 11, 0.4);
}
.ingredient:last-child { border-bottom: 0; }
.ingredient__dots { flex: 1; }
.ingredient__qty { font-family: var(--font-data); font-size: 0.92rem; white-space: nowrap; }

/* Шаги */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 22px; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  border-bottom: var(--rule) solid var(--ink);
  padding-bottom: 22px;
}
.step:last-child { border-bottom: 0; }
.step__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ketchup);
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step p { margin: 0; }

/* Совет */
.aside-note {
  background: var(--mustard);
  border: var(--rule) solid var(--ink);
  padding: 24px 28px;
  margin: 36px 0;
}
.aside-note h3 { margin-bottom: 8px; }
.aside-note p:last-child { margin-bottom: 0; }

/* Манифест / списки */
.numbered-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: var(--rule) solid var(--ink); }
.numbered-list li { padding: 24px 28px; border-bottom: var(--rule) solid var(--ink); border-right: var(--rule) solid var(--ink); }
.numbered-list li:nth-child(2n) { border-right: 0; }
.numbered-list li:nth-last-child(-n+2) { border-bottom: 0; }
.numbered-list .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ketchup);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

/* Титулы */
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.badge-card { border: var(--rule) solid var(--ink); padding: 24px; background: var(--paper); }
.badge-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--mustard);
  border: 2px solid var(--ink);
  font-size: 28px;
  margin-bottom: 14px;
}

/* Уровни членства */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier {
  border: var(--rule) solid var(--ink);
  padding: 30px 26px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tier--featured { background: var(--mustard); }
.tier__price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}
.tier__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.tier__list li::before { content: '✓ '; color: var(--pickle); font-weight: 700; }
.tier .btn { margin-top: auto; text-align: center; }

/* События */
.event-list { display: grid; gap: 0; border: var(--rule) solid var(--ink); }
.event {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  border-bottom: var(--rule) solid var(--ink);
}
.event:last-child { border-bottom: 0; }
.event__date {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.15;
}
.event__date small { display: block; font-family: var(--font-data); font-size: 0.75rem; letter-spacing: 0.12em; opacity: 0.7; }
.event__title { margin: 0 0 6px; }
.event__text { margin: 0; font-size: 0.95rem; opacity: 0.9; }
.event--past { opacity: 0.65; }

/* Формы */
.form { display: grid; gap: 18px; max-width: 620px; }
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
}
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: var(--rule) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
}
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ketchup); outline-offset: 2px; }
.form__msg {
  display: none;
  border: var(--rule) solid var(--ink);
  background: var(--mustard);
  padding: 14px 18px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form__msg.is-visible { display: block; }

/* CTA-блок */
.cta-block {
  background: var(--ketchup);
  color: var(--paper);
  padding: 72px 0;
  border-bottom: var(--rule) solid var(--ink);
  text-align: center;
}
.cta-block h2 { color: var(--paper); }
.cta-block p { max-width: 56ch; margin: 0 auto 28px; }
.cta-block .btn--mustard { border-color: var(--ink); }

/* Контакты */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-card { border: var(--rule) solid var(--ink); padding: 30px; background: var(--paper); }
.contact-card dt {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ketchup);
  margin-top: 16px;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; }

/* Подвал */
.site-footer { background: var(--ink); color: var(--paper); padding: 56px 0 32px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 2px solid rgba(255, 243, 222, 0.25);
}
.footer__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mustard);
  margin: 0 0 14px;
  font-size: 1.05rem;
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--mustard); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}
.footer__stamp { width: 110px; opacity: 0.95; }

/* Утилиты */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.15rem; max-width: 62ch; }
.strike-rule { border: 0; border-top: var(--rule) solid var(--ink); margin: 48px 0; }

/* Адаптив */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; padding: 48px 24px; }
  .hero__art { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery, .gallery--3, .gallery__strip { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
  .recipe-layout { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature__img { border-right: 0; border-bottom: var(--rule) solid var(--ink); min-height: 240px; }
  .cols3 { grid-template-columns: 1fr; }
  .cols3 > * { border-right: 0; border-bottom: var(--rule) solid var(--ink); }
  .cols3 > *:last-child { border-bottom: 0; }
  .tiers, .badges { grid-template-columns: 1fr; }
  .numbered-list { grid-template-columns: 1fr; }
  .numbered-list li { border-right: 0; }
  .numbered-list li:nth-last-child(-n+2) { border-bottom: var(--rule) solid var(--ink); }
  .numbered-list li:last-child { border-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: var(--rule) solid var(--ink);
    flex-direction: column;
    padding: 12px 24px 18px;
    gap: 2px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 2px; min-height: 44px; display: flex; align-items: center; }
  .cards { grid-template-columns: 1fr; }
  .gallery, .gallery--3, .gallery__strip { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; }
  .step__num { font-size: 1.8rem; }
  .hero__actions .btn { width: 100%; text-align: center; }
}
