:root {
    --blue: #00aeea;
    --blue-2: #21c4f3;
    --navy: #082a3a;
    --navy-2: #0f4054;
    --ink: #10181d;
    --muted: #62717a;
    --line: #dbe5ea;
    --soft: #f4f8fa;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(8, 42, 58, .13);
    --radius: 24px;
    --container: 1220px;
    --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(0, 174, 234, .22); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(100%, 820px); }
.center { text-align: center; margin-inline: auto; }
.section { padding: clamp(72px, 8vw, 120px) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: var(--white); }
.site-main { overflow: hidden; }

.skip-link {
    position: fixed; left: 16px; top: 12px; z-index: 9999; transform: translateY(-140%);
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { transform: none; }
.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.site-header {
    position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(16,24,29,.06); backdrop-filter: blur(16px);
    transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(8, 42, 58, .08); background: rgba(255,255,255,.98); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 166px; height: auto; }
.custom-logo-link { display: inline-flex; }
.custom-logo { width: 166px; height: auto; }
.primary-nav { margin-left: auto; }
.site-menu { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
.site-menu li { position: relative; }
.site-menu > li > a {
    display: inline-flex; align-items: center; min-height: var(--header-h); color: #25343c; text-decoration: none;
    font-size: 14px; font-weight: 650; transition: color .2s ease;
}
.site-menu > li > a:hover, .site-menu > li.current-menu-item > a, .site-menu > li.current-menu-ancestor > a { color: var(--blue); }
.site-menu .menu-item-has-children > a::after { content: "⌄"; margin-left: 7px; font-size: 12px; transform: translateY(-1px); }
.site-menu .sub-menu {
    position: absolute; top: calc(100% - 8px); left: -18px; min-width: 245px; list-style: none; padding: 10px; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s ease;
    border: 1px solid rgba(8,42,58,.08); border-radius: 16px; background: #fff; box-shadow: var(--shadow);
}
.site-menu li:hover > .sub-menu, .site-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-menu .sub-menu a { display: block; padding: 11px 12px; border-radius: 10px; text-decoration: none; color: #30414a; font-size: 13px; font-weight: 600; }
.site-menu .sub-menu a:hover { background: var(--soft); color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 9px; }
.menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s ease; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
    color: #bcefff; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 9px; }
.eyebrow-dark { color: var(--blue); }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(46px, 6.2vw, 86px); }
h2 { font-size: clamp(34px, 4.2vw, 56px); }
h3 { font-size: clamp(22px, 2.2vw, 29px); }
p { margin: 0 0 1em; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
    padding: 0 22px; border-radius: 999px; border: 1px solid transparent; text-decoration: none;
    font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 28px rgba(0,174,234,.26); }
.btn-primary:hover { background: #009dd4; }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06); }
.btn-light { color: var(--navy); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.38); background: transparent; }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.text-link { font-weight: 800; color: var(--blue); text-decoration: none; }

.hero-home {
    position: relative; isolation: isolate; color: #fff;
    background: linear-gradient(125deg, #061d29 0%, #09394c 52%, #075b78 100%);
    min-height: min(760px, calc(100vh - var(--header-h))); display: grid; align-items: center;
}
.hero-home::before {
    content: ""; position: absolute; inset: auto -15% -35% 35%; height: 620px; z-index: -1;
    background: radial-gradient(circle, rgba(0,174,234,.38) 0%, rgba(0,174,234,0) 68%); filter: blur(5px);
}
.hero-grid-bg {
    position: absolute; inset: 0; z-index: -1; opacity: .14;
    background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 70px 70px; mask-image: linear-gradient(to right, #000 0%, transparent 62%);
}
.hero-home-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(40px, 7vw, 90px); align-items: center; padding: 72px 0; }
.hero-copy h1 { max-width: 760px; }
.hero-copy h1 span { color: var(--blue-2); }
.hero-copy > p { max-width: 690px; margin-top: 26px; color: rgba(255,255,255,.76); font-size: clamp(17px, 1.6vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions--center { justify-content: center; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-tags span { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); padding: 8px 12px; border-radius: 999px; font-size: 12px; color: rgba(255,255,255,.78); }
.hero-collage { position: relative; min-height: 520px; }
.hero-photo { position: absolute; margin: 0; overflow: hidden; border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.15); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo--main { width: 68%; height: 410px; right: 2%; top: 54px; }
.hero-photo--top { width: 45%; height: 205px; left: 0; top: 0; }
.hero-photo--bottom { width: 44%; height: 220px; left: 8%; bottom: 0; }
.experience-chip {
    position: absolute; right: 1%; bottom: 5%; width: 170px; padding: 18px; border-radius: 18px;
    background: #fff; color: var(--ink); box-shadow: var(--shadow); border-left: 4px solid var(--blue);
}
.experience-chip strong { display: block; font-size: 24px; line-height: 1; margin-bottom: 6px; }
.experience-chip span { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }

.split-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 60px; align-items: end; }
.split-heading p { color: var(--muted); font-size: 17px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-head.center { justify-content: center; text-align: center; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card {
    position: relative; min-height: 360px; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none;
    box-shadow: 0 12px 30px rgba(8,42,58,.08); transform: translateZ(0);
}
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.055); }
.category-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,20,28,.92), rgba(4,20,28,.08) 66%); }
.category-content { position: absolute; inset: auto 24px 24px; display: grid; gap: 12px; }
.category-content strong { font-size: 20px; line-height: 1.12; }
.category-content > span { font-size: 13px; color: #c8f1ff; font-weight: 800; }
.category-content small { max-width: 300px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.5; }
.category-grid--large { grid-template-columns: repeat(2, 1fr); }
.category-card--large { min-height: 440px; }
.category-card--large .category-content strong { font-size: 30px; }

.service-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: #fff; }
.service-index { display: block; color: var(--blue); font-weight: 900; font-size: 13px; margin-bottom: 55px; }
.service-card h3 { margin-bottom: 16px; }
.service-card p { color: var(--muted); margin: 0; }

.reference-grid { display: grid; grid-template-columns: .75fr 1fr; gap: clamp(46px, 8vw, 110px); align-items: center; }
.reference-document { margin: 0 auto; width: min(100%, 380px); transform: rotate(-2deg); }
.reference-document img { border-radius: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.32); }
.reference-copy blockquote { margin: 30px 0 15px; font-size: clamp(21px, 2.2vw, 31px); line-height: 1.45; color: rgba(255,255,255,.86); font-weight: 500; }
.quote-author { color: var(--blue-2); font-weight: 800; margin-bottom: 28px; }
.client-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; align-items: center; }
.client-logo { display: grid; place-items: center; min-height: 110px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.client-logo img { max-width: 150px; max-height: 60px; width: auto; }
.funding-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.funding-copy > p { color: var(--muted); font-size: 17px; margin: 26px 0; }
.funding-copy details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.funding-copy summary { cursor: pointer; font-weight: 800; color: var(--navy); }
.funding-copy ol { color: var(--muted); padding-left: 22px; }
.funding-image { margin: 0; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); background: #fff; }
.funding-image img { width: 100%; }

.cta-band { padding: 54px 0; color: #fff; background: linear-gradient(115deg, var(--navy), #075f7c); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-band-inner h2 { font-size: clamp(30px, 4vw, 48px); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.page-hero {
    position: relative; color: #fff; background: linear-gradient(120deg, #072332, #08779c);
    overflow: hidden;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; opacity: .13;
    background-image: linear-gradient(45deg, transparent 46%, rgba(255,255,255,.35) 47%, rgba(255,255,255,.35) 48%, transparent 49%), linear-gradient(-45deg, transparent 46%, rgba(255,255,255,.15) 47%, rgba(255,255,255,.15) 48%, transparent 49%);
    background-size: 78px 78px;
}
.page-hero::after { content: ""; position: absolute; width: 500px; height: 500px; right: -100px; bottom: -320px; border-radius: 50%; background: rgba(0,174,234,.35); filter: blur(25px); }
.page-hero-inner { position: relative; z-index: 2; padding: clamp(74px, 8vw, 120px) 0; max-width: 820px; }
.page-hero-inner h1 { font-size: clamp(48px, 6vw, 76px); }
.page-hero-inner p { max-width: 650px; margin-top: 18px; color: rgba(255,255,255,.76); font-size: 18px; }
.page-hero--compact .page-hero-inner { padding: 65px 0; }

.offer-overview { display: grid; grid-template-columns: .85fr 1fr; gap: 70px; align-items: center; }
.offer-overview-image { margin: 0; min-height: 500px; border-radius: 80px 22px 80px 22px; overflow: hidden; box-shadow: var(--shadow); }
.offer-overview-image img { width: 100%; height: 100%; object-fit: cover; min-height: 500px; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 22px; }
.check-list li { position: relative; padding-left: 28px; color: #34454e; font-weight: 650; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 900; }
.offer-list { padding-top: 40px; }
.offer-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 7vw, 90px); align-items: center; padding: 72px 0; border-bottom: 1px solid var(--line); }
.offer-row--reverse .offer-copy { order: 2; }
.offer-row--reverse .offer-image { order: 1; }
.offer-number { display: block; color: var(--blue); font-size: 13px; font-weight: 900; margin-bottom: 18px; }
.offer-copy h2 { font-size: clamp(31px, 3.4vw, 46px); }
.offer-copy p { margin: 24px 0 30px; color: var(--muted); }
.offer-image { margin: 0; min-height: 360px; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.offer-image img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }

.about-grid { display: grid; grid-template-columns: .72fr 1fr; gap: clamp(45px, 8vw, 100px); align-items: center; }
.about-image { margin: 0; overflow: hidden; border-radius: 28px 160px 28px 160px; min-height: 620px; box-shadow: var(--shadow); }
.about-image img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.about-copy h2 { margin-bottom: 32px; }
.two-col-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; color: var(--muted); }
.reference-intro { max-width: 800px; color: var(--muted); margin-bottom: 34px; }
.reference-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reference-thumb { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 14px; text-align: left; box-shadow: 0 10px 28px rgba(8,42,58,.05); transition: transform .2s ease, box-shadow .2s ease; }
.reference-thumb:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.reference-thumb img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: 11px; }
.reference-thumb span { display: block; margin-top: 12px; color: var(--blue); font-size: 12px; font-weight: 800; }

.gallery-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 30px; color: var(--muted); font-size: 14px; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border: 0; padding: 0; background: #e9f1f4; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; }
.gallery-item:nth-child(4n + 1) { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.045); }
.wp-gallery-content .wp-block-gallery { gap: 16px !important; }
.wp-gallery-content .wp-block-image img { border-radius: 16px; }

.lightbox { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 40px; background: rgba(1,10,15,.92); opacity: 0; visibility: hidden; transition: .2s ease; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 14px; box-shadow: 0 30px 100px rgba(0,0,0,.4); }
.lightbox-close { position: fixed; top: 22px; right: 24px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 30px; line-height: 1; }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 22px; }
.contact-card, .contact-action-card { border-radius: 28px; padding: clamp(30px, 5vw, 58px); }
.contact-card { background: var(--soft); border: 1px solid var(--line); }
.contact-action-card { color: #fff; background: linear-gradient(135deg, #071f2d, #0a536c); position: relative; overflow: hidden; }
.contact-action-card::after { content: "@"; position: absolute; right: -20px; bottom: -95px; font-size: 280px; font-weight: 900; color: rgba(255,255,255,.035); line-height: 1; }
.contact-action-card > * { position: relative; z-index: 2; }
.contact-action-card > p { color: rgba(255,255,255,.73); max-width: 620px; margin: 24px 0 36px; }
.contact-data { margin: 30px 0 0; }
.contact-data > div { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.contact-data dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 800; }
.contact-data dd { margin: 0; font-weight: 750; }
.contact-data a { color: var(--ink); text-decoration-color: rgba(0,174,234,.5); }
.email-display { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; text-decoration: none; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); padding: 24px 0; font-size: clamp(20px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.email-display b { color: var(--blue-2); }
.phone-display { display: inline-block; margin-top: 26px; color: rgba(255,255,255,.78); text-decoration: none; }
.large-map { height: 430px; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow); }
.large-map iframe { width: 100%; height: 100%; border: 0; }

.legal-content { max-width: 860px; }
.legal-content > p { color: var(--muted); font-size: 17px; }
.legal-content h2 { font-size: 28px; margin: 45px 0 14px; }
.legal-content a { color: var(--blue); }
.generic-entry + .generic-entry { margin-top: 50px; border-top: 1px solid var(--line); padding-top: 50px; }

.site-footer { background: #eef3f5; }
.footer-grid { display: grid; grid-template-columns: .8fr 1.5fr .8fr; gap: 38px; align-items: center; padding: 58px 0; }
.brand--footer img { width: 180px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 330px; margin: 18px 0; }
.footer-contact-mini { display: flex; flex-direction: column; gap: 4px; }
.footer-contact-mini a { color: var(--navy); font-size: 13px; font-weight: 800; text-decoration: none; }
.footer-map { height: 230px; overflow: hidden; border-radius: 20px; box-shadow: 0 12px 32px rgba(8,42,58,.08); }
.footer-map iframe { width: 100%; height: 100%; border: 0; }
.footer-menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer-menu a { display: block; background: #fff; color: var(--navy); text-decoration: none; border-radius: 999px; padding: 11px 14px; text-align: center; font-size: 12px; font-weight: 800; }
.footer-bottom { color: rgba(255,255,255,.72); background: #071117; font-size: 12px; }
.footer-bottom-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1.5fr; }
    .footer-nav { grid-column: 1 / -1; }
    .footer-menu { grid-template-columns: repeat(5, 1fr); }
    .footer-menu li:nth-child(n+6) { display: none; }
}

@media (max-width: 900px) {
    :root { --header-h: 70px; }
    .menu-toggle { display: block; }
    .primary-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; padding: 14px 20px 24px; background: #fff;
        border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; visibility: hidden; transition: .25s ease; box-shadow: 0 18px 35px rgba(8,42,58,.12);
    }
    .primary-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .site-menu { display: grid; gap: 0; }
    .site-menu > li > a { min-height: 48px; width: 100%; border-bottom: 1px solid #edf2f4; }
    .site-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; display: none; }
    .site-menu .menu-item-has-children:hover > .sub-menu, .site-menu .menu-item-has-children:focus-within > .sub-menu { display: block; }
    .hero-home { min-height: auto; }
    .hero-home-grid { grid-template-columns: 1fr; padding: 70px 0 90px; }
    .hero-collage { min-height: 450px; max-width: 680px; width: 100%; margin-inline: auto; }
    .split-heading, .funding-grid, .reference-grid, .about-grid, .offer-overview, .contact-grid { grid-template-columns: 1fr; }
    .split-heading { gap: 24px; }
    .offer-overview-image, .offer-overview-image img { min-height: 380px; }
    .offer-row { grid-template-columns: 1fr; gap: 32px; }
    .offer-row--reverse .offer-copy, .offer-row--reverse .offer-image { order: initial; }
    .service-card-grid { grid-template-columns: 1fr; }
    .service-index { margin-bottom: 28px; }
    .two-col-copy { grid-template-columns: 1fr; gap: 5px; }
    .about-image, .about-image img { min-height: 520px; }
    .reference-gallery { grid-template-columns: repeat(2, 1fr); }
    .project-gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(4n + 1) { grid-column: auto; aspect-ratio: 4/3; }
    .client-logos { grid-template-columns: repeat(3, 1fr); }
    .cta-band-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 68px 0; }
    .brand img, .custom-logo { width: 142px; }
    h1 { font-size: clamp(42px, 13vw, 60px); }
    h2 { font-size: clamp(31px, 9vw, 42px); }
    .hero-home-grid { padding-top: 58px; }
    .hero-collage { min-height: 365px; }
    .hero-photo--main { width: 74%; height: 280px; }
    .hero-photo--top { width: 48%; height: 145px; }
    .hero-photo--bottom { width: 48%; height: 150px; }
    .experience-chip { width: 145px; padding: 14px; }
    .experience-chip strong { font-size: 19px; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .category-grid, .category-grid--large { grid-template-columns: 1fr; }
    .category-card, .category-card--large { min-height: 340px; }
    .category-card--large .category-content strong { font-size: 25px; }
    .check-list { grid-template-columns: 1fr; }
    .offer-image, .offer-image img { min-height: 280px; }
    .reference-gallery { gap: 10px; }
    .reference-thumb { padding: 8px; border-radius: 12px; }
    .client-logos { grid-template-columns: repeat(2, 1fr); }
    .gallery-toolbar { align-items: flex-start; flex-direction: column; }
    .project-gallery { grid-template-columns: 1fr; }
    .contact-card, .contact-action-card { padding: 28px 22px; }
    .contact-data > div { grid-template-columns: 1fr; gap: 5px; }
    .email-display { align-items: flex-start; font-size: 20px; overflow-wrap: anywhere; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-nav { grid-column: auto; }
    .footer-menu { grid-template-columns: repeat(2, 1fr); }
    .footer-menu li:nth-child(n+6) { display: none; }
    .footer-bottom-inner { padding: 16px 0; align-items: flex-start; flex-direction: column; }
    .lightbox { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
.brand-wrap { display: inline-flex; align-items: center; }
@media (max-width: 900px) { body.menu-open { overflow: hidden; } }

/* ALECO 2.0 — photo-led portfolio */
.page-hero--photo {
    background: #071f2d;
}
.page-hero--photo::before {
    opacity: 1;
    background-image:
        linear-gradient(90deg, rgba(3, 18, 27, .88) 0%, rgba(4, 36, 50, .67) 48%, rgba(5, 77, 100, .36) 100%),
        var(--hero-bg);
    background-size: cover;
    background-position: center;
}
.page-hero--photo::after {
    background: rgba(0, 174, 234, .24);
}
.page-hero--photo .page-hero-inner {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.page-hero--compact.page-hero--photo .page-hero-inner { min-height: 300px; }

.featured-projects { padding-top: 30px; }
.featured-mosaic {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}
.featured-tile {
    grid-column: span 5;
    min-height: 390px;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(8, 42, 58, .1);
}
.featured-tile--wide { grid-column: span 7; }
.featured-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.featured-tile:hover img { transform: scale(1.045); }
.featured-tile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3,16,23,.05) 20%, rgba(3,16,23,.86) 100%);
}
.featured-tile__content {
    position: absolute;
    inset: auto 30px 28px;
    display: grid;
    gap: 7px;
}
.featured-tile__content small {
    color: #bfefff;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 11px;
    font-weight: 850;
}
.featured-tile__content strong {
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1.08;
    letter-spacing: -.03em;
}
.featured-tile__content em {
    margin-top: 4px;
    color: rgba(255,255,255,.8);
    font-style: normal;
    font-size: 13px;
    font-weight: 750;
}

/* Natural-ratio portfolio gallery: keeps portrait and landscape photos intact. */
.project-gallery {
    display: block;
    columns: 3;
    column-gap: 16px;
}
.project-gallery .gallery-item {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    margin: 0 0 16px;
    break-inside: avoid;
    border-radius: 18px;
    overflow: hidden;
    background: #edf3f5;
}
.project-gallery .gallery-item:nth-child(4n + 1) {
    grid-column: auto;
    aspect-ratio: auto;
}
.project-gallery .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.gallery-intro {
    max-width: 850px;
    margin: -4px 0 34px;
    color: var(--muted);
}
.lightbox-nav {
    position: fixed;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.08);
    font-size: 38px;
    line-height: 1;
    display: grid;
    place-items: center;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.78);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .05em;
}

@media (max-width: 900px) {
    .featured-tile, .featured-tile--wide { grid-column: span 6; min-height: 340px; }
    .project-gallery { columns: 2; }
}

@media (max-width: 680px) {
    .page-hero--photo .page-hero-inner { min-height: 320px; }
    .page-hero--compact.page-hero--photo .page-hero-inner { min-height: 260px; }
    .featured-mosaic { grid-template-columns: 1fr; }
    .featured-tile, .featured-tile--wide { grid-column: auto; min-height: 330px; }
    .featured-tile__content { inset: auto 22px 22px; }
    .project-gallery { columns: 1; }
    .lightbox-nav { width: 44px; height: 44px; font-size: 30px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}


/* ALECO 2.1.1 — sharper office photo and reference documents */
.about-grid--office {
    align-items: start;
}
.about-image--office {
    border-radius: 24px;
    min-height: 0;
    background: #fff;
}
.about-image--office img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
}
.reference-gallery--documents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.reference-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(8,42,58,.06);
}
.reference-thumb--document {
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
    background: #fff;
}
.reference-thumb--document:hover {
    transform: none;
    box-shadow: none;
}
.reference-thumb--document img {
    width: 100%;
    aspect-ratio: 1 / 1.414;
    object-fit: contain;
    object-position: center top;
    border-radius: 0;
    background: #fff;
}
.reference-card-copy {
    display: grid;
    gap: 12px;
}
.reference-card-copy strong {
    font-size: 17px;
}
.reference-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.lightbox img {
    background: #fff;
    padding: 8px;
}
@media (max-width: 900px) {
    .reference-gallery--documents {
        grid-template-columns: 1fr;
    }
}
