:root {
  --bg: #f2f5ee;
  --surface: #e6ede0;
  --ink: #1b2419;
  --muted: #4c5947;
  --accent: #2e5631;
  --accent-hover: #3d7040;
  --accent-ink: #f2f5ee;
  --sage: #d3e0ca;
  --deep: #23391f;
  --deep-ink: #e9f0e3;

  --m: 6vw;
  --gap: 20px;
  --r: 24px;

  --font: "Manrope", system-ui, sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.5rem, 1rem + 8.3vw, 8rem);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, dl { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--sage); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px;
  border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 var(--step-body)/1 var(--font);
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, transform .3s var(--ease);
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--wide { width: 100%; }
.link { font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; transition: color .2s; }
.link:hover { color: var(--accent); }

/* ---------- hero: stepped title, two photographs ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 0 var(--m);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto auto 1fr;
  column-gap: var(--gap);
  overflow: hidden;
}
.nav {
  grid-column: 1 / -1; grid-row: 1;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 84px;
  font-size: var(--step-small); font-weight: 600;
}
.nav a { text-decoration: none; padding: 10px 0; transition: color .2s; }
.nav a:hover { color: var(--accent); }
.nav__mark { font-size: var(--step-body); letter-spacing: -0.01em; }
.nav__cta { justify-self: end; }

.hero__small {
  grid-column: 10 / 13; grid-row: 2;
  margin: 2vh 0 20px;
  aspect-ratio: 16 / 10;
  border-radius: var(--r); overflow: hidden;
}
.hero__small img, .hero__tall img { width: 100%; height: 100%; object-fit: cover; }
.hero__title {
  grid-column: 2 / 13; grid-row: 3 / 5;
  display: grid; grid-template-columns: subgrid;
  font-weight: 300;
}
.line {
  display: block;
  font: 300 var(--step-display)/1 var(--font);
  letter-spacing: -0.035em;
  white-space: nowrap;
  overflow: hidden;
  padding-bottom: .1em; margin-bottom: -.1em;
}
.line > span { display: inline-block; }
.line--1 { grid-column: 1 / -1; grid-row: 1; }
.line--2 { grid-column: 5 / -1; grid-row: 2; }
.hero__tall {
  grid-column: 2 / 6; grid-row: 4 / 6;
  margin-top: 24px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r); overflow: hidden;
  align-self: start;
}
.hero__tall img { animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.03); } to { transform: scale(1.12) translate(-2%, -1%); } }
.hero__copy {
  grid-column: 6 / 11; grid-row: 5;
  padding-top: 36px;
  align-self: start;
}
.hero__copy p { font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; margin-bottom: 32px; }

/* ---------- showcase: frame run, one lifted ---------- */
.show {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: 200px var(--m) 0;
}
.show__side { grid-column: 1 / 4; display: flex; flex-direction: column; gap: 16px; padding-right: 8px; }
.show__title { font: 300 var(--step-head)/1 var(--font); letter-spacing: -0.03em; }
.show__note { font-size: var(--step-small); color: var(--muted); max-width: 26ch; }
.show__note:first-of-type { margin-top: auto; }
.show__run {
  grid-column: 4 / 13;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px 14px;
}
.frame { flex: none; }
.frame img {
  height: min(22vh, 15vw); width: auto; max-width: none;
  border-radius: var(--r);
  transition: transform .5s var(--ease);
}
.frame--lift img { height: min(48vh, 33vw); }
.frame:hover img { transform: translateY(-6px); }
.frame figcaption {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 10px; font-size: var(--step-small);
}
.frame figcaption span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- how: photographs down a diagonal ---------- */
.how {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: 220px var(--m) 0;
  align-items: start;
}
.how__title { grid-column: 7 / 13; grid-row: 1; font: 300 var(--step-head)/1 var(--font); letter-spacing: -0.03em; }
.how figure { border-radius: var(--r); overflow: hidden; }
.how img { width: 100%; height: 100%; object-fit: cover; }
.how__ph--1 { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.how__txt--1 { grid-column: 7 / 11; grid-row: 2; margin-top: 40px; }
.how__ph--2 { grid-column: 6 / 9; grid-row: 3; aspect-ratio: 1; margin-top: 120px; }
.how__txt--2 { grid-column: 9 / 13; grid-row: 3; margin-top: 120px; padding-left: 20px; }
.how__ph--3 { grid-column: 8 / 13; grid-row: 4; aspect-ratio: 16 / 10; margin-top: 140px; }
.how__txt--3 { grid-column: 3 / 7; grid-row: 4; margin-top: 140px; }
.how__txt { max-width: 36ch; }
.how__txt b { font-weight: 600; }

/* ---------- order: menu like a menu + bag ---------- */
.order {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: 220px var(--m) 0;
  align-items: start;
}
.order__side { grid-column: 1 / 5; position: sticky; top: 24px; }
.order__title { font: 300 var(--step-head)/1 var(--font); letter-spacing: -0.03em; margin-bottom: 32px; }
.bag {
  background: var(--sage);
  border-radius: var(--r);
  padding: 28px;
  display: grid; gap: 12px;
}
html:not(.js) .bag { display: none; }
.bag__count { font-size: var(--step-small); color: var(--muted); }
.bag__total { font: 300 var(--step-head)/1 var(--font); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.bag__total output { display: inline-block; }
.bag__total output.bump { animation: bump .4s var(--ease); }
@keyframes bump { from { transform: translateY(6px); opacity: .4; } to { transform: none; opacity: 1; } }
.bag__meter { height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.bag__meter i { display: block; height: 100%; background: var(--accent); border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); }
.bag__free { font-size: var(--step-small); }
.bag__zone { display: grid; gap: 6px; font-size: var(--step-small); font-weight: 600; margin-top: 8px; }
.bag__zone select {
  font: 400 var(--step-body) var(--font); color: var(--ink);
  min-height: 48px; padding: 0 16px;
  border: 0; border-radius: 999px; background: var(--bg);
  cursor: pointer;
}
.bag__eta { margin-bottom: 8px; }
.bag__eta output { font-weight: 600; }

.menu {
  grid-column: 6 / 13;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px;
}
.menu__group { padding-top: 48px; }
.menu__group:nth-child(-n+2) { padding-top: 0; }
.menu__group h3 { font: 600 var(--step-lead)/1.2 var(--font); margin-bottom: 20px; }
.menu li {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: start;
  padding: 10px 0 12px;
}
.menu li .n { display: block; }
.menu li .d { display: block; font-size: var(--step-small); color: var(--muted); max-width: 36ch; margin-top: 2px; }
.menu li .p { font-variant-numeric: tabular-nums; }
.menu li .p::after { content: " ₽"; }
.step-ctl { grid-column: 1 / -1; display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.step-ctl button {
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--surface); color: var(--ink);
  font: 400 1.375rem/1 var(--font); cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.step-ctl button:hover { background: var(--sage); }
.step-ctl button:active { transform: scale(.9); }
.step-ctl button.plus { background: var(--accent); color: var(--accent-ink); }
.step-ctl button.plus:hover { background: var(--accent-hover); }
.step-ctl button[disabled] { opacity: .35; cursor: default; }
.step-ctl output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
li.has .n { font-weight: 600; }
.menu__note { grid-column: 1 / -1; max-width: 60ch; margin-top: 40px; font-size: var(--step-small); color: var(--muted); }

/* ---------- faq: split with a tall photograph ---------- */
.faq {
  margin: 240px var(--m) 0;
  padding: 80px 64px;
  background: var(--surface);
  border-radius: calc(var(--r) * 1.5);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
}
.faq__text { grid-column: 1 / 6; }
.faq__title { font: 300 var(--step-head)/1 var(--font); letter-spacing: -0.03em; margin-bottom: 28px; }
.faq__facts { display: grid; gap: 6px; margin-bottom: 36px; }
.faq__list details { padding: 14px 0; }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 44px;
  font-size: var(--step-lead); line-height: 1.25;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq__list details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq__list summary:hover { color: var(--accent); }
.faq__list details p { color: var(--muted); max-width: 44ch; padding-top: 6px; }
.faq__list details[open] p { animation: open .4s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.faq__pics { grid-column: 7 / 13; position: relative; }
.faq__tall { aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; margin-top: -160px; }
.faq__sq { position: absolute; left: -40px; bottom: -40px; width: 34%; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; outline: 8px solid var(--surface); }
.faq__pics img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- cta: three photographs, then a field ---------- */
.cta { margin-top: 24px; }
.cta__strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 var(--m); }
.cta__strip img { width: 100%; height: 40svh; object-fit: cover; }
.cta__strip img:first-child { border-radius: var(--r) 0 0 0; }
.cta__strip img:last-child { border-radius: 0 var(--r) 0 0; }
.cta__band {
  position: relative;
  margin: 0 var(--m);
  min-height: 44svh;
  padding: 64px 56px;
  background: var(--deep); color: var(--deep-ink);
  border-radius: 0 0 var(--r) var(--r);
}
.cta__line { font: 300 var(--step-lead)/1.35 var(--font); max-width: 30ch; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.875rem); }
.cta__line a { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; text-decoration-color: var(--sage); transition: color .2s; }
.cta__line a:hover { color: var(--sage); }
.cta__small { margin-top: 32px; font-size: var(--step-small); }
.cta__pic { position: absolute; right: 40px; bottom: 40px; width: 150px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; }
.cta__pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer: name across the last photograph ---------- */
.foot {
  position: relative;
  margin-top: 200px;
  min-height: 100svh;
  color: var(--deep-ink);
  border-radius: calc(var(--r) * 1.5) calc(var(--r) * 1.5) 0 0;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px var(--m) 24px;
}
.foot__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.4); z-index: -1; }
.foot__top { display: flex; justify-content: space-between; gap: 32px; }
.foot__top ul { display: grid; gap: 8px; }
.foot__contact { text-align: right; }
.foot a { text-decoration: none; transition: opacity .2s; }
.foot a:hover { opacity: .7; text-decoration: underline; }
.foot__mark { font: 300 17vw/0.9 var(--font); letter-spacing: -0.05em; margin-left: -0.05em; white-space: nowrap; }
.foot__legal { font-size: var(--step-small); max-width: 72ch; margin-top: 16px; opacity: .85; }

/* ---------- motion ---------- */
.js .line > span { transform: translateY(105%); animation: lineup .9s var(--ease) forwards; }
.js .line--2 > span { animation-delay: .11s; }
@keyframes lineup { to { transform: none; } }
.js .hero__copy, .js .hero__small, .js .hero__tall { animation: fadeup .8s var(--ease) .45s backwards; }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }


/* ---------- sticky bar ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 32px;
  height: 64px; padding: 0 var(--m);
  background: var(--bg);
  border-radius: 0 0 var(--r) var(--r);
  font-size: var(--step-small); font-weight: 600;
  transform: translateY(-110%);
  transition: transform .5s var(--ease), background-color .3s;
}
.bar.on { transform: none; }
.bar a { text-decoration: none; }
.bar__mark { font-size: var(--step-body); }
.bar__nav { display: flex; gap: 24px; margin-right: auto; }
.bar__nav a { padding: 8px 0; color: var(--muted); transition: color .2s; }
.bar__nav a:hover { color: var(--ink); }
.bar__cart {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 8px 0 20px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  transition: background-color .25s, transform .3s var(--ease);
}
.bar__cart:hover { background: var(--accent-hover); transform: translateY(-1px); }
.bar__n {
  display: inline-grid; place-items: center;
  min-width: 30px; height: 30px; padding: 0 8px;
  border-radius: 999px; background: var(--accent-ink); color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.bar__n.bump { animation: pop .45s var(--ease); }
.bar__sum:empty { display: none; }
.bar__sum { padding-right: 12px; font-variant-numeric: tabular-nums; }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: none; } }

/* ---------- kitchen status ---------- */
.hero__copy .status { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; font-size: var(--step-small); line-height: 1.4; color: var(--muted); max-width: none; }
section[id] { scroll-margin-top: 80px; }
.status i { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.status i::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--accent); opacity: .5;
  animation: ping 2.2s var(--ease) infinite;
}
.status.closed i, .status.closed i::after { background: #9aa596; }
.status.closed i::after { animation: none; }
@keyframes ping { from { transform: scale(1); opacity: .5; } to { transform: scale(2.8); opacity: 0; } }

/* ---------- add from the photo run ---------- */
.frame { position: relative; }
.frame__add {
  position: absolute; top: 12px; right: 12px;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--bg); color: var(--ink);
  font: 400 1.5rem/1 var(--font); cursor: pointer;
  opacity: 0; transform: scale(.8);
  transition: opacity .3s, transform .35s var(--ease), background-color .25s, color .25s;
}
.frame:hover .frame__add, .frame__add:focus-visible { opacity: 1; transform: none; }
.frame__add:hover { background: var(--accent); color: var(--accent-ink); }
.frame__add.done { background: var(--accent); color: var(--accent-ink); opacity: 1; transform: rotate(90deg); }
@media (hover: none) { .frame__add { opacity: 1; transform: none; } }

/* ---------- menu details ---------- */
.menu li { margin: 0 -14px; padding: 10px 14px 12px; border-radius: 18px; transition: background-color .35s; }
.menu li.has { background: var(--surface); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag {
  padding: 2px 10px; border-radius: 999px;
  background: var(--surface); color: var(--muted);
  font-size: var(--step-small); line-height: 1.5;
  transition: background-color .35s;
}
.tag--hot { background: #f1dccf; color: #7a3b1f; }
li.has .tag:not(.tag--hot) { background: var(--sage); }
.bag.free .bag__free { color: var(--accent); font-weight: 600; }
.bag.free .bag__meter i { animation: glowbar 1s var(--ease); }
@keyframes glowbar { 50% { opacity: .55; } }

/* ---------- ticker ---------- */
.ticker {
  margin: 220px var(--m) 0;
  padding: 20px 0;
  background: var(--sage);
  border-radius: 999px;
  overflow: hidden;
}
.ticker__track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker__track span { white-space: nowrap; font: 300 var(--step-lead)/1.2 var(--font); letter-spacing: -0.01em; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 30;
  max-width: calc(100vw - 40px);
  padding: 14px 24px; border-radius: 999px;
  background: var(--deep); color: var(--deep-ink);
  font-size: var(--step-small); font-weight: 600;
  transform: translate(-50%, calc(100% + 40px));
  opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .3s, visibility 0s .5s;
  pointer-events: none;
}
.toast.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--ease), opacity .3s; }

/* ---------- parallax + footer letters ---------- */
.how figure img, .hero__small img { transform: translateY(var(--py, 0px)) scale(1.1); transition: transform .2s linear; }
.foot__mark span { display: inline-block; }
.js .foot__mark span { transform: translateY(45%); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js .foot__mark.in span { transform: none; opacity: 1; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .order__side { grid-column: 1 / 6; }
  .menu { grid-column: 7 / 13; grid-template-columns: 1fr; }
  .menu__group:nth-child(2) { padding-top: 48px; }
}
@media (max-width: 900px) {
  :root { --m: 24px; --gap: 12px; }
  .hero { min-height: 0; padding-bottom: 0; }
  .hero__tall { grid-column: 1 / 6; }
  .hero__copy { grid-column: 6 / 13; }
  .show { padding-top: 140px; }
  .show__side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; column-gap: 32px; margin-bottom: 32px; }
  .show__title, .show__side .link { flex-basis: 100%; }
  .show__note { flex: 1 1 220px; max-width: none; }
  .show__note:first-of-type { margin-top: 8px; }
  .show__note:last-of-type { margin-top: 8px; }
  .show__run { grid-column: 1 / -1; }
  .frame { width: calc(50% - 7px); }
  .frame img { width: 100%; height: 34vw; object-fit: cover; }
  .frame--lift { width: 100%; order: -1; }
  .frame--lift img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .frame:last-child { width: 100%; }
  .frame:last-child img { height: 52vw; }
  .how { padding-top: 140px; row-gap: 20px; }
  .how__title { grid-column: 1 / -1; grid-row: auto; }
  .how__ph--1, .how__ph--2, .how__ph--3, .how__txt--1, .how__txt--2, .how__txt--3 { grid-row: auto; margin-top: 0; padding-left: 0; }
  .how__ph--1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; margin-top: 16px; }
  .how__txt--1 { grid-column: 1 / -1; }
  .how__ph--2 { grid-column: 5 / -1; margin-top: 36px; }
  .how__txt--2 { grid-column: 5 / -1; }
  .how__ph--3 { grid-column: 1 / 11; margin-top: 36px; }
  .how__txt--3 { grid-column: 1 / 11; }
  .order { padding-top: 140px; }
  .order__side { grid-column: 1 / -1; position: static; margin-bottom: 48px; }
  .menu { grid-column: 1 / -1; }
  .faq { margin-top: 160px; padding: 0 0 48px; grid-template-columns: 1fr; background: none; }
  .faq__pics { grid-column: 1; grid-row: 1; margin-bottom: 64px; }
  .faq__tall { margin-top: 0; aspect-ratio: 4 / 5; }
  .faq__sq { left: auto; right: -8px; bottom: -32px; width: 38%; outline-color: var(--bg); }
  .faq__text { grid-column: 1; }
  .cta { margin-top: 16px; }
  .ticker { margin-top: 140px; padding: 14px 0; }
  .bar__nav { display: none; }
  .bar { justify-content: space-between; }
  .cta__strip { grid-template-columns: 1fr 1fr; }
  .cta__strip img { height: auto; aspect-ratio: 4 / 3; }
  .cta__strip img:first-child { grid-column: 1 / -1; border-radius: var(--r) var(--r) 0 0; }
  .cta__strip img:last-child { border-radius: 0; }
  .cta__band { padding: 40px 24px 160px; }
  .cta__pic { width: 96px; right: 24px; bottom: 24px; }
  .foot { min-height: 88svh; margin-top: 140px; }
  .foot__top { flex-direction: column; }
  .foot__contact { text-align: left; }
}
@media (max-width: 640px) {
  :root { --m: 20px; --step-display: 15vw; }
  .hero { grid-template-rows: auto auto auto auto auto auto; }
  .nav { height: 68px; grid-template-columns: 1fr auto; }
  .nav a:first-child { display: none; }
  .hero__small { grid-column: 6 / 13; grid-row: 2; margin: 8px 0 16px; }
  .hero__title { grid-column: 1 / -1; grid-row: 3 / 5; }
  .line--1 { grid-column: 1 / -1; grid-row: 1; }
  .line--2 { grid-column: 1 / -1; grid-row: 2; padding-left: 22vw; }
  .hero__copy { grid-column: 1 / -1; grid-row: 5; padding-top: 24px; }
  .hero__tall { grid-column: 1 / 10; grid-row: 6; margin-top: 36px; }
  .hero__copy p { font-size: var(--step-body); }
  .btn:not(.btn--wide) { width: 100%; }
  .faq__actions { flex-direction: column; align-items: stretch; text-align: center; }
  .menu li .d { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .line > span { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .foot__mark span { opacity: 1; transform: none; }
  .how figure img, .hero__small img { transform: none; }
}
