:root {
  --ink: #101010;
  --paper: #f7f5f1;
  --white: #ffffff;
  --brick: #c44727;
  --brick-dark: #92331d;
  --lime: #d9ee68;
  --line: #c9c6bf;
  --muted: #625f59;
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(72px, 10vw, 150px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; color: #000; background: var(--lime); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(100%, var(--max)); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: 0; }
.eyebrow.light { color: var(--lime); }
h1, h2, h3, .display { margin: 0; font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; font-stretch: condensed; font-weight: 800; line-height: .93; letter-spacing: 0; text-transform: uppercase; }
h1 { max-width: 1180px; font-size: clamp(54px, 9vw, 142px); }
h2 { max-width: 1050px; font-size: clamp(44px, 6.4vw, 96px); }
h3 { font-size: clamp(26px, 3.2vw, 46px); line-height: 1; }
p { max-width: 740px; }
.lead { margin: 28px 0 0; font-size: clamp(20px, 2.1vw, 31px); line-height: 1.28; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.site-header { position: relative; z-index: 40; border-bottom: 1px solid var(--ink); background: var(--paper); }
.header-inner { display: flex; min-height: 116px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 230px; height: 92px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 36px); }
.desktop-nav a { font-size: 13px; font-weight: 750; text-decoration: none; text-transform: uppercase; }
.desktop-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brick); text-decoration-thickness: 3px; }
.nav-cta, .button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--ink); border-radius: 0; background: transparent; font-weight: 800; line-height: 1.1; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease; }
.button span { display: inline-block; transition: transform .25s ease; }
.button:hover span { transform: translateX(5px); }
.button:hover { transform: translateY(-2px); }
.nav-cta, .button.primary { color: var(--white); background: var(--brick); border-color: var(--brick); }
.nav-cta:hover, .button.primary:hover { background: var(--brick-dark); }
.button.light { color: var(--ink); background: var(--white); border-color: var(--white); }
.button.light-outline { color: var(--white); border-color: var(--white); background: transparent; }
.button.light-outline:hover { color: var(--ink); background: var(--white); }
.button[disabled] { cursor: not-allowed; opacity: .55; }
.menu-button { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 22px; height: 2px; background: currentColor; }
.menu-button span, .menu-button::before, .menu-button::after { transition: opacity .2s ease, transform .25s ease; }
.menu-button span { margin: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }
.hero { min-height: calc(100vh - 116px); min-height: min(860px, calc(100svh - 116px)); display: grid; align-content: space-between; padding-block: clamp(50px, 8vw, 108px) 34px; background: var(--white); }
.image-home-hero { position: relative; isolation: isolate; color: var(--white); background: var(--ink); overflow: hidden; }
.image-home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.46) 55%, rgba(0,0,0,.24) 100%); }
.hero-background { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.image-home-hero .button:not(.primary), .image-home-hero .scroll-mark { color: var(--white); border-color: var(--white); }
.image-home-hero .button:not(.primary):hover, .image-home-hero .scroll-mark:hover { color: var(--ink); background: var(--white); }
.hero-copy { display: grid; grid-template-columns: 1fr minmax(260px, 390px); align-items: end; gap: 48px; }
.hero .lead { margin-bottom: 7px; }
.hero-footer { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-top: 80px; }
.hero-index { font-family: "Arial Narrow", Arial, sans-serif; font-size: 14px; font-weight: 800; text-transform: uppercase; }
.scroll-mark { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--ink); text-decoration: none; }
.scroll-mark { transition: color .25s ease, background-color .25s ease, transform .25s ease; }
.scroll-mark:hover { color: var(--white); background: var(--ink); transform: translateY(4px); }
.ticker { overflow: hidden; border-block: 1px solid var(--ink); background: var(--lime); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track span { padding: 17px 30px; font-size: 13px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ticker-track { animation: none; } }
.image-band { position: relative; min-height: min(74vw, 850px); display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--ink); }
.image-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.83); }
.image-band::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.image-band .wrap { position: relative; z-index: 2; padding-block: 54px; }
.image-band h2 { max-width: 900px; }
.service-image-band { min-height: min(58vw, 720px); }
.mockup-tag { display: inline-flex; width: fit-content; margin-bottom: 18px; padding: 7px 10px; color: var(--ink); background: var(--lime); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.section { padding-block: var(--section); }
.section.white { background: var(--white); }
.section.dark { color: var(--white); background: var(--ink); }
.section.brick { color: var(--white); background: var(--brick); }
.section-head { display: grid; grid-template-columns: minmax(180px, .42fr) 1.58fr; gap: 48px; margin-bottom: clamp(50px, 8vw, 100px); }
.section-head p { margin: 0; font-size: clamp(19px, 2vw, 28px); }
.service-list { border-top: 1px solid currentColor; }
.service-row { display: grid; grid-template-columns: 80px minmax(200px, .8fr) 1.2fr auto; align-items: start; gap: 26px; padding: 30px 0; border-bottom: 1px solid currentColor; text-decoration: none; }
.service-row:hover h3 { color: var(--brick); }
.dark .service-row:hover h3 { color: var(--lime); }
.service-row p { margin: 0; }
.service-row .arrow { font-size: 28px; line-height: 1; transition: transform .25s ease; }
.service-row:hover .arrow { transform: translate(5px, -5px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { display: flex; min-height: 360px; flex-direction: column; justify-content: space-between; gap: 30px; padding: clamp(26px, 3vw, 44px); background: var(--paper); }
.card p { margin: 18px 0 0; }
.dark .cards { background: #3d3d3d; border-color: #3d3d3d; }
.dark .card { background: var(--ink); }
.number { font-family: "Arial Narrow", Arial, sans-serif; font-size: 15px; font-weight: 800; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px 24px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 58px 24px; }
.portfolio-grid-single { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
.project-card { min-width: 0; text-decoration: none; }
.project-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.project-image .mockup-tag { position: absolute; top: 14px; left: 14px; z-index: 1; margin: 0; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project-card:hover img { transform: scale(1.025); }
.project-meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; border-top: 1px solid var(--ink); margin-top: 14px; }
.project-meta strong { text-transform: uppercase; }
.project-meta span { color: var(--muted); font-size: 13px; }
.portfolio-intro { padding-block: clamp(55px, 7vw, 95px); }
.portfolio-nav { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 48px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--lime); }
.portfolio-nav a { padding: 18px 12px; border-right: 1px solid var(--ink); font-size: 13px; font-weight: 800; text-align: center; text-decoration: none; text-transform: uppercase; transition: color .2s ease, background-color .2s ease; }
.portfolio-nav a:last-child { border-right: 0; }
.portfolio-nav a:hover, .portfolio-nav a:focus-visible { color: var(--white); background: var(--ink); }
.portfolio-group { padding-block: clamp(70px, 8vw, 115px); scroll-margin-top: 30px; border-top: 1px solid var(--line); }
.portfolio-category-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: end; gap: 48px; margin-bottom: 48px; }
.portfolio-category-head h2 { margin: 0; font-size: clamp(48px, 6vw, 90px); }
.portfolio-category-head p:last-child { max-width: 500px; margin: 0; }
.portfolio-visualisations { scroll-margin-top: 30px; }
.portfolio-subgroup { padding-top: 54px; margin-top: 54px; border-top: 1px solid var(--ink); }
.portfolio-subgroup > h3 { margin-bottom: 28px; font-size: clamp(28px, 3vw, 42px); text-transform: uppercase; }
.section-action { margin-top: 56px; }
.process { counter-reset: process; border-top: 1px solid currentColor; }
.process-item { counter-increment: process; display: grid; grid-template-columns: 80px .8fr 1.2fr; gap: 26px; padding: 34px 0; border-bottom: 1px solid currentColor; }
.process-item::before { content: "0" counter(process); font-size: 13px; font-weight: 800; }
.process-item p { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.split > * { min-width: 0; }
.stat { padding: 28px 0; border-block: 1px solid currentColor; }
.stat strong { display: block; font-family: "Arial Narrow", Arial, sans-serif; font-size: clamp(48px, 7vw, 96px); line-height: 1; }
.band-cta { display: grid; grid-template-columns: 1.5fr auto; align-items: end; gap: 40px; padding-block: clamp(70px, 9vw, 120px); }
.band-cta h2 { max-width: 980px; }
.band-cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.page-hero { padding-block: clamp(62px, 9vw, 130px); background: var(--white); border-bottom: 1px solid var(--ink); }
.page-hero h1 { max-width: 1240px; font-size: clamp(54px, 8vw, 120px); }
.page-hero .lead { max-width: 760px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.content-grid { display: grid; grid-template-columns: minmax(180px, .45fr) 1.55fr; gap: clamp(32px, 7vw, 100px); }
.prose { max-width: 900px; }
.prose h2 { margin: 0 0 32px; font-size: clamp(38px, 5vw, 70px); }
.prose h3 { margin: 54px 0 14px; font-size: clamp(25px, 3vw, 39px); }
.prose p, .prose li { font-size: 18px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 9px; }
.faq { border-top: 1px solid currentColor; }
.faq details { border-bottom: 1px solid currentColor; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; }
.faq details[open] summary::after { content: "-"; }
.faq details p { max-width: 800px; margin: 0; padding: 0 44px 28px 0; }
.faq summary::after { transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
.notice { padding: 16px 18px; border: 1px solid var(--ink); background: var(--lime); font-size: 14px; font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 48px; }
.filter { min-height: 42px; padding: 8px 14px; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.filter[aria-pressed="true"] { color: var(--white); background: var(--ink); }
.project-card[hidden] { display: none; }
.form-shell { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 8vw, 120px); }
.contact-list { padding: 0; list-style: none; }
.contact-list li { padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-list a { font-weight: 750; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, fieldset legend { font-weight: 750; }
.field .hint { margin: 0; color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
.checkbox { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 10px; }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brick); }
.form-status { min-height: 24px; margin: 0; font-weight: 700; }
.site-footer { color: var(--white); background: var(--ink); }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; padding-block: 72px; }
.footer-main h2 { font-size: clamp(42px, 5.5vw, 80px); }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links a { width: fit-content; text-decoration: none; }
.footer-base { display: flex; justify-content: space-between; gap: 24px; padding-block: 18px; border-top: 1px solid #444; font-size: 12px; }
.project-detail-hero { display: grid; min-height: 620px; align-items: end; padding-block: 60px; color: var(--white); background-size: cover; background-position: center; position: relative; }
.project-detail-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.project-detail-hero .wrap { position: relative; z-index: 1; }
.project-detail-hero h1 { max-width: 1000px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption { margin-top: 8px; font-size: 12px; font-weight: 750; text-transform: uppercase; }
.article-hero { padding-block: clamp(70px, 10vw, 150px); color: var(--white); background: var(--ink); }
.article-hero h1 { max-width: 1160px; font-size: clamp(52px, 8vw, 116px); }
.article-deck { max-width: 720px; margin: 30px 0 0; font-size: clamp(19px, 2vw, 27px); line-height: 1.35; }
.image-article-hero { position: relative; isolation: isolate; display: grid; min-height: min(780px, calc(100svh - 80px)); align-items: end; overflow: hidden; }
.image-article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.66) 48%, rgba(0,0,0,.28) 100%); }
.article-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.article-section { padding-block: clamp(68px, 9vw, 130px); }
.article-layout { display: grid; grid-template-columns: minmax(190px, 280px) minmax(0, 820px); justify-content: space-between; gap: clamp(48px, 9vw, 140px); align-items: start; }
.article-toc { position: sticky; top: 28px; display: grid; border-top: 1px solid var(--ink); }
.article-toc .eyebrow { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--ink); }
.article-toc a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 750; line-height: 1.3; text-decoration: none; }
.article-toc a:hover { color: var(--brick); }
.article-copy { min-width: 0; }
.article-copy > p:first-child { margin-top: 0; font-size: clamp(22px, 2.4vw, 31px); line-height: 1.32; }
.article-copy h2 { margin: clamp(68px, 9vw, 110px) 0 24px; padding-top: 8px; font-size: clamp(37px, 5vw, 68px); scroll-margin-top: 24px; }
.article-copy h3 { margin: 48px 0 14px; font-size: clamp(25px, 3vw, 38px); line-height: 1.05; scroll-margin-top: 24px; }
.article-copy p, .article-copy li { font-size: 18px; line-height: 1.7; }
.article-copy p { margin: 0 0 24px; }
.article-copy ul, .article-copy ol { margin: 24px 0 34px; padding-left: 25px; }
.article-copy li + li { margin-top: 10px; }
.article-copy code { padding: 2px 5px; background: #ece9e2; font-family: inherit; font-weight: 750; }
.table-wrap { max-width: 100%; margin: 30px 0 44px; overflow-x: auto; border-top: 2px solid var(--ink); }
.table-wrap:focus-visible { outline-offset: 3px; }
.article-copy table { width: 100%; min-width: 670px; border-collapse: collapse; font-size: 15px; }
.article-copy th, .article-copy td { padding: 16px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-copy th { color: var(--white); background: var(--ink); font-size: 12px; text-transform: uppercase; }
.article-copy td:first-child { font-weight: 750; }
.article-figure { margin: 50px 0 70px; }
.article-figure img { width: 100%; border: 1px solid var(--ink); background: var(--paper); }
.article-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.article-sources { margin-top: 90px; padding-top: 28px; border-top: 3px solid var(--ink); }
.article-sources h2 { margin-top: 0; font-size: clamp(34px, 4vw, 52px); }
.article-sources ul { padding-left: 20px; }
.article-sources li, .article-sources p { font-size: 14px; }
.related-guides { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid currentColor; }
.related-guides a { position: relative; display: grid; min-height: 250px; align-content: space-between; gap: 24px; padding: 26px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; text-decoration: none; }
.related-guides a:first-child { border-left: 1px solid currentColor; }
.related-guides span { font-size: 12px; font-weight: 800; text-transform: uppercase; }
.related-guides strong { max-width: 280px; font-family: "Arial Narrow", Arial, sans-serif; font-size: clamp(26px, 3vw, 40px); line-height: 1; text-transform: uppercase; }
.related-guides b { position: absolute; right: 20px; top: 20px; font-size: 24px; transition: transform .25s ease; }
.related-guides a:hover { color: var(--ink); background: var(--lime); }
.related-guides a:hover b { transform: translate(5px, -5px); }
.guides-hero h1 { max-width: 1280px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--white); }
.guide-card { position: relative; isolation: isolate; display: flex; min-height: 520px; align-items: stretch; color: var(--white); background: var(--ink); text-decoration: none; overflow: hidden; }
.guide-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.1) 18%, rgba(0,0,0,.86) 100%); transition: background-color .3s ease; }
.guide-card-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.guide-card-copy { position: relative; display: flex; width: 100%; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3.2vw, 48px); }
.guide-card-copy > span { font-size: 12px; font-weight: 800; text-transform: uppercase; }
.guide-card-copy h2 { max-width: 580px; margin: auto 0 22px; font-size: clamp(34px, 3.7vw, 58px); }
.guide-card-copy p { margin: 0; font-size: 15px; }
.guide-card-copy b { position: absolute; top: 22px; right: 24px; font-size: 24px; transition: transform .25s ease; }
.guide-card:hover::after { background-color: rgba(196,71,39,.2); }
.guide-card:hover .guide-card-media { transform: scale(1.04); }
.guide-card:hover b { transform: translate(5px, -5px); }

/* Motion is enabled by JavaScript so content remains visible without it. */
.motion .site-header { animation: header-in .6s cubic-bezier(.2,.7,.2,1) both; }
.motion .hero-background, .motion .article-hero-image { transform: scale(1.035); transition: transform 1.8s cubic-bezier(.2,.7,.2,1); }
.motion.loaded .hero-background, .motion.loaded .article-hero-image { transform: scale(1); }
.motion .hero-enter { opacity: 0; transform: translateY(28px); }
.motion.loaded .hero-enter { opacity: 1; transform: none; transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--motion-order, 0) * 100ms); }
.motion .reveal { opacity: 0; transform: translateY(38px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--motion-order, 0) * 65ms); }
.motion .reveal.is-visible { opacity: 1; transform: none; }
.motion .image-band { clip-path: inset(0 0 10% 0); transition: clip-path 1s cubic-bezier(.2,.7,.2,1); }
.motion .image-band.is-visible { clip-path: inset(0); }
.motion .image-band img { transform: scale(1.06); transition: transform 1.3s cubic-bezier(.2,.7,.2,1); }
.motion .image-band.is-visible img { transform: scale(1); }
.mobile-menu.open { animation: menu-in .3s ease both; }
@keyframes header-in { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-button { display: flex; }
  .mobile-menu { position: fixed; inset: 117px 0 0; z-index: 30; padding: 34px var(--gutter); color: var(--white); background: var(--ink); }
  .mobile-menu.open { display: grid; align-content: start; gap: 0; background-color: var(--ink); opacity: 1; }
  .mobile-menu a { padding: 18px 0; border-bottom: 1px solid #444; font-family: "Arial Narrow", Arial, sans-serif; font-size: 30px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
  .hero-copy, .section-head, .content-grid, .form-shell { grid-template-columns: 1fr; }
  .hero-copy { gap: 28px; }
  .service-row { grid-template-columns: 48px 1fr auto; }
  .service-row p { grid-column: 2 / -1; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 270px; }
  .process-item { grid-template-columns: 52px 1fr; }
  .process-item p { grid-column: 2; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }
  .related-guides { grid-template-columns: 1fr 1fr; }
  .related-guides a:nth-child(odd) { border-left: 1px solid currentColor; }
  .guide-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-category-head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
}

@media (max-width: 620px) {
  .header-inner { min-height: 92px; }
  .brand img { width: 172px; height: 72px; }
  .mobile-menu { inset-block-start: 93px; }
  .mobile-menu.open {
    inset: 93px 0 0;
    width: 100%;
    height: calc(100dvh - 93px);
    min-height: calc(100vh - 93px);
    overflow-y: auto;
    color: var(--white);
    background: #101010;
    opacity: 1;
    transform: none;
    animation: none;
    isolation: isolate;
  }
  .hero { min-height: calc(100svh - 92px); }
  .hero-footer { padding-top: 50px; }
  .service-row { grid-template-columns: 38px 1fr auto; gap: 14px; }
  .projects-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-nav { grid-template-columns: 1fr 1fr; }
  .portfolio-nav a { padding-inline: 8px; }
  .portfolio-nav a:nth-child(2n) { border-right: 0; }
  .portfolio-nav a:last-child { grid-column: 1 / -1; }
  .project-image { aspect-ratio: 4 / 3; }
  .project-meta { align-items: start; }
  .project-meta span { max-width: 48%; text-align: right; }
  .split, .gallery, .form { grid-template-columns: 1fr; }
  .field.full { grid-column: 1; }
  .band-cta { grid-template-columns: 1fr; align-items: start; }
  .band-cta-actions { justify-content: flex-start; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > :first-child { grid-column: 1; }
  .footer-base { flex-direction: column; }
  .article-hero h1 { font-size: clamp(45px, 13vw, 62px); }
  .article-copy p, .article-copy li { font-size: 17px; }
  .article-copy h2 { scroll-margin-top: 16px; }
  .related-guides { grid-template-columns: 1fr; }
  .related-guides a { min-height: 210px; border-left: 1px solid currentColor; }
  .image-article-hero { min-height: 690px; }
  .image-article-hero::before { background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.86) 72%); }
  .guide-card { min-height: 440px; }
  .guide-card-copy { min-height: 440px; }

  /* Avoid mobile browser compositing artifacts on large transformed text. */
  .motion .hero-enter,
  .motion.loaded .hero-enter,
  .motion .reveal,
  .motion .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .motion .image-band {
    clip-path: inset(0 0 6% 0);
    transition: clip-path .7s ease;
  }

  .motion .image-band.is-visible { clip-path: inset(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion .hero-enter, .motion .reveal { opacity: 1; transform: none; }
  .motion .image-band { clip-path: none; }
  .motion .image-band img { transform: none; }
  .motion .hero-background, .motion .article-hero-image { transform: none; }
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-status.error { color: #a12614; }
.form-status:focus { outline: none; }
