/* AURA — shared design system. Desktop container: 1200px at a 1440px viewport. */
:root {
  --charcoal: #0b0f14;
  --navy: #1f2a36;
  --taupe: #7b7b7b;
  --stone: #d8d6d2;
  --sand: #f5f3ef;
  --orange: #e67e2e;
  --ink: #12161b;
  --muted: #62666b;
  --line: #d5d1cb;
  --serif: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Inter', Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(24px, 5vw, 72px);
  --section-space: clamp(64px, 6.1vw, 88px);
  --ease: cubic-bezier(.2, .65, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; }
body { margin: 0; color: var(--ink); background: var(--sand); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open, body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:not(:disabled), input[type='range'] { cursor: pointer; }
button { border-radius: 0; }
[hidden] { display: none !important; }
::selection { color: var(--charcoal); background: #e9ad7e; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; overflow-wrap: break-word; text-transform: capitalize; }
h1 { font-size: clamp(40px, 4.1vw, 58px); line-height: 1.1; letter-spacing: -.028em; }
h2 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.18; letter-spacing: -.018em; text-wrap: balance; }
.container { width: min(calc(100% - var(--gutter) * 2), var(--container)); margin-inline: auto; }
.section-space { padding-block: var(--section-space); }
.dark-section { color: var(--sand); background: var(--charcoal); }
.eyebrow { margin-bottom: 15px; color: var(--muted); font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: .19em; text-transform: uppercase; }
.dark-section .eyebrow { color: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 10px; left: 10px; padding: 12px 20px; color: var(--sand); background: var(--charcoal); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.arrow { display: inline-block; position: relative; flex: 0 0 27px; width: 27px; height: 14px; color: inherit; transition: transform .25s var(--ease), color .25s ease; }
.arrow::before { position: absolute; content: ''; inset: 6px 0 auto; height: 1px; background: currentColor; }
.arrow::after { position: absolute; content: ''; width: 8px; height: 8px; top: 2.5px; right: 1px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.arrow-up { transform: rotate(-90deg); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; min-width: 208px; padding: 13px 20px; border: 1px solid currentColor; background: transparent; font-size: 17px; line-height: 1.5; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.button--light { color: #fff; border-color: #ffffffb3; }
.button--dark { color: var(--ink); border-color: #33383c; }
.button:hover .arrow, .button:focus-visible .arrow { transform: translateX(4px); color: var(--orange); }
.button--light:hover { color: #fff; background: #0b0f1459; border-color: #fff; }
.button--dark:hover { color: var(--sand); background: var(--charcoal); border-color: var(--charcoal); }
.text-link { display: inline-flex; align-items: center; gap: 24px; font-size: 17px; line-height: 1.5; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.text-link:hover .arrow { color: var(--orange); transform: translateX(4px); }
.text-link:hover .arrow-up { transform: rotate(-90deg) translateX(4px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-heading > .text-link { flex-shrink: 0; margin-bottom: 6px; }
.section-intro { margin-bottom: 4px; color: #a6acb3; font-size: 17px; line-height: 1.7; }

/* Shared header. Native anchor navigation remains available without JavaScript. */
.site-header { position: absolute; z-index: 50; top: 0; left: 0; width: 100%; color: #fff; transition: background .3s ease, box-shadow .3s ease; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 126px; }
.brand { display: block; flex: 0 0 auto; width: var(--header-logo-width, 196px); max-width: min(var(--header-logo-width, 196px), 42vw); }
.brand img { display: block; width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(23px, 2.8vw, 40px); }
.primary-nav a, .primary-nav .nav-label { position: relative; display: flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 500; letter-spacing: .065em; line-height: 1.5; text-transform: uppercase; white-space: nowrap; }
.primary-nav a::after { position: absolute; bottom: 5px; left: 0; width: 100%; height: 1px; content: ''; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a.is-active::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.project-nav { position: relative; }
.project-nav-heading { display: flex; align-items: center; gap: 0; }
.submenu-toggle { display: grid; place-items: center; width: 36px; height: 44px; color: inherit; border: 0; background: none; padding: 0; }
.submenu-toggle svg { transition: transform .2s var(--ease); }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.project-submenu { position: absolute; top: 100%; left: -12px; min-width: 200px; margin: 0; padding: 12px 0; list-style: none; background: var(--charcoal); border: 1px solid #ffffff24; z-index: 60; box-shadow: 0 12px 24px #0003; }
.project-submenu a { display: block; padding: 10px 18px; min-height: 44px; font-size: 17px; letter-spacing: .02em; text-transform: none; }
.primary-nav .project-submenu a::after, .footer-nav .project-submenu a::after { display: none; }
.project-submenu a:hover, .project-submenu a:focus-visible, .project-submenu a[aria-current="page"] { background: #ffffff0b; color: var(--orange); }
.footer-nav .project-nav { display: flex; }
.footer-nav .project-submenu { top: auto; bottom: calc(100% + 6px); }
.site-header.is-fixed { position: fixed; background: #0b0f14f5; box-shadow: 0 1px #ffffff13; }
.site-header.is-fixed .header-inner { min-height: 82px; }
.site-header.is-fixed .brand { width: min(var(--header-logo-width, 196px), 148px); }
.site-header.is-fixed .brand img { width: 100%; }
.site-header--solid { position: relative; background: var(--charcoal); }
.menu-toggle { display: none; position: relative; z-index: 52; width: 44px; height: 44px; padding: 10px 4px; background: none; border: 0; }
.menu-toggle span { display: block; height: 1px; width: 30px; margin: 7px 0; background: currentColor; transition: transform .25s var(--ease); }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 700px; height: min(860px, max(700px, 88svh)); color: #fff; background: var(--navy); }
.why-hero, .services-hero, .refit-hero { min-height: 700px; height: min(860px, max(700px, 88svh)); }
.hero-gallery, .hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-gallery { z-index: -3; overflow: hidden; }
.hero-image { object-fit: cover; object-position: 40% var(--image-focus-y, center); opacity: 0; transition: opacity .9s ease; }
.hero-image.is-active { opacity: 1; }
.hero-shade { z-index: -2; background: linear-gradient(90deg, #080f18b5 0%, #080f185e 45%, transparent 80%), linear-gradient(0deg, #080f1859, transparent 40%, #080f1840); }
.hero-content { padding-top: 98px; padding-bottom: 110px; }
.hero-rule { display: block; width: 38px; height: 2px; margin-bottom: 24px; background: var(--orange); }
.why-hero .eyebrow,
.services-hero .eyebrow,
.refit-hero .eyebrow,
.process-hero .eyebrow,
.contact-hero .eyebrow,
.project-hero .eyebrow {
  color: #e0ded9;
  margin-bottom: 15px;
  letter-spacing: .19em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 17px;
}
.hero h1 { max-width: 740px; margin-bottom: 24px; font-size: clamp(42px, 4.6vw, 64px); line-height: 1.12; letter-spacing: -.025em; overflow-wrap: break-word; }
.hero-content > p { max-width: 520px; margin-bottom: 0; font-size: 17px; line-height: 1.65; color: #f5f3efe6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; min-width: 0; }
.hero-bottom { position: absolute; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; bottom: 31px; left: 0; right: 0; }
.hero-discover { display: flex; align-items: center; gap: 17px; font-size: 17px; text-transform: uppercase; letter-spacing: .13em; }
.scroll-line { position: relative; width: 1px; height: 28px; background: #ffffff4d; overflow: hidden; }
.scroll-line::after { position: absolute; top: -100%; content: ''; width: 1px; height: 100%; background: #fff; animation: scroll-line 2.8s ease-in-out 3; }
.hero-controls { display: flex; align-items: center; gap: 7px; margin-left: auto; flex-shrink: 0; }
.hero-controls button { position: relative; border: 0; padding: 12px 9px; background: none; color: #ffffffa6; font-size: 17px; transition: color .2s; }
.hero-controls button.is-active, .hero-controls button:hover { color: #fff; }
.hero-controls button::after { position: absolute; bottom: 5px; left: 9px; right: 9px; content: ''; height: 1px; background: var(--orange); transform: scaleX(0); transition: transform .3s ease; }
.hero-controls button.is-active::after { transform: scaleX(1); }
.hero-control-line { width: 45px; height: 1px; margin-left: 14px; background: var(--orange); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1.05fr .72fr; gap: 48px; align-items: center; }
.about-photo { position: relative; aspect-ratio: 1.08; }
.about-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 68% var(--image-focus-y, center); }
.image-corner { position: absolute; width: 28px; height: 28px; left: -8px; bottom: -8px; border-left: 1px solid var(--orange); border-bottom: 1px solid var(--orange); }
.about-copy .eyebrow { margin-bottom: 13px; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy > p:not(.eyebrow) { margin-bottom: 26px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.about-copy .button { min-width: 196px; }
.about-nav { align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border-left: 1px solid #c9c6c1; padding-left: 36px; }
.about-nav h3 { margin-bottom: 12px; font-family: var(--sans); font-size: 17px; text-transform: uppercase; font-weight: 500; }
.about-nav a { display: block; padding: 6px 0; color: #666a70; font-size: 17px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; transition: color .2s, transform .2s; }
.about-nav a:hover { color: var(--ink); transform: translateX(3px); }
.about-nav h3 a { display: inline; padding: 0; color: inherit; letter-spacing: inherit; text-transform: inherit; }
.about-nav h3 a:hover { color: inherit; transform: none; }

/* Services */
.services { background: linear-gradient(115deg, #11171e, var(--charcoal) 65%); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.service-card { display: block; border: 1px solid #ffffff29; transition: border-color .3s ease; min-width: 0; }
.service-image { aspect-ratio: 1.79; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; object-position: center var(--image-focus-y, 50%); transition: transform .7s var(--ease); }
.service-caption { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-height: 59px; padding: 13px 17px; }
.service-caption h3 { width: 100%; font-size: clamp(17px, 1.25vw, 18px); line-height: 1.3; letter-spacing: -.01em; overflow-wrap: break-word; }
.service-caption p { width: 100%; margin: 0; color: #c5c9ce; font-size: 17px; line-height: 1.5; overflow-wrap: break-word; word-break: break-word; }
.service-caption:not(:has(h3)):not(:has(p)) { display: none; }
.service-caption .arrow { width: 22px; flex-basis: 22px; }
@media (hover: hover) {
  .service-card:hover { border-color: #e67e2e99; }
  .service-card:hover .service-image img { transform: scale(1.035); }
  .service-card:hover .arrow { transform: translateX(3px); color: var(--orange); }
}

/* Statistics */
.statistics { position: relative; isolation: isolate; padding-block: 43px; border-top: 1px solid #ffffff1a; border-bottom: 1px solid #ffffff1a; overflow: hidden; }
.statistics-background { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0b0f14f5, #0b0f14cf), url('../images/hero.webp') center 67% / cover; }
.statistics-grid { display: grid; grid-template-columns: .9fr 1fr 1.35fr 1.05fr; }
.stat { padding: 0 35px; border-left: 1px solid #ffffff40; }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat:last-child { padding-right: 0; }
.stat-value { color: var(--orange); font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.1vw, 42px); line-height: 1.18; letter-spacing: -.02em; white-space: nowrap; }
.stat-value span { font-size: .76em; }
.stat-value--word { padding-block: 7px 8px; color: var(--sand); font-size: clamp(23px, 2.15vw, 31px); }
.stat-label { margin-top: 12px; font-size: 17px; line-height: 1.5; letter-spacing: .17em; text-transform: uppercase; }

/* Before / after projects. Input remains native, including keyboard support. */
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 31px 26px; }
.project-card { min-width: 0; }
.comparison { position: relative; width: 100%; aspect-ratio: 1.72; overflow: hidden; background: var(--stone); }
.comparison img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center var(--image-focus-y, 55%); }
[data-project-slug="ken10"] .comparison img,
[data-project-slug="ken10"] .project-photo img,
[data-project-slug="ken10"] .refit-photo img { object-position: center var(--image-focus-y, 62%); }
[data-project-slug="qm"] .comparison img,
[data-project-slug="qm"] .project-photo img,
[data-project-slug="qm"] .refit-photo img { object-position: center var(--image-focus-y, 42%); }
[data-project-slug="la-sirena"] .comparison img,
[data-project-slug="la-sirena"] .project-photo img,
[data-project-slug="la-sirena"] .refit-photo img { object-position: center var(--image-focus-y, 48%); }
.comparison-before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.comparison-label { position: absolute; z-index: 2; bottom: 11px; padding: 3px 9px; color: #fff; background: #0b0f14a8; font-size: 17px; line-height: 1.5; pointer-events: none; }
.comparison-label--before { left: 10px; }
.comparison-label--after { right: 10px; }
.comparison-line { position: absolute; z-index: 2; left: var(--split); top: 0; bottom: 0; width: 1px; background: #ffffffe6; transform: translateX(-50%); pointer-events: none; }
.comparison-handle { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; transform: translate(-50%, -50%); background: #f5f3eff2; color: var(--charcoal); font-family: Arial, sans-serif; font-size: 21px; letter-spacing: 1px; box-shadow: 0 1px 6px #0002; }
.comparison-hit { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.comparison-range { -webkit-appearance: none; appearance: none; position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; background: transparent; touch-action: pan-y; }
.project-photo { display: block; position: relative; width: 100%; aspect-ratio: 1.72; overflow: hidden; background: var(--navy); }
.project-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center var(--image-focus-y, center); }
.comparison-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 44px; height: 100%; background: transparent; }
.comparison-range::-moz-range-thumb { width: 44px; height: 100%; background: transparent; border: 0; }
.comparison:focus-within { outline: 2px solid var(--orange); outline-offset: 4px; }
.comparison:focus-within .comparison-handle { background: var(--orange); }
.comparison.is-static .comparison-range { display: none; }
.project-caption { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 14px; }
.project-caption h3 { font-size: 17px; line-height: 1.35; letter-spacing: -.025em; }
.project-caption p { margin-top: 3px; font-size: 17px; color: var(--muted); line-height: 1.5; }
.project-caption .arrow { flex-basis: 25px; width: 25px; }
.project-caption:hover .arrow { color: #a54b09; transform: translateX(3px); }
.projects-footnote { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 17px; letter-spacing: .025em; }
.comparison-hint span { margin-left: 7px; }

/* Process */
.process .section-heading { align-items: center; margin-bottom: 45px; }
.process-intro { color: #b6bbc1; font-size: 17px; line-height: 1.7; margin-left: auto; }
.process .text-link { margin-left: 18px; }
.process .text-link .arrow { color: var(--orange); }
.process-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.step-number { display: block; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #e67e2e99; color: var(--orange); font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; }
.process-steps h3 { font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.5; }
.process-steps p { margin-top: 10px; font-size: 17px; line-height: 1.65; color: #a3aab2; }

/* Per-page Get in Touch band. Shared structure; copy comes from the page. */
.site-cta { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 400px; overflow: hidden; color: #fff; }
.site-cta > img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center var(--image-focus-y, 55%); }
.site-cta::after { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #0b0f14e8, #0b0f1480 60%, #0b0f1420); }
.site-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 48px; }
.site-cta-copy { max-width: 640px; }
.site-cta-copy .eyebrow { margin-bottom: 10px; }
.site-cta h2 { margin: 0; font-size: clamp(28px, 3.2vw, 42px); }
.site-cta-copy p:not(.eyebrow) { margin: 14px 0 0; max-width: 540px; color: #e0e1e2; font-size: 17px; line-height: 1.8; }
.site-cta .button { flex-shrink: 0; }
.site-cta--centered .site-cta-inner { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.site-cta--centered .site-cta-copy { max-width: 720px; }
.site-cta--centered .site-cta-copy p:not(.eyebrow) { margin-inline: auto; }
.site-cta--centered .button { justify-content: center; }

/* Shared footer */
.site-footer { color: #f5f3efc9; background: var(--charcoal); padding-block: 43px 25px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(110px, var(--footer-logo-width, 176px)) auto; align-items: center; gap: 24px; }
.footer-nav { display: flex; flex-wrap: nowrap; gap: 0 16px; min-width: 0; }
.footer-nav a, .footer-nav .nav-label { padding-block: 8px; font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.footer-nav .submenu-toggle { height: 40px; }
.footer-nav a:hover { color: var(--orange); }
.footer-brand { width: var(--footer-logo-width, 176px); max-width: 100%; justify-self: center; }
.footer-brand img { width: 100%; height: auto; }
.back-top { justify-self: end; font-size: 17px; gap: 17px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 32px; padding-top: 18px; border-top: 1px solid #ffffff14; color: #9da3aa; }
.footer-bottom small, .footer-signoff { font-size: 17px; line-height: 1.6; }
.footer-signoff { letter-spacing: .06em; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 16px; }
.social-links { display: flex; align-items: center; gap: 3px; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; transition: color .2s; }
.social-links svg { display: block; width: 31px; height: 31px; }
.social-links a[aria-label="LinkedIn"] svg,
.social-links a[aria-label="Facebook"] svg,
.social-links a[aria-label="X"] svg,
.social-links a[aria-label="Vimeo"] svg { width: 26px; height: 26px; }
.social-links a:hover { color: var(--orange); }

/* Shared detail overlay. */
.detail-dialog { width: min(610px, calc(100% - 40px)); max-height: calc(100svh - 60px); padding: 0; border: 0; color: var(--ink); background: var(--sand); overflow: auto; }
.detail-dialog::backdrop { background: #070d16c9; }
.detail-inner { position: relative; padding: 66px 48px 48px; }
.dialog-close { position: absolute; top: 14px; right: 17px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 30px; line-height: 1; }
.dialog-close:hover { color: #a54b09; }
.detail-inner h2 { margin-bottom: 25px; }
.detail-inner > p:not(.eyebrow) { margin-bottom: 30px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.inner-page { min-height: 65vh; }
.prose { max-width: 850px; }
.prose h1 { margin-block: 24px; }
.prose p { max-width: 650px; }

/* Content is visible by default. Only elements actually observed below the fold animate. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; transform: translateY(18px); }
  .reveal-ready { transition: opacity .65s var(--ease) var(--reveal-delay, 0ms), transform .65s var(--ease) var(--reveal-delay, 0ms); }
  .reveal-visible { opacity: 1; transform: translateY(0); }
}
@keyframes scroll-line { 0%, 15% { top: -100%; } 70%, 100% { top: 100%; } }

/* Tablet */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .header-inner { gap: 25px; }
  .primary-nav { gap: 22px; }
  .primary-nav a, .primary-nav .nav-label { font-size: 17px; }
  .about-grid { grid-template-columns: 1fr 1fr .72fr; gap: 28px; }
  .about-nav { padding-left: 24px; }
  .about-copy h2 { font-size: 32px; }
  .stat { padding-inline: 24px; }
  .stat-value--word { padding-block: 6px; }
  .service-caption { padding-inline: 12px; }
  .service-caption h3 { font-size: 17px; }
  .process .section-heading { flex-wrap: wrap; }
  .process-intro { font-size: 17px; }
  .process-steps { gap: 18px; }
  .process-steps h3 { font-size: 17px; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(110px, min(var(--footer-logo-width, 176px), 176px)) auto; gap: 18px; }
  .footer-nav { flex-wrap: wrap; gap: 4px 14px; }
}
@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .hero, .why-hero, .services-hero, .refit-hero { min-height: 680px; height: 82svh; max-height: 840px; }
  .hero h1 { font-size: 52px; line-height: 1.12; letter-spacing: -.022em; }
  .header-inner { min-height: 104px; }
  .brand { width: min(var(--header-logo-width, 196px), 176px); }
  .primary-nav { gap: 16px; }
  .primary-nav a, .primary-nav .nav-label { font-size: 17px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-photo { aspect-ratio: .96; }
  .about-nav { grid-column: 1 / -1; padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 8px 24px; }
  .about-nav h3 { margin: 0 16px 0 0; }
  .services-grid, .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .service-caption { min-height: 68px; }
  .service-caption h3 { font-size: 17px; }
  .service-caption .arrow { display: none; }
  .statistics { padding-block: 0; }
  .statistics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat:first-child, .stat:last-child { padding: 29px 24px; border-left: 0; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid #ffffff26; }
  .stat:nth-child(n+3) { border-top: 1px solid #ffffff26; }
  .stat-value { font-size: 34px; }
  .stat-value--word { font-size: 21px; padding-block: 7px; }
  .stat-label { font-size: 17px; letter-spacing: .1em; }
  .project-caption h3 { font-size: 17px; }
  .project-caption p { font-size: 17px; }
  .project-caption .arrow { flex-basis: 20px; width: 20px; }
  .process .section-heading { gap: 25px; }
  .process-intro { margin-left: 0; }
  .process .text-link { margin-left: 0; }
  .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
  .process-steps h3 { font-size: 17px; }
  .footer-top { grid-template-columns: 1fr minmax(110px, min(var(--footer-logo-width, 176px), 176px)); }
  .footer-nav { flex-wrap: wrap; gap: 6px 16px; }
  .back-top { grid-column: 1; grid-row: 2; justify-self: start; }
  .footer-brand { grid-column: 2; grid-row: 1 / 3; }
}

/* Accessible tablet navigation at the 16px text floor. */
@media (max-width: 1100px) {
  .nav-enhanced .menu-toggle { display: block; }
  .nav-enhanced .primary-nav { position: fixed; z-index: 51; inset: 0; padding: 115px 32px 45px; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; background: var(--charcoal); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; overflow-y: auto; overscroll-behavior: contain; }
  .nav-enhanced .primary-nav a, .nav-enhanced .primary-nav .nav-label { padding-block: 14px; font-family: var(--serif); font-weight: 500; font-size: 26px; text-transform: none; letter-spacing: -.01em; }
  .nav-enhanced .primary-nav a::after { display: none; }
  .nav-enhanced .project-nav { width: 100%; }
  .nav-enhanced .project-nav-heading { justify-content: space-between; }
  .nav-enhanced .submenu-toggle { width: 44px; }
  .nav-enhanced .project-submenu { position: static; box-shadow: none; border: 0; border-left: 1px solid #ffffff30; margin: 8px 0 0 8px; padding: 0; background: transparent; }
  .nav-enhanced .project-submenu a { padding: 10px 18px; font-size: 20px; }
  .menu-open .primary-nav { visibility: visible; opacity: 1; transform: translateY(0); }
  .menu-open .menu-toggle { position: fixed; right: var(--gutter); top: 30px; }
  .menu-open .site-header.is-fixed .menu-toggle { top: 16px; }
}

/* Mobile */
@media (max-width: 700px) {
  :root { --gutter: 24px; --section-space: 62px; }
  html { scroll-padding-top: 80px; }
  h2 { font-size: 32px; }
  .header-inner { min-height: 96px; gap: 22px; }
  .brand { width: min(var(--header-logo-width, 196px), 152px); }
  .site-header.is-fixed .header-inner { min-height: 76px; }
  .site-header.is-fixed .brand { width: min(var(--header-logo-width, 196px), 124px); }
  .primary-nav { flex-wrap: wrap; justify-content: flex-end; gap: 0 15px; }
  .primary-nav a, .primary-nav .nav-label { min-height: 32px; font-size: 17px; }
  .hero, .why-hero, .services-hero, .refit-hero { min-height: 100svh; height: 100dvh; max-height: none; align-items: flex-start; }
  .hero-image { object-position: 38% var(--image-focus-y, center); }
  .hero-shade { background: linear-gradient(90deg, #0b0f14d1, #0b0f1466 75%), linear-gradient(0deg, #0b0f1466, transparent 35%, #0b0f1426); }
  .hero-content { padding-top: max(84px, calc(env(safe-area-inset-top, 0px) + 72px)); padding-bottom: 176px; }
  .hero-rule { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(34px, 8.4vw, 44px); line-height: 1.14; margin-bottom: 16px; letter-spacing: -.02em; }
  .hero-content > p { font-size: 17px; max-width: none; line-height: 1.65; margin-bottom: 0; }
  .desktop-break { display: none; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; }
  .hero-actions .button { width: 100%; min-width: 0; max-width: 100%; justify-content: center; padding-inline: 16px; gap: 0; letter-spacing: .06em; white-space: nowrap; }
  .hero-actions .button .arrow { display: none; }
  .hero-bottom { bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 12px)); left: 0; right: 0; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 12px; }
  .hero-discover { font-size: 17px; gap: 10px; }
  .hero-controls { gap: 4px; margin-left: 0; width: 100%; justify-content: flex-start; padding-top: 2px; }
  .hero-controls button { font-size: 17px; padding: 8px 10px; }
  .hero-control-line { width: 28px; margin-left: 8px; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-photo { aspect-ratio: 1.37; }
  .about-copy h2 br { display: none; }
  .about-copy h2 { font-size: 32px; max-width: 350px; }
  .about-copy > p:not(.eyebrow) { font-size: 17px; margin-bottom: 24px; }
  .about-nav { grid-column: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; padding-top: 25px; }
  .about-nav h3 { grid-column: 1 / -1; margin-bottom: 8px; font-size: 17px; }
  .about-nav a { font-size: 17px; padding-block: 8px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 22px; margin-bottom: 29px; }
  .section-heading h2 { max-width: 390px; }
  .section-heading .text-link { font-size: 17px; margin-bottom: 0; }
  .section-intro { font-size: 17px; }
  .section-intro br { display: none; }
  .services-grid, .projects-grid { grid-template-columns: 1fr; gap: 25px; }
  .service-image { aspect-ratio: 1.7; }
  .service-caption { padding: 14px 17px; min-height: 60px; }
  .service-caption h3 { font-size: 19px; }
  .service-caption .arrow { display: block; }
  .statistics { padding-block: 0; }
  .statistics-grid { grid-template-columns: 1fr 1fr; }
  .stat, .stat:first-child, .stat:last-child { min-width: 0; padding: 29px 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 24px; border-left: 1px solid #ffffff26; }
  .stat:nth-child(n+3) { border-top: 1px solid #ffffff26; }
  .stat-value { font-size: 37px; }
  .stat-value--word { font-size: clamp(20px, 5.3vw, 27px); padding-block: 7px 6px; }
  .stat-label { margin-top: 9px; font-size: 17px; letter-spacing: .1em; }
  .projects .section-heading h2 { max-width: 300px; }
  .projects-grid { gap: 29px; }
  .comparison { aspect-ratio: 1.72; }
  .project-caption { padding-top: 14px; }
  .project-caption h3 { font-size: 18px; }
  .project-caption p { font-size: 17px; }
  .project-caption .arrow { flex-basis: 26px; width: 26px; }
  .projects-footnote { flex-direction: column; gap: 6px; font-size: 17px; }
  .process .section-heading { align-items: flex-start; margin-bottom: 30px; }
  .process-intro { font-size: 17px; }
  .process .text-link { margin-left: 0; }
  .process-steps { grid-template-columns: 1fr; gap: 0; }
  .process-steps li { position: relative; display: grid; grid-template-columns: 45px 1fr; column-gap: 18px; padding-block: 21px; border-bottom: 1px solid #ffffff21; }
  .process-steps li:first-child { border-top: 1px solid #e67e2e80; }
  .step-number { grid-row: 1 / 3; margin: 0; padding: 0; border: 0; font-size: 27px; }
  .process-steps h3 { font-size: 17px; }
  .process-steps p { margin-top: 5px; font-size: 17px; }
  .process-steps p br { display: none; }
  .site-cta { min-height: 400px; }
  .site-cta > img { object-position: 63% var(--image-focus-y, center); }
  .site-cta-inner { align-items: flex-start; flex-direction: column; gap: 24px; padding-block: 40px; }
  .site-cta--centered .site-cta-inner { align-items: center; }
  .site-cta h2 { font-size: 32px; }
  .site-footer { padding-block: 36px 23px; padding-bottom: max(23px, env(safe-area-inset-bottom, 0px)); }
  .footer-top { display: flex; flex-direction: column; align-items: center; grid-template-columns: none; gap: 28px; }
  .footer-brand { order: -1; grid-column: auto; grid-row: auto; width: min(var(--footer-logo-width, 176px), 176px); max-width: min(72%, 220px); justify-self: center; align-self: center; }
  .footer-brand img { width: 100%; height: auto; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; width: 100%; }
  .footer-nav a, .footer-nav .nav-label { font-size: 17px; white-space: normal; line-height: 1.45; padding-block: 10px; }
  .footer-links { display: flex; justify-content: center; width: 100%; grid-column: auto; grid-row: auto; }
  .social-links { justify-content: center; width: 100%; gap: 8px; }
  .back-top { font-size: 17px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; margin-top: 25px; }
  .footer-bottom small, .footer-signoff { font-size: 17px; }
  .detail-inner { padding: 63px 27px 30px; }
  .detail-inner h2 { font-size: 31px; }
  .inner-page { min-height: 60vh; }
}
@media (max-width: 359px) {
  :root { --gutter: 20px; }
  .hero h1 { font-size: 32px; }
  .hero-actions .button { white-space: normal; letter-spacing: .04em; }
  .hero-discover { display: none; }
  .stat:nth-child(even) { padding-left: 15px; }
  .stat-value { font-size: 31px; }
  .stat-value--word { font-size: 19px; }
}
.page-copy { max-width: 760px; }
.page-copy h1 { margin-bottom: 24px; }
.page-copy h2, .page-copy h3 { margin-top: 28px; }
.page-copy h3 { font-size: 28px; line-height: 1.2; }
.page-copy p, .page-copy li { font-size: 17px; }
.page-copy p + p, .page-copy ul, .page-copy ol, .page-copy blockquote { margin-top: 16px; }
.page-copy a { text-decoration: underline; }
.page-figure { margin: 0 0 28px; }
.page-figure img { width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
