/*!
  Template:  Monolyth | Architecture Firm HTML Template
  Version:   1.0.0
  Author:    MOONSHOTS
  Website:   https://m00nshots.dev
  Contact:   build@m00nshots.dev
  Copyright: (c) 2026 m00nshots. All rights reserved.
*/
/* ==========================================================================
   MONOLYTH THEME — Architecture Firm
   Design language: Swiss drawing sheet. Raw concrete paper, carbon ink and a
   single signal red. Strict 12-column grid, zero radius, hairline rules,
   numbered indices, monospaced sheet annotations, huge grotesk type and
   square buttons with a separate red arrow square.
   --------------------------------------------------------------------------
   01. Tokens (light / dark)            12. Plan stats (signature)
   02. Base & typography                13. Title block (signature)
   03. Sections & section heads         14. Home 1 — studio
   04. Buttons & links                  15. Home 2 — masterplan, phasing
   05. Header, dropdown, drawer         16. Home 3 — landscape, planting
   06. Sheet ribbon & heroes (shared)   17. Home 4 — residential
   07. Restyled core components         18. Inner pages
   08. Shared blocks                    19. Contact & forms
   09. Project index (signature)        20. CTA band & footer
   10. Hover preview                    21. 404, utilities
   11. Sketch / built slider (signature)22. Responsive refinements
   ========================================================================== */

/* 01. Tokens ------------------------------------------------------------- */
:root {
  --concrete: #d9d6d0; --carbon: #111111; --signal: #e5322d; --graphite: #5c5c58;
  --bg: #d9d6d0; --bg-2: #cfcbc4; --surface: #e3e0db; --surface-2: #c9c5bd;
  --text: #111111; --muted: #54544f; --line: rgba(17, 17, 17, .16); --rule: rgba(17, 17, 17, .55);
  --primary: #e5322d; --primary-2: #e5322d; --accent: #e5322d; --on-primary: #ffffff;
  --red-ink: #c4231e;
  --inv-bg: #111111; --inv-fg: #d9d6d0; --inv-muted: #9c9a94; --inv-line: rgba(217, 214, 208, .18);
  --font-head: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, monospace;
  --font-logo: "Syncopate", "Familjen Grotesk", sans-serif;
  --logo-weight: 700; --logo-size: 1.02rem; --logo-tracking: .14em; --logo-case: uppercase;
  --head-weight: 600; --head-tracking: -0.035em;
  --radius-sm: 0; --radius: 0; --radius-lg: 0; --radius-btn: 0;
  --gradient: linear-gradient(90deg, #e5322d, #e5322d);
  --shadow-sm: none; --shadow: 0 20px 40px -28px rgba(17, 17, 17, .45); --shadow-lg: 0 30px 60px -30px rgba(17, 17, 17, .5);
  --header-h: 68px;
  --gutter: 24px;
}
[data-theme="dark"] {
  --bg: #111111; --bg-2: #181817; --surface: #1d1d1c; --surface-2: #262625;
  --text: #d9d6d0; --muted: #9c9a94; --line: rgba(217, 214, 208, .14); --rule: rgba(217, 214, 208, .45);
  --red-ink: #ff5a4f;
  --inv-bg: #d9d6d0; --inv-fg: #111111; --inv-muted: #54544f; --inv-line: rgba(17, 17, 17, .18);
  --shadow: 0 20px 40px -28px rgba(0, 0, 0, .9); --shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, .9);
}

/* 02. Base & typography -------------------------------------------------- */
body { font-size: 15.5px; line-height: 1.68; font-weight: 400; }
h1, h2, h3, h4 { text-wrap: balance; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: .98; letter-spacing: -0.04em; font-weight: 600; }
.h3 { font-size: clamp(1.4rem, 2.1vw, 1.9rem); letter-spacing: -0.03em; }
.h2 em, .mx-hero__title em, .page-header h1 em, .mx-cta__big em { font-style: normal; color: var(--red-ink); }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.16rem); color: var(--muted); font-weight: 300; line-height: 1.6; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 0; }
.mx-mono, .eyebrow {
  font-family: var(--font-mono); font-size: .66rem; font-weight: 400; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); line-height: 1.5;
}
.eyebrow { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 0; background: var(--signal); }
img { background: var(--surface-2); }
.skip-link { border-radius: 0; }

/* 03. Sections & section heads ------------------------------------------ */
.section { padding-block: clamp(72px, 9vw, 136px); border-top: 1px solid var(--line); }
.section--tight, .mx-sec--tight { padding-block: clamp(48px, 6vw, 80px); }
.mx-sec--alt { background: var(--bg-2); }
.mx-sec--flush { padding-top: 0; border-top: 0; }
.mx-sec--dark { background: var(--inv-bg); color: var(--inv-fg); --text: var(--inv-fg); --muted: var(--inv-muted); --line: var(--inv-line); border-top: 0; }
.mx-shead { margin-bottom: clamp(40px, 5vw, 72px); }
.mx-shead__bar { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: clamp(22px, 3vw, 36px); border-bottom: 1px solid var(--rule); font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; }
.mx-shead__no { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding-inline: 5px; background: var(--text); color: var(--bg); }
.mx-shead__label { color: var(--text); }
.mx-shead__rule { flex: 1; }
.mx-shead__meta { color: var(--muted); }
.mx-shead__body { display: grid; gap: 20px 24px; grid-template-columns: 1fr; align-items: end; }
.mx-shead__body .h2 { margin: 0; max-width: 16ch; }
.mx-shead__side { display: grid; gap: 20px; justify-items: start; }
.mx-shead__side .lead { margin: 0; max-width: 46ch; }
@media (min-width: 1024px) {
  .mx-shead__body { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .mx-shead__body .h2 { grid-column: 1 / span 7; }
  .mx-shead__side { grid-column: 9 / -1; }
  .mx-split .mx-shead__body, .mx-split--wide .mx-shead__body, .mx-split--faq .mx-shead__body, .mx-jobs .mx-shead__body { grid-template-columns: 1fr; }
  .mx-split .mx-shead__body > *, .mx-jobs .mx-shead__body > * { grid-column: auto; }
}
.mx-split { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
.mx-split > * { min-width: 0; }
@media (min-width: 1024px) {
  .mx-split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .mx-split--wide { grid-template-columns: 4fr 8fr; }
  .mx-split--faq { grid-template-columns: 5fr 7fr; }
}

/* 04. Buttons & links ---------------------------------------------------- */
.btn {
  --btn-bg: var(--text); --btn-fg: var(--bg);
  min-height: 50px; padding: 0 0 0 20px; gap: 18px; border-radius: 0; border: 1px solid var(--btn-bg);
  font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .02em; text-transform: uppercase;
  align-items: center; justify-content: space-between;
}
.btn > span { display: flex; align-items: center; }
.btn > .ti:last-child {
  display: grid; place-items: center; width: 50px; align-self: stretch; margin-left: auto;
  background: var(--signal); color: #fff; font-size: 1.1rem; transition: transform .4s var(--ease), background .3s;
}
.btn::after { background: rgba(255,255,255,.08); }
.btn:hover { box-shadow: none; }
.btn:hover > .ti:last-child { transform: none; background: #c9221d; }
.btn:hover > .ti-arrow-up-right::before, .btn:hover > .ti-arrow-right::before { display: inline-block; animation: mx-nudge .45s var(--ease); }
@keyframes mx-nudge { 0% { transform: translate(0,0); } 45% { transform: translate(8px,-8px); opacity: 0; } 46% { transform: translate(-8px,8px); opacity: 0; } 100% { transform: translate(0,0); opacity: 1; } }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--rule); }
.btn--ghost > .ti:last-child { background: transparent; color: var(--text); border-left: 1px solid var(--rule); }
.btn--ghost:hover > .ti:last-child { background: var(--signal); color: #fff; }
.btn--ghost::after { background: var(--surface); }
.btn--sm { min-height: 40px; padding-left: 14px; font-size: .64rem; gap: 14px; }
.btn--sm > .ti:last-child { width: 40px; font-size: 1rem; }
.btn--lg { min-height: 58px; padding-left: 24px; }
.btn--lg > .ti:last-child { width: 58px; }
.btn--light { --btn-bg: #fff; --btn-fg: #111; }
.btn--gradient { background: var(--btn-bg); }
.link-arrow { color: var(--text); font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; }

/* 05. Header ------------------------------------------------------------ */
.site-header { background: var(--bg); border-bottom: 1px solid var(--rule); }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 94%, transparent); box-shadow: none; height: 58px; }
.site-header--light:not(.is-scrolled) { background: transparent; border-bottom-color: rgba(255,255,255,.35); --rule: rgba(255,255,255,.4); }
.logo { gap: 12px; }
.logo__mark { width: 26px; height: 26px; border-radius: 0; background: var(--text); color: var(--signal); font-size: 1rem; position: relative; overflow: hidden; }
.logo__mark .ti { transform: rotate(0deg); }
.site-header--light:not(.is-scrolled) .logo__mark { background: #fff; }
.nav__menu { counter-reset: nav; }
.nav__menu > li { counter-increment: nav; }
.nav__link { border-radius: 0; padding: 8px 12px; font-family: var(--font-mono); font-size: .68rem; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; gap: 6px; }
.nav__link::before { content: counter(nav, decimal-leading-zero); color: var(--signal); font-size: .6rem; margin-right: 2px; }
.nav__link:hover, .nav__link.is-active { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
.site-header--light:not(.is-scrolled) .nav__link::before { color: #fff; opacity: .7; }
.nav__link .ti { font-size: .8rem; }
.dropdown { border-radius: 0; padding: 0; border: 1px solid var(--rule); box-shadow: var(--shadow); min-width: 240px; top: calc(100% + 13px); background: var(--bg); }
.site-header--light:not(.is-scrolled) .dropdown { background: #d9d6d0; color: #111; }
.dropdown li + li { border-top: 1px solid var(--line); }
.dropdown a { border-radius: 0; padding: 12px 16px; font-size: .9rem; }
.dropdown a:hover { background: var(--text); color: var(--bg); }
.icon-btn { border-radius: 0; border-color: var(--rule); width: 40px; height: 40px; font-size: 1.1rem; }
.site-header .btn { min-height: 40px; }
.drawer__panel { border-left: 1px solid var(--rule); background: var(--bg); }
.drawer__nav { counter-reset: dnav; }
.drawer__nav a { font-family: var(--font-head); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; border-bottom-color: var(--line); }
.drawer__nav a:not(.sub) { counter-increment: dnav; }
.drawer__nav a:not(.sub)::before { content: counter(dnav, decimal-leading-zero); font-family: var(--font-mono); font-size: .62rem; color: var(--signal); margin-right: 12px; align-self: center; }
.drawer__nav a:not(.sub) { justify-content: flex-start; }
.drawer__nav a:not(.sub) .ti { margin-left: auto; }
.drawer__nav .sub { font-family: var(--font-body); font-size: .95rem; padding: 10px 0 10px 30px; }
.drawer .btn { width: 100%; justify-content: space-between; }

/* 06. Sheet ribbon & heroes (shared) ------------------------------------ */
.mx-ribbon {
  display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; color: var(--muted);
}
.mx-ribbon > span { flex: 1 1 auto; padding: 10px 14px 10px 0; }
.mx-ribbon > span + span { padding-left: 14px; border-left: 1px solid var(--line); }
.mx-ribbon > span:last-child { text-align: right; flex: 0 0 auto; color: var(--text); }
.mx-ribbon a:hover { color: var(--signal); }
.mx-ribbon--light { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.45); --line: rgba(255,255,255,.3); }
.mx-ribbon--light > span:last-child { color: #fff; }
@media (max-width: 639px) { .hide-sm { display: none; } .mx-ribbon > span:nth-child(2) { display: none; } }
.hero.mx-hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 0; overflow: visible; }
.mx-hero__title {
  font-size: clamp(3.3rem, 12.4vw, 13rem); line-height: .86; letter-spacing: -0.065em; font-weight: 600;
  margin: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 48px); max-width: 11ch;
}
.mx-hero__title--md { font-size: clamp(3rem, 8.4vw, 8.4rem); max-width: 9ch; }
.mx-hero__row { display: grid; gap: 28px; grid-template-columns: 1fr; padding-bottom: clamp(40px, 5vw, 64px); align-items: end; }
.mx-hero__row .lead { margin: 0; max-width: 46ch; }
@media (min-width: 1024px) {
  .mx-hero__row { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .mx-hero__row .lead { grid-column: 1 / span 5; }
  .mx-hero__row .btn-group { grid-column: 6 / span 4; }
  .mx-hero__facts { grid-column: 10 / -1; }
}
.mx-hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); margin: 0; }
.mx-hero__facts div { padding-top: 10px; }
.mx-hero__facts div + div { border-left: 1px solid var(--line); padding-left: 12px; }
.mx-hero__facts dt { font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; color: var(--muted); }
.mx-hero__facts dd { margin: 0; font-family: var(--font-head); font-size: 2rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }

/* 07. Restyled core components ----------------------------------------- */
.accordion { border-top: 1px solid var(--rule); }
.accordion__btn { font-family: var(--font-head); font-size: clamp(1.08rem, 1.5vw, 1.3rem); font-weight: 500; letter-spacing: -0.02em; padding: 22px 0; }
.accordion__icon { border-radius: 0; width: 34px; height: 34px; border-color: var(--rule); }
.accordion__item.is-open .accordion__icon { background: var(--signal); color: #fff; }
.accordion__panel p { font-size: .98rem; }
.process { gap: 0; border-top: 1px solid var(--rule); counter-reset: none; }
.step { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 28px 24px 32px 0; }
@media (min-width: 768px) { .step { border-right: 1px solid var(--line); padding-left: 24px; } .step:nth-child(2n+1) { padding-left: 0; } }
@media (min-width: 1280px) { .step:nth-child(2n+1) { padding-left: 24px; } .step:first-child { padding-left: 0; } .step:last-child { border-right: 0; } }
.step__num { border-radius: 0; background: var(--text); color: var(--bg); font-family: var(--font-mono); font-size: .66rem; font-weight: 400; padding: 3px 7px; }
.step h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.03em; margin-top: 48px; }
.input, .select, .textarea { border-radius: 0; background: transparent; border: 0; border-bottom: 1px solid var(--rule); padding: 12px 0; min-height: 50px; font-size: 1rem; }
.select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 22px, calc(100% - 7px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.select option { background: var(--bg); color: var(--text); }
.input:focus, .select:focus, .textarea:focus { box-shadow: none; border-color: var(--signal); }
.textarea { min-height: 130px; }
.field label { font-family: var(--font-mono); font-size: .62rem; font-weight: 400; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.newsletter { border-radius: 0; padding: 0; border: 1px solid var(--rule); background: transparent; gap: 0; }
.newsletter .input { border: 0; padding-inline: 14px; min-height: 48px; }
.newsletter .btn { min-height: 48px; border: 0; }
.form-success { border-radius: 0; background: color-mix(in srgb, var(--signal) 12%, transparent); color: var(--text); border-left: 3px solid var(--signal); }
.socials a { border-radius: 0; border-color: var(--rule); width: 40px; height: 40px; }
.socials a:hover { background: var(--signal); transform: none; }
.to-top { border-radius: 0; background: var(--signal); color: #fff; width: 46px; height: 46px; }
.preloader__bar { border-radius: 0; height: 2px; }
.cursor { border-radius: 0; background: var(--signal); }
.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: #fff; }
.sr-only { position: absolute !important; }

/* 08. Shared blocks ----------------------------------------------------- */
.mx-intro { display: grid; gap: 48px; }
.mx-intro__big { font-family: var(--font-head); font-size: clamp(1.45rem, 2.6vw, 2.35rem); line-height: 1.18; letter-spacing: -0.03em; font-weight: 500; max-width: 34ch; margin: 0; }
@media (min-width: 1024px) { .mx-intro__big { margin-left: calc((100% + 24px) / 12 * 3); } }
.mx-pr { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule); }
@media (min-width: 768px) { .mx-pr { grid-template-columns: repeat(3, 1fr); } }
.mx-pr__item { padding: 22px 24px 8px 0; }
@media (min-width: 768px) { .mx-pr__item + .mx-pr__item { border-left: 1px solid var(--line); padding-left: 24px; } }
@media (max-width: 767px) { .mx-pr__item + .mx-pr__item { border-top: 1px solid var(--line); } }
.mx-pr__no { font-family: var(--font-mono); font-size: .66rem; color: var(--red-ink); }
.mx-pr__item h3 { font-size: 1.3rem; font-weight: 600; margin: 28px 0 8px; }
.mx-pr__item p { color: var(--muted); margin: 0; font-size: .95rem; }
.mx-list { border-top: 1px solid var(--rule); margin-top: 28px; }
.mx-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.mx-list li span { color: var(--muted); }
.mx-list b { font-family: var(--font-mono); font-weight: 400; font-size: .76rem; text-align: right; display: inline-flex; gap: 8px; align-items: center; }
.mx-list--links li { padding: 0; }
.mx-list--links a { display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 0; transition: padding .35s var(--ease), background .3s; }
.mx-list--links a span { color: var(--text); font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; }
.mx-list--links a:hover { padding-inline: 12px; background: var(--text); }
.mx-list--links a:hover span, .mx-list--links a:hover b { color: var(--bg); }
/* services list */
.mx-svc { border-top: 1px solid var(--rule); }
.mx-svc__row a {
  display: grid; grid-template-columns: 44px 1fr 40px; gap: 8px 16px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative;
  transition: background .35s, padding .35s var(--ease);
}
.mx-svc__no { font-family: var(--font-mono); font-size: .66rem; color: var(--red-ink); padding-top: 12px; }
.mx-svc__row h3 { font-size: clamp(1.8rem, 4.2vw, 3.6rem); font-weight: 600; letter-spacing: -0.05em; margin: 0; line-height: 1; }
.mx-svc__row p { grid-column: 2 / 3; color: var(--muted); margin: 0; max-width: 52ch; font-size: .95rem; }
.mx-svc__img { display: none; }
.mx-svc__go { grid-column: 3; grid-row: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--rule); font-size: 1.1rem; transition: background .3s, color .3s; }
.mx-svc__row a:hover .mx-svc__go { background: var(--signal); border-color: var(--signal); color: #fff; }
@media (min-width: 1024px) {
  .mx-svc__row a { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; padding: 26px 0; }
  .mx-svc__no { grid-column: 1; padding-top: 0; }
  .mx-svc__row h3 { grid-column: 2 / span 5; }
  .mx-svc__row p { grid-column: 7 / span 4; }
  .mx-svc__go { grid-column: 12; justify-self: end; }
  .mx-svc__img { display: block; position: absolute; right: 90px; top: 50%; width: 200px; aspect-ratio: 4/3; transform: translateY(-50%) scale(.9); opacity: 0; pointer-events: none; transition: opacity .35s, transform .5s var(--ease); z-index: 2; }
  .mx-svc__img img { width: 100%; height: 100%; }
  .mx-svc__row a:hover .mx-svc__img { opacity: 1; transform: translateY(-50%) scale(1); }
  .mx-svc__row a:hover p { opacity: .15; }
}
/* journal */
.mx-jr { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--rule); }
@media (min-width: 768px) { .mx-jr { grid-template-columns: repeat(3, 1fr); } .mx-jr__item + .mx-jr__item { border-left: 1px solid var(--line); } .mx-jr__item a { padding-inline: 20px; } .mx-jr__item:first-child a { padding-left: 0; } .mx-jr__item:last-child a { padding-right: 0; } }
.mx-jr__item a { display: flex; flex-direction: column; gap: 14px; padding-block: 24px; height: 100%; }
@media (max-width: 767px) { .mx-jr__item + .mx-jr__item { border-top: 1px solid var(--line); } }
.mx-jr__img { overflow: hidden; }
.mx-jr__img img { width: 100%; aspect-ratio: 4/3; filter: grayscale(1); transition: filter .6s, transform 1s var(--ease); }
.mx-jr__item a:hover img { filter: none; transform: scale(1.03); }
.mx-jr__meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; color: var(--muted); }
.mx-jr__item h3 { font-size: 1.35rem; font-weight: 500; line-height: 1.15; margin: 0; }
.mx-jr__more { margin-top: auto; font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; color: var(--red-ink); }
/* quote */
.mx-quote { display: grid; gap: 28px; }
.mx-quote__tag { color: var(--muted); }
.mx-quote blockquote { font-family: var(--font-head); font-size: clamp(1.7rem, 4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.045em; font-weight: 500; margin: 0; max-width: 24ch; text-indent: -0.4em; }
.mx-quote blockquote::before { content: "“"; color: var(--signal); }
.mx-quote figcaption { display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; max-width: 520px; }
.mx-quote figcaption img { width: 52px; height: 52px; filter: grayscale(1); }
.mx-quote strong { display: block; font-weight: 600; }
.mx-quote em { font-style: normal; font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; color: var(--muted); }
/* people */
.mx-people { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .mx-people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mx-person__img { position: relative; overflow: hidden; margin-bottom: 14px; }
.mx-person__img img { width: 100%; aspect-ratio: 4/4.9; filter: grayscale(1) contrast(1.05); transition: filter .6s, transform 1s var(--ease); }
.mx-person:hover .mx-person__img img { filter: none; transform: scale(1.03); }
.mx-person__img .mx-mono { position: absolute; left: 0; top: 0; background: var(--bg); color: var(--text); padding: 4px 8px; }
.mx-person h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 2px; }
.mx-person p { font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; color: var(--muted); margin: 0; }
/* figure */
.mx-fig { margin: 0; }
.mx-fig img { width: 100%; aspect-ratio: 4/3; }
.mx-fig.is-tall img { aspect-ratio: 4/5; }
.mx-fig figcaption { display: flex; gap: 12px; padding-top: 10px; font-size: .86rem; color: var(--muted); border-top: 0; }
.mx-fig figcaption span { font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; color: var(--text); padding-top: 3px; white-space: nowrap; }

/* 09. Project index (signature) ---------------------------------------- */
.mx-index { position: relative; }
.mx-index__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-bottom: 18px; }
.mx-index__filters { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--rule); }
.mx-index__filters button { padding: 10px 14px; font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; transition: background .3s, color .3s; }
.mx-index__filters button + button { border-left: 1px solid var(--line); }
.mx-index__filters button sup { font-size: .75em; color: var(--red-ink); margin-left: 2px; }
.mx-index__filters button:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.mx-index__filters button.is-active { background: var(--text); color: var(--bg); }
.mx-index__filters button.is-active sup { color: var(--signal); }
.mx-index__count { font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; color: var(--muted); margin-left: auto; }
.mx-index__count b { color: var(--text); font-weight: 500; }
.mx-index__view { display: flex; border: 1px solid var(--rule); }
.mx-index__view button { width: 40px; height: 36px; display: grid; place-items: center; font-size: 1.05rem; }
.mx-index__view button + button { border-left: 1px solid var(--line); }
.mx-index__view button.is-active { background: var(--text); color: var(--bg); }
.mx-index__head, .mx-row {
  display: grid; align-items: center; gap: 12px;
  grid-template-columns: 34px minmax(0, 1fr) auto 28px;
}
.mx-index__head { padding: 10px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; color: var(--muted); }
.mx-index__head .c-thumb, .mx-row .c-thumb { display: none; }
.mx-row { padding: 16px 0; border-bottom: 1px solid var(--line); position: relative; transition: background .3s, padding .35s var(--ease); }
.mx-row .c-x, .mx-index__head .c-x { display: none; }
.c-no { font-family: var(--font-mono); font-size: .64rem; color: var(--muted); }
.c-name { display: flex; flex-direction: column; min-width: 0; }
.c-name strong { font-family: var(--font-head); font-size: clamp(1.15rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
.c-name em { font-style: normal; font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.c-x { font-size: .9rem; color: var(--muted); }
.c-end { font-family: var(--font-mono); font-size: .7rem; text-align: right; }
.c-go { display: grid; place-items: center; width: 28px; height: 28px; font-size: 1rem; transition: background .3s, color .3s, transform .4s var(--ease); }
.mx-row:hover { background: var(--text); color: var(--bg); padding-inline: 12px; }
.mx-row:hover .c-no, .mx-row:hover .c-x, .mx-row:hover .c-name em { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.mx-row:hover .c-go { background: var(--signal); color: #fff; }
.mx-row.is-hidden { display: none; }
@media (min-width: 768px) {
  .mx-index__head, .mx-row { grid-template-columns: 48px minmax(0, 2.4fr) repeat(var(--n), minmax(0, 1fr)) 76px 34px; gap: 16px; }
  .mx-row .c-x, .mx-index__head .c-x { display: block; }
  .mx-row { padding: 20px 0; }
  .c-go { width: 34px; height: 34px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .mx-index__head, .mx-row { grid-template-columns: 40px minmax(0, 2fr) repeat(var(--n), minmax(0, 1fr)) 64px 30px; }
  .mx-row .c-x:nth-of-type(n+3), .mx-index__head .c-x:nth-of-type(n+3) { display: none; }
  .mx-index__head, .mx-row { grid-template-columns: 40px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) 64px 30px; }
}
/* thumbnails in list rows on touch / small screens */
@media (max-width: 767px) {
  .mx-row { grid-template-columns: 34px 72px minmax(0, 1fr) auto; }
  .mx-row .c-thumb { display: block; }
  .mx-row .c-thumb img { width: 72px; height: 54px; }
  .mx-row .c-go { display: none; }
  .mx-index__head { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .mx-index__head .c-go { display: none; }
  .mx-index__count { margin-left: 0; width: 100%; }
}
/* grid view */
.mx-index.is-grid .mx-index__head { display: none; }
.mx-index.is-grid .mx-index__body { display: grid; gap: 32px 24px; grid-template-columns: 1fr; border-top: 1px solid var(--rule); padding-top: 24px; }
@media (min-width: 640px) { .mx-index.is-grid .mx-index__body { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mx-index.is-grid .mx-index__body { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mx-index.is-grid .mx-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 0 0 16px; }
.mx-index.is-grid .mx-row.is-hidden { display: none; }
.mx-index.is-grid .mx-row:hover { background: transparent; color: inherit; padding-inline: 0; }
.mx-index.is-grid .mx-row:hover .c-no, .mx-index.is-grid .mx-row:hover .c-name em { color: var(--muted); }
.mx-index.is-grid .c-thumb { display: block; grid-column: 1 / -1; order: -1; overflow: hidden; }
.mx-index.is-grid .c-thumb img { width: 100%; height: auto; aspect-ratio: 4/3; transition: transform 1s var(--ease); }
.mx-index.is-grid .mx-row:hover .c-thumb img { transform: scale(1.04); }
.mx-index.is-grid .c-x, .mx-index.is-grid .c-go { display: none; }
.mx-index.is-grid .c-name strong { font-size: 1.35rem; }
.mx-index.is-grid .c-no { padding-top: 6px; }

/* 10. Hover preview ----------------------------------------------------- */
.mx-preview {
  position: fixed; left: 0; top: 0; z-index: 150; width: 300px; aspect-ratio: 4/3; pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; overflow: hidden; background: var(--surface-2);
  outline: 1px solid var(--text); outline-offset: 6px;
}
.mx-preview.is-on { opacity: 1; visibility: visible; }
.mx-preview img { width: 100%; height: 100%; object-fit: cover; }
.mx-preview span { position: absolute; left: 0; bottom: 0; background: var(--signal); color: #fff; font-family: var(--font-mono); font-size: .58rem; text-transform: uppercase; padding: 4px 8px; }

/* 11. Sketch / built slider (signature) --------------------------------- */
.mx-ba { position: relative; overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; background: var(--surface-2); outline: 1px solid var(--rule); outline-offset: 8px; margin: 8px; }
.mx-ba img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
.mx-ba__built { position: absolute; inset: 0; }
.mx-ba__sketch { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: #efede8; }
.mx-ba__sketch img { filter: grayscale(1) contrast(2.2) brightness(1.5); mix-blend-mode: multiply; opacity: .78; }
.mx-ba__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(17,17,17,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,17,.1) 1px, transparent 1px); background-size: 40px 40px; }
.mx-ba__grid::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(229, 50, 45, .7); }
.mx-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; border-left: 2px solid var(--signal); }
.mx-ba__handle span { position: absolute; top: 50%; left: -23px; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; background: var(--signal); color: #fff; font-size: 1.3rem; }
.mx-ba__tag { position: absolute; top: 14px; padding: 5px 9px; font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; background: #111; color: #d9d6d0; z-index: 2; }
.mx-ba__tag--l { left: 14px; background: #d9d6d0; color: #111; border: 1px solid #111; }
.mx-ba__tag--r { right: 14px; }
.mx-ba__range { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.mx-ba:focus-within { outline-color: var(--signal); }
@media (max-width: 639px) { .mx-ba { aspect-ratio: 4/3.6 !important; } .mx-ba__tag { font-size: .54rem; top: 10px; } .mx-ba__tag--l { left: 10px; } .mx-ba__tag--r { right: 10px; } }

/* 12. Plan stats (signature) ------------------------------------------- */
.mx-plan { position: relative; border: 1px solid var(--rule); background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 24px 24px; }
.mx-plan__axis { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--rule); background: var(--bg); }
.mx-plan__axis span { font-family: var(--font-mono); font-size: .6rem; padding: 6px 12px; }
.mx-plan__axis span + span { border-left: 1px solid var(--line); }
.mx-plan__axis span:nth-child(n+3) { display: none; }
.mx-plan__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mx-plan__cell { position: relative; padding: clamp(20px, 3vw, 36px) clamp(16px, 2vw, 28px); min-height: 200px; display: flex; flex-direction: column; background: color-mix(in srgb, var(--bg) 70%, transparent); border-bottom: 1px solid var(--rule); }
.mx-plan__cell:nth-child(odd) { border-right: 1px solid var(--rule); }
.mx-plan__cell::before, .mx-plan__cell::after { content: "+"; position: absolute; font-family: var(--font-mono); font-size: .9rem; color: var(--red-ink); line-height: 1; }
.mx-plan__cell::before { top: 6px; right: 8px; }
.mx-plan__cell::after { bottom: 6px; left: 8px; }
.mx-plan__ref { font-family: var(--font-mono); font-size: .6rem; color: var(--muted); }
.mx-plan__num { font-family: var(--font-head); font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 600; letter-spacing: -0.06em; line-height: .9; margin-top: auto; padding-top: 28px; white-space: nowrap; }
.mx-plan__num small { font-size: .38em; letter-spacing: -0.02em; margin-left: 4px; color: var(--red-ink); }
.mx-plan__cell p { margin: 12px 0 0; font-size: .9rem; color: var(--muted); max-width: 28ch; }
.mx-plan__foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding: 14px 16px; background: var(--bg); }
.mx-plan__foot .mx-north { width: 28px; height: 40px; color: var(--text); }
.mx-plan__xy { margin-left: auto; }
.mx-scale { color: var(--text); overflow: visible; }
@media (min-width: 1024px) {
  .mx-plan__axis, .mx-plan__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mx-plan__axis span:nth-child(n+3) { display: block; }
  .mx-plan__cell { border-bottom: 0; min-height: 260px; }
  .mx-plan__cell:nth-child(odd) { border-right: 0; }
  .mx-plan__cell + .mx-plan__cell { border-left: 1px solid var(--rule); }
  .mx-plan__foot { border-top: 1px solid var(--rule); }
}
@media (max-width: 1023px) { .mx-plan__cell:nth-last-child(-n+2) { border-bottom: 0; } .mx-plan__foot { border-top: 1px solid var(--rule); } }
@media (max-width: 639px) { .mx-plan__xy { margin-left: 0; } .mx-plan__num { font-size: clamp(2rem, 11vw, 2.6rem); } .mx-plan__cell { min-height: 170px; } }

/* 13. Title block (signature) ------------------------------------------ */
.mx-tb { border: 2px solid var(--text); background: var(--bg); font-size: .9rem; }
.mx-tb__head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--text); color: var(--bg); font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; }
.mx-tb__firm { font-family: var(--font-logo); font-size: .7rem; letter-spacing: .14em; }
.mx-tb__title { padding: 16px 14px; border-bottom: 1px solid var(--text); }
.mx-tb small, .mx-tb dt { display: block; font-family: var(--font-mono); font-size: .56rem; text-transform: uppercase; color: var(--muted); }
.mx-tb__title strong { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin-top: 4px; }
.mx-tb__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.mx-tb__grid > div { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.mx-tb__grid > div:nth-child(odd):not(.is-wide) { border-right: 1px solid var(--line); }
.mx-tb__grid > .is-wide { grid-column: 1 / -1; }
.mx-tb__grid dd { margin: 2px 0 0; font-weight: 500; }
.mx-tb__foot { display: grid; grid-template-columns: 58px 1fr auto; border-top: 1px solid var(--text); }
.mx-tb__foot > div { padding: 10px 12px; }
.mx-tb__foot > div + div { border-left: 1px solid var(--text); }
.mx-tb__na .mx-north { width: 30px; height: 42px; }
.mx-tb__sc .mx-scale { margin-top: 6px; width: 100%; max-width: 122px; }
.mx-tb__dwg { background: var(--signal); color: #fff; min-width: 96px; }
.mx-tb__dwg small { color: rgba(255,255,255,.8); }
.mx-tb__dwg strong { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-top: 4px; }
.mx-tb__dwg span { font-family: var(--font-mono); font-size: .58rem; text-transform: uppercase; }

/* 14. Home 1 — studio --------------------------------------------------- */
.mx-hero--studio .mx-hero__title { max-width: 10ch; }
.mx-hero__fig { position: relative; margin: 0; }
.mx-hero__img { overflow: hidden; height: clamp(360px, 62vw, 820px); }
.mx-hero__img img { width: 100%; height: 118%; margin-top: -9%; }
.mx-hero__axes { position: absolute; inset: 0 0 auto 0; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; height: 100%; }
.mx-hero__axes { counter-reset: ax; }
.mx-hero__axes span { position: relative; display: block; border-left: 1px dashed rgba(255,255,255,.5); color: transparent; font-size: 0; }
.mx-hero__axes span:first-child { border-left: 0; }
.mx-hero__axes span::before { counter-increment: ax; content: counter(ax, upper-alpha); position: absolute; top: 14px; left: -12px; width: 24px; height: 24px; display: grid; place-items: center; background: #d9d6d0; color: #111; border: 1px solid #111; font-family: var(--font-mono); font-size: .6rem; }
.mx-hero__axes span:first-child::before { left: 14px; }
.mx-hero__fig figcaption { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding-block: 12px; font-size: .86rem; color: var(--muted); }
.mx-hero__fig figcaption span { font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; color: var(--text); background: var(--text); color: var(--bg); padding: 3px 7px; }
.mx-hero__fig figcaption a { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; color: var(--text); }
.mx-hero__fig figcaption a:hover { color: var(--red-ink); }
@media (max-width: 767px) { .mx-hero__axes span:nth-child(n+4) { display: none; } .mx-hero__axes { grid-template-columns: repeat(3, 1fr); } }

/* 15. Home 2 — masterplan, phasing ------------------------------------- */
.mx-plan-hero { display: grid; gap: 40px; padding-block: clamp(32px, 4vw, 56px) clamp(56px, 6vw, 96px); }
.mx-plan-hero > * { min-width: 0; }
.mx-plan-hero__text .mx-hero__title { margin-top: 0; }
.mx-plan-hero__text .lead { max-width: 44ch; margin-bottom: 32px; }
@media (min-width: 1024px) { .mx-plan-hero { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; } .mx-plan-hero__text { padding-top: 12px; } }
.mx-plan-hero__sheet { position: relative; border: 1px solid var(--rule); background: var(--surface); padding: 12px; }
.mx-plan-hero__na { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 14px; align-items: flex-end; color: var(--text); background: var(--surface); padding: 6px 8px; border: 1px solid var(--line); }
.mx-plan-hero__na .mx-north { width: 24px; height: 34px; }
.mx-mp { width: 100%; height: auto; display: block; }
.mx-mp .mx-river { fill: color-mix(in srgb, var(--text) 10%, transparent); }
.mx-mp .mx-streets line { stroke: var(--line); stroke-width: 10; }
.mx-mp .mx-streets line.main { stroke-width: 16; }
.mx-mp .mx-zone rect, .mx-mp .mx-zone path { fill: transparent; stroke: var(--text); stroke-width: 1.2; transition: fill .3s; }
.mx-mp .mx-zone .void { fill: var(--surface) !important; stroke-width: .8; }
.mx-mp .mx-zone[data-zone="housing"] rect:not(.void) { fill: color-mix(in srgb, var(--text) 16%, transparent); }
.mx-mp .mx-zone[data-zone="mixed"] rect:not(.void) { fill: color-mix(in srgb, var(--text) 42%, transparent); }
.mx-mp .mx-zone[data-zone="civic"] rect:not(.void) { fill: var(--signal); stroke: var(--signal); }
.mx-mp .mx-zone[data-zone="park"] path { fill: repeating-linear-gradient(45deg, red, red); }
.mx-mp .mx-zone[data-zone="park"] > path:first-child { fill: color-mix(in srgb, var(--text) 5%, transparent); stroke-dasharray: 3 3; }
.mx-mp .tree { fill: none; stroke: var(--text); stroke-width: 1; }
.mx-mp .pond { fill: color-mix(in srgb, var(--text) 14%, transparent) !important; stroke: var(--text); }
.mx-mp .mx-boundary { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 10 4 2 4; }
.mx-mp .mx-labels text { font-family: var(--font-mono); font-size: 9px; fill: var(--muted); letter-spacing: .05em; }
.mx-mp.has-hot .mx-zone { opacity: .18; transition: opacity .3s; }
.mx-mp.has-hot .mx-zone.is-hot { opacity: 1; }
.mx-mp .mx-zone { transition: opacity .3s; }
.mx-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--rule); border-top: 0; }
@media (min-width: 768px) { .mx-legend { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mx-legend__item { display: flex; gap: 10px; align-items: flex-start; padding: 12px; text-align: left; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s, color .3s; }
.mx-legend__item b { display: block; font-weight: 600; font-size: .9rem; }
.mx-legend__item em { font-style: normal; font-size: .78rem; color: var(--muted); line-height: 1.35; display: block; }
.mx-legend__item:hover, .mx-legend__item.is-active, .mx-legend__item:focus-visible { background: var(--text); color: var(--bg); }
.mx-legend__item:hover em, .mx-legend__item.is-active em { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.sw { flex: none; width: 14px; height: 14px; margin-top: 3px; border: 1px solid currentColor; }
.sw--housing { background: color-mix(in srgb, var(--text) 16%, transparent); }
.sw--mixed { background: color-mix(in srgb, var(--text) 42%, transparent); }
.sw--park { background: repeating-linear-gradient(45deg, transparent 0 3px, currentColor 3px 4px); }
.sw--civic { background: var(--signal); border-color: var(--signal); }
/* phasing chart */
.mx-gantt { border-top: 1px solid var(--rule); }
.mx-gantt__years, .mx-gantt__row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 14px; align-items: center; }
.mx-gantt__years { font-family: var(--font-mono); font-size: .56rem; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--line); }
.mx-gantt__years > span:nth-child(2) { display: none; }
.mx-gantt__ticks { display: flex; justify-content: space-between; grid-column: 2; }
.mx-gantt__row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.mx-gantt__no { font-family: var(--font-mono); font-size: .64rem; color: var(--red-ink); grid-row: span 2; align-self: start; }
.mx-gantt__name { font-weight: 500; }
.mx-gantt__track { position: relative; height: 26px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 15)); }
.mx-gantt__bar { position: absolute; top: 3px; bottom: 3px; background: var(--text); color: var(--bg); display: flex; align-items: center; padding-left: 6px; overflow: hidden; }
.mx-gantt__bar em { font-style: normal; font-family: var(--font-mono); font-size: .56rem; white-space: nowrap; }
.mx-gantt__row:first-of-type .mx-gantt__bar, .mx-gantt__row:hover .mx-gantt__bar { background: var(--signal); color: #fff; }
@media (min-width: 768px) {
  .mx-gantt__years, .mx-gantt__row { grid-template-columns: 34px 200px minmax(0, 1fr); }
  .mx-gantt__years > span:nth-child(2) { display: block; }
  .mx-gantt__ticks { grid-column: 3; }
  .mx-gantt__no { grid-row: auto; align-self: center; }
}

/* 16. Home 3 — landscape, planting ------------------------------------- */
.mx-hero--land { min-height: min(100svh, 980px); padding-top: calc(var(--header-h) + 20px) !important; padding-bottom: clamp(24px, 3vw, 40px) !important; display: flex; flex-direction: column; color: #fff; isolation: isolate; overflow: hidden !important; }
.mx-hero--land > .container { flex: 1; display: flex; flex-direction: column; position: relative; }
.mx-land__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #2b2d28; }
.mx-land__bg img { width: 100%; height: 116%; margin-top: -8%; }
.mx-land__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,.45), rgba(17,17,17,.05) 40%, rgba(17,17,17,.35)); }
.mx-contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.mx-contours polyline { fill: none; stroke: rgba(255,255,255,.38); stroke-width: 1; }
.mx-contours polyline.major { stroke: rgba(229, 50, 45, .85); stroke-width: 1.4; }
.mx-land__panel { margin-top: auto; background: var(--bg); color: var(--text); padding: clamp(22px, 3.2vw, 44px); max-width: 640px; position: relative; border-top: 4px solid var(--signal); }
.mx-land__panel .mx-hero__title { margin: 14px 0 18px; font-size: clamp(3rem, 9vw, 8rem); }
.mx-land__panel .lead { margin-bottom: 26px; }
.mx-land__levels { position: absolute; right: 16px; top: 30%; display: none; flex-direction: column; gap: 56px; font-family: var(--font-mono); font-size: .62rem; color: #fff; }
.mx-land__levels span { border-top: 1px solid rgba(255,255,255,.7); padding-top: 4px; width: 64px; }
@media (min-width: 1024px) { .mx-land__levels { display: flex; right: 32px; } }
.mx-layers { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule); }
@media (min-width: 768px) { .mx-layers { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mx-layers > div + div { border-left: 1px solid var(--line); padding-left: 24px; } }
@media (max-width: 767px) { .mx-layers > div + div { border-top: 1px solid var(--line); } }
.mx-layers > div { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 10px; }
.mx-layers__ic { width: 48px; height: 48px; display: grid; place-items: center; background: var(--text); color: var(--bg); font-size: 1.4rem; margin-bottom: 20px; }
.mx-layers > div:first-child .mx-layers__ic { background: var(--signal); color: #fff; }
.mx-layers h3 { font-size: 1.8rem; font-weight: 600; margin: 0; }
.mx-layers p { color: var(--muted); margin: 0 0 12px; }
.mx-lgrid { display: grid; gap: 40px 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .mx-lgrid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .mx-lcard:nth-child(1) { grid-column: 1 / span 7; } .mx-lcard:nth-child(2) { grid-column: 9 / span 4; margin-top: 120px; }
  .mx-lcard:nth-child(3) { grid-column: 2 / span 5; } .mx-lcard:nth-child(4) { grid-column: 7 / span 6; margin-top: 80px; } }
.mx-lcard { display: block; }
.mx-lcard__img { display: block; overflow: hidden; }
.mx-lcard__img img { width: 100%; transition: transform 1.2s var(--ease); }
.mx-lcard:hover .mx-lcard__img img { transform: scale(1.04); }
.mx-lcard__meta { display: flex; justify-content: space-between; padding: 12px 0 6px; border-bottom: 1px solid var(--rule); margin-bottom: 12px; }
.mx-lcard__meta .ti { font-size: 1rem; color: var(--text); }
.mx-lcard:hover .mx-lcard__meta .ti { color: var(--red-ink); }
.mx-lcard h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 600; margin: 0 0 4px; }
.mx-lcard p { font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; color: var(--muted); margin: 0; }
/* planting palette */
.mx-plant { border-top: 1px solid var(--rule); }
.mx-plant__head, .mx-plant__row { display: grid; gap: 8px 16px; grid-template-columns: 48px minmax(0, 1fr) 60px; align-items: center; }
.mx-plant__head { padding: 10px 0; border-bottom: 1px solid var(--rule); font-family: var(--font-mono); font-size: .58rem; text-transform: uppercase; color: var(--muted); }
.mx-plant__row { padding: 16px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.mx-plant__row:hover { background: color-mix(in srgb, var(--text) 5%, transparent); }
.mx-plant__code { font-family: var(--font-mono); font-size: .66rem; color: var(--red-ink); }
.mx-plant__name b { display: block; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.03em; }
.mx-plant__name em { font-family: var(--font-mono); font-size: .64rem; color: var(--muted); }
.mx-plant__type { display: none; font-size: .9rem; color: var(--muted); }
.mx-plant__h { font-family: var(--font-mono); font-size: .7rem; text-align: right; }
.mx-plant__months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; grid-column: 2 / -1; }
.mx-plant__head .mx-plant__months, .mx-plant__head > span:nth-child(3) { display: none; }
.mx-plant__months i { height: 14px; border: 1px solid var(--line); font-style: normal; text-align: center; }
.mx-plant__months i.on { background: var(--signal); border-color: var(--signal); }
.mx-plant__head .mx-plant__months i { border: 0; height: auto; }
@media (min-width: 1024px) {
  .mx-plant__head, .mx-plant__row { grid-template-columns: 60px minmax(0, 2fr) minmax(0, .8fr) 70px minmax(0, 3fr); gap: 20px; }
  .mx-plant__type { display: block; }
  .mx-plant__months { grid-column: auto; }
  .mx-plant__head .mx-plant__months, .mx-plant__head > span:nth-child(3) { display: grid; }
  .mx-plant__head > span:nth-child(3) { display: block; }
  .mx-plant__head > span:nth-child(4) { text-align: right; }
}

/* 17. Home 4 — residential --------------------------------------------- */
.mx-solo { display: grid; gap: 32px; padding-block: clamp(32px, 4vw, 56px); grid-template-columns: 1fr; }
.mx-solo > * { min-width: 0; }
.mx-solo__portrait { margin: 0; max-width: 360px; }
.mx-solo__portrait img { width: 100%; aspect-ratio: 7/9; filter: grayscale(1) contrast(1.08); }
.mx-solo__portrait figcaption { display: flex; gap: 10px; align-items: baseline; padding-top: 10px; font-size: .86rem; color: var(--muted); }
.mx-solo__portrait figcaption .mx-mono { color: var(--text); }
.mx-hero__title--solo { font-size: clamp(3rem, 8vw, 8.6rem); margin-top: 0; max-width: 8ch; }
.mx-solo__text .lead { max-width: 46ch; margin-bottom: 32px; }
.mx-solo__now { border-top: 2px solid var(--text); padding-top: 12px; display: grid; gap: 0; align-content: start; }
.mx-solo__now p { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.mx-solo__now b { display: block; font-family: var(--font-mono); font-size: .6rem; font-weight: 400; text-transform: uppercase; color: var(--red-ink); }
@media (min-width: 768px) { .mx-solo { grid-template-columns: 260px minmax(0, 1fr); } .mx-solo__now { grid-column: 2; } }
@media (min-width: 1280px) { .mx-solo { grid-template-columns: 3fr 7fr 2.4fr; gap: 40px; align-items: start; } .mx-solo__now { grid-column: auto; margin-top: 8px; } }
.mx-solo__strip { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 12px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mx-solo__strip::-webkit-scrollbar { display: none; }
.mx-solo__strip > * { scroll-snap-align: start; }
@media (min-width: 1024px) { .mx-solo__strip { padding-inline: 32px; gap: 24px; overflow: visible; } }
.mx-letter { display: grid; gap: 28px; grid-template-columns: 1fr; }
.mx-letter__side { display: flex; justify-content: space-between; align-items: flex-start; border-top: 1px solid var(--rule); padding-top: 12px; }
.mx-letter__side .mx-north { width: 30px; height: 42px; color: var(--text); }
.mx-letter__body { display: grid; gap: 24px; }
.mx-letter__body > p:not(.mx-intro__big):not(.mx-sign) { max-width: 60ch; color: var(--muted); margin: 0; }
.mx-letter__body .mx-intro__big { margin: 0; }
.mx-sign { font-family: var(--font-logo); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; border-top: 1px solid var(--rule); padding-top: 14px; max-width: 280px; margin: 0; }
@media (min-width: 1024px) { .mx-letter { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; } .mx-letter__side { grid-column: 1 / span 3; flex-direction: column; gap: 24px; } .mx-letter__body { grid-column: 4 / -1; } }
.mx-houses { display: grid; gap: 32px 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mx-houses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .mx-houses { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mx-house:nth-child(even) { margin-top: 64px; } }
.mx-house { display: block; }
.mx-house__img { display: block; overflow: hidden; }
.mx-house__img img { width: 100%; aspect-ratio: 9/11; transition: transform 1.2s var(--ease); }
.mx-house:hover .mx-house__img img { transform: scale(1.04); }
.mx-house__tb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); border-top: 0; font-size: .84rem; }
.mx-house__tb > span { padding: 8px 10px; }
.mx-house__tb > span:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
.mx-house__tb > span + span:not(:nth-child(2)) { border-left: 1px solid var(--line); }
.mx-house__tb small { display: block; font-family: var(--font-mono); font-size: .54rem; text-transform: uppercase; color: var(--muted); }
.mx-house__tb b { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.mx-house:hover .mx-house__tb > span:first-child { background: var(--text); color: var(--bg); }
.mx-house:hover .mx-house__tb > span:first-child small { color: var(--signal); }
/* stage table */
.mx-stage { border-top: 1px solid var(--rule); }
.mx-stage__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mx-stage__row--head { font-family: var(--font-mono); font-size: .58rem; text-transform: uppercase; color: var(--muted); padding: 10px 0; border-bottom-color: var(--rule); }
.mx-stage__row--head > span:nth-child(n+2):nth-child(-n+3) { display: none; }
.mx-stage__no { font-family: var(--font-mono); font-size: .66rem; color: var(--red-ink); }
.mx-stage__name { font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -0.03em; }
.mx-stage__bar { grid-column: 2 / -1; height: 10px; border: 1px solid var(--line); position: relative; }
.mx-stage__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--text); }
.mx-stage__row:hover .mx-stage__bar i { background: var(--signal); }
.mx-stage__fee { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; grid-column: 3; grid-row: 1; text-align: right; }
.mx-stage__time { font-family: var(--font-mono); font-size: .64rem; color: var(--muted); grid-column: 2 / -1; }
.mx-stage__row--head > span:nth-child(5) { display: none; }
@media (min-width: 1024px) {
  .mx-stage__row { grid-template-columns: 48px minmax(0, 3fr) minmax(0, 4fr) 90px 140px; gap: 24px; }
  .mx-stage__bar { grid-column: auto; }
  .mx-stage__fee { grid-column: auto; grid-row: auto; }
  .mx-stage__time { grid-column: auto; text-align: right; }
  .mx-stage__row--head > span { display: block !important; }
  .mx-stage__row--head > span:nth-child(4), .mx-stage__row--head > span:nth-child(5) { text-align: right; }
}
.mx-inside { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .mx-inside { grid-template-columns: repeat(12, minmax(0, 1fr)); } .mx-inside .is-tall { grid-column: 1 / span 5; grid-row: span 2; } .mx-inside > :nth-child(2), .mx-inside > :nth-child(3) { grid-column: 6 / -1; } }
.mx-notes { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .mx-notes { grid-template-columns: 1fr 1fr; gap: 64px; } }
.mx-notes .mx-quote blockquote { font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.14; }

/* 18. Inner pages ------------------------------------------------------- */
.page-header.mx-ph { padding-top: calc(var(--header-h) + 28px); padding-bottom: clamp(40px, 5vw, 72px); }
.mx-ph h1 { font-size: clamp(3.2rem, 11vw, 11rem); line-height: .86; letter-spacing: -0.065em; font-weight: 600; margin: clamp(28px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); max-width: 12ch; }
.mx-ph__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; border-top: 1px solid var(--rule); padding-top: 18px; }
.mx-ph__row .lead { margin: 0; max-width: 52ch; }
.mx-ph__stat { display: flex; align-items: end; gap: 10px; }
.mx-ph__stat span { font-family: var(--font-head); font-size: 4.6rem; font-weight: 600; letter-spacing: -0.06em; line-height: .8; color: var(--red-ink); }
.mx-ph__stat small { font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; color: var(--muted); }
.mx-ph__tags { display: flex; border: 1px solid var(--rule); }
.mx-ph__tags span { padding: 8px 12px; font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; }
.mx-ph__tags span + span { border-left: 1px solid var(--line); }
.mx-case__hero { overflow: hidden; height: clamp(300px, 55vw, 780px); }
.mx-case__hero img { width: 100%; height: 116%; margin-top: -8%; }
.mx-case { display: grid; gap: 48px; grid-template-columns: 1fr; }
.mx-case > * { min-width: 0; }
@media (min-width: 1024px) { .mx-case { grid-template-columns: 4fr 8fr; gap: 64px; } .mx-case__tb { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.mx-case__text { display: grid; gap: clamp(40px, 5vw, 72px); }
.mx-case__block { display: grid; gap: 12px; max-width: 64ch; }
.mx-case__block .mx-mono { color: var(--red-ink); }
.mx-case__block .h3 { margin: 0; }
.mx-case__block p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.mx-case__figs { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
@media (max-width: 639px) { .mx-case__figs { grid-template-columns: 1fr; } }
.mx-drawing { border: 1px solid var(--rule); background: var(--bg); padding: clamp(16px, 3vw, 40px); }
.mx-fp { width: 100%; height: auto; color: var(--text); overflow: visible; }
.mx-fp .walls path { fill: none; stroke: var(--text); stroke-width: 5; stroke-linecap: square; }
.mx-fp .doors path { fill: none; stroke: var(--text); stroke-width: 1; stroke-dasharray: 3 3; }
.mx-fp .stairs line { stroke: var(--text); stroke-width: 1; }
.mx-fp .grid-ax line { stroke: var(--signal); stroke-width: .8; stroke-dasharray: 12 4 2 4; }
.mx-fp .ax-tags rect { fill: var(--bg); stroke: var(--signal); }
.mx-fp .ax-tags text, .mx-fp .rooms text, .mx-fp .dims text, .mx-fp .cut-t { font-family: var(--font-mono); font-size: 8px; fill: var(--text); text-anchor: middle; }
.mx-fp .ax-tags text { fill: var(--signal); }
.mx-fp .rooms text.s { fill: var(--muted); font-size: 7px; }
.mx-fp .dims line { stroke: var(--text); stroke-width: .8; }
.mx-fp .cut { stroke: var(--signal); stroke-width: 3; }
.mx-fp .cut-t { fill: var(--signal); }
.mx-drawing__foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 14px; color: var(--text); }
.mx-drawing__foot .mx-north { width: 26px; height: 36px; }
.mx-drawing__foot .mx-mono { margin-left: auto; }
@media (max-width: 639px) { .mx-drawing__foot .mx-mono { margin-left: 0; } }
.mx-next { border-top: 1px solid var(--rule); }
.mx-next a { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-items: center; padding-block: clamp(40px, 6vw, 88px); }
.mx-next__t { font-family: var(--font-head); font-size: clamp(2.2rem, 7vw, 6.4rem); font-weight: 600; letter-spacing: -0.06em; line-height: .9; grid-column: 1; }
.mx-next .mx-mono { grid-column: 1 / -1; }
.mx-next__img { display: none; }
.mx-next__go { width: 64px; height: 64px; display: grid; place-items: center; background: var(--signal); color: #fff; font-size: 1.6rem; transition: transform .5s var(--ease); }
.mx-next a:hover .mx-next__go { transform: translateX(8px); }
.mx-next a:hover .mx-next__t { color: var(--red-ink); }
@media (min-width: 1024px) { .mx-next a { grid-template-columns: 1fr 240px auto; } .mx-next__img { display: block; } .mx-next__img img { width: 240px; aspect-ratio: 3/2; filter: grayscale(1); transition: filter .5s; } .mx-next a:hover .mx-next__img img { filter: none; } }
/* history, recognition, jobs */
.mx-hist { border-top: 1px solid var(--rule); padding: 0; margin: 0; list-style: none; }
.mx-hist li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.mx-hist__y { font-family: var(--font-head); font-size: 2rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.mx-hist li:last-child .mx-hist__y { color: var(--red-ink); }
.mx-hist p { margin: 0; color: var(--muted); }
@media (min-width: 768px) { .mx-hist li { grid-template-columns: 160px minmax(0, 1fr); } .mx-hist__y { font-size: 2.8rem; } }
.mx-rec { border-top: 1px solid var(--rule); }
.mx-rec li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.mx-rec b { font-family: var(--font-head); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.mx-rec li > span:nth-child(3) { grid-column: 2; grid-row: 2; color: var(--muted); font-size: .92rem; }
.mx-rec li > .mx-mono { grid-column: 3; grid-row: 1; }
@media (min-width: 768px) { .mx-rec li { grid-template-columns: 48px minmax(0, 1.4fr) minmax(0, 1fr) 80px; } .mx-rec li > span:nth-child(3) { grid-column: auto; grid-row: auto; } .mx-rec li > .mx-mono { grid-column: auto; text-align: right; } }
.mx-jobs { display: grid; gap: 32px; }
@media (min-width: 1024px) { .mx-jobs { grid-template-columns: 5fr 7fr; gap: 64px; align-items: end; } }
.mx-jobs .mx-list { margin-top: 0; }
/* services detail */
.mx-svcd { display: grid; gap: 24px; grid-template-columns: 1fr; padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--rule); }
.mx-svcd > * { min-width: 0; }
.mx-svcd__no span { font-family: var(--font-head); font-size: clamp(4rem, 10vw, 9rem); font-weight: 600; letter-spacing: -0.07em; line-height: .8; color: var(--red-ink); }
.mx-svcd__body .h2 { margin-bottom: 16px; }
.mx-svcd__list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); margin-top: 24px; }
@media (min-width: 640px) { .mx-svcd__list { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.mx-svcd__list li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mx-svcd__list .mx-mono { color: var(--red-ink); }
.mx-svcd__img img { width: 100%; aspect-ratio: 4/3; filter: grayscale(.6); transition: filter .6s; }
.mx-svcd:hover .mx-svcd__img img { filter: none; }
@media (min-width: 1024px) {
  .mx-svcd { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .mx-svcd__no { grid-column: 1 / span 2; }
  .mx-svcd__body { grid-column: 3 / span 6; }
  .mx-svcd__img { grid-column: 9 / -1; }
  .mx-svcd:nth-child(even) .mx-svcd__body { grid-column: 3 / span 6; }
}
.mx-sec--flush > .container > .mx-svcd:first-child { border-top: 0; }

/* 19. Contact & forms --------------------------------------------------- */
.mx-contact { display: grid; gap: 48px; grid-template-columns: 1fr; }
.mx-contact > * { min-width: 0; }
@media (min-width: 1024px) { .mx-contact { grid-template-columns: 4fr 8fr; gap: 64px; } }
.mx-contact__mail { font-family: var(--font-head); font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 600; letter-spacing: -0.035em; margin: 8px 0 0; overflow-wrap: anywhere; }
.mx-contact__mail a:hover { color: var(--red-ink); }
.mx-contact .mx-list b { font-size: .68rem; overflow-wrap: anywhere; }
.mx-form { border: 1px solid var(--rule); padding: clamp(20px, 3.5vw, 44px); gap: 22px; background: var(--surface); }
.mx-form__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-bottom: 2px solid var(--text); padding-bottom: 12px; }
.mx-form .btn { justify-self: start; }
.mx-form .form-row { gap: 22px; }
.mx-offices { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .mx-offices { grid-template-columns: 1fr 1fr; } }
.mx-office { border: 1px solid var(--rule); padding: 0 0 20px; background: var(--bg); }
.mx-office > :not(.mx-office__map) { margin-inline: 20px; }
.mx-office__map { border-bottom: 1px solid var(--rule); margin-bottom: 18px; background: var(--surface); }
.mx-office__map svg { width: 100%; height: auto; display: block; }
.mx-office__map path { fill: none; stroke: color-mix(in srgb, var(--text) 30%, transparent); stroke-width: 14; }
.mx-office__map path.road { stroke-width: 3; stroke: var(--line); }
.mx-office__map rect { fill: var(--signal); }
.mx-office h3 { font-size: 2.2rem; font-weight: 600; margin: 6px 20px 8px; }
.mx-office p { color: var(--muted); }
.mx-office a:hover { color: var(--red-ink); }

/* 20. CTA band & footer ------------------------------------------------- */
.mx-cta { background: var(--signal); color: #111; padding-block: clamp(40px, 5vw, 72px); --muted: rgba(17,17,17,.72); --line: rgba(17,17,17,.3); }
.mx-cta .mx-mono { color: #111; }
.mx-cta__top, .mx-cta__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.mx-cta__top { border-bottom: 1px solid #111; padding-bottom: 12px; }
.mx-cta__link { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: clamp(20px, 3vw, 40px); }
.mx-cta__big { font-family: var(--font-head); font-size: clamp(2.8rem, 10.5vw, 11rem); font-weight: 600; letter-spacing: -0.065em; line-height: .86; }
.mx-cta__arrow { flex: none; width: clamp(56px, 9vw, 150px); aspect-ratio: 1; display: grid; place-items: center; background: #111; color: #e5322d; font-size: clamp(1.8rem, 5vw, 5rem); transition: transform .5s var(--ease); }
.mx-cta__link:hover .mx-cta__arrow { transform: translate(6px, -6px); }
.mx-cta__bottom { border-top: 1px solid #111; padding-top: 14px; align-items: baseline; }
.mx-cta__bottom p { margin: 0; max-width: 52ch; font-size: .98rem; }
[data-theme="dark"] .mx-cta { background: #c9221d; }
.mx-foot { background: var(--bg); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.mx-foot__grid { display: grid; gap: 36px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 40px; }
.mx-foot__grid > * { min-width: 0; }
.mx-foot__brand, .mx-foot__news { grid-column: 1 / -1; }
.mx-foot__brand p { color: var(--muted); max-width: 40ch; margin: 18px 0 0; font-size: .95rem; }
.mx-foot h4 { font-family: var(--font-mono); font-size: .62rem; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.mx-foot__col li { padding: 4px 0; }
.mx-foot__col a:hover { color: var(--red-ink); }
.mx-foot address { font-style: normal; line-height: 1.9; }
.mx-foot__news p { color: var(--muted); font-size: .92rem; }
@media (min-width: 1024px) {
  .mx-foot__grid { grid-template-columns: 4fr 2fr 1.4fr 1.4fr 3.2fr; }
  .mx-foot__brand, .mx-foot__news, .mx-foot__grid > .mx-foot__col:nth-child(n) { grid-column: auto; }
}
.mx-foot__word { font-family: var(--font-logo); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 10.6vw, 12rem); letter-spacing: .02em; line-height: .9; white-space: nowrap; overflow: hidden; border-top: 1px solid var(--rule); padding-top: 18px; margin-bottom: 8px; color: var(--text); }
@media (min-width: 1536px) { .mx-foot__word { font-size: clamp(2.2rem, 9.6vw, 10.4rem); } }
@media (min-width: 1920px) { .mx-foot__word { font-size: 11.6rem; } }
.mx-foot__word::first-letter { color: var(--signal); }
.mx-foot__bottom { border-top: 1px solid var(--rule); font-size: .84rem; }
.mx-foot__bottom a:hover { color: var(--red-ink); }

/* 21. 404, utilities ---------------------------------------------------- */
.error-page { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; }
.error-page .code { background: none; -webkit-text-fill-color: currentColor; color: var(--signal); font-family: var(--font-head); font-weight: 600; letter-spacing: -0.08em; }
.error-page > div { background: var(--bg); border: 1px solid var(--rule); padding: clamp(28px, 5vw, 64px); }
.error-page .btn { margin-inline: auto; }
.error-page .btn > .ti:first-child { display: none; }
.error-page .btn { padding-right: 20px; }
.text-gradient { background: none; color: var(--signal); -webkit-text-fill-color: currentColor; }

/* 22. Responsive refinements ------------------------------------------- */
@media (max-width: 479px) {
  .btn-group { gap: 10px; }
  .btn-group .btn { flex: 1 1 100%; justify-content: space-between; }
  .mx-hero__facts dd { font-size: 1.6rem; }
  .mx-index__filters button { padding: 9px 10px; }
}
@media (max-width: 1023px) {
  .mx-hero__row .btn-group { order: 2; }
}
@media (min-width: 1920px) { .mx-hero__title { font-size: 14rem; } }
@media (prefers-reduced-motion: reduce) { .mx-preview { transition: none; } }
.mx-index__head .c-x { font-size: inherit; color: inherit; }
.mx-plan__cell p { min-height: 3.1em; }
.site-header--light:not(.is-scrolled) .btn { --btn-bg: #fff; --btn-fg: #111; }
.mx-foot address, .mx-foot__col a { overflow-wrap: anywhere; }
@media (max-width: 639px) {
  .mx-plan-hero__na { position: static; margin-top: 10px; justify-content: space-between; }
  .mx-ba__tag--r { top: auto; bottom: 10px; }
}
@media (min-width: 768px) { .mx-rec li > .mx-mono { grid-row: auto; } }
