/* Concept 03 : Modern.
   Layout: alternating near-black and stone bands, full-bleed photography, oversized tight grotesk, giant thin numerals. */
.c-modern {
  --bg: #f0efeb;
  --bg-2: #e3e1db;
  --fg: #121211;
  --muted: #64625d;
  --line: #d2d0c9;
  --dark: #0e0e0d;
  --dark-2: #191917;
  --on-dark: #f0efeb;
  --on-dark-muted: #8e8c86;
  --dark-line: #2c2b28;
  --accent-ink: #55534e;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-label: "DM Mono", ui-monospace, Menlo, monospace;
  --d-weight: 600; --d-track: -0.04em; --d-case: none; --l-track: .05em;
  --wrap: 1520px; --gutter: clamp(16px, 3.4vw, 56px); --radius: 0;
  --sp-h1: clamp(44px, 6.4vw, 104px);
  --f-btn: var(--f-body); --btn-size: 15px; --btn-weight: 600; --btn-track: 0; --btn-case: none;
  --btn-bg: #121211; --btn-fg: #f0efeb; --btn-bg-hover: #34332f;
  --form-bg: #f7f6f3; --input-bg: #fff; --input-line: #c9c7c0; --focus-ring: rgba(18,18,17,.14);
  --error: #b0311f; --ok: #2f5d3a;
  --cta-bg: #0e0e0d; --cta-fg: #f0efeb; --cta-btn-bg: #f0efeb; --cta-btn-fg: #0e0e0d; --cta-btn-hover: #ffffff;
  background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 16px; line-height: 1.5;
  font-stretch: 100%;
}
.md-dark { background: var(--dark); color: var(--on-dark); }
.md-light { background: var(--bg); color: var(--fg); }

/* Atoms */
.md-label { margin: 0 0 18px; font-family: var(--f-label); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.md-dark .md-label { color: var(--on-dark-muted); }
.md-h1, .md-h2 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.md-h1 { font-size: clamp(58px, 8vw, 150px); line-height: .88; font-stretch: 94%; }
.md-h1 span { display: block; }
.md-h2 { font-size: clamp(38px, 4.6vw, 76px); line-height: .96; max-width: 15ch; }
.md-h2--xl { font-size: clamp(48px, 7.4vw, 128px); line-height: .9; max-width: 14ch; font-stretch: 94%; }
.md-dim { color: var(--on-dark-muted); }
.md-light .md-dim { color: var(--muted); }
.md-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; padding: 0 26px; font-family: var(--f-body); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.md-btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.md-btn--light { background: var(--on-dark); color: var(--dark); }
.md-btn--light:hover { background: #fff; }
.md-btn--ghost { border-color: rgba(240,239,235,.45); color: var(--on-dark); }
.md-btn--ghost:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.md-arrow { display: inline-block; transition: transform .3s cubic-bezier(.2,.7,.1,1); }
a:hover > .md-arrow { transform: translateX(5px); }
.md-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.md-sec-head { margin-bottom: clamp(36px, 4.5vw, 72px); }
.md-sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.md-bigline { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.02em; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; cursor: pointer; }
.md-bigline--sm { font-size: 17px; }

/* Header */
.md-header { position: sticky; top: calc(var(--pbar) + env(safe-area-inset-top, 0px)); z-index: 50; height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 0 var(--gutter); background: var(--dark); color: var(--on-dark); transition: background .35s, height .35s; }
.md-header--over { background: transparent; }
.md-header--over::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0)); pointer-events: none; transition: opacity .35s; }
.md-header.is-scrolled { background: var(--dark); height: 64px; }
.md-header.is-scrolled::before { opacity: 0; }
.md-header > * { position: relative; }
.md-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; }
.md-logo-mark svg { width: 30px; height: 30px; display: block; }
.md-logo-name { font-weight: 700; font-size: 19px; letter-spacing: .14em; text-transform: uppercase; font-stretch: 118%; }
.md-nav { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 44px); }
.md-nav a { display: inline-flex; align-items: baseline; gap: 6px; font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 0; opacity: .8; transition: opacity .2s; cursor: pointer; }
.md-nav a:hover, .md-nav a[aria-current] { opacity: 1; }
.md-nav-n { font-family: var(--f-label); font-size: 10px; opacity: .6; }
.md-head-cta { display: flex; align-items: center; gap: 22px; }
.md-phone { font-family: var(--f-label); font-size: 13px; text-decoration: none; opacity: .8; cursor: pointer; }
.md-phone:hover { opacity: 1; }
.md-menu-btn { display: none; align-items: center; gap: 12px; min-height: 44px; background: none; border: 0; color: inherit; font-family: var(--f-label); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.md-menu-ico { width: 22px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.md-menu { display: none; }

/* Hero */
.md-hero { position: relative; margin-top: -76px; height: clamp(620px, 90vh, 940px); color: #fff; overflow: hidden; background: var(--dark); }
.md-hero-img { position: absolute; inset: 0; }
.md-hero-img img { width: 100%; height: 100%; object-fit: cover; animation: md-zoom 2.4s cubic-bezier(.2,.7,.1,1) both; }
@keyframes md-zoom { from { transform: scale(1.08); } to { transform: none; } }
.md-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,7,.82) 0%, rgba(8,8,7,.35) 38%, rgba(8,8,7,.05) 62%, rgba(8,8,7,.25) 100%); }
.md-hero-cap { position: absolute; z-index: 2; top: 104px; right: var(--gutter); margin: 0; display: grid; text-align: right; font-family: var(--f-label); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.md-hero-cap span:last-child { opacity: .7; }
.md-hero-inner { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(32px, 4.5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 32px; align-items: end; }
.md-hero-side p { margin: 0 0 24px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.86); }
.md-proofbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--dark); color: var(--on-dark); border-top: 1px solid var(--dark-line); }
.md-proofbar p { margin: 0; padding: 20px var(--gutter); display: flex; align-items: baseline; gap: 14px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.md-proofbar p + p { border-left: 1px solid var(--dark-line); }
.md-proofbar span { font-family: var(--f-label); font-size: 11px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; color: var(--on-dark-muted); }

/* Services */
.md-services { padding: clamp(72px, 8vw, 120px) var(--gutter); }
.md-services > * { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.md-svc-list { list-style: none; padding: 0; margin-top: 0; border-top: 1px solid var(--fg); }
.md-svc { border-bottom: 1px solid var(--line); }
.md-svc-link { display: grid; grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1fr) 200px 40px; gap: clamp(16px, 2.4vw, 40px); align-items: center; padding: clamp(18px, 2vw, 28px) 0; text-decoration: none; cursor: pointer; }
.md-svc-n { font-family: var(--f-label); font-size: 13px; color: var(--muted); align-self: start; padding-top: 18px; }
.md-svc-word { font-size: clamp(60px, 8.2vw, 140px); font-weight: 600; letter-spacing: -.055em; line-height: .86; font-stretch: 92%; transition: transform .5s cubic-bezier(.2,.7,.1,1); }
.md-svc-link:hover .md-svc-word { transform: translateX(14px); }
.md-svc-desc { display: grid; gap: 10px; font-size: 17px; line-height: 1.5; max-width: 38ch; }
.md-svc-items { font-family: var(--f-label); font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); line-height: 1.7; }
.md-svc-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-2); }
.md-svc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: transform .9s cubic-bezier(.2,.7,.1,1), filter .5s; }
.md-svc-link:hover .md-svc-img img { transform: scale(1.06); filter: none; }
.md-svc-go { font-size: 28px; justify-self: end; opacity: .3; transition: opacity .3s, transform .3s; }
.md-svc-link:hover .md-svc-go { opacity: 1; transform: translateX(4px); }

/* Projects */
.md-projects { padding: clamp(72px, 8vw, 120px) var(--gutter); }
.md-projects > * { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.md-pfig { display: block; overflow: hidden; background: var(--dark-2); cursor: zoom-in; }
.md-pfig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.1,1); }
.md-pfig:hover img { transform: scale(1.03); }
.md-p--wide .md-pfig { aspect-ratio: 21 / 9; }
.md-pcap { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr) auto; gap: 24px clamp(20px, 3vw, 48px); align-items: start; padding-top: 28px; }
.md-pnum { font-size: clamp(72px, 9vw, 156px); font-weight: 200; letter-spacing: -.06em; line-height: .76; font-stretch: 90%; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.md-pcap-body { min-width: 0; }
.md-pcap .md-label { margin-bottom: 10px; }
.md-ptitle { margin: 0; font-size: clamp(28px, 2.8vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.md-ptitle a { text-decoration: none; cursor: pointer; }
.md-ptitle a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.md-ptext { margin: 14px 0 0; color: var(--on-dark-muted); line-height: 1.6; max-width: 56ch; }
.md-pfacts { margin: 0; display: grid; gap: 14px; min-width: 120px; }
.md-pfacts dt { font-family: var(--f-label); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--on-dark-muted); }
.md-pfacts dd { margin: 2px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.md-p-duo { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(64px, 7vw, 110px) !important; align-items: start; }
.md-p--kitchen .md-pfig { aspect-ratio: 4 / 3; }
.md-p--bath { margin-top: clamp(48px, 7vw, 110px); }
.md-p--bath .md-pfig { aspect-ratio: 1 / 1.05; }
.md-p-duo .md-pcap { grid-template-columns: auto minmax(0, 1fr); }
.md-p-duo .md-pfacts { display: none; }
.md-p-duo .md-pnum { font-size: clamp(56px, 6vw, 104px); }
.md-p--ba { margin-top: clamp(64px, 7vw, 110px) !important; }
.md-ba { aspect-ratio: 2 / 1; max-height: 74vh; width: 100%; background: var(--dark-2); }
.md-ba > img { position: absolute; inset: 0; }
.md-ba .ba-after img { position: absolute; inset: 0; }
.md-ba .ba-line { width: 2px; margin-left: -1px; background: #fff; }
.md-ba .ba-knob { position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--dark); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.md-ba-tag { position: absolute; bottom: 20px; padding: 8px 12px; background: rgba(14,14,13,.78); color: #fff; font-family: var(--f-label); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.md-ba-tag--l { left: 20px; }
.md-ba-tag--r { right: 20px; background: #fff; color: var(--dark); }

/* Why */
.md-why { padding: clamp(72px, 8vw, 120px) var(--gutter); }
.md-why > * { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.md-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(44px, 5vw, 80px); margin-bottom: clamp(48px, 6vw, 88px); border-top: 1px solid var(--fg); }
.md-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 16px; padding: 24px 24px 0 0; min-width: 0; }
.md-stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.md-stats dd { margin: 0; font-size: clamp(64px, 7.6vw, 132px); font-weight: 250; letter-spacing: -.06em; line-height: .82; font-stretch: 90%; font-variant-numeric: tabular-nums; }
.md-stats dt { font-family: var(--f-label); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); max-width: 22ch; line-height: 1.5; }
.md-why-bottom { display: block; }
.md-why-fig { margin: 0; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-2); }
.md-why-fig img { width: 100%; height: 100%; object-fit: cover; }
.md-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.md-values li { padding: 18px 0 22px; border-top: 1px solid var(--line); min-width: 0; }
.md-values h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.md-values p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* Stories */
.md-stories { padding: clamp(72px, 8vw, 120px) var(--gutter); }
.md-stories > * { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.md-car-ctrl { display: flex; align-items: center; gap: 10px; }
.md-car-count { font-family: var(--f-label); font-size: 13px; color: var(--on-dark-muted); margin-right: 14px; font-variant-numeric: tabular-nums; }
.md-car-btn { width: 56px; height: 56px; border: 1px solid var(--dark-line); background: transparent; color: var(--on-dark); font-size: 20px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.md-car-btn:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.md-car-track { display: grid; margin-bottom: clamp(40px, 5vw, 72px) !important; }
.md-story { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s, transform .6s cubic-bezier(.2,.7,.1,1), visibility 0s .5s; }
.md-story.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s, transform .6s cubic-bezier(.2,.7,.1,1); }
.md-story blockquote { margin: 0; }
.md-story p { margin: 0; font-size: clamp(26px, 3.2vw, 52px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; max-width: 30ch; text-indent: -.42em; }
.md-story figcaption { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 6px 24px; font-family: var(--f-label); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.md-story figcaption span:last-child { color: var(--on-dark-muted); }

/* Process */
.md-process { padding: clamp(72px, 8vw, 120px) var(--gutter); }
.md-process > * { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.md-steps { list-style: none; padding: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.md-steps li { min-width: 0; border-top: 1px solid var(--fg); padding-top: 24px; }
.md-step-n { display: block; font-size: clamp(88px, 9.5vw, 156px); font-weight: 200; letter-spacing: -.07em; line-height: .78; font-stretch: 90%; color: transparent; -webkit-text-stroke: 1.2px var(--fg); margin-bottom: 28px; }
.md-steps h3 { margin: 0 0 10px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.md-steps p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 38ch; }

/* Final */
.md-final { position: relative; height: clamp(540px, 78vh, 820px); overflow: hidden; color: #fff; background: var(--dark); }
.md-final-img { position: absolute; inset: 0; }
.md-final-img img { width: 100%; height: 100%; object-fit: cover; }
.md-final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,7,.85) 0%, rgba(8,8,7,.3) 50%, rgba(8,8,7,.15) 100%); }
.md-final-inner { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(36px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.md-h1--final { font-size: clamp(52px, 8vw, 144px); max-width: 11ch; }
.md-final-side { display: grid; gap: 16px; justify-items: start; }
.md-final-phone { font-family: var(--f-label); font-size: 14px; color: rgba(255,255,255,.8); text-decoration: none; cursor: pointer; }
.md-final-phone:hover { color: #fff; }

/* Footer */
.md-footer { background: var(--dark); color: var(--on-dark-muted); padding: clamp(64px, 7vw, 110px) var(--gutter) 28px; overflow: hidden; }
.md-footer > * { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.md-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.md-foot-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.md-foot-col .md-label { color: #5f5d58; }
.md-foot-col a { text-decoration: none; width: fit-content; cursor: pointer; }
.md-foot-col a:hover { color: var(--on-dark); }
.md-foot-big { font-size: clamp(28px, 3vw, 44px); font-weight: 600; letter-spacing: -.035em; color: var(--on-dark); }
.md-foot-word { margin: clamp(48px, 6vw, 80px) 0 0; font-size: clamp(80px, 17.5vw, 300px); font-weight: 800; letter-spacing: -.06em; line-height: .76; font-stretch: 112%; color: #1f1f1d; text-transform: uppercase; white-space: nowrap; user-select: none; }
.md-foot-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 12px; color: #6e6c67; }
.md-foot-bottom p { margin: 0; max-width: 72ch; }
.md-mbar { display: none; }

/* Secondary pages */
.c-modern .sp-title { line-height: .94; }
.c-modern .sp-proj-title, .c-modern .sp-group-title { letter-spacing: -.045em; }
.c-modern .sp-group-title { font-size: clamp(48px, 6vw, 96px); }
.c-modern .sp-stats dd { font-weight: 250; letter-spacing: -.06em; font-size: clamp(48px, 5.6vw, 88px); }
.c-modern .sp-review blockquote p { font-weight: 500; letter-spacing: -.02em; }
.c-modern .sp-related { background: var(--dark); color: var(--on-dark); }
.c-modern .sp-related h2 { color: var(--on-dark); }
.c-modern .sp-related p { color: var(--on-dark-muted); }
.c-modern .sp-related .sp-eyebrow { color: var(--on-dark-muted); }
.c-modern .pm-panel { background: var(--dark); color: var(--on-dark); }
.c-modern .pm-close { background: var(--on-dark); color: var(--dark); }
.c-modern .pm-meta { margin: 0; font-family: var(--f-label); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--on-dark-muted); }
.c-modern .pm-title { font-size: clamp(34px, 3.4vw, 54px); font-weight: 600; letter-spacing: -.045em; line-height: .96; }
.c-modern .pm-text { color: var(--on-dark-muted); }
.c-modern .pm-facts { border-top: 1px solid var(--dark-line); padding-top: 16px; }
.c-modern .pm-facts dd { font-size: 20px; font-weight: 600; }
.c-modern .pm-cta { background: var(--on-dark); color: var(--dark); font-weight: 600; padding: 18px 22px; display: flex; justify-content: space-between; }

/* Responsive */
@media (max-width: 1100px) {
  .md-phone { display: none; }
  .md-svc-link { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) 150px; }
  .md-svc-go { display: none; }
}
@media (max-width: 900px) {
  .md-header { grid-template-columns: 1fr auto; height: 64px; }
  .md-header.is-scrolled { height: 60px; }
  .md-hero { margin-top: -64px; }
  .md-nav, .md-head-cta { display: none; }
  .md-menu-btn { display: inline-flex; }
  .md-menu { display: flex; flex-direction: column; justify-content: space-between; position: fixed; left: 0; right: 0; bottom: 0; top: calc(var(--pbar) + 64px + env(safe-area-inset-top, 0px)); background: var(--dark); color: var(--on-dark); padding: 12px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; overflow-y: auto; }
  .md-menu.is-open { visibility: visible; opacity: 1; transition: opacity .3s; }
  html.menu-open .md-header { background: var(--dark); }
  .md-menu nav { display: grid; }
  .md-menu nav a { display: flex; align-items: baseline; gap: 14px; font-size: clamp(40px, 11vw, 60px); font-weight: 600; letter-spacing: -.045em; line-height: 1; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--dark-line); }
  .md-menu nav a span { font-family: var(--f-label); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--on-dark-muted); }
  .md-menu-foot { display: grid; gap: 16px; padding-top: 28px; }
  .md-menu-phone { font-family: var(--f-label); font-size: 16px; text-decoration: none; }

  .md-hero { height: clamp(620px, 92svh, 860px); }
  .md-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .md-h1 { font-size: clamp(54px, 15vw, 110px); }
  .md-hero-cap { top: 84px; }
  .md-proofbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-proofbar p { padding: 16px var(--gutter); font-size: 18px; }
  .md-proofbar p:nth-child(3) { border-left: 0; }
  .md-proofbar p:nth-child(n+3) { border-top: 1px solid var(--dark-line); }

  .md-svc-link { grid-template-columns: 36px minmax(0, 1fr); gap: 14px 12px; }
  .md-svc-n { padding-top: 10px; }
  .md-svc-word { font-size: clamp(56px, 17vw, 96px); }
  .md-svc-desc { grid-column: 2; }
  .md-svc-img { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 9; }

  .md-p--wide .md-pfig { aspect-ratio: 4 / 3.4; margin: 0 calc(-1 * var(--gutter)); }
  .md-pcap, .md-p-duo .md-pcap { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .md-pnum, .md-p-duo .md-pnum { font-size: 72px; }
  .md-pfacts { grid-auto-flow: column; justify-content: start; gap: 28px; }
  .md-p-duo { grid-template-columns: minmax(0, 1fr); gap: 72px; }
  .md-p--bath { margin-top: 0; width: 82%; justify-self: end; }
  .md-ba { aspect-ratio: 4 / 3; margin: 0 calc(-1 * var(--gutter)); width: auto; }
  .md-ba .ba-knob { width: 60px; height: 60px; }

  .md-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-stats div { padding: 22px 16px 26px 0; }
  .md-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .md-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .md-stats div + div { padding-left: 16px; }
  .md-stats div:nth-child(3) { padding-left: 0; }
  .md-why-bottom { grid-template-columns: minmax(0, 1fr); }
  .md-why-fig { margin: 0 calc(-1 * var(--gutter)); aspect-ratio: 4 / 3; }
  .md-values { grid-template-columns: minmax(0, 1fr); }
  .md-values li { padding: 14px 0 16px; }

  .md-car-ctrl { width: 100%; justify-content: flex-start; }
  .md-story p { font-size: clamp(24px, 6.6vw, 34px); }

  .md-steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .md-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; }
  .md-step-n { grid-row: span 2; font-size: 96px; margin: 0; }

  .md-final { height: auto; aspect-ratio: auto; min-height: 600px; }
  .md-final-inner { grid-template-columns: minmax(0, 1fr); }
  .md-h1--final { font-size: clamp(50px, 14vw, 92px); }

  .md-foot-grid { grid-template-columns: 1fr 1fr; }
  .md-foot-grid > :first-child, .md-foot-grid > :last-child { grid-column: 1 / -1; }
  .md-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .md-mbar { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--dark); border-top: 1px solid var(--dark-line); }
  .md-mbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; font-weight: 600; text-decoration: none; color: var(--on-dark); border: 1px solid var(--dark-line); cursor: pointer; }
  .md-mbar .md-mbar-main { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
}
@media (max-width: 520px) {
  .md-logo-name { font-size: 16px; }
  .md-steps li { grid-template-columns: minmax(0, 1fr); }
  .md-step-n { grid-row: auto; font-size: 84px; margin-bottom: 16px; }
}
