/* PACT Vertical, site styles v3.3 (2026-11-18)
   VOICE: strong, structural, confident
   IDEA: structural steel going up; the building reaching for the sky (real photography)
   COLOUR: brushed light steel and graphite, logo maroon #882B2B as the one accent
   TYPE: Manrope (headings and body), JetBrains Mono (labels), Bodoni Moda (wordmark)
   LAYOUT: light steel bands, one graphite band (ticker and mission), flat colour, no glows */

:root {
  --steel-0: #F4F5F6;
  --steel-1: #E6E9EC;
  --steel-2: #D3D8DD;
  --steel-3: #B4BCC4;
  --steel-4: #8F98A1;
  --steel-5: #5A636C;
  --graphite: #2E3338;
  --ink: #1C1F23;
  --text: #444B52;
  --muted: #5A636C;          /* steel-5; 5.0:1 on steel-1, 5.6:1 on steel-0 */
  --maroon: #882B2B;          /* logo maroon */
  --maroon-dark: #6E2222;
  --line: #C9CFD5;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --serif: "Bodoni Moda", Didot, serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2,.8,.2,1);
  /* brushed steel: fine horizontal grain */
  --brush: repeating-linear-gradient(0deg, rgba(255,255,255,.35) 0 1px, rgba(0,0,0,.025) 1px 2px, transparent 2px 4px);
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.7; color: var(--text); background: var(--steel-0); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); font-family: var(--sans); line-height: 1.06; margin: 0 0 .55em; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.sr, .skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--maroon); color: #fff; padding: 8px 14px; z-index: 200; }
:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--maroon); transform-origin: left; transform: scaleX(var(--p, 0)); z-index: 120; }
main, .site-footer { position: relative; z-index: 1; }

.eyebrow { font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .06em; color: var(--maroon); margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 3px; height: 14px; background: currentColor; }
.eyebrow.light { color: var(--steel-2); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s, border-color .35s, box-shadow .35s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(244,245,246,.9); backdrop-filter: blur(12px); border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(28,31,35,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: auto; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: translateY(-3px); }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-pact { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .22em; color: var(--ink); }
.brand-vertical { font-family: var(--serif); font-size: .7rem; letter-spacing: .52em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { position: relative; text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--graphite); padding: 8px 12px; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--maroon); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-cta { margin-left: 8px; color: #fff; background: var(--graphite); border-radius: 6px; padding: 9px 16px; transition: background .2s; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--maroon); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--steel-3); background: transparent; border-radius: 8px; cursor: pointer; position: relative; }
.nav-toggle span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; } .nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; font-weight: 700; font-size: .95rem; padding: 13px 24px; border-radius: 6px; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dark); }
.btn-ghost { border: 2px solid var(--graphite); color: var(--graphite); }
.btn-ghost:hover { background: var(--graphite); color: #fff; }

/* Hero: copy on brushed steel, full-height photo on the right */
.hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46vw); background: var(--steel-1); overflow: hidden; }
.hero-steel { position: absolute; inset: 0; background: var(--brush); opacity: .7; pointer-events: none; }
.hero-copy { position: relative; align-self: center; padding: 130px 48px 80px max(24px, calc((100vw - var(--wrap)) / 2)); }
.mono-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .8rem; color: var(--graphite); border: 1px solid var(--steel-3); background: rgba(255,255,255,.55); padding: 7px 14px; border-radius: 4px; margin-bottom: 28px; }
.dot { width: 8px; height: 8px; background: var(--maroon); }
.hero-title { font-size: clamp(3.2rem, 7vw, 6.6rem); font-weight: 800; line-height: .9; letter-spacing: -0.05em; margin-bottom: .35em; text-transform: uppercase; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .14s; }
@keyframes rise { to { transform: none; } }
.outline { color: transparent; -webkit-text-stroke: 2px var(--graphite); }
.hero-rotator { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 600; color: var(--muted); margin-bottom: 36px; }
.rot-words { position: relative; display: inline-block; height: 1.3em; overflow: hidden; vertical-align: bottom; min-width: 8.5em; }
.rot-words span { position: absolute; left: 0; top: 0; color: var(--maroon); font-weight: 800; transform: translateY(110%); animation: rotWord 10s infinite; }
.rot-words span:nth-child(2) { animation-delay: 2.5s; } .rot-words span:nth-child(3) { animation-delay: 5s; } .rot-words span:nth-child(4) { animation-delay: 7.5s; }
@keyframes rotWord { 0% { transform: translateY(110%); } 4%, 22% { transform: none; } 26%, 100% { transform: translateY(-110%); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-photo { position: relative; min-height: 100%; clip-path: inset(100% 0 0 0); animation: reveal 1.4s var(--ease) .2s forwards; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 80%; }
@keyframes reveal { to { clip-path: inset(0 0 0 0); } }
.ratio { position: absolute; left: 32px; bottom: 40px; display: flex; align-items: center; gap: 14px; padding: 14px 20px; background: var(--steel-0); border: 1px solid var(--steel-3); border-left: 4px solid var(--maroon); box-shadow: 0 18px 40px -20px rgba(28,31,35,.6); opacity: 0; animation: fadeUp .8s var(--ease) 1.3s forwards; }
.mark-anim { width: 46px; height: 46px; flex: none; }
.ratio-num { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.ratio-text { font-family: var(--mono); font-size: .76rem; line-height: 1.35; color: var(--muted); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.mark-anim .draw { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 1.1s var(--ease) 1.6s forwards; }
.mark-anim .sq-red .draw { animation-delay: 1.9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mark-anim .node { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .5s var(--ease) 2.2s forwards; }
.mark-anim .sq-red .node { animation-delay: 2.4s; }
@keyframes pop { 60% { transform: scale(1.25); } to { transform: scale(1); } }

/* Full-width photo band */
.image-band { position: relative; height: clamp(220px, 34vw, 460px); overflow: hidden; background: var(--graphite); }
.image-band img { width: 100%; height: 100%; object-fit: cover; }

/* Ticker: graphite band */
.ticker { position: relative; z-index: 1; overflow: hidden; background: var(--graphite); padding: 18px 0; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 700; color: var(--steel-0); white-space: nowrap; letter-spacing: -0.01em; }
.ticker i { width: 9px; height: 9px; background: var(--maroon); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-alt { background: var(--steel-1); border-block: 1px solid var(--line); }
.section-alt::before { content: ""; position: absolute; inset: 0; background: var(--brush); opacity: .5; pointer-events: none; }
.section-alt > .wrap { position: relative; }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head p:last-child { font-size: 1.08rem; }

/* Cards: flat steel plates */
.glow-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.glow-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--maroon); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.glow-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -24px rgba(28,31,35,.45); border-color: var(--steel-3); }
.glow-card:hover::before { transform: scaleX(1); }

/* Experience */
.exp-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.logo-panel { position: relative; padding: 28px; transform-style: preserve-3d; transition: transform .3s var(--ease); }
.logo-panel img { width: 100%; height: auto; }
.corner { position: absolute; width: 22px; height: 22px; border-color: var(--graphite); border-style: solid; }
.corner.tl { left: 0; top: 0; border-width: 2px 0 0 2px; } .corner.tr { right: 0; top: 0; border-width: 2px 2px 0 0; }
.corner.bl { left: 0; bottom: 0; border-width: 0 0 2px 2px; } .corner.br { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 36px; border-top: 3px solid var(--graphite); }
.stat { padding: 22px 20px 6px 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat-num { display: block; font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.stat-label { display: block; color: var(--muted); margin-top: 10px; font-size: .88rem; line-height: 1.5; }

/* Four assets */
.pact-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pact-card { padding: 30px 26px; min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; }
.pact-letter { font-family: var(--serif); font-size: 6rem; line-height: .9; color: var(--steel-3); transition: color .35s; }
.pact-card:hover .pact-letter { color: var(--maroon); }
.pact-card h3 { font-size: 1.5rem; margin: 18px 0 4px; }
.pact-sub { font-family: var(--mono); font-size: .78rem; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service { padding: 32px 28px 36px; }
.service-num { display: inline-block; font-family: var(--mono); font-size: .82rem; color: #fff; background: var(--graphite); padding: 3px 10px; margin-bottom: 24px; }
.service h3 { font-size: 1.4rem; }
.service-line { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--steel-3); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .3s; }
.service.in .service-line { transform: scaleX(1); }

/* Verticality */
.vert { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.vert-copy p:last-child { font-size: 1.12rem; }
.vert-photo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; width: 100%; background: var(--steel-2); }
.vert-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.vert-photo.in img { transform: scale(1); }
.vert-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 8px; padding: 18px; background: linear-gradient(transparent, rgba(28,31,35,.75)); }
.vert-photo figcaption span { font-family: var(--mono); font-size: .76rem; color: #fff; background: rgba(46,51,56,.85); border-left: 3px solid var(--maroon); padding: 6px 10px; }

/* Mission: graphite band */
.mission { position: relative; overflow: hidden; background: var(--graphite); color: var(--steel-2); padding: clamp(90px, 12vw, 150px) 0; }
.mission-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.mission-shade { position: absolute; inset: 0; background: rgba(46,51,56,.82); }
.mission-inner { position: relative; max-width: 980px; }
.mission blockquote { margin: 0 0 28px; padding-left: 28px; border-left: 4px solid var(--maroon); font-size: clamp(1.8rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
.mission p { font-size: 1.15rem; max-width: 40em; padding-left: 32px; }

/* Project experience */
.proj-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--graphite); }
.proj-list li { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 22px 12px; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease); }
.proj-list li::before { content: ""; position: absolute; inset: 0; background: var(--steel-1); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); z-index: -1; }
.proj-list li:hover { padding-left: 24px; }
.proj-list li:hover::before { transform: scaleX(1); }
.proj-role { font-family: var(--mono); font-size: .76rem; color: var(--maroon); }
.proj-name { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.proj-loc { color: var(--muted); font-size: .92rem; white-space: nowrap; }

/* Leadership */
.lead-grid { display: grid; grid-template-columns: 300px minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.lead-photo { margin: 0; position: sticky; top: 110px; }
.lead-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line); border-top: 4px solid var(--maroon); background: var(--steel-2); }
.lead-photo figcaption { margin-top: 14px; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.lead-photo figcaption span { display: block; font-weight: 700; color: var(--ink); }
.awards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.awards li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--steel-4); color: var(--ink); font-size: .95rem; line-height: 1.5; }
.awards span { font-family: var(--mono); font-size: .78rem; color: var(--maroon); padding-top: 2px; }
.affiliate { padding: 34px; position: sticky; top: 110px; }
.affiliate h3 { font-size: 1.3rem; }
.aff-item + .aff-item { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.aff-item p:last-child { margin-bottom: 0; }
.text-link { font-weight: 700; text-decoration: none; color: var(--maroon); display: inline-flex; gap: 8px; transition: gap .25s; }
.text-link:hover { gap: 14px; }

/* Contact */
.contact-section { background: var(--steel-0); }
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: end; }
.big { font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1; text-transform: uppercase; letter-spacing: -0.04em; }
.grad { color: var(--maroon); }
.contact p { max-width: 30em; margin-bottom: 2rem; font-size: 1.08rem; }
.contact-list { margin: 0; padding: 8px 28px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--graphite); }
.contact-list div { display: grid; grid-template-columns: 90px minmax(0, 1fr); padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list div:last-child { border-bottom: 0; }
.contact-list dt { font-family: var(--mono); font-size: .76rem; color: var(--maroon); padding-top: 4px; }
.contact-list dd { margin: 0; font-size: 1.08rem; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; background: linear-gradient(var(--maroon), var(--maroon)) 0 100% / 0 2px no-repeat; transition: background-size .3s; }
.contact-list a:hover { background-size: 100% 2px; }

/* Contact form */
.contact-form { margin-top: 8px; max-width: 560px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label, .check { display: block; font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field .req { color: var(--maroon); }
.field .opt { font-weight: 500; color: var(--muted); font-size: .78rem; margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--steel-3); border-radius: 6px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--graphite) 50%), linear-gradient(135deg, var(--graphite) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--graphite); box-shadow: 0 0 0 3px rgba(46,51,56,.15); }
.field.invalid input, .field.invalid textarea { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(136,43,43,.12); }
.field-error { margin: 6px 0 0; font-size: .82rem; color: var(--maroon); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text); margin: 4px 0 18px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--maroon); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-alt { font-size: .9rem; color: var(--muted); }
.form-alt a { color: var(--maroon); font-weight: 600; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn .btn-busy { display: none; }
.btn.busy .btn-label { display: none; } .btn.busy .btn-busy { display: inline; }
.form-status { margin: 14px 0 0; padding: 0; font-size: .95rem; font-weight: 600; color: var(--maroon); }
.form-status:empty { display: none; }
.form-status.is-error { padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--maroon); color: var(--ink); font-weight: 500; }
.form-status a { color: var(--maroon); font-weight: 700; }
.form-consent { margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
.form-consent a { color: inherit; }
.form-success { max-width: 560px; padding: 32px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--maroon); }
.form-success h3 { font-size: 1.5rem; }
.form-success p:last-of-type { margin-bottom: 22px; }
.form-success a { color: var(--maroon); font-weight: 700; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* Footer */
.site-footer { background: var(--graphite); color: var(--steel-3); font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; padding: 26px 0; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-note { padding: 0 0 22px; font-size: .78rem; color: var(--steel-3); }
.footer-note a { text-decoration: underline; }

/* Sticky mobile CTA: appears once the hero is scrolled past (phones only) */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; background: var(--maroon); color: #fff; font-weight: 700; text-decoration: none; border-radius: 6px; box-shadow: 0 14px 30px -14px rgba(28,31,35,.7); transform: translateY(calc(100% + 24px)); transition: transform .4s var(--ease); }
  .site-header.scrolled ~ .mobile-cta { transform: none; }
  :root.cta-off .mobile-cta, :root.cta-off .site-header.scrolled ~ .mobile-cta { transform: translateY(calc(100% + 24px)); }
  .mobile-cta:hover, .mobile-cta:active { background: var(--maroon-dark); }
  /* Tap targets: at least 24px tall (WCAG 2.5.8), 44px where practical */
  .text-link, .site-footer a, .contact-list a { padding-block: 8px; }
  .footer-links { gap: 8px 22px; }
}

/* Legal pages */
.legal { padding: 140px 0 100px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal .updated { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-bottom: 2.5rem; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--maroon); font-weight: 600; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .rot-words span { animation: none; transform: translateY(110%); }
  .rot-words span:first-child { transform: none; }
}

/* Responsive */
@media (max-width: 1080px) { .nav a { padding: 8px 9px; font-size: .86rem; } }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 116px 24px 40px; }
  .hero-photo { height: clamp(300px, 60vw, 460px); min-height: 0; }
  .hero-photo img { object-position: 15% 85%; }
  .ratio { left: 24px; bottom: 24px; }
  .exp-grid, .vert, .lead-grid, .contact { grid-template-columns: 1fr; gap: 48px; }
  .lead-photo { position: static; max-width: 340px; }
  .exp-logo { max-width: 420px; }
  .vert-photo { aspect-ratio: 4 / 3; }
  .pact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: 1fr; }
  .affiliate { position: static; }
  .proj-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .proj-role { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: var(--steel-0); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -20px rgba(28,31,35,.5); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav { max-height: calc(100vh - 78px); max-height: calc(100dvh - 78px); overflow-y: auto; }
  .nav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav-cta { margin: 16px 0 0; justify-content: center; text-align: center; border: 0; }
  .site-header { background: rgba(244,245,246,.92); backdrop-filter: blur(10px); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .mono-tag { font-size: .68rem; padding: 6px 12px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .pact-grid { grid-template-columns: 1fr; }
  .pact-card { min-height: 0; }
  .pact-letter { font-size: 4.5rem; }
  .proj-list li { grid-template-columns: 1fr; gap: 4px; }
  .awards li { grid-template-columns: 1fr; gap: 4px; }
  .contact-list { padding: 4px 18px; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .hero-photo { height: 320px; }
  .ratio { left: 16px; bottom: 16px; padding: 10px 14px; gap: 10px; } .ratio-num { font-size: 1.8rem; } .mark-anim { width: 36px; height: 36px; }
  .mission blockquote { padding-left: 18px; } .mission p { padding-left: 22px; }
}
