@font-face {
    font-family: "Alfa Slab One";
    src: url("../fonts/alfa-slab-one.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Work Sans";
    src: url("../fonts/work-sans.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 100 900;
}

:root {
    --navy: #183c51;
    --blue: #0087e1;
    --teal: #47a7a6;
    --light-teal: #6cb9b8;
    --ink: #3e3e3e;
    --muted: #6d7880;
    --pale: #f2f6f8;
    --border: #d6e0e5;
    --white: #fff;
    --shadow: 0 18px 45px rgba(24, 60, 81, .14);
    --display: "Alfa Slab One", Georgia, serif;
    --body: "Work Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: #fbfdfe;
    color: var(--ink);
    font-family: var(--body);
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; height: auto; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3 {
    color: var(--navy);
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: .045em;
    line-height: 1.08;
    margin: 0;
    text-transform: uppercase;
}

h1 { font-size: clamp(3rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.45rem); }
h3 { font-size: 1.05rem; line-height: 1.3; }
p { font-size: 1.05rem; line-height: 1.7; margin: 0; }

.container { margin-inline: auto; max-width: 1240px; padding-inline: clamp(1.25rem, 5vw, 4rem); width: 100%; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.compact-section { padding-block: clamp(4rem, 7vw, 6rem); }
.screen-reader-text { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.skip-link { background: var(--navy); color: var(--white); left: 1rem; padding: .8rem 1rem; position: fixed; top: -5rem; z-index: 1000; }
.skip-link:focus { top: 1rem; }

.site-header {
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid rgba(24,60,81,.1);
    left: 0;
    position: sticky;
    right: 0;
    top: 0;
    transition: box-shadow .2s ease;
    z-index: 100;
}

.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(24,60,81,.12); }

.header-inner {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin: auto;
    min-height: 98px;
    padding: .55rem clamp(1.25rem, 5vw, 4rem);
}

.brand { flex: 0 0 auto; }
.brand img { height: 78px; object-fit: contain; object-position: left center; width: 160px; }

.site-nav { align-items: center; display: flex; gap: clamp(1.1rem, 2.3vw, 2.2rem); }
.site-nav > a { color: var(--navy); font-size: .9rem; font-weight: 700; padding-block: .65rem; position: relative; text-decoration: none; }
.site-nav > a:not(.button)::after { background: var(--blue); bottom: .25rem; content: ""; height: 2px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; width: 100%; }
.site-nav > a:hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle { background: transparent; border: 0; cursor: pointer; display: none; padding: .55rem; }
.menu-toggle > span:not(.screen-reader-text) { background: var(--navy); display: block; height: 2px; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; width: 28px; }

.button {
    align-items: center;
    background: var(--blue);
    border: 2px solid var(--blue);
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    font-size: .82rem;
    font-weight: 800;
    gap: .8rem;
    justify-content: center;
    letter-spacing: .055em;
    margin-top: 2rem;
    min-height: 52px;
    padding: .9rem 1.45rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover { background: #006fba; border-color: #006fba; transform: translateY(-2px); }
.button-outline { background: transparent; border-color: var(--navy); color: var(--navy); margin: 0; }
.button-outline:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.eyebrow, .kicker { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.kicker { color: var(--blue); margin-bottom: 1rem; }
.section-heading { margin: 0 auto 3rem; max-width: 780px; text-align: center; }
.section-heading > p:last-child { color: var(--muted); margin-top: 1rem; }

.hero {
    background: linear-gradient(135deg, #102d3d, var(--navy));
    color: var(--white);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr);
    min-height: min(820px, calc(100vh - 98px));
    overflow: hidden;
    position: relative;
}

.hero::after { background: radial-gradient(circle at 16% 25%, rgba(0,135,225,.19), transparent 36%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.hero-content { align-self: center; justify-self: end; max-width: 780px; padding: 6rem clamp(3rem, 6vw, 7rem); position: relative; width: 100%; z-index: 2; }
.hero-content > * { max-width: 820px; }
.hero h1 { color: var(--white); margin-top: 1.2rem; text-shadow: 0 3px 22px rgba(0,0,0,.3); }
.hero .eyebrow { font-size: clamp(.86rem, 1.8vw, 1.1rem); letter-spacing: .04em; line-height: 1.5; text-transform: none; }
.hero-intro { font-size: clamp(1rem, 1.6vw, 1.2rem); margin-top: 1.25rem; max-width: 650px; text-shadow: 0 2px 15px rgba(0,0,0,.65); }
.hero-proof { border-top: 1px solid rgba(255,255,255,.45); display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); margin-top: 2.6rem; max-width: 800px; padding-top: 1.25rem; }
.hero-proof span { font-size: .78rem; line-height: 1.45; text-transform: uppercase; }
.hero-proof strong { color: var(--white); display: block; font-size: .92rem; letter-spacing: .05em; }
.hero-media { grid-column: 2; grid-row: 1; min-height: 100%; overflow: hidden; position: relative; z-index: 1; }
.hero-media::after { background: linear-gradient(90deg, rgba(24,60,81,.55), transparent 24%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.hero-media img { height: 100%; object-fit: cover; object-position: center; width: 100%; }
.hero-media span { background: rgba(7,17,24,.78); bottom: 1.5rem; color: var(--white); font-size: .72rem; font-weight: 800; left: 1.5rem; letter-spacing: .08em; padding: .7rem .9rem; position: absolute; text-transform: uppercase; z-index: 2; }

.service-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(3, 1fr); }
.service-card { align-items: flex-end; background: var(--navy); box-shadow: 0 16px 38px rgba(24,60,81,.13); display: flex; min-height: 410px; overflow: hidden; padding: 2rem; position: relative; text-decoration: none; }
.service-card::before { background: linear-gradient(0deg, rgba(0,0,0,.68), rgba(0,0,0,.02) 70%); content: ""; inset: 0; position: absolute; z-index: 1; }
.service-card::after { border: 1px solid rgba(255,255,255,.55); content: ""; inset: 1rem; opacity: 0; position: absolute; transform: scale(.97); transition: opacity .25s ease, transform .25s ease; }
.service-card:hover::after { opacity: 1; transform: scale(1); }
.service-card img { height: 100%; inset: 0; object-fit: cover; position: absolute; transition: transform .35s ease; width: 100%; }
.service-card:hover img { transform: scale(1.045); }
.service-card span { color: var(--white); font-family: var(--display); font-size: clamp(1.35rem, 2vw, 1.9rem); letter-spacing: .06em; position: relative; text-shadow: 0 2px 14px rgba(0,0,0,.55); text-transform: uppercase; z-index: 2; }
.center-action { margin-top: 2.3rem; text-align: center; }
.text-link { color: var(--blue); font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.split-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 610px; }
.split-copy { align-items: flex-start; display: flex; flex-direction: column; justify-content: center; padding: clamp(3.5rem, 8vw, 8rem); }
.split-copy p:not(.kicker) { margin-top: 1.6rem; max-width: 640px; }
.split-image { min-height: 520px; overflow: hidden; }
.split-image img { height: 100%; object-fit: cover; width: 100%; }
.split-dark .split-copy { background: var(--navy); color: var(--white); }
.split-dark h2 { color: var(--white); }
.split-dark .kicker { color: var(--light-teal); }

.project-collage { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); min-height: 610px; }
.project-collage img { height: 100%; object-fit: cover; width: 100%; }
.project-collage img:first-child { grid-row: 1 / 3; }

.reason-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(4, 1fr); text-align: center; }
.reason-grid article { border: 1px solid var(--border); min-height: 200px; padding: 2.2rem 1rem; transition: border-color .2s ease, transform .2s ease; }
.reason-grid article:hover { border-color: var(--blue); transform: translateY(-4px); }
.reason-icon { align-items: center; background: var(--pale); border-radius: 50%; color: var(--blue); display: inline-flex; font-size: 1.55rem; height: 68px; justify-content: center; margin-bottom: 1.25rem; width: 68px; }
.reason-grid h3 { font-family: var(--body); font-size: .94rem; font-weight: 800; letter-spacing: .04em; }

.testimonials { background: var(--pale); }
.testimonial-layout { align-items: center; display: grid; gap: clamp(3rem, 9vw, 8rem); grid-template-columns: .65fr 1.35fr; }
.testimonial-mark { align-items: center; background: var(--white); border-radius: 50%; box-shadow: var(--shadow); display: flex; justify-content: center; max-width: 360px; min-height: 360px; }
.testimonial-mark img { width: 270px; }
.testimonial-slider { margin-top: 2rem; min-height: 235px; position: relative; }
.testimonial { display: none; margin: 0; }
.testimonial.is-active { animation: fade-in .35s ease; display: block; }
.testimonial p { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 760px; }
.testimonial cite { color: var(--navy); display: block; font-style: normal; font-weight: 800; margin-top: 1.2rem; }
.slider-controls { display: flex; gap: .6rem; margin-top: 1.5rem; }
.slider-controls button { background: var(--white); border: 1px solid var(--border); color: var(--navy); cursor: pointer; height: 42px; width: 46px; }
.slider-controls button:hover { border-color: var(--blue); color: var(--blue); }

.page-hero {
    align-items: flex-end;
    background-image: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.15)), var(--hero-image);
    background-position: var(--hero-position, center);
    background-size: cover;
    color: var(--white);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 35%);
    min-height: 670px;
    padding-left: clamp(1.25rem, 8vw, 8rem);
}

.page-hero-copy { max-width: 850px; padding: 6rem 3rem 6rem 0; }
.page-hero-copy h1, .page-contact-card h2 { color: var(--white); }
.page-hero-copy > p:last-child { margin-top: 1.2rem; max-width: 620px; }
.page-contact-card { align-self: end; background: rgba(24,60,81,.95); padding: clamp(2.5rem, 5vw, 4.5rem); }
.page-contact-card h2 { font-size: 1.55rem; margin-bottom: 1.35rem; }
.page-contact-card p { font-size: .95rem; line-height: 1.8; }
.page-contact-card a { display: block; font-size: .98rem; font-weight: 700; margin-top: .8rem; overflow-wrap: anywhere; text-decoration: none; }
.page-contact-card a:hover { text-decoration: underline; }

.statement { background: var(--teal); color: var(--white); padding-block: clamp(4rem, 8vw, 7rem); text-align: center; }
.statement h2 { color: var(--white); margin: auto; max-width: 960px; }
.statement .kicker { color: var(--navy); }

.service-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 610px; }
.service-row.reverse .service-copy { order: 2; }
.service-row.reverse .service-image { order: 1; }
.service-copy { align-items: flex-start; display: flex; flex-direction: column; justify-content: center; padding: clamp(3.5rem, 8vw, 8rem); }
.service-copy p:not(.kicker) { margin-top: 1.5rem; max-width: 650px; }
.service-copy .text-link { margin-top: 1.8rem; }
.service-image { min-height: 560px; overflow: hidden; }
.service-image img { height: 100%; object-fit: cover; width: 100%; }
.tick-list { columns: 2; font-size: 1rem; line-height: 1.7; list-style: none; margin: 1.5rem 0 0; padding: 0; width: 100%; }
.tick-list li { break-inside: avoid; margin-bottom: .5rem; padding-left: 1.7rem; position: relative; }
.tick-list li::before { color: var(--blue); content: "✓"; font-weight: 800; left: 0; position: absolute; }

.project-strip { display: grid; grid-template-columns: repeat(4, 1fr); height: 320px; }
.project-strip img { height: 100%; object-fit: cover; width: 100%; }
.project-preview-grid { display: grid; gap: .8rem; grid-auto-rows: 260px; grid-template-columns: repeat(3, 1fr); }
.project-preview-grid a { background: var(--pale); overflow: hidden; }
.project-preview-grid img { height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.project-preview-grid a:hover img { transform: scale(1.045); }

.gallery-section { max-width: 1440px; }
.gallery-grid { display: grid; gap: .8rem; grid-auto-rows: 285px; grid-template-columns: repeat(3, 1fr); }
.gallery-item { background: var(--pale); border: 0; cursor: zoom-in; overflow: hidden; padding: 0; }
.gallery-item:nth-child(7n + 1), .gallery-item:nth-child(7n + 5) { grid-row: span 2; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.gallery-item:hover img { transform: scale(1.045); }

.lightbox { align-items: center; background: rgba(8,22,30,.94); border: 0; cursor: zoom-out; display: flex; inset: 0; justify-content: center; padding: clamp(1rem, 5vw, 4rem); position: fixed; width: 100%; z-index: 999; }
.lightbox[hidden] { display: none; }
.lightbox img { box-shadow: 0 18px 80px rgba(0,0,0,.5); max-height: 90vh; max-width: min(1200px, 94vw); object-fit: contain; }
.lightbox span { color: var(--white); font-size: 3rem; line-height: 1; position: absolute; right: 1.5rem; top: 1rem; }

.contact-section { display: grid; gap: clamp(3rem, 8vw, 7rem); grid-template-columns: .85fr 1.15fr; padding-block: clamp(5rem, 10vw, 9rem); }
.service-area-card { background-color: var(--navy); background-image: linear-gradient(0deg, rgba(10,31,43,.9), rgba(24,60,81,.72)), var(--service-area-image); background-position: center; background-size: cover; color: var(--white); min-height: 620px; padding: clamp(2.5rem, 5vw, 4.5rem); }
.service-area-card h2 { color: var(--white); }
.service-area-card > p:not(.kicker) { margin-top: 1.5rem; }
.service-area-card > a { color: var(--white); display: inline-block; font-family: var(--display); font-size: 1.35rem; letter-spacing: .04em; margin-top: 1.5rem; text-decoration: none; }
.map-pin { border: 4px solid var(--light-teal); border-radius: 50% 50% 50% 0; display: block; height: 46px; margin-bottom: 2rem; transform: rotate(-45deg); width: 46px; }
.map-pin::after { background: var(--light-teal); border-radius: 50%; content: ""; height: 12px; left: 13px; position: absolute; top: 13px; width: 12px; }
.contact-copy > p:not(.kicker) { margin-top: 1.2rem; }
.quote-form { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; margin-top: 2rem; }
.form-field { display: flex; flex-direction: column; gap: .45rem; }
.form-wide { grid-column: 1 / -1; }
.form-field label { color: var(--navy); font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea { background: var(--pale); border: 1px solid transparent; border-bottom-color: #9eb0ba; border-radius: 0; color: var(--ink); min-height: 52px; padding: .85rem 1rem; width: 100%; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); outline: 2px solid rgba(0,135,225,.16); }
.quote-form .button { margin-top: .4rem; }
.honeypot { left: -9999px; position: absolute; }
.form-notice { border-left: 4px solid; margin-top: 1.5rem; padding: 1rem 1.2rem; }
.form-notice.success { background: #eaf8ef; border-color: #238b49; }
.form-notice.error { background: #fff0f0; border-color: #c23737; }

.quote-band { display: grid; grid-template-columns: 1fr 1fr; }
.quote-question, .quote-call { align-items: center; display: flex; justify-content: center; min-height: 230px; padding: 3rem; text-align: center; }
.quote-question { background: var(--light-teal); }
.quote-call { background: var(--teal); color: var(--white); flex-direction: column; }
.quote-question h2, .quote-call p, .quote-call a { color: var(--white); }
.quote-call p { font-family: var(--display); font-size: clamp(1.35rem, 3vw, 2.2rem); letter-spacing: .05em; line-height: 1.2; text-transform: uppercase; }
.quote-call a { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 2rem); margin-top: .8rem; text-decoration: none; }

.footer-main { background: var(--navy); color: var(--white); display: grid; gap: 2rem; grid-template-columns: 1.1fr 1.1fr repeat(3, 1fr); padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem); }
.footer-main img { background: var(--white); height: 112px; object-fit: contain; padding: .55rem; width: 185px; }
.footer-main h3 { color: var(--white); font-family: var(--body); font-size: .8rem; font-weight: 800; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-main p, .footer-main a { color: rgba(255,255,255,.8); font-size: .9rem; line-height: 1.85; text-decoration: none; }
.footer-main a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { background: #102d3d; color: rgba(255,255,255,.65); display: flex; font-size: .78rem; justify-content: space-between; padding: 1.2rem clamp(1.25rem, 5vw, 4rem); }

.not-found { min-height: 60vh; padding-block: 8rem; text-align: center; }
.not-found p:not(.kicker) { margin: 1.5rem auto 0; max-width: 600px; }

@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
    .menu-toggle { display: block; position: relative; z-index: 102; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-nav { align-items: stretch; background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .4rem; left: 0; opacity: 0; padding: 7rem 2rem 2.5rem; pointer-events: none; position: fixed; right: 0; top: 0; transform: translateY(-20px); transition: opacity .2s ease, transform .2s ease; }
    .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .site-nav > a { font-size: 1.05rem; padding: .8rem 0; }
    .nav-quote { align-self: flex-start; margin-top: .5rem !important; padding: .8rem 1.2rem !important; }
    .page-hero { grid-template-columns: 1fr; padding-left: clamp(1.25rem, 7vw, 4rem); }
    .page-contact-card { max-width: 500px; }
    .reason-grid { grid-template-columns: repeat(2, 1fr); }
    .project-strip { grid-template-columns: repeat(2, 1fr); height: 500px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: repeat(3, 1fr); }
    .footer-brand, .footer-partner { grid-column: auto; }
}

@media (max-width: 720px) {
    h1 { font-size: clamp(2.7rem, 15vw, 4.4rem); }
    h2 { font-size: clamp(1.8rem, 9vw, 2.7rem); }
    .header-inner { min-height: 78px; }
    .brand img { height: 62px; width: 128px; }
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-content { justify-self: stretch; max-width: none; padding: 5rem 1.5rem 4rem; }
    .hero-media { grid-column: 1; grid-row: 2; min-height: 420px; }
    .service-grid, .split-section, .service-row, .contact-section, .quote-band { grid-template-columns: 1fr; }
    .service-card { min-height: 320px; }
    .split-section, .service-row { min-height: auto; }
    .split-image, .service-image { min-height: 420px; }
    .hero-proof { gap: .8rem; grid-template-columns: 1fr; max-width: 340px; }
    .project-collage { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 230px); min-height: 690px; }
    .project-collage img:first-child { grid-row: auto; }
    .project-preview-grid { grid-auto-rows: 220px; grid-template-columns: repeat(2, 1fr); }
    .split-copy, .service-copy { padding: 4rem 1.5rem; }
    .service-row.reverse .service-copy { order: 1; }
    .service-row.reverse .service-image { order: 2; }
    .testimonial-layout { grid-template-columns: 1fr; }
    .testimonial-mark { display: none; }
    .page-hero { min-height: 640px; padding-left: 0; }
    .page-hero-copy { padding: 5rem 1.5rem 3rem; }
    .page-contact-card { max-width: none; padding: 2rem 1.5rem; }
    .tick-list { columns: 1; }
    .gallery-grid { gap: .55rem; grid-auto-rows: 210px; }
    .gallery-item:nth-child(7n + 1), .gallery-item:nth-child(7n + 5) { grid-row: span 1; }
    .contact-section { padding-inline: 1.25rem; }
    .service-area-card { min-height: 520px; }
    .quote-form { grid-template-columns: 1fr; }
    .quote-form .form-wide { grid-column: 1; }
    .quote-question, .quote-call { min-height: 190px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-bottom { align-items: center; flex-direction: column; gap: .4rem; text-align: center; }
}

@media (max-width: 460px) {
    .reason-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
    .reason-grid article { min-height: 180px; padding: 1.7rem .6rem; }
    .reason-grid h3 { font-size: .78rem; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 270px; }
    .project-strip { grid-template-columns: 1fr 1fr; height: 440px; }
    .project-preview-grid { grid-auto-rows: 190px; }
    .footer-main { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
