:root {
  --ink: #172c3f;
  --ink-soft: #4c5d6c;
  --brand-navy: #0b3156;
  --brand-blue-dark: #16557f;
  --brand-blue: #1f6d9e;
  --brand-blue-bright: #3498db;
  --brand-blue-light: #e7f3fb;
  --brand-gold: #f4cf00;
  --brand-gold-dark: #806700;
  --mist: #f3f5f7;
  --paper: #fff;
  --line: #d7e0e7;
  --shadow: 0 22px 60px rgba(11, 49, 86, 0.14);
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.08; letter-spacing: -0.032em; }
h1 { font-size: clamp(3.2rem, 7.3vw, 6.7rem); }
h2 { font-size: clamp(2.35rem, 4.2vw, 4.25rem); }
h3 { font-size: clamp(1.45rem, 2vw, 2rem); }
p { color: var(--ink-soft); }
address { color: var(--ink-soft); font-style: normal; }
svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(76px, 10vw, 140px); }
.section-tint { background: var(--mist); }
.section-dark { color: white; background: var(--brand-navy); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 16px; color: white; background: var(--brand-navy); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.eyebrow { margin-bottom: 18px; color: var(--brand-blue); font-size: .74rem; font-weight: 800; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 14px; padding: 14px 22px; border: 1px solid transparent; border-radius: var(--radius); font-size: .85rem; font-weight: 800; letter-spacing: .025em; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.button svg, .text-link svg { transition: transform .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button:hover svg, .button:focus-visible svg, .text-link:hover svg { transform: translateX(4px); }
.button-primary { color: white; background: var(--brand-blue); }
.button-primary:hover, .button-primary:focus-visible { background: var(--brand-blue-dark); }
.button-outline { color: white; border-color: rgba(255, 255, 255, .56); background: transparent; }
.button-outline:hover, .button-outline:focus-visible { color: var(--brand-navy); background: white; border-color: white; }
.button-outline-dark { border-color: var(--brand-blue-dark); }
.button-outline-dark:hover { color: white; background: var(--brand-blue-dark); }
.button-light { color: var(--brand-navy); background: white; }
.button-light:hover { background: var(--mist); }
.button-text { min-height: auto; padding: 10px 0; color: var(--brand-blue); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-blue); font-size: .85rem; font-weight: 800; }
.back-link { display: inline-block; margin-bottom: 32px; color: var(--brand-blue); font-size: .82rem; font-weight: 800; letter-spacing: .04em; }

.utility-bar { color: white; background: var(--brand-navy); font-size: .73rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.utility-inner { display: flex; min-height: 34px; align-items: center; justify-content: space-between; }
.utility-inner span, .utility-inner a { display: inline-flex; align-items: center; gap: 8px; }
.utility-inner svg { width: 15px; height: 15px; color: var(--brand-gold); }
.site-header { position: relative; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid rgba(11, 49, 86, .13); }
.header-inner { display: flex; min-height: 112px; align-items: center; justify-content: space-between; gap: 34px; }
.brand { width: 180px; flex: 0 0 180px; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(17px, 2.2vw, 31px); }
.site-nav > a:not(.nav-cta) { position: relative; padding-block: 42px 38px; color: #29475f; font-size: .8rem; font-weight: 800; letter-spacing: .015em; }
.site-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 32px; left: 0; height: 3px; background: var(--brand-gold); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .2s; }
.site-nav > a:hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 16px; color: white; background: var(--brand-blue); border-radius: var(--radius); font-size: .76rem; font-weight: 800; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; color: var(--ink); background: transparent; border: 0; }
.menu-toggle svg { width: 26px; height: 26px; }
.menu-close { display: none; }

.home-hero { display: grid; min-height: min(720px, calc(100vh - 146px)); grid-template-columns: minmax(0, 48%) minmax(0, 52%); color: white; background: var(--brand-navy); }
.hero-panel { display: flex; align-items: center; background: radial-gradient(circle at 10% 10%, rgba(52, 152, 219, .45), transparent 45%), linear-gradient(140deg, #16557f, #082b4c 72%); }
.hero-copy { width: min(590px, calc(100% - 8vw)); margin-left: max(24px, calc((100vw - 1180px) / 2)); padding-block: 80px; }
.hero-copy h1 { max-width: 720px; margin-bottom: 28px; font-size: clamp(3.2rem, 5.2vw, 5rem); }
.hero-copy .eyebrow { color: var(--brand-gold); }
.hero-lede { max-width: 690px; margin-bottom: 34px; color: inherit; font-size: clamp(1.08rem, 1.6vw, 1.35rem); line-height: 1.65; }
.hero-visual { position: relative; min-height: 600px; overflow: hidden; background: #cbd6d6; }
.hero-visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 43, 76, .36), transparent 45%); content: ""; pointer-events: none; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 22%; }
.hero-card { position: absolute; z-index: 2; right: 0; bottom: 0; width: min(470px, 82%); padding: 25px 31px; color: var(--ink); background: rgba(255, 255, 255, .93); backdrop-filter: blur(15px); }
.hero-card strong, .hero-card span { display: block; }
.hero-card strong { margin-bottom: 4px; font-family: Georgia, serif; font-size: 1.3rem; }
.hero-card span { color: var(--ink-soft); font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.proof-strip { color: white; background: var(--brand-blue); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { display: grid; min-height: 122px; align-content: center; padding: 22px 34px; border-left: 1px solid rgba(255, 255, 255, .22); }
.proof-grid > div:last-child { border-right: 1px solid rgba(255, 255, 255, .22); }
.proof-grid strong { font-family: Georgia, serif; font-size: 2rem; font-weight: 500; line-height: 1; }
.proof-grid span { margin-top: 9px; font-size: .72rem; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }

.intro-grid, .story-grid, .service-detail, .split-callout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(55px, 9vw, 130px); }
.intro-grid h2, .story-grid h2 { max-width: 540px; }
.large-copy { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.48; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-heading h2 { max-width: 730px; margin-bottom: 0; }
.section-heading .eyebrow { margin-bottom: 13px; }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-grid-full { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
.service-card { min-width: 0; background: white; border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(11, 49, 86, .05); }
.service-image { display: block; aspect-ratio: 1.55; overflow: hidden; background: var(--brand-blue-light); }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.service-card:hover .service-image img { transform: scale(1.035); }
.service-card > div { padding: 27px 27px 30px; }
.service-card .eyebrow { margin-bottom: 10px; font-size: .64rem; }
.service-card h3 { margin-bottom: 14px; }
.service-card p { min-height: 83px; font-size: .9rem; line-height: 1.65; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-grid-full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-card a { position: relative; display: block; min-height: 470px; overflow: hidden; background: var(--brand-navy); }
.project-grid-full .project-card a { min-height: 570px; }
.project-card img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform .65s, opacity .4s; }
.project-card:hover img { transform: scale(1.035); opacity: .87; }
.project-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: end; padding: 31px; color: white; background: linear-gradient(180deg, transparent 38%, rgba(7, 38, 66, .92)); }
.project-overlay span { margin-bottom: 8px; font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.project-overlay strong { font-family: Georgia, serif; font-size: clamp(1.7rem, 2.3vw, 2.55rem); font-weight: 500; line-height: 1.1; }
.project-overlay em { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .76rem; font-style: normal; font-weight: 800; opacity: 0; transform: translateY(7px); transition: opacity .25s, transform .25s; }
.project-card:hover .project-overlay em { opacity: 1; transform: none; }

.testimonial-section { background: #eef4f8; }
.testimonial-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.testimonial-grid figure { margin: 0; padding: 30px; border-left: 1px solid #cbd7d6; }
.testimonial-grid figure:first-child { padding-left: 0; border-left: 0; }
.testimonial-grid blockquote { margin: 0 0 25px; font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.5; }
.testimonial-grid figure:first-child blockquote { font-size: clamp(1.55rem, 2.6vw, 2.25rem); }
.testimonial-grid figcaption { color: var(--brand-blue); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.page-hero { position: relative; min-height: 480px; display: grid; align-items: end; overflow: hidden; color: white; background: var(--brand-navy); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 34, 59, .95) 0%, rgba(10, 55, 92, .78) 42%, rgba(10, 55, 92, .12) 80%), linear-gradient(0deg, rgba(8, 43, 76, .38), transparent); }
.page-hero-content { position: relative; z-index: 1; padding-block: 82px 70px; }
.page-hero-content h1 { max-width: 960px; margin-bottom: 18px; font-size: clamp(3.1rem, 7vw, 6rem); }
.page-hero-content p:last-child { max-width: 680px; margin-bottom: 0; color: rgba(255, 255, 255, .85); font-size: 1.16rem; }
.page-hero-content .eyebrow { color: var(--brand-gold); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-grid article { padding: 7px 46px 14px; border-left: 1px solid rgba(255, 255, 255, .18); }
.value-grid article:first-child { padding-left: 0; border-left: 0; }
.value-grid span { display: block; margin-bottom: 70px; color: var(--brand-gold); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.value-grid h2 { margin-bottom: 20px; font-size: 2.35rem; }
.value-grid p { color: rgba(255, 255, 255, .68); }
.capability-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 52px; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.capability-list li { display: flex; min-height: 72px; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.capability-list svg, .check-list svg { color: var(--brand-gold-dark); }

.detail-hero { overflow: hidden; color: white; background: var(--brand-navy); }
.detail-grid { display: grid; min-height: 610px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; }
.detail-grid > div { align-self: center; padding: 76px 70px 76px 0; }
.detail-grid > img { width: calc(100% + max(24px, (100vw - 1180px) / 2)); max-width: none; height: 100%; min-height: 610px; object-fit: cover; }
.detail-grid .back-link { color: var(--brand-gold); }
.detail-grid .eyebrow { color: var(--brand-gold); }
.detail-grid h1 { margin-bottom: 25px; font-size: clamp(3.2rem, 6.6vw, 6.2rem); }
.service-detail h2 { font-size: clamp(2.2rem, 3.5vw, 3.5rem); }
.check-list { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; }

.project-intro { padding-bottom: 60px; }
.project-title { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; }
.project-title h1 { margin-bottom: 0; font-size: clamp(3.4rem, 7.4vw, 6.8rem); }
.project-partner { margin-top: 23px; font-size: .83rem; }
.project-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; padding-bottom: clamp(85px, 11vw, 150px); }
.gallery-item { position: relative; grid-column: span 4; aspect-ratio: 1.1; padding: 0; overflow: hidden; background: #d9e2e1; border: 0; }
.gallery-item:nth-child(7n + 1), .gallery-item:nth-child(7n + 5) { grid-column: span 8; aspect-ratio: 1.65; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s, filter .35s; }
.gallery-item:hover img { transform: scale(1.025); filter: brightness(.75); }
.gallery-item span { position: absolute; right: 15px; bottom: 15px; display: grid; width: 40px; height: 40px; place-items: center; color: var(--brand-navy); background: white; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.gallery-item:hover span, .gallery-item:focus-visible span { opacity: 1; transform: none; }
.lightbox { width: min(1160px, calc(100% - 40px)); height: min(88vh, 900px); padding: 0; color: white; background: #061b20; border: 0; box-shadow: var(--shadow); }
.lightbox::backdrop { background: rgba(3, 18, 22, .9); backdrop-filter: blur(6px); }
.lightbox > img { width: 100%; height: calc(100% - 54px); object-fit: contain; }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 2; display: grid; place-items: center; color: white; background: rgba(4, 30, 35, .78); border: 1px solid rgba(255, 255, 255, .22); }
.lightbox-close { top: 14px; right: 14px; width: 46px; height: 46px; }
.lightbox-nav { top: 50%; width: 48px; height: 64px; font-size: 2.3rem; transform: translateY(-50%); }
.lightbox-nav.previous { left: 14px; }
.lightbox-nav.next { right: 14px; }
.lightbox > p { height: 54px; margin: 0; padding: 14px 22px; color: rgba(255,255,255,.75); font-size: .8rem; text-align: center; }

.article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; padding-top: 0; background: var(--line); }
.article-list article { padding: clamp(38px, 5vw, 70px); background: white; }
.article-list article > div { display: flex; justify-content: space-between; color: var(--brand-blue); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-list h2 { margin: 55px 0 20px; font-size: clamp(2rem, 3vw, 3rem); }
.article-list p { max-width: 570px; }
.article header { padding-block: clamp(85px, 10vw, 145px); color: white; background: radial-gradient(circle at 80% 10%, rgba(52, 152, 219, .5), transparent 40%), var(--brand-navy); }
.article-header { max-width: 900px; }
.article-header .back-link, .article-header .eyebrow { color: var(--brand-gold); }
.article-header h1 { font-size: clamp(3rem, 6.7vw, 6rem); }
.article-body { display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: 90px; padding-block: clamp(80px, 10vw, 140px); }
.article-body > p, .article-body > h2, .article-body > ul { grid-column: 1; }
.article-body > p { color: #334b50; font-size: 1.1rem; line-height: 1.8; }
.article-body > h2 { margin: 36px 0 0; font-size: 2.15rem; }
.article-body aside { grid-column: 2; grid-row: 1 / span 8; align-self: start; padding: 30px; background: var(--mist); border-top: 3px solid var(--brand-blue-bright); }
.article-body aside p { color: var(--ink); font-family: Georgia, serif; font-size: 1.45rem; }

.contact-page { background: linear-gradient(90deg, var(--brand-navy) 0 49%, var(--mist) 49%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 10vw, 135px); }
.contact-copy { color: white; }
.contact-copy .eyebrow { color: var(--brand-gold); }
.contact-copy h1 { margin-bottom: 25px; font-size: clamp(3.3rem, 6vw, 5.8rem); }
.contact-copy .hero-lede { color: rgba(255, 255, 255, .76); }
.contact-methods { display: grid; margin-top: 48px; }
.contact-methods a { display: flex; align-items: start; gap: 18px; padding: 19px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.contact-methods svg { margin-top: 5px; color: var(--brand-gold); }
.contact-methods small, .contact-methods strong { display: block; }
.contact-methods small { color: rgba(255, 255, 255, .58); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-methods strong { margin-top: 3px; font-size: .95rem; }
.emergency-note { margin-top: 28px; padding-left: 18px; color: rgba(255, 255, 255, .7); border-left: 3px solid var(--brand-gold); }
.form-card { align-self: center; padding: clamp(30px, 4vw, 55px); background: white; box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 32px; font-size: 2.5rem; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: var(--ink); font-size: .76rem; font-weight: 800; letter-spacing: .025em; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 13px; color: var(--ink); background: #f9fbfa; border: 1px solid #cbd7d5; border-radius: 2px; outline: none; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { background: white; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(52, 152, 219, .18); }
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; min-width: 180px; }
.contact-form .button:disabled { cursor: wait; opacity: .65; }
.form-status { display: none; padding: 13px 15px; font-size: .85rem; }
.form-status.success, .form-status.error { display: block; }
.form-status.success { color: #12553b; background: #e3f3eb; }
.form-status.error { color: #8a2a1e; background: #fae7e3; }
.form-note { margin: -3px 0 0; font-size: .72rem; }
.honeypot { position: absolute !important; left: -9999px !important; }

.cta-band { padding-block: 58px; color: white; background: var(--brand-blue); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-inner .eyebrow { margin-bottom: 10px; color: rgba(255, 255, 255, .75); }
.cta-inner h2 { max-width: 710px; margin-bottom: 0; font-size: clamp(2.1rem, 3.6vw, 3.5rem); }
.cta-inner .button-row { flex-wrap: nowrap; }
.phone-link { white-space: nowrap; font-size: 1rem; font-weight: 800; }
.site-footer { color: white; background: var(--brand-navy); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: clamp(36px, 6vw, 85px); padding-block: 74px; }
.footer-grid h2 { margin-bottom: 19px; color: #b9ddf3; font-family: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) > a { display: block; margin-bottom: 9px; color: rgba(255, 255, 255, .72); font-size: .86rem; }
.footer-grid a:hover { color: white; }
.footer-brand img { width: 180px; padding: 8px; background: white; }
.footer-brand p { max-width: 340px; margin-top: 25px; color: rgba(255, 255, 255, .56); font-size: .86rem; }
.footer-grid address { color: rgba(255, 255, 255, .56); font-size: .83rem; }
.footer-bottom { display: flex; min-height: 67px; align-items: center; justify-content: space-between; gap: 24px; color: rgba(255, 255, 255, .45); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .7rem; }
.footer-links { display: flex; align-items: center; gap: 22px; }
.employee-page { min-height: 55vh; background: var(--mist); }
.employee-page .form-card { max-width: 460px; margin-top: 34px; }
.employee-form label { display: block; font-size: .85rem; font-weight: 700; }
.employee-form input { display: block; width: 100%; margin: 8px 0 18px; padding: 12px 14px; border: 1px solid #c8d4e0; border-radius: 4px; font-size: 1rem; }
.form-error { margin-bottom: 14px; padding: 10px 14px; color: #7c1d1d; background: #fbe9e9; border-left: 3px solid #b02a2a; font-size: .88rem; }
.employee-resources { max-width: 720px; margin-top: 34px; }
.resource-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.resource-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 19px; color: var(--ink); background: white; border: 1px solid #dbe4ec; border-radius: 4px; font-weight: 700; }
.resource-list a:hover { border-color: var(--brand-blue-bright); color: var(--brand-blue-bright); }
.resource-kind { color: var(--ink-soft); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.not-found { min-height: 65vh; display: grid; align-items: center; background: var(--mist); text-align: center; }
.not-found .shell { max-width: 760px; }
.not-found p:not(.eyebrow) { max-width: 580px; margin-inline: auto; }
.not-found .button-row { justify-content: center; margin-top: 30px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--delay, 0ms), transform .55s var(--delay, 0ms); }
.reveal.revealed { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .site-nav { gap: 16px; }
  .site-nav > a:not(.nav-cta) { font-size: .74rem; }
  .home-hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { width: calc(100% - 48px); margin-left: 24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact-grid { gap: 60px; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 36px, 680px); }
  .utility-inner span { display: none; }
  .utility-inner { justify-content: end; }
  .header-inner { min-height: 88px; }
  .brand { width: 150px; max-width: calc(100% - 70px); flex-basis: 150px; }
  .menu-toggle { display: flex; }
  .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-close { display: inline-flex; }
  .site-nav { position: absolute; top: 88px; right: 0; left: 0; display: none; height: calc(100vh - 122px); flex-direction: column; align-items: stretch; gap: 0; padding: 24px 24px 36px; overflow-y: auto; background: white; border-top: 1px solid var(--line); }
  .site-nav[data-open] { display: flex; }
  .site-nav > a:not(.nav-cta) { padding: 17px 2px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 25px; padding: 15px 18px; text-align: center; }
  .home-hero { display: flex; min-height: 0; flex-direction: column; }
  .hero-panel { order: 2; }
  .hero-copy { width: var(--shell); margin-inline: auto; padding-block: 65px 75px; }
  .hero-copy h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero-visual { min-height: 390px; order: 1; }
  .hero-visual > img { object-position: 60% 20%; }
  .hero-card { width: 92%; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div { min-height: 105px; padding: 18px; border-bottom: 1px solid rgba(255, 255, 255, .22); }
  .intro-grid, .story-grid, .service-detail, .split-callout, .project-title, .contact-grid, .article-body { grid-template-columns: 1fr; gap: 35px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 38px; }
  .project-grid, .project-grid-full { grid-template-columns: 1fr; }
  .project-card a, .project-grid-full .project-card a { min-height: 490px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, .18); border-left: 0; }
  .value-grid article:first-child { padding-top: 0; border-top: 0; }
  .value-grid span { margin-bottom: 28px; }
  .capability-list { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid > div { padding: 68px 0; }
  .detail-grid > img { width: 100%; min-height: 440px; }
  .gallery-item, .gallery-item:nth-child(7n + 1), .gallery-item:nth-child(7n + 5) { grid-column: span 6; aspect-ratio: 1; }
  .article-body aside { grid-column: 1; grid-row: auto; }
  .contact-page { background: linear-gradient(180deg, var(--brand-navy) 0 47%, var(--mist) 47%); }
  .contact-copy { padding-bottom: 25px; }
  .cta-inner { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 28px); }
  .section { padding-block: 72px; }
  .utility-bar { font-size: .68rem; }
  .service-grid, .service-grid-full, .testimonial-grid, .article-list { grid-template-columns: 1fr; }
  .service-card p { min-height: 0; }
  .testimonial-grid figure, .testimonial-grid figure:first-child, .testimonial-grid figure:nth-child(3) { padding: 26px 0; border-top: 1px solid #cbd7d6; border-left: 0; }
  .testimonial-grid figure:first-child { border-top: 0; }
  .page-hero { min-height: 470px; }
  .page-hero-content { padding-bottom: 56px; }
  .page-hero-content h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .project-intro { padding-bottom: 45px; }
  .project-title h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .gallery-item, .gallery-item:nth-child(7n + 1), .gallery-item:nth-child(7n + 5) { grid-column: span 12; aspect-ratio: 1.18; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 27px 21px; }
  .contact-page { background: linear-gradient(180deg, var(--brand-navy) 0 49%, var(--mist) 49%); }
  .cta-inner .button-row { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { min-height: 100px; align-items: start; flex-direction: column; justify-content: center; gap: 4px; }
}

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