:root {
  --brand: #5d6f84;
  --brand-deep: #314156;
  --brand-dark: #202c3b;
  --ink: #1e242b;
  --muted: #6e747b;
  --paper: #f6f5f2;
  --paper-2: #eeece7;
  --white: #ffffff;
  --line: rgba(49,65,86,.16);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --container: 1280px;
  --header-h: 88px;
  --ease: cubic-bezier(.22,.75,.18,1);
}
nav.desktop-nav a {
    font-size: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
svg { display: block; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(calc(100% - 96px), var(--container)); margin: 0 auto; }
.section { padding: 96px 0; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 1000; background: #fff; padding: 12px 18px; border: 1px solid var(--line); }
.skip-link:focus { top: 20px; }
.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 300; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--brand); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 200; height: var(--header-h); transition: background .35s ease, box-shadow .35s ease, height .35s var(--ease); }
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255,255,255,.22); transition: background .3s ease; }
.site-header.scrolled { height: 76px; background: rgba(255,255,255,.97); box-shadow: 0 14px 40px rgba(26,34,44,.08); backdrop-filter: blur(16px); }
.site-header.scrolled::after { background: var(--line); }
.header-inner { width: min(calc(100% - 64px), 1480px); height: 100%; margin: 0 auto; display: grid; grid-template-columns: 238px 1fr auto; align-items: center; gap: 38px; }
.brand { display: flex; align-items: center; width: 220px; height: 62px; overflow: hidden; background: #fff; }
.brand img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease; }
.brand:hover img { opacity: .78; }
.desktop-nav { justify-self: center; display: flex; align-items: center; gap: 30px; }
.desktop-nav a { position: relative; padding: 12px 0; color: rgba(255,255,255,.92); font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: .035em; white-space: nowrap; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .28s var(--ease); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.site-header.scrolled .desktop-nav a { color: var(--brand-deep); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.icon-link { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); color: #fff; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.icon-link:hover { background: #fff; color: var(--brand-deep); }
.site-header.scrolled .icon-link { color: var(--brand-deep); border-color: var(--line); }
.site-header.scrolled .icon-link:hover { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); background: transparent; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle.active span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle.active span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0; z-index: 190; padding: 34px 32px 30px; background: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .35s var(--ease); overflow: auto; }
.mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav-top { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.mobile-nav nav { padding: 18px 0 28px; }
.mobile-nav nav a { display: grid; grid-template-columns: 42px 1fr; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 34px; font-weight: 500; line-height: 1.08; letter-spacing: .015em; }
.mobile-nav nav a span { font-family: var(--sans); font-size: 12px; color: var(--brand); }
.mobile-nav-foot { display: grid; gap: 12px; }
.mobile-nav-foot a { display: flex; gap: 10px; align-items: center; font-size: 15px; }

/* Buttons + links */
.btn { min-height: 56px; padding: 7px 8px 7px 22px; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid transparent; font-size: 13px; font-weight: 600; line-height: 1; transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; transition: transform .3s var(--ease), background .3s ease, color .3s ease; }
.btn .icon { width: 17px; height: 17px; }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn-brand { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.btn-brand .btn-icon { background: #fff; color: var(--brand-deep); }
.btn-brand:hover { background: #25364b; border-color: #25364b; }
.btn-light { background: #fff; color: var(--brand-deep); border-color: #fff; }
.btn-light .btn-icon { background: var(--brand-deep); color: #fff; }
.btn-light:hover { background: var(--paper); border-color: var(--paper); }
.btn-outline { background: transparent; color: var(--brand-deep); border-color: rgba(49,65,86,.34); }
.btn-outline .btn-icon { background: var(--brand-deep); color: #fff; }
.btn-outline:hover { border-color: var(--brand-deep); }
.btn-compact { min-height: 48px; padding: 5px 6px 5px 18px; font-size: 12.5px; }
.btn-compact .btn-icon { width: 36px; height: 36px; }
.site-header:not(.scrolled) .btn-brand { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); backdrop-filter: blur(10px); }
.site-header:not(.scrolled) .btn-brand .btn-icon { background: #fff; }
.site-header:not(.scrolled) .btn-brand:hover { background: #fff; color: var(--brand-deep); }
.link-arrow { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 5px; border-bottom: 1px solid rgba(49,65,86,.36); color: var(--brand-deep); font-size: 14px; font-weight: 600; line-height: 1.2; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translate(3px,-3px); }
.link-arrow-light { color: #fff; border-color: rgba(255,255,255,.4); }

.section-label { margin: 0; color: var(--brand-deep); font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.section-label.light { color: rgba(255,255,255,.78); }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(52px,5vw,78px); line-height: 1.02; letter-spacing: -.035em; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: stretch; overflow: hidden; color: #fff; background: var(--brand-dark); }
.hero-media { position: absolute; inset: -5%; background: url('images/herobanner.jpg') center 48%/cover no-repeat; transform: scale(1.03); will-change: transform; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,25,34,.72) 0%, rgba(17,25,34,.44) 50%, rgba(17,25,34,.1) 100%), linear-gradient(0deg, rgba(17,25,34,.52), transparent 45%); }
.hero-frame { position: absolute; inset: calc(var(--header-h) + 26px) 32px 30px; border: 1px solid rgba(255,255,255,.2); pointer-events: none; }
.hero-content { position: relative; z-index: 2; min-height: 100svh; padding-top: calc(var(--header-h) + 106px); padding-bottom: 132px; display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 80px; align-items: end; }
.hero-copy.hero-load { max-width: 100% !important; }
.hero h1 { max-width: none; margin: 24px 0 28px; font-size: clamp(74px,7.8vw,126px); line-height: 1.1; letter-spacing: -.055em; text-wrap: balance; }
.hero-lead { max-width: 680px; margin-bottom: 34px; color: rgba(255,255,255,.88); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-side-note { align-self: center; justify-self: end; width: 210px; display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.8; }
.side-line { width: 36px; height: 1px; margin-top: 13px; background: rgba(255,255,255,.62); }
.hero-bottom { position: absolute; z-index: 3; left: 32px; right: 32px; bottom: 30px; min-height: 76px; display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)) auto; align-items: center; background: rgba(17,25,34,.56); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.14); }
.hero-bottom-item { padding: 0 24px; border-right: 1px solid rgba(255,255,255,.14); }
.hero-bottom-item small { display: block; margin-bottom: 2px; color: rgba(255,255,255,.6); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.hero-bottom-item strong { font-size: 14px; font-weight: 500; }
.hero-scroll { height: 76px; padding: 0 26px; display: flex; align-items: center; gap: 18px; color: #fff; font-size: 13px; font-weight: 600; }
.hero-scroll .icon { width: 16px; transition: transform .3s var(--ease); }
.hero-scroll:hover .icon { transform: translateX(4px); }
.hero-load { opacity: 0; transform: translateY(26px); animation: heroIn .85s .35s both var(--ease); }
.hero-side-note.hero-load { animation-delay: .55s; }
.hero-bottom.hero-load { animation-delay: .7s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Intro */
.intro { background: var(--paper); }
.intro-layout { display: grid; grid-template-columns: .42fr 1.45fr .58fr; gap: 70px; align-items: start; }
.intro-mark { padding-top: 12px; display: grid; gap: 22px; }
.intro-mark > span { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--brand); font-size: 13px; }
.intro-statement h2 { margin: 0; max-width: 840px; font-size: clamp(52px, 5.4vw, 69px); line-height: .99; }
.intro-copy { padding-top: 0; }
.intro-copy p { margin-bottom: 28px; color: #515860; font-size: 18px; line-height: 1.75; }

/* Project feature */
.project-feature { background: #fff; }
.project-heading { display: grid; grid-template-columns: 1.2fr .55fr; gap: 84px; align-items: end; margin-bottom: 52px; }
.project-heading h2 { max-width: 850px; margin: 18px 0 0; font-size: clamp(52px, 5vw, 59px); line-height: 1.02; letter-spacing: -.035em; }
.project-intro { margin: 0 0 8px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.feature-visual { position: relative; width: min(calc(100% - 64px), 1580px); height: min(74vw, 820px); margin: 0 auto; overflow: hidden; background: var(--paper-2); }
.feature-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-visual:hover img { transform: scale(1.025); }
.feature-visual-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,25,34,.55), transparent 42%); }
.feature-tag { position: absolute; left: 34px; bottom: 30px; display: grid; gap: 6px; color: #fff; }
.feature-tag span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.72); }
.feature-tag strong { font-family: var(--serif); font-size: 32px; font-weight: 400; }
.visual-control { position: absolute; top: 26px; right: 26px; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); background: rgba(20,28,38,.25); color: #fff; backdrop-filter: blur(8px); cursor: pointer; transition: .3s ease; }
.visual-control:hover { background: #fff; color: var(--brand-deep); }
.project-data { padding-top: 42px; display: grid; grid-template-columns: .72fr 1.05fr .72fr; gap: 48px; align-items: start; }
.project-data-title { display: grid; grid-template-columns: 34px 1fr; gap: 18px; align-items: start; }
.project-data-title > span { color: var(--brand); font-size: 12px; padding-top: 10px; }
.project-data-title h3 { margin: 0; font-size: 38px; line-height: 1.08; }
.project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.project-facts > div { min-height: 92px; padding: 20px 0; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; border-bottom: 1px solid var(--line); }
.project-facts .icon { color: var(--brand); margin-top: 3px; }
.project-facts small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; }
.project-facts strong { font-size: 15px; font-weight: 600; }
.project-data-copy { color: var(--muted); font-size: 17px; line-height: 1.75; }

/* Service stories */
.service-story { background: var(--paper); }
.story-reverse { background: #fff; }
.story-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(420px,.78fr); gap: 96px; align-items: center; }
.story-reverse .story-media { order: 2; }
.story-reverse .story-copy { order: 1; }
.story-media { position: relative; min-height: 700px; }
.story-large { position: absolute; inset: 0 11% 8% 0; overflow: hidden; }
.story-large.portrait { inset: 0 0 7% 16%; }
.story-large img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.story-media:hover .story-large img { transform: scale(1.025); }
.story-small { position: absolute; right: 0; bottom: 0; width: 42%; background: #fff; padding: 8px; box-shadow: 0 20px 50px rgba(28,36,45,.12); }
.story-reverse .story-small { left: 0; right: auto; width: 48%; }
.story-small.landscape { bottom: 0; }
.story-small img { aspect-ratio: 1/1; object-fit: cover; }
.story-small span { display: block; padding: 12px 10px 8px; color: var(--muted); font-size: 12px; }
.story-copy h2 { margin: 18px 0 26px; font-size: clamp(50px, 4.6vw, 50px); }
.story-lead { color: #4c545d; font-size: 20px; line-height: 1.65; }
.feature-list { list-style: none; margin: 34px 0 36px; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; background: var(--white); color: var(--brand-deep); border: 1px solid var(--line); }
.story-reverse .feature-icon { background: var(--paper); }
.feature-list strong { display: block; margin-bottom: 4px; font-size: 16px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 15px; }
.spec-points { margin: 34px 0 36px; border-top: 1px solid var(--line); }
.spec-points > div { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec-points span { color: var(--brand); font-size: 12px; padding-top: 4px; }
.spec-points p { margin: 0; color: #515860; font-size: 16px; }

/* Image ribbon */
.image-ribbon { display: grid; grid-template-columns: 1fr 1.2fr 1fr; height: 540px; background: var(--brand-dark); }
.image-ribbon-item { position: relative; overflow: hidden; }
.image-ribbon-item + .image-ribbon-item { border-left: 1px solid rgba(255,255,255,.22); }
.image-ribbon-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s ease; }
.image-ribbon-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,23,31,.65), transparent 50%); }
.image-ribbon-item:hover img { transform: scale(1.04); filter: saturate(.88); }
.image-ribbon-item div { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 25px; display: flex; justify-content: flex-start; align-items: end; color: #fff; }
.image-ribbon-item span { color: rgba(255,255,255,.82); font-family: var(--sans); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }

/* Process */
.process { color: #fff; background: var(--brand-dark); }
.process-layout { display: grid; grid-template-columns: .62fr 1fr; gap: 100px; align-items: start; }
.process-intro { position: sticky; top: 120px; }
.process-intro h2 { margin: 18px 0 28px; font-family: var(--sans); font-size: clamp(56px, 5.5vw, 67px); font-weight: 500; letter-spacing: -.045em; }
.process-intro > p:not(.section-label) { max-width: 480px; margin-bottom: 30px; color: rgba(255,255,255,.68); font-size: 17px; }
.process-list { border-top: 1px solid rgba(255,255,255,.18); }
.process-item { min-height: 160px; display: grid; grid-template-columns: 50px 58px 1fr 30px; gap: 22px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.18); transition: background .3s ease, padding .3s var(--ease); }
.process-item:hover { padding-left: 18px; background: rgba(255,255,255,.045); }
.process-number { color: rgba(255,255,255,.45); font-size: 12px; }
.process-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.9); }
.process-item h3 { margin: 0 0 4px; font-size: 36px; line-height: 1; }
.process-item p { margin: 0; max-width: 560px; color: rgba(255,255,255,.62); font-size: 15px; }
.process-arrow { color: rgba(255,255,255,.5); transition: transform .3s var(--ease), color .3s ease; }
.process-item:hover .process-arrow { transform: translateX(6px); color: #fff; }

/* Gallery */
.gallery { background: #fff; }
.gallery-head { margin-bottom: 52px; display: grid; grid-template-columns: 1.15fr .55fr; gap: 80px; align-items: end; }
.gallery-head h2 { margin: 18px 0 0; max-width: 860px; }
.gallery-head > p { color: var(--muted); font-size: 17px; }
.gallery-grid { width: min(calc(100% - 64px), 1580px); margin: 0 auto; display: grid; grid-template-columns: 1.25fr .72fr .72fr; grid-template-rows: 360px 360px; gap: 12px; }
.gallery-card { position: relative; padding: 0; border: 0; background: var(--paper-2); overflow: hidden; cursor: pointer; text-align: left; }
.gallery-wide { grid-row: 1 / 3; }
.gallery-tall { grid-row: 1 / 3; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,26,35,.62), transparent 50%); transition: background .3s ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-card span { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: center; color: #fff; }
.gallery-card small { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.gallery-card .icon { flex: 0 0 auto; width: 20px; height: 20px; transition: transform .3s var(--ease); }
.gallery-card:hover .icon { transform: scale(1.18); }

/* Studio */
.studio { position: relative; min-height: 760px; padding: 0; display: grid; align-items: end; overflow: hidden; background: var(--brand-dark); color: #fff; }
.studio-media { position: absolute; inset: 0; }
.studio-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.studio-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,25,34,.84) 0%, rgba(18,25,34,.58) 50%, rgba(18,25,34,.2) 100%), linear-gradient(0deg, rgba(18,25,34,.45), transparent); }
.studio-content { position: relative; z-index: 2; padding: 120px 0 90px; display: grid; grid-template-columns: .55fr 1fr; gap: 90px; align-items: end; }
.studio-stat { align-self: end; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.32); }
.studio-stat strong { display: block; font-family: var(--serif); font-size: 86px; line-height: .95; font-weight: 400; }
.studio-stat > span { display: block; max-width: 220px; margin-top: 10px; color: rgba(255,255,255,.66); font-size: 14px; }
.studio-copy { max-width: 770px; }
.studio-copy h2 { margin: 18px 0 24px; }
.studio-copy > p:not(.section-label) { max-width: 660px; color: rgba(255,255,255,.74); font-size: 18px; }

/* Houston */
.houston { background: var(--paper); }
.houston-layout { display: grid; grid-template-columns: 1.15fr .55fr; gap: 90px; align-items: end; }
.houston-layout h2 { margin: 18px 0 0; max-width: 850px; }
.houston-layout > p { color: var(--muted); font-size: 18px; }
.area-strip { margin-top: 60px; display: grid; grid-template-columns: repeat(6,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area-strip span { padding: 22px 14px; text-align: center; border-right: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.area-strip span:last-child { border-right: 0; }

/* Contact */
.contact { background: #fff; }
.contact-layout { display: grid; grid-template-columns: .7fr 1fr; gap: 100px; align-items: start; }
.contact-copy { position: sticky; top: 120px; }
.contact-copy h2 { margin: 18px 0 26px; max-width: 620px; }
.contact-copy > p:not(.section-label) { max-width: 560px; color: var(--muted); font-size: 18px; }
.contact-direct { margin-top: 42px; border-top: 1px solid var(--line); }
.contact-direct a { display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-icon { width: 42px; height: 42px; display: grid; place-items: center; background: var(--paper); color: var(--brand-deep); }
.contact-direct small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.contact-direct strong { font-size: 15px; font-weight: 600; }
.project-form { padding: 42px; background: var(--paper); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.project-form label { display: grid; gap: 9px; }
.project-form label > span { color: var(--brand-deep); font-size: 12px; font-weight: 600; }
.form-full { grid-column: 1 / -1; }
.project-form input, .project-form select, .project-form textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(49,65,86,.28); border-radius: 0; background: transparent; color: var(--ink); outline: none; font-size: 16px; transition: border-color .25s ease; }
.project-form textarea { resize: vertical; }
.project-form input:focus, .project-form select:focus, .project-form textarea:focus { border-color: var(--brand-deep); }
.form-foot { margin-top: 34px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.form-foot p { margin: 0; max-width: 420px; color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer { background: #172231; color: #fff; padding-top: 84px; }
.footer-top { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; padding-bottom: 74px; }
.footer-brand img { width: 240px; max-width: 100%; background: #fff; padding: 4px; }
.footer-brand p { max-width: 360px; margin: 24px 0 0; color: rgba(255,255,255,.62); font-size: 15px; }
.footer-nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 46px; }
.footer-nav h3 { margin: 0 0 18px; font-family: var(--sans); color: rgba(255,255,255,.48); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav a, .footer-nav span { display: block; width: fit-content; margin: 9px 0; color: rgba(255,255,255,.82); font-size: 14px; }
.footer-nav a { position: relative; }
.footer-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .28s var(--ease); }
.footer-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-cta { min-height: 220px; padding: 44px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-cta div { display: grid; gap: 8px; }
.footer-cta span { color: rgba(255,255,255,.5); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-cta strong { font-family: var(--serif); font-size: clamp(40px,4.7vw,72px); font-weight: 400; line-height: 1; }
.footer-cta-link { width: 74px; height: 74px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); transition: .3s ease; }
.footer-cta-link .icon { width: 24px; height: 24px; }
.footer-cta-link:hover { background: #fff; color: var(--brand-deep); transform: translateY(-3px); }
.footer-bottom { min-height: 76px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 20px; color: rgba(255,255,255,.48); font-size: 12px; }
.footer-bottom > span:nth-child(2) { text-align: center; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.76); }
.footer-bottom .icon { width: 14px; height: 14px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; padding: 64px; display: grid; place-items: center; background: rgba(10,15,21,.95); opacity: 0; visibility: hidden; transition: .3s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-inner { width: min(1100px,90vw); }
.lightbox-inner img { max-height: 76vh; width: 100%; object-fit: contain; background: #111; }
.lightbox-caption { padding-top: 14px; display: flex; justify-content: space-between; color: #fff; }
.lightbox-caption small { color: rgba(255,255,255,.52); }
.lightbox-caption strong { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.lightbox-close { position: fixed; top: 24px; right: 24px; width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; cursor: pointer; }

/* Reveals */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .22s; }

@media (max-width: 1200px) {
  .header-inner { width: min(calc(100% - 40px), 1380px); grid-template-columns: 190px 1fr auto; gap: 24px; }
  .brand { width: 178px; }
  .desktop-nav { gap: 20px; }
  .desktop-nav a { font-size: 12px; }
  .header-actions .icon-link { display: none; }
  .story-grid { gap: 62px; }
  .story-media { min-height: 620px; }
  .project-data { grid-template-columns: .8fr 1fr; }
  .project-data-copy { grid-column: 2; }
  .process-layout { gap: 64px; }
}

@media (max-width: 980px) {
  :root { --header-h: 78px; }
  .container { width: min(calc(100% - 48px), var(--container)); }
  .section { padding: 96px 0; }
  .header-inner { width: calc(100% - 36px); grid-template-columns: 180px 1fr auto; }
  .desktop-nav, .header-actions { display: none; }
  .brand { width: 176px; height: 54px; }
  .menu-toggle { display: block; justify-self: end; color: #fff; border-color: rgba(255,255,255,.42); }
  .site-header.scrolled .menu-toggle { color: var(--brand-deep); border-color: var(--line); }
  .mobile-nav { inset-top: var(--header-h); }
  .hero-frame { inset: calc(var(--header-h) + 18px) 18px 18px; }
  .hero-content { padding-top: calc(var(--header-h) + 80px); padding-bottom: 160px; grid-template-columns: 1fr; align-items: end; }
  .hero-side-note { display: none; }
  .hero-bottom { left: 18px; right: 18px; bottom: 18px; grid-template-columns: repeat(3,1fr); }
  .hero-scroll { display: none; }
  .hero h1 { font-size: clamp(64px,12vw,98px); }
  .intro-layout { grid-template-columns: .32fr 1fr; gap: 42px; }
  .intro-copy { grid-column: 2; max-width: 640px; }
  .project-heading, .gallery-head, .houston-layout { grid-template-columns: 1fr; gap: 24px; }
  .project-data { grid-template-columns: 1fr; gap: 30px; }
  .project-data-copy { grid-column: auto; max-width: 620px; }
  .story-grid { grid-template-columns: 1fr; gap: 58px; }
  .story-reverse .story-media, .story-reverse .story-copy { order: initial; }
  .story-media { min-height: 680px; }
  .story-copy { max-width: 760px; }
  .image-ribbon { height: auto; grid-template-columns: 1fr; }
  .image-ribbon-item { height: 430px; }
  .image-ribbon-item + .image-ribbon-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .process-layout { grid-template-columns: 1fr; gap: 50px; }
  .process-intro { position: static; max-width: 760px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 520px 420px; }
  .gallery-wide { grid-row: 1; grid-column: 1 / 3; }
  .gallery-tall { grid-row: 2; grid-column: 1; }
  .studio-content { grid-template-columns: .45fr 1fr; gap: 50px; }
  .area-strip { grid-template-columns: repeat(3,1fr); }
  .area-strip span:nth-child(3) { border-right: 0; }
  .area-strip span:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .contact-layout { grid-template-columns: 1fr; gap: 50px; }
  .contact-copy { position: static; }
  .footer-top { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 78px 0; }
  h2 { font-size: clamp(44px,13vw,60px); }
  .header-inner { width: calc(100% - 24px); grid-template-columns: 154px 1fr auto; }
  .brand { width: 150px; height: 48px; }
  .mobile-nav { padding-left: 20px; padding-right: 20px; }
  .mobile-nav nav a { font-size: 30px; }
  .hero { min-height: 880px; }
  .hero-media { background-position: 58% center; }
  .hero-content { padding-top: 170px; padding-bottom: 160px; }
  .hero h1 { font-size: clamp(58px,18vw,82px); line-height: .92; }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-bottom { grid-template-columns: 1fr; min-height: auto; }
  .hero-bottom-item { min-height: 64px; display: flex; align-items: center; justify-content: space-between; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-frame { display: none; }
  .intro-layout { grid-template-columns: 1fr; gap: 30px; }
  .intro-copy { grid-column: auto; }
  .intro-statement h2 { font-size: clamp(44px,13vw,62px); }
  .project-heading { margin-bottom: 34px; }
  .feature-visual { width: calc(100% - 16px); height: 74vh; min-height: 560px; }
  .feature-tag { left: 20px; bottom: 18px; }
  .feature-tag strong { font-size: 26px; }
  .visual-control { top: 16px; right: 16px; width: 46px; height: 46px; }
  .project-data-title { grid-template-columns: 28px 1fr; }
  .project-data-title h3 { font-size: 34px; }
  .project-facts { grid-template-columns: 1fr; }
  .story-media { min-height: 500px; }
  .story-large { inset: 0 8% 10% 0; }
  .story-large.portrait { inset: 0 0 10% 10%; }
  .story-small, .story-reverse .story-small { width: 48%; padding: 6px; }
  .story-small span { font-size: 11px; padding: 8px 6px 4px; }
  .story-copy h2 { font-size: clamp(44px,13vw,60px); }
  .story-lead { font-size: 18px; }
  .image-ribbon-item { height: 360px; }
  .process-item { min-height: 150px; grid-template-columns: 36px 46px 1fr; gap: 14px; }
  .process-arrow { display: none; }
  .process-item h3 { font-size: 31px; }
  .gallery-grid { width: calc(100% - 16px); grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-wide, .gallery-tall { grid-column: auto; grid-row: auto; }
  .gallery-card { min-height: 520px; }
  .gallery-card:nth-child(3), .gallery-card:nth-child(4) { min-height: 380px; }
  .studio { min-height: 850px; }
  .studio-content { padding: 100px 0 72px; grid-template-columns: 1fr; gap: 40px; }
  .studio-stat strong { font-size: 72px; }
  .area-strip { grid-template-columns: 1fr 1fr; }
  .area-strip span:nth-child(3) { border-right: 1px solid var(--line); }
  .area-strip span:nth-child(even) { border-right: 0; }
  .area-strip span { border-bottom: 1px solid var(--line); }
  .area-strip span:nth-last-child(-n+2) { border-bottom: 0; }
  .project-form { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: auto; }
  .form-foot { align-items: stretch; flex-direction: column-reverse; }
  .form-foot .btn { width: 100%; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-nav > div:last-child { grid-column: 1 / -1; }
  .footer-cta { align-items: flex-start; flex-direction: column; }
  .footer-cta-link { width: 60px; height: 60px; }
  .footer-bottom { padding: 20px 0; grid-template-columns: 1fr; min-height: auto; }
  .footer-bottom > span:nth-child(2) { text-align: left; }
  .lightbox { padding: 54px 14px 24px; }
}

@media (hover:none) {
  .btn:hover { transform: none; }
  .story-media:hover .story-large img, .feature-visual:hover img, .gallery-card:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal,.hero-load { opacity: 1; transform: none; }
}

/* ==========================================================================\n   Client refinement pass — tighter spacing, logo-led type, cleaner hero/header\n   ========================================================================== */
:root {
  --serif: "Bodoni Moda", Didot, "Times New Roman", serif;
  --sans: "Manrope", Arial, sans-serif;
  --header-h: 82px;
}

body { font-size: 16px; line-height: 1.62; }
.section { padding: 94px 0; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; }
h1,h2,h3 { letter-spacing: -.025em; }
h2 { font-size: clamp(46px, 4.2vw, 66px); line-height: 1.04; }

/* Header — let the identity sit in the page instead of inside a white box */
.site-header { height: var(--header-h); background: linear-gradient(180deg, rgba(14,21,29,.38), rgba(14,21,29,0)); }
.site-header::after { left: 28px; right: 28px; background: rgba(255,255,255,.24); }
.site-header.scrolled { height: 72px; background: rgba(255,255,255,.96); box-shadow: 0 10px 34px rgba(24,35,47,.07); }
.header-inner { width: min(calc(100% - 72px), 1460px); grid-template-columns: 220px 1fr auto; gap: 34px; }
.brand { width: 214px; height: 58px; overflow: visible; background: transparent; }
.brand img { object-fit: contain; filter: brightness(0) invert(1); opacity: .98; transition: filter .3s ease, opacity .25s ease; }
.site-header.scrolled .brand img { filter: none; }
.desktop-nav { gap: 27px; }
.desktop-nav a { padding: 11px 0; font-size: 12px; font-weight: 500; letter-spacing: .035em; }
.header-actions { gap: 10px; }
.icon-link { width: 44px; height: 44px; border-radius: 0; }
.btn-compact { min-height: 44px; padding: 4px 5px 4px 17px; }
.btn-compact .btn-icon { width: 34px; height: 34px; }

/* Buttons — quieter, more architectural proportions */
.btn { min-height: 52px; padding: 6px 7px 6px 20px; gap: 18px; font-size: 12.5px; letter-spacing: .01em; }
.btn-icon { width: 38px; height: 38px; }
.btn .icon { width: 15px; height: 15px; }

/* Hero — unique media from the client's supplied set */
.hero { min-height: 760px; height: 100svh; max-height: 960px; }
.hero-media { inset: -3%; background-image: url('images/herobanner.jpg'); background-position: center 54%; transform: scale(1.02); }
.hero-overlay { background: linear-gradient(90deg, rgba(14,22,31,.72) 0%, rgba(14,22,31,.43) 50%, rgba(14,22,31,.12) 78%, rgba(14,22,31,.16) 100%), linear-gradient(0deg, rgba(14,22,31,.56) 0%, transparent 46%); }
.hero-frame { display: none; }
.hero-content { min-height: 100%; padding-top: calc(var(--header-h) + 84px); padding-bottom: 126px; grid-template-columns: 1fr; align-items: end; }
.hero-copy.hero-load { max-width: 780px !important; }
.hero h1.hero-wordmark {
  width: min(100%, 760px);
  margin: 18px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  text-transform: uppercase;
}
.hero-wordmark-name {
  font-family: Didot, "GFS Didot", "Bodoni MT", serif;
  font-size: clamp(78px, 9vw, 128px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.045em;
}
.hero-wordmark-subtitle {
  margin-top: 18px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(16px, 1.8vw, 26px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: .18em;
}
.hero-lead { max-width: 650px; margin-bottom: 28px; font-size: 17px; line-height: 1.7; }
.hero-actions { gap: 22px; }
.hero-bottom { left: 50%; right: auto; bottom: 0; width: min(calc(100% - 96px), var(--container)); min-height: 74px; transform: translateX(-50%); background: transparent; backdrop-filter: none; border-top: 1px solid rgba(255,255,255,.26); }
.hero-bottom.hero-load { animation-name: heroBottomIn; }
@keyframes heroBottomIn {
  from { opacity: 0; transform: translate(-50%, 26px); }
  to { opacity: 1; transform: translateX(-50%); }
}
.hero-bottom-item { padding: 0 22px 0 0; margin-right: 22px; }
.hero-bottom-item small { font-size: 10px; }
.hero-bottom-item strong { font-size: 13px; }
.hero-scroll { height: 74px; padding: 0 0 0 26px; }

/* Intro — same content, no decorative number, cleaner editorial rhythm */
.intro { background: #f4f3ef; border-bottom: 1px solid var(--line); }
.intro-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 70px; align-items: start; }
.intro-mark { padding-top: 10px; display: block; }
.intro-mark::after { content: ""; display: block; width: 56px; height: 1px; margin-top: 24px; background: var(--brand); }
.intro-statement { grid-column: 2; }
.intro-statement h2 { max-width: 920px; margin: 0; font-size: clamp(44px, 4.2vw, 64px); line-height: 1.05; }
.intro-copy { grid-column: 2; width: min(100%, 650px); margin-left: auto; padding-top: 28px; border-top: 1px solid rgba(49,65,86,.18); }
.intro-copy p { margin-bottom: 22px; color: #505963; font-size: 17px; line-height: 1.72; }

/* Global spacing clean-up */
.project-heading { gap: 64px; margin-bottom: 38px; }
.project-heading h2 { margin-top: 14px; font-size: clamp(46px, 4.2vw, 62px); }
.feature-visual { height: min(66vw, 760px); }
.project-data { padding-top: 34px; gap: 38px; }
.service-story { padding-top: 88px; padding-bottom: 88px; }
.story-grid { gap: 68px; }
.story-media { min-height: 610px; }
.story-copy h2 { margin: 14px 0 20px; font-size: clamp(44px, 4vw, 58px); }
.story-lead { font-size: 18px; }
.feature-list { margin: 26px 0 30px; }
.feature-list li { padding: 18px 0; }
.spec-points { margin: 26px 0 30px; }
.spec-points > div { padding: 17px 0; }
.image-ribbon { height: 460px; }
.process-layout { gap: 72px; }
.process-intro h2 { margin: 14px 0 22px; font-size: clamp(48px, 4.6vw, 64px); }
.process-item { min-height: 138px; }
.gallery-head { margin-bottom: 38px; gap: 64px; }
.gallery-grid { grid-template-rows: 330px 330px; }
.studio { min-height: 680px; }
.studio-content { padding: 88px 0 72px; gap: 72px; }
.houston-layout { gap: 72px; }
.area-strip { margin-top: 42px; }
.contact-layout { gap: 72px; }
.contact-copy h2 { margin: 14px 0 20px; }
.contact-direct { margin-top: 30px; }
.project-form { padding: 36px; }
.site-footer { padding-top: 64px; }
.footer-top { gap: 72px; padding-bottom: 56px; }
.footer-brand img { width: 250px; background: transparent; padding: 0; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 18px; }
.footer-cta { min-height: 180px; padding: 34px 0; }
.footer-cta strong { font-size: clamp(34px, 4vw, 58px); }

@media (max-width: 1200px) {
  .header-inner { width: min(calc(100% - 44px), 1380px); grid-template-columns: 188px 1fr auto; gap: 22px; }
  .brand { width: 184px; height: 52px; }
  .desktop-nav { gap: 19px; }
  .desktop-nav a { font-size: 11.5px; }
  .intro-layout { grid-template-columns: 190px minmax(0,1fr); gap: 48px; }
  .story-grid { gap: 52px; }
}

@media (max-width: 980px) {
  :root { --header-h: 74px; }
  .section { padding: 78px 0; }
  .header-inner { grid-template-columns: 172px 1fr auto; width: calc(100% - 34px); }
  .brand { width: 168px; height: 48px; }
  .hero { min-height: 760px; height: 92svh; max-height: none; }
  .hero-content { padding-top: calc(var(--header-h) + 72px); padding-bottom: 130px; }
  .hero-bottom { width: calc(100% - 48px); grid-template-columns: repeat(3, 1fr); }
  .intro-layout { grid-template-columns: 1fr; gap: 24px; }
  .intro-statement, .intro-copy { grid-column: 1; }
  .intro-mark::after { margin-top: 18px; }
  .intro-copy { width: 100%; margin-left: 0; padding-top: 24px; }
  .story-media { min-height: 590px; }
  .image-ribbon-item { height: 390px; }
  .gallery-grid { grid-template-rows: 460px 390px; }
  .studio-content { padding: 78px 0 62px; }
}

@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .section { padding: 62px 0; }
  h2 { font-size: clamp(39px, 11.5vw, 54px); }
  .site-header::after { left: 16px; right: 16px; }
  .header-inner { width: calc(100% - 24px); grid-template-columns: 150px 1fr auto; }
  .brand { width: 146px; height: 44px; }
  .hero { min-height: 720px; height: 100svh; }
  .hero-media { background-position: 62% center; }
  .hero-content { padding-top: 138px; padding-bottom: 150px; }
  .hero-lead { font-size: 16px; line-height: 1.62; }
  .hero-bottom { width: calc(100% - 32px); grid-template-columns: 1fr; bottom: 10px; }
  .hero-bottom-item { min-height: 54px; margin-right: 0; padding-right: 0; }
  .intro-statement h2 { font-size: clamp(38px, 11vw, 52px); }
  .project-heading { margin-bottom: 28px; }
  .feature-visual { height: 68vh; min-height: 500px; }
  .project-data { padding-top: 26px; }
  .service-story { padding-top: 62px; padding-bottom: 62px; }
  .story-media { min-height: 460px; }
  .story-copy h2 { font-size: clamp(39px, 11.5vw, 52px); }
  .image-ribbon-item { height: 320px; }
  .process-item { min-height: 128px; }
  .gallery-head { margin-bottom: 28px; }
  .gallery-card { min-height: 460px; }
  .studio { min-height: 760px; }
  .studio-content { padding: 70px 0 54px; }
  .area-strip { margin-top: 32px; }
  .project-form { padding: 24px 18px; }
  .site-footer { padding-top: 52px; }
  .footer-top { gap: 42px; padding-bottom: 44px; }
  .footer-cta { min-height: 160px; }
}

/* Premium editorial section refinements */
.intro-premium{display:grid;grid-template-columns:1.05fr .95fr;gap:90px;align-items:center}
.intro-image{height:560px;overflow:hidden}
.intro-image img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease}
.intro-image:hover img{transform:scale(1.04)}
.intro-content h2{max-width:620px;margin:18px 0 35px;font-size:clamp(42px,4.2vw,68px);line-height:1.05}
.intro-content>p:not(.section-label){max-width:470px;font-size:18px;line-height:1.7}
.spec-modern{display:grid;grid-template-columns:.95fr 1.05fr;gap:80px;align-items:center}
.spec-image{height:680px;overflow:hidden}
.spec-image img{width:100%;height:100%;object-fit:cover}
.spec-points.clean{margin-top:40px}
.spec-points.clean div{padding:24px 0;display:flex;gap:35px;border-top:1px solid #ddd}
.spec-points.clean span{min-width:35px;color:#6c7685;font-size:14px}
@media(max-width:900px){.intro-premium,.spec-modern{grid-template-columns:1fr;gap:35px}.intro-image,.spec-image{height:420px}.intro-content h2{font-size:38px}}

/* Selected project details */
.project-data {
  margin-top: 34px;
  padding-top: 0;
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(500px, 1.45fr) minmax(260px, .8fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.project-data-title {
  min-height: 240px;
  padding: 34px 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  background: var(--brand-dark);
  color: var(--white);
}

.project-data-title > span {
  padding-top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

.project-data-title > span::after {
  content: "";
  width: 42px;
  height: 1px;
  background: rgba(255,255,255,.34);
}

.project-data-title h3 {
  max-width: 260px;
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 3vw, 45px);
  line-height: 1.04;
  letter-spacing: -.025em;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
  background: var(--white);
}

.project-facts > div {
  min-height: 120px;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-facts > div:nth-child(even) { border-right: 0; }
.project-facts > div:nth-last-child(-n+2) { border-bottom: 0; }

.project-facts .icon {
  width: 38px;
  height: 38px;
  margin-top: 0;
  padding: 10px;
  background: var(--paper);
  color: var(--brand-deep);
}

.project-facts small {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.project-facts strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.project-data-copy {
  margin: 0;
  padding: 36px 34px;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--line);
  background: var(--paper);
  color: #555e67;
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 1180px) {
  .project-data {
    grid-template-columns: minmax(250px, .75fr) minmax(0, 1.4fr);
  }

  .project-data-copy {
    grid-column: 1 / -1;
    padding: 26px 32px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .project-data {
    margin-top: 20px;
    grid-template-columns: 1fr;
  }

  .project-data-title {
    min-height: 210px;
    padding: 28px 26px 30px;
  }

  .project-data-title h3 { max-width: 320px; }

  .project-data-copy {
    grid-column: auto;
    padding: 26px;
  }
}

@media (max-width: 520px) {
  .project-facts { grid-template-columns: 1fr; }

  .project-facts > div,
  .project-facts > div:nth-child(even),
  .project-facts > div:nth-last-child(-n+2) {
    min-height: 96px;
    padding: 20px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-facts > div:last-child { border-bottom: 0; }
}

/* Featured project editorial spread */
.project-feature {
  padding: 110px 0;
  background: #f1f2f0;
}

.project-feature-top {
  margin-bottom: 24px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(49,65,86,.26);
}

.project-feature-index {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-showcase {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(400px, .85fr) minmax(0, 1.45fr);
  overflow: hidden;
  background: var(--brand-dark);
}

.project-showcase .feature-visual {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 760px;
  margin: 0;
}

.project-showcase .feature-visual img {
  object-position: 49% center;
}

.project-showcase .feature-visual-shade {
  background: linear-gradient(90deg, transparent 55%, rgba(20,28,38,.22)), linear-gradient(0deg, rgba(18,25,34,.2), transparent 32%);
}

.project-showcase .visual-control {
  top: 24px;
  right: 24px;
}

.project-panel {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--brand-dark);
  color: var(--white);
}

.project-panel-main {
  padding: 42px 40px 38px;
  display: flex;
  flex-direction: column;
}

.project-location {
  padding-bottom: 22px;
  display: grid;
  gap: 5px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.project-location span {
  color: rgba(255,255,255,.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-location strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.project-panel h2 {
  margin: 38px 0 20px;
  color: var(--white);
  font-size: clamp(42px, 3.5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.025em;
}

.project-panel .project-intro {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.75;
}

.project-statement {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.project-statement h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 29px;
  line-height: 1.08;
}

.project-statement p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.7;
}

.project-showcase .project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.18);
  background: #29394b;
}

.project-showcase .project-facts > div,
.project-showcase .project-facts > div:nth-child(even),
.project-showcase .project-facts > div:nth-last-child(-n+2) {
  min-height: 104px;
  padding: 22px 20px;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.project-showcase .project-facts > div:nth-child(even) { border-right: 0; }
.project-showcase .project-facts > div:nth-last-child(-n+2) { border-bottom: 0; }

.project-showcase .project-facts .icon {
  width: 22px;
  height: 22px;
  padding: 0;
  background: transparent;
  color: rgba(255,255,255,.66);
}

.project-showcase .project-facts small {
  margin-bottom: 3px;
  color: rgba(255,255,255,.5);
  font-size: 9px;
  letter-spacing: .1em;
}

.project-showcase .project-facts strong {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1080px) {
  .project-showcase {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .project-showcase .feature-visual {
    grid-column: 1;
    grid-row: 1;
    height: min(68vw, 680px);
    min-height: 540px;
  }

  .project-panel {
    grid-column: 1;
    grid-row: 2;
  }

  .project-panel-main { padding: 42px; }

  .project-panel h2 { max-width: 760px; }

  .project-panel .project-intro { max-width: 700px; }

  .project-statement {
    margin-top: 38px;
    display: grid;
    grid-template-columns: minmax(240px, .65fr) minmax(0, 1fr);
    gap: 38px;
    align-items: start;
  }

  .project-statement h3 { margin-bottom: 0; }

  .project-showcase .project-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .project-showcase .project-facts > div,
  .project-showcase .project-facts > div:nth-child(even),
  .project-showcase .project-facts > div:nth-last-child(-n+2) {
    border-right: 1px solid rgba(255,255,255,.14);
    border-bottom: 0;
  }

  .project-showcase .project-facts > div:last-child { border-right: 0; }
}

@media (max-width: 700px) {
  .project-feature { padding: 70px 0; }

  .project-feature-top { margin-bottom: 18px; }

  .project-showcase .feature-visual {
    height: 66vh;
    min-height: 430px;
    max-height: 560px;
  }

  .project-panel-main { padding: 30px 26px 34px; }

  .project-panel h2 {
    margin-top: 30px;
    font-size: clamp(40px, 12vw, 52px);
  }

  .project-statement {
    margin-top: 30px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-showcase .project-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .project-showcase .project-facts > div,
  .project-showcase .project-facts > div:nth-child(even),
  .project-showcase .project-facts > div:nth-last-child(-n+2) {
    border-right: 1px solid rgba(255,255,255,.14);
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .project-showcase .project-facts > div:nth-child(even) { border-right: 0; }
  .project-showcase .project-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 420px) {
  .project-showcase .project-facts { grid-template-columns: 1fr; }

  .project-showcase .project-facts > div,
  .project-showcase .project-facts > div:nth-child(even),
  .project-showcase .project-facts > div:nth-last-child(-n+2) {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .project-showcase .project-facts > div:last-child { border-bottom: 0; }
}

/* Featured project: light editorial composition */
.project-feature {
  padding: 104px 0;
  background: var(--white);
}

.project-feature-top {
  margin-bottom: 30px;
  padding: 0 0 16px;
  border-top: 0;
  border-bottom: 1px solid rgba(49,65,86,.24);
}

.project-showcase {
  min-height: 0;
  grid-template-columns: minmax(360px, .78fr) minmax(0, 1.35fr);
  grid-template-rows: minmax(650px, auto) auto;
  overflow: visible;
  background: transparent;
}

.project-showcase .feature-visual {
  grid-column: 2;
  grid-row: 1;
  height: 100%;
  min-height: 650px;
}

.project-showcase .feature-visual img {
  object-position: center center;
}

.project-showcase .feature-visual-shade {
  background: linear-gradient(0deg, rgba(16,23,31,.2), transparent 36%);
}

.project-panel {
  grid-column: 1;
  grid-row: 1;
  display: block;
  background: #f2f2ef;
  color: var(--ink);
}

.project-panel-main {
  height: 100%;
  padding: 48px 44px 44px;
  display: flex;
  flex-direction: column;
}

.project-location {
  padding-bottom: 20px;
  border-bottom-color: rgba(49,65,86,.18);
}

.project-location span {
  color: var(--brand);
}

.project-location strong {
  color: var(--brand-deep);
  font-size: 22px;
}

.project-panel h2 {
  margin: 36px 0 20px;
  color: var(--brand-dark);
  font-size: clamp(42px, 3.55vw, 56px);
  line-height: 1.01;
}

.project-panel .project-intro {
  color: #5d646b;
  font-size: 16px;
  line-height: 1.72;
}

.project-statement {
  margin-top: auto;
  padding-top: 26px;
  display: block;
  border-top-color: rgba(49,65,86,.18);
}

.project-statement h3 {
  margin: 0 0 12px;
  color: var(--brand-deep);
  font-size: 30px;
}

.project-statement p {
  color: #676e74;
  font-size: 13px;
  line-height: 1.68;
}

.project-showcase > .project-facts {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 0;
  background: var(--brand-dark);
}

.project-showcase > .project-facts > div,
.project-showcase > .project-facts > div:nth-child(even),
.project-showcase > .project-facts > div:nth-last-child(-n+2) {
  min-height: 118px;
  padding: 26px 30px;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.15);
}

.project-showcase > .project-facts > div:last-child { border-right: 0; }

.project-showcase > .project-facts .icon {
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  color: rgba(255,255,255,.66);
}

.project-showcase > .project-facts small {
  margin-bottom: 4px;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  letter-spacing: .09em;
}

.project-showcase > .project-facts strong {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 1080px) {
  .project-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .project-showcase .feature-visual {
    grid-column: 1;
    grid-row: 1;
    height: min(68vw, 650px);
    min-height: 520px;
  }

  .project-panel {
    grid-column: 1;
    grid-row: 2;
  }

  .project-panel-main {
    height: auto;
    padding: 44px 42px;
  }

  .project-statement {
    margin-top: 38px;
    display: grid;
    grid-template-columns: minmax(250px, .65fr) minmax(0, 1fr);
    gap: 42px;
  }

  .project-showcase > .project-facts {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (max-width: 700px) {
  .project-feature { padding: 72px 0; }

  .project-feature-top { margin-bottom: 20px; }

  .project-showcase .feature-visual {
    height: 60vh;
    min-height: 420px;
    max-height: 540px;
  }

  .project-panel-main { padding: 34px 26px 38px; }

  .project-panel h2 {
    margin-top: 30px;
    font-size: clamp(40px, 12vw, 52px);
  }

  .project-statement {
    margin-top: 32px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-showcase > .project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-showcase > .project-facts > div,
  .project-showcase > .project-facts > div:nth-child(even),
  .project-showcase > .project-facts > div:nth-last-child(-n+2) {
    min-height: 106px;
    padding: 22px 20px;
    border-right: 1px solid rgba(255,255,255,.15);
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .project-showcase > .project-facts > div:nth-child(even) { border-right: 0; }
  .project-showcase > .project-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 420px) {
  .project-showcase > .project-facts { grid-template-columns: 1fr; }

  .project-showcase > .project-facts > div,
  .project-showcase > .project-facts > div:nth-child(even),
  .project-showcase > .project-facts > div:nth-last-child(-n+2) {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .project-showcase > .project-facts > div:last-child { border-bottom: 0; }
}

/* Luxury staged photography + restrained cinematic motion */
.hero-media {
  overflow: hidden;
  background: var(--brand-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .85s ease, transform 5s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,18,24,.08), rgba(12,18,24,.16));
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.065);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.hero-slide:nth-child(2) img { object-position: center 50%; }
.hero-slide:nth-child(3) img { object-position: center 48%; }

.luxury-image {
  opacity: .88;
  transform: scale(1.035);
  transition: opacity 1.35s ease, transform 6s cubic-bezier(.2,.72,.22,1), filter .7s ease !important;
  will-change: opacity, transform;
}

.luxury-image.is-in-view {
  opacity: 1;
  transform: scale(1);
}

.feature-visual:hover .luxury-image,
.gallery-card:hover .luxury-image,
.image-ribbon-item:hover .luxury-image,
.intro-image:hover .luxury-image {
  transform: scale(1.025);
}

.gallery-grid {
  grid-template-columns: 1.35fr .8fr .8fr;
  grid-template-rows: minmax(580px, 72vh);
}

.gallery-card,
.gallery-wide,
.gallery-tall {
  grid-column: auto;
  grid-row: auto;
  min-height: 580px;
}

.gallery-card:nth-child(2) img { object-position: 58% center; }
.studio-media img { object-position: center 44%; }

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 520px 430px;
  }

  .gallery-card:first-child {
    grid-column: 1 / -1;
    min-height: 520px;
  }

  .gallery-card:not(:first-child) { min-height: 430px; }
}

@media (max-width: 620px) {
  .header-inner {
    grid-template-columns: 150px minmax(0, 1fr) 46px;
  }

  .menu-toggle { grid-column: 3; }

  .hero-content.container {
    width: calc(100vw - 32px);
    min-width: 0;
    max-width: none;
    margin-inline: 16px;
  }

  .hero-copy {
    width: calc(100vw - 32px);
    min-width: 0;
  }

  .hero-copy.hero-load { max-width: calc(100vw - 32px) !important; }

  .hero .section-label {
    max-width: 100%;
    white-space: normal;
    line-height: 1.55;
  }

  .hero-lead {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-actions .link-arrow { display: none; }

  .hero-slide:first-child img { object-position: center center; }
  .hero-slide:nth-child(2) img { object-position: 54% center; }
  .hero-slide:nth-child(3) img { object-position: 64% center; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 420px);
  }

  .gallery-card,
  .gallery-card:first-child,
  .gallery-card:not(:first-child) {
    grid-column: auto;
    min-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { display: none; }
  .hero-slide:first-child { display: block; opacity: 1; transform: none; }
  .luxury-image,
  .luxury-image.is-in-view { opacity: 1; transform: none; }
}

/* Featured project: full-width cinematic layout */
.project-feature {
  padding: 0;
  background: var(--white);
}

.project-feature-shell.container {
  width: 100%;
  max-width: none;
}

.project-feature-top {
  width: min(calc(100% - 96px), var(--container));
  margin: 0 auto 26px;
  padding-bottom: 16px;
}

.project-showcase {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(620px, auto) auto;
  background: var(--brand-dark);
}

.project-showcase .feature-visual {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 620px;
}

.project-showcase .feature-visual img {
  object-position: center 48%;
}

.project-showcase .feature-visual-shade {
  background:
    linear-gradient(90deg, rgba(13,20,28,.88) 0%, rgba(13,20,28,.68) 30%, rgba(13,20,28,.2) 62%, rgba(13,20,28,.06) 100%),
    linear-gradient(0deg, rgba(13,20,28,.34), transparent 42%);
}

.project-panel {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  display: block;
  background: transparent;
  color: var(--white);
  pointer-events: none;
}

.project-panel-main {
  width: min(calc(100% - 96px), var(--container));
  height: 100%;
  margin: 0 auto;
  padding: 50px 0 46px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-panel-main > * { width: min(100%, 570px); }

.project-context {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-location {
  padding-bottom: 20px;
  border-bottom-color: rgba(255,255,255,.24);
}

.project-location span { color: rgba(255,255,255,.6); }

.project-location strong {
  color: var(--white);
  font-size: 24px;
}

.project-panel h2 {
  margin: 28px 0 18px;
  color: var(--white);
  font-size: clamp(48px, 4.6vw, 66px);
  line-height: .98;
}

.project-panel .project-intro {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.7;
}

.project-statement {
  margin-top: auto;
  padding-top: 20px;
  border-top-color: rgba(255,255,255,.24);
}

.project-statement h3 {
  color: var(--white);
  font-size: 27px;
}

.project-statement p {
  max-width: 540px;
  color: rgba(255,255,255,.66);
  font-size: 14px;
}

.project-showcase > .project-facts {
  grid-column: 1;
  grid-row: 2;
  min-height: 100px;
  background: var(--brand-dark);
}

.project-showcase > .project-facts > div,
.project-showcase > .project-facts > div:nth-child(even),
.project-showcase > .project-facts > div:nth-last-child(-n+2) {
  min-height: 100px;
  padding: 22px clamp(24px, 3vw, 52px);
}

.project-showcase .visual-control {
  z-index: 4;
  pointer-events: auto;
}

@media (max-width: 820px) {
  .project-feature { padding-top: 0; }

  .project-feature-top {
    width: calc(100% - 48px);
    margin-bottom: 20px;
  }

  .project-showcase {
    grid-template-rows: auto auto auto;
  }

  .project-showcase .feature-visual {
    grid-column: 1;
    grid-row: 1;
    height: 48vh;
    min-height: 350px;
    max-height: 480px;
  }

  .project-showcase .feature-visual-shade {
    background: linear-gradient(0deg, rgba(13,20,28,.28), transparent 46%);
  }

  .project-panel {
    grid-column: 1;
    grid-row: 2;
    background: var(--brand-dark);
  }

  .project-panel-main {
    width: calc(100% - 48px);
    height: auto;
    padding: 32px 0 36px;
  }

  .project-panel-main > * { width: 100%; }

  .project-panel h2 {
    margin-top: 26px;
    font-size: clamp(40px, 10vw, 54px);
  }

  .project-statement {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-showcase > .project-facts {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.15);
  }

  .project-showcase > .project-facts > div,
  .project-showcase > .project-facts > div:nth-child(even),
  .project-showcase > .project-facts > div:nth-last-child(-n+2) {
    min-height: 92px;
    padding: 18px 24px;
    border-right: 1px solid rgba(255,255,255,.15);
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .project-showcase > .project-facts > div:nth-child(even) { border-right: 0; }
  .project-showcase > .project-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 520px) {
  .project-feature-top,
  .project-panel-main { width: calc(100% - 32px); }

  .project-showcase .feature-visual {
    height: 42vh;
    min-height: 310px;
  }

  .project-showcase > .project-facts { grid-template-columns: 1fr; }

  .project-showcase > .project-facts > div,
  .project-showcase > .project-facts > div:nth-child(even),
  .project-showcase > .project-facts > div:nth-last-child(-n+2) {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .project-showcase > .project-facts > div:last-child { border-bottom: 0; }
}

/* Logo-blue accents and softer blue section surfaces */
:root {
  --brand-wash: #e9eef3;
  --brand-wash-strong: #dfe7ef;
}

.intro,
.project-feature,
.story-reverse,
.houston,
.contact {
  background-color: var(--brand-wash);
}

.intro-content h2,
.story-copy h2,
.gallery-head h2,
.houston-layout h2,
.contact-copy h2 {
  color: var(--brand-deep);
}

#process h2,
#studio h2 {
  color: #fff;
}

.project-form {
  background: #fff;
  border: 1px solid rgba(49,65,86,.14);
}

/* Responsive collision fixes */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.image-ribbon,
.process {
  position: relative;
}

.image-ribbon { z-index: 0; }
.process {
  z-index: 1;
  isolation: isolate;
}

@media (max-width: 980px) {
  /* Keep the overlay tied to the bottom edge of the sticky header. Using an
     absolute panel here avoids the fixed-position containing block created by
     the header's blur effect in mobile browsers. */
  .site-header,
  .site-header.scrolled,
  body.menu-open .site-header {
    height: var(--header-h);
  }

  .mobile-nav {
    position: absolute;
    inset: 100% 0 auto;
    width: 100%;
    height: calc(100dvh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.menu-open .site-header {
    background: #fff;
    box-shadow: 0 10px 34px rgba(24,35,47,.07);
  }

  body.menu-open .site-header::after { background: var(--line); }
  body.menu-open .brand img { filter: none; }
  body.menu-open .menu-toggle {
    color: var(--brand-deep);
    border-color: var(--line);
  }

  .process-intro {
    position: relative;
    top: auto;
    z-index: 2;
    background: var(--brand-dark);
  }

  /* A later desktop refinement gives the ribbon a fixed 460px height. Reset
     that on stacked layouts so all three image rows contribute to the section
     height instead of overflowing underneath the Process section. */
  .image-ribbon {
    height: auto;
    grid-template-columns: 1fr;
    grid-auto-rows: clamp(320px, 62vw, 390px);
  }

  .image-ribbon-item {
    height: auto;
    min-height: 0;
  }

  .image-ribbon-item.reveal,
  .image-ribbon-item.reveal.revealed {
    transform: none;
  }
}

@media (max-width: 700px) {
  /* The three mobile facts rows occupy 162px. Reserve that height plus a
     comfortable gap so the primary CTA can never sit on top of them. */
  .hero {
    height: auto;
    min-height: max(100svh, 900px);
  }

  .hero-content {
    min-height: max(100svh, 900px);
    padding-bottom: 220px;
  }

  .hero-bottom { bottom: 0; }

  .hero-actions,
  .hero-actions .btn {
    max-width: 100%;
  }

  .hero-actions .btn > span:first-child {
    min-width: 0;
    white-space: nowrap;
  }

  .process {
    overflow: clip;
  }

  .process-layout {
    position: relative;
    z-index: 1;
    gap: 44px;
  }

  .process-intro h2 {
    font-size: clamp(40px, 11.5vw, 54px);
    line-height: 1.04;
  }

  .image-ribbon {
    grid-auto-rows: clamp(270px, 64vw, 320px);
  }
}

@media (max-width: 420px) {
  .hero,
  .hero-content {
    min-height: max(100svh, 940px);
  }

  .hero-content { padding-top: 124px; }
}
