:root {
  --bg: #fafafa;
  --ink: #383838;
  --muted: #7d7d7d;
  --faint: #b4b4b4;
  --line: #dcdcdc;
  --dark: #1c1c1c;
  --accent: #9a6a47;
  --error: #b3402e;
  --font: "Fira Sans Condensed", "Arial Narrow", Arial, sans-serif;
  --mono: "Fira Code", ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(64px, 9vw, 140px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 18px/1.45 var(--font);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
small { font-size: .5em; color: var(--muted); letter-spacing: .04em; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--bg); padding: 8px 12px; }

/* Type */
.h1, .h2, .h3 { font-weight: 300; text-transform: uppercase; line-height: 1.02; letter-spacing: .02em; text-wrap: balance; }
.h1 { font-size: clamp(44px, 8.4vw, 132px); }
.h1--sm { font-size: clamp(34px, 5vw, 72px); }
.h1--project { font-size: clamp(36px, 6vw, 96px); }
.h2 { font-size: clamp(34px, 5.2vw, 76px); }
.h3 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; }
.lead { font-size: clamp(20px, 1.7vw, 26px); line-height: 1.35; max-width: 34em; }
.text { color: var(--muted); max-width: 38em; }
.eyebrow, .label { font-size: 15px; letter-spacing: .08em; text-transform: lowercase; color: var(--muted); }
.eyebrow a { text-decoration: none; }
.label { font-weight: 400; }

/* Arrow links */
.arrow { width: .8em; height: .8em; flex: none; transition: transform .25s; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  padding-bottom: .25em; border-bottom: 1px solid currentColor;
  font-size: 20px; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; text-align: left;
}
.link-arrow--lg { font-size: clamp(22px, 2.2vw, 30px); }
.link-arrow--xl { font-size: clamp(24px, 3.2vw, 44px); gap: .7em; }
.link-arrow:hover .arrow { transform: translate(3px, -3px); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--bg); border-bottom: 1px solid var(--line);
  transition: background .25s, color .25s, border-color .25s;
}
.header__row { display: flex; align-items: center; gap: 32px; height: 100%; }
.logo { font: 300 26px/1 var(--mono); letter-spacing: -.02em; text-decoration: none; margin-right: auto; }
.nav__list { display: flex; gap: clamp(16px, 2.2vw, 36px); }
.nav__list a, .header__cta { font-size: 17px; text-transform: lowercase; letter-spacing: .04em; text-decoration: none; padding: 6px 0; }
.nav__list a[aria-current] { border-bottom: 1px solid currentColor; }
.nav__extra { display: none; }
.header__cta { border-bottom: 1px solid currentColor; white-space: nowrap; }
.header__cta:hover { color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .25s, top .25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* Home: same header, transparent while it sits over the hero photo */
.header--over { position: fixed; left: 0; right: 0; }
.header--over:not(.is-solid):not(.is-open) { background: transparent; color: #fff; border-color: transparent; }
.header--over:not(.is-solid):not(.is-open) a:hover,
.header--over:not(.is-solid):not(.is-open) button:hover { color: #fff; opacity: .75; }

/* Hero */
.hero { position: relative; min-height: min(100svh, 1100px); display: flex; color: #fff; background: var(--dark); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.1) 35%, rgba(0,0,0,.55)); }
.hero__inner {
  position: relative; z-index: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  padding-top: calc(var(--header-h) + 8px); padding-bottom: clamp(28px, 4vw, 56px);
}
.hero__wordmark { font: 300 clamp(60px, 16.6vw, 290px)/.9 var(--mono); letter-spacing: -.045em; margin-left: -.04em; white-space: nowrap; }
.hero__body { align-self: center; justify-self: end; width: min(100%, 520px); margin-right: clamp(0px, 8vw, 140px); }
.hero__title { font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 16px; }
.hero__title span { display: block; }
.hero__text { font-size: clamp(18px, 1.4vw, 21px); max-width: 26em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 48px; }
.hero a:hover, .hero button:hover { color: #fff; opacity: .75; }

/* Sections */
.section { padding: var(--section) 0; }
.section--flush { padding-top: 0; }
.section--line > .wrap { border-top: 1px solid var(--ink); padding-top: clamp(28px, 4vw, 56px); }
.section--line { padding-top: 0; }
.section--dark { background: var(--dark); color: var(--bg); }
.section--dark .text, .section--dark .eyebrow { color: var(--faint); }
.section--dark a:hover, .section--dark button.link-arrow:hover { color: #fff; opacity: .75; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.section__head, .section .wrap > .h2 { margin-bottom: clamp(32px, 5vw, 72px); }
.section__head .h2 { margin: 0; }

.page-head { padding: clamp(48px, 8vw, 120px) 0 clamp(36px, 5vw, 72px); }
.page-head .eyebrow { margin-bottom: 20px; }
.page-head .lead { margin-top: clamp(20px, 3vw, 40px); }
.page-head--center { min-height: 60vh; display: flex; align-items: center; }
.page-head__links { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 40px; }

/* Split */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 96px); align-items: center; }
.split--form { align-items: start; }
.split__body { display: grid; gap: 22px; justify-items: start; }
.split__body .eyebrow { margin-bottom: -6px; }
/* Photos are never cropped: every image keeps its own proportions */
.split__media img { width: 100%; height: auto; background: #e9e7e4; }
.split__media--portrait { max-width: 560px; }

/* Project cards */
.cards { display: grid; gap: clamp(32px, 4vw, 64px) clamp(16px, 2.4vw, 40px); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: block; text-decoration: none; }
.card[hidden] { display: none; }
.cards { align-items: start; }
.card__media { overflow: hidden; background: #e9e7e4; }
.card__media img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.card:hover .card__media img { transform: scale(1.04); }
.card__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 15px; letter-spacing: .06em; color: var(--muted); }
.card__title { font-weight: 300; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; text-transform: uppercase; letter-spacing: .03em; margin-top: 6px; }
.card__text { color: var(--muted); margin-top: 6px; }
.card:hover { color: inherit; }
.card:hover .card__title { color: var(--accent); }

.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 3vw, 40px); }
.filter__btn { min-height: 44px; padding: 8px 20px; border: 1px solid var(--line); font-size: 17px; letter-spacing: .05em; text-transform: lowercase; transition: background .2s, color .2s, border-color .2s; }
.filter__btn:hover { border-color: var(--ink); }
.filter__btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats__item {
  position: relative; display: grid; grid-template-columns: minmax(110px, auto) 1fr; align-items: center;
  gap: 12px clamp(16px, 3vw, 48px); padding: clamp(40px, 5vw, 72px) clamp(0px, 3vw, 48px);
}
.stats__item:nth-child(odd) { border-right: 1px solid var(--ink); padding-left: 0; }
.stats__item:nth-child(n+3) { border-top: 1px solid var(--ink); }
.stats__num { position: absolute; top: 16px; right: clamp(0px, 3vw, 48px); font-size: 15px; letter-spacing: .08em; color: var(--faint); }
.stats__value { font-size: clamp(44px, 5.5vw, 84px); line-height: 1; white-space: nowrap; }
.stats__value small { font-size: .35em; }
.stats__text { color: var(--muted); max-width: 22em; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 48px); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps__item { border-top: 1px solid var(--line); padding-top: 16px; }
.steps__num { display: block; font-size: 15px; letter-spacing: .08em; color: var(--faint); }
.steps__title { font-weight: 300; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; text-transform: uppercase; letter-spacing: .03em; margin: 14px 0 10px; }
.steps__title--big { font-size: clamp(40px, 4.4vw, 64px); }
.steps__text { color: var(--muted); }

/* Services */
.service-links { display: flex; flex-wrap: wrap; gap: clamp(20px, 2.6vw, 36px) clamp(28px, 5vw, 80px); }
.service {
  display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 28px clamp(24px, 4vw, 64px);
  padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--ink);
}
.service__head { display: grid; gap: 14px; align-content: start; }
.service__body .label, .service__facts .label, .stage__facts .label { display: block; margin-bottom: 10px; }
.service__facts { display: grid; gap: 24px; align-content: start; justify-items: start; }
.service__facts dl { display: grid; gap: 24px; }
.service__price { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; white-space: nowrap; }
.service__note { color: var(--muted); font-size: 16px; margin-top: 6px; }
.list { display: grid; gap: 8px; }
.list li { position: relative; padding-left: 20px; }
.list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: currentColor; }

/* Prices */
.price-table { border-bottom: 1px solid var(--ink); }
.price-row {
  display: grid; grid-template-columns: 3fr 4fr 2fr 3fr; gap: 12px clamp(20px, 3vw, 48px); align-items: start;
  padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--ink); text-decoration: none; transition: padding .25s;
}
.price-row:hover { color: inherit; padding-left: 12px; }
.price-row__title { font-weight: 300; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; }
.price-row__list, .price-row__time { color: var(--muted); }
.price-row__price { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; text-align: right; white-space: nowrap; }
.price-row__price small { display: block; font-size: 16px; white-space: normal; margin-top: 6px; }

/* Accordions (FAQ, stages) */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 32px clamp(24px, 6vw, 96px); align-items: start; }
.faq .h2 { margin: 0; }
.accordion { border-bottom: 1px solid var(--ink); }
.accordion__item { border-top: 1px solid var(--ink); }
.faq .accordion__item:first-child { border-top: 0; }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.25;
}
.faq .accordion__item:first-child summary { padding-top: 0; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 18px; height: 18px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform .25s;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { color: var(--accent); }
.accordion__body { display: grid; gap: 12px; padding: 0 44px 28px 0; color: var(--muted); max-width: 46em; }
.accordion__body ul { display: grid; gap: 6px; }
.accordion__body li { position: relative; padding-left: 20px; }
.accordion__body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: currentColor; }

.accordion--stages summary { padding: clamp(22px, 3vw, 40px) 0; align-items: flex-start; }
.accordion--stages summary .steps__num { width: 4em; padding-top: .6em; }
.accordion__title { flex: 1; text-align: right; font-size: clamp(26px, 4.4vw, 60px); line-height: 1.05; text-transform: uppercase; letter-spacing: .04em; }
.accordion--stages summary::after { margin-top: clamp(6px, 1.6vw, 22px); }
.stage { grid-template-columns: 3fr 2fr; gap: 24px clamp(24px, 5vw, 80px); max-width: none; padding: 0 0 clamp(28px, 4vw, 48px) 4em; }
.stage__text { display: grid; gap: 12px; align-content: start; font-size: clamp(18px, 1.4vw, 21px); max-width: 38em; }
.stage__facts { display: grid; gap: 22px; align-content: start; color: var(--ink); }
.stage__facts dd { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.3; }
.stage__facts dd.service__note { font-size: 16px; }

/* Forms: deliberately large fields */
.form { display: grid; gap: 22px; width: 100%; max-width: 620px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 8px; }
.field label { font-size: 17px; letter-spacing: .04em; }
.field__hint { color: var(--muted); font-size: 15px; margin-left: 6px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea {
  width: 100%; min-height: 60px; padding: 14px 18px; border: 1px solid var(--ink); border-radius: 0;
  background: transparent; color: inherit; font: 300 21px/1.3 var(--font); appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder { color: var(--faint); }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 0; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: 16px; font-weight: 400; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: 24px 1fr; gap: 6px 14px; align-items: start; }
.field--check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--ink); }
.field--check label { font-size: 16px; color: var(--muted); letter-spacing: 0; }
.field--check .field__error { grid-column: 2; }
.field--inline { grid-template-columns: minmax(0, 220px) auto; align-items: center; justify-content: start; gap: 14px; }
.field__unit { font-size: 26px; }
.btn {
  min-height: 64px; padding: 16px 36px; background: var(--ink); color: var(--bg); border: 1px solid var(--ink);
  font-size: 20px; text-transform: uppercase; letter-spacing: .08em; transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: inherit; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn[disabled] { opacity: .5; cursor: progress; }
.btn[hidden] { display: none; }
.form__status { font-size: 20px; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); font-weight: 400; }
.form.is-done > :not(.form__status) { display: none; }
.form.is-done .form__status { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; }

.section--dark .field input:not([type="checkbox"]):not([type="radio"]) { border-color: var(--faint); }
.section--dark .btn { background: var(--bg); color: var(--dark); border-color: var(--bg); }
.section--dark .btn:hover { background: transparent; color: var(--bg); }
.section--dark .btn--ghost { background: transparent; color: var(--bg); border-color: var(--faint); }
.section--dark .btn--ghost:hover { background: var(--bg); color: var(--dark); }
.section--dark .field--check label { color: var(--faint); }
.section--dark .field--check input { accent-color: var(--bg); }
.section--dark .field__error, .section--dark .form__status.is-error { color: #ff9c8a; }

/* Quiz */
.quiz__grid { display: grid; grid-template-columns: 2fr 3fr; gap: 40px clamp(24px, 6vw, 96px); align-items: start; }
.quiz__intro { display: grid; gap: 22px; }
.quiz__form { max-width: 680px; }
.quiz__step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 22px; }
.quiz__step legend { padding: 0; margin-bottom: 22px; }
.quiz__step[hidden] { display: none; }
.quiz__progress { font-size: 15px; letter-spacing: .08em; color: var(--faint); }
.quiz__progress:empty { display: none; }
.quiz__text { color: var(--faint); margin-top: -10px; }
.quiz__nav { display: flex; flex-wrap: wrap; gap: 12px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choices--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; min-height: 64px; padding: 14px 20px;
  border: 1px solid var(--faint); font-size: 21px; transition: background .2s, color .2s, border-color .2s;
}
.choice:hover span { border-color: var(--bg); }
.choice input:checked + span { background: var(--bg); color: var(--dark); border-color: var(--bg); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* CTA band */
.cta__grid { display: grid; grid-template-columns: 3fr 2fr; gap: 40px clamp(24px, 6vw, 96px); align-items: end; }
.cta__grid .lead { margin-top: 22px; color: var(--faint); }
.cta__actions { display: grid; gap: 28px; justify-items: start; }

/* Project page */
.facts { display: flex; flex-wrap: wrap; gap: 20px clamp(32px, 5vw, 80px); margin-top: clamp(24px, 3vw, 40px); }
.facts dt { font-size: 15px; letter-spacing: .08em; color: var(--muted); }
.facts dd { font-size: clamp(22px, 2vw, 28px); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: clamp(24px, 3vw, 40px); padding-top: 16px; border-top: 1px solid var(--line); }
.subnav a { font-size: 17px; letter-spacing: .04em; text-decoration: none; padding: 6px 0; }
.project__cover img { width: 100%; height: auto; background: #e9e7e4; }
.project__split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(24px, 6vw, 96px); align-items: start; }
.project__split .h2 { margin: 0; }
.project__text { display: grid; gap: 16px; }
.project__gallery { columns: 2; column-gap: clamp(16px, 2.4vw, 40px); }
.project__gallery figure { margin-bottom: clamp(24px, 3vw, 48px); break-inside: avoid; }
.project__gallery img { width: 100%; }
.project__gallery figcaption { margin-top: 10px; color: var(--muted); }
.project__gallery figcaption span { font-size: 15px; letter-spacing: .08em; color: var(--faint); margin-right: 8px; }
.brief { margin-top: clamp(32px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.brief > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px clamp(24px, 6vw, 96px); padding: clamp(20px, 2.6vw, 36px) 0; border-top: 1px solid var(--line); }
.brief dt { font-size: clamp(22px, 2vw, 30px); text-transform: uppercase; letter-spacing: .04em; }
.brief dd { display: grid; gap: 12px; max-width: 40em; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px) clamp(16px, 2.4vw, 40px); align-items: start; }
/* Each figure gets flex = its aspect ratio, so both sides end up the same height uncropped */
.compare__pair { display: flex; gap: 6px; align-items: flex-start; }
.compare__pair--wide { grid-column: 1 / -1; }
.compare figure { min-width: 0; }
.compare img, .project__gallery img { height: auto; background: #e9e7e4; }
.compare img { width: 100%; }
[data-zoom] { cursor: zoom-in; }
.compare figcaption { margin-top: 8px; font-size: 15px; letter-spacing: .08em; color: var(--muted); }
.project__nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.estimate > div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.estimate > div:first-child { padding-top: 0; }
.estimate dt span { font-size: 15px; letter-spacing: .08em; color: var(--faint); margin-right: 10px; }
.estimate dd { font-size: clamp(22px, 2vw, 28px); white-space: nowrap; }
.estimate .estimate__total { border-bottom: 0; border-top: 1px solid var(--ink); margin-top: -1px; padding-top: 24px; }
.estimate__total dt { text-transform: uppercase; letter-spacing: .04em; }
.estimate__total dd { font-size: clamp(32px, 3.4vw, 52px); line-height: 1; }

/* Reviews, partners */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.review blockquote { font-size: clamp(20px, 1.7vw, 26px); line-height: 1.35; }
.review figcaption { margin-top: 16px; font-weight: 400; }
.review figcaption span { display: block; font-weight: 300; color: var(--muted); }
.partners { display: flex; flex-wrap: wrap; gap: 20px clamp(32px, 5vw, 72px); }
.partners a { font-size: clamp(24px, 2.6vw, 38px); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }

/* Text pages */
.prose { max-width: 820px; margin-left: 0; display: grid; gap: 16px; }
.prose h2 { font-weight: 400; font-size: 24px; margin-top: 20px; }

/* Footer */
.footer { border-top: 1px solid var(--ink); padding: clamp(40px, 6vw, 80px) 0 28px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px clamp(24px, 4vw, 64px); margin-bottom: clamp(40px, 5vw, 72px); }
.footer__col { display: grid; gap: 10px; align-content: start; justify-items: start; }
.footer__label { font-weight: 300; font-size: 15px; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.footer__big { font-size: clamp(26px, 3vw, 44px); line-height: 1.15; text-decoration: none; overflow-wrap: anywhere; }
.footer__note { color: var(--muted); margin: -6px 0 6px; }
.footer__links { display: grid; gap: 8px; }
.footer__links--row { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 10px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__links--row a { text-decoration: underline; }
.footer__address { font-style: normal; color: var(--muted); margin-top: 6px; }
.footer__wordmark { font: 300 clamp(56px, 17.4vw, 300px)/.85 var(--mono); letter-spacing: -.045em; margin: clamp(32px, 4vw, 56px) 0 clamp(20px, 3vw, 40px) -.04em; white-space: nowrap; user-select: none; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; color: var(--muted); }

/* Modal */
.modal { width: min(100% - 32px, 620px); max-height: calc(100dvh - 32px); padding: clamp(28px, 4vw, 48px); border: 0; background: var(--bg); color: var(--ink); overflow: auto; }
.modal::backdrop { background: rgba(28, 28, 28, .6); }
.modal__lead { color: var(--muted); margin: 12px 0 26px; }
.modal__close { position: absolute; top: 8px; right: 8px; width: 48px; height: 48px; }
.modal__close::before, .modal__close::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1px; background: currentColor; }
.modal__close::before { transform: rotate(45deg); }
.modal__close::after { transform: rotate(-45deg); }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: rgba(20, 20, 20, .96); color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .modal__close { position: fixed; top: 12px; right: 12px; z-index: 1; }
.lightbox__nav { position: fixed; top: 0; bottom: 0; width: 22vw; z-index: 0; }
.lightbox__nav--prev { left: 0; cursor: w-resize; }
.lightbox__nav--next { right: 0; cursor: e-resize; }
.lightbox__nav::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; border-top: 1px solid #fff; border-right: 1px solid #fff; opacity: .7; }
.lightbox__nav--prev::after { left: 24px; transform: rotate(-135deg); }
.lightbox__nav--next::after { right: 24px; transform: rotate(45deg); }

/* Admin */
.admin { padding: 40px 0; font-size: 16px; }
.admin__scroll { overflow-x: auto; }
.admin__table { width: 100%; border-collapse: collapse; }
.admin__table th, .admin__table td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-top: 1px solid var(--line); }
.admin__table th { font-weight: 400; color: var(--muted); border-top: 0; white-space: nowrap; }

@media (max-width: 1100px) {
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { grid-template-columns: 1fr 1fr; }
  .service__head { grid-column: 1 / -1; }
  .price-row { grid-template-columns: 1fr auto; }
  .price-row__list, .price-row__time { grid-column: 1; }
  .price-row__price { grid-column: 2; grid-row: 1; }
  .quiz__grid, .cta__grid, .faq { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: 32px var(--gutter) 40px; background: var(--bg); color: var(--ink); overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
  }
  .header.is-open .nav { visibility: visible; opacity: 1; }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__list a { display: block; font-size: 34px; line-height: 1.2; text-transform: uppercase; padding: 6px 0; }
  .nav__list a[aria-current] { border: 0; color: var(--accent); }
  .nav__extra { display: grid; gap: 8px; font-size: 22px; }
  .nav__extra a { text-decoration: none; }
  .split, .footer__grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .steps--3 { grid-template-columns: 1fr; }
  .project__split, .brief > div { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 1fr; padding-left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  :root { --header-h: 64px; }
  .hero__body { margin-right: 0; justify-self: start; align-self: end; }
  .cards--4, .cards--2, .steps, .steps--5, .stats, .service, .compare { grid-template-columns: 1fr; }
  .stats__item, .stats__item:nth-child(odd) { border-right: 0; padding: 44px 0 28px; }
  .stats__item:nth-child(n+2) { border-top: 1px solid var(--ink); }
  .stats__num { right: 0; }
  .price-row { grid-template-columns: 1fr; }
  .price-row__price { grid-column: 1; grid-row: auto; text-align: left; }
  .accordion--stages summary .steps__num { width: 3em; }
  .accordion__body { padding-right: 0; }
  .choices--row { grid-template-columns: 1fr; }
  .project__gallery { columns: 1; }
  .btn { width: 100%; }
  .quiz__nav .btn { flex: 1; width: auto; padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
