@font-face {
    font-family: Manrope;
    src: url("fonts/manrope.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}
@font-face {
    font-family: "Space Grotesk";
    src: url("fonts/space-grotesk.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

:root {
    color-scheme: light;
    --ink: #10264c;
    --muted: #415c7f;
    --paper: #f3f7ff;
    --card: #fff;
    --line: #ccd9ed;
    --soft: #e7efff;
    --blue: #174aab;
    --sky: #a8daff;
    --navy: #0a1e46;
    --on-dark: #d7e7ff;
    --field-border: #6f89ac;
    --focus-color: var(--blue);
    --shadow: 0 .65rem 1.8rem #122d601c;
    --surface-gradient: linear-gradient(120deg, #fff 0%, #edf4ff 52%, #d6e6ff 100%);
    --deep-gradient: linear-gradient(128deg, var(--navy) 8%, #10346e 56%, #1b50a6 100%);
    --primary-gradient: linear-gradient(120deg, #123879, #1a55ba);
    --accent-gradient: linear-gradient(112deg, #bfe6ff, #81b9ff);
    --blueprint-grid: linear-gradient(90deg, #9fc8ff15 1px, transparent 1px) 0 0 / 1.5rem 1.5rem,
                      linear-gradient(#9fc8ff15 1px, transparent 1px) 0 0 / 1.5rem 1.5rem;
    --display: "Space Grotesk", system-ui, sans-serif;
    --body: Manrope, system-ui, sans-serif;
    --radius: 1.2rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 5rem; }
body { margin: 0; color: var(--ink); background: linear-gradient(180deg, #eaf2ff, var(--paper) 42rem); font: 500 1rem/1.65 var(--body); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, summary { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 4px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 5.4vw, 5.6rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.9rem); }
h3 { font-size: 1.38rem; }
.icon { display: inline-block; width: 1.25em; height: 1.25em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.shell { width: min(100% - 5.5rem, 81rem); margin-inline: auto; }
.section { margin-block: clamp(1.75rem, 4vw, 3.8rem); }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 20; top: .75rem; left: .75rem; padding: .6rem 1rem; background: white; }

.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: linear-gradient(112deg, #fff 12%, #f0f6ff 100%); }
.site-header-inner { min-height: 5.25rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.brand { display: inline-block; width: min(100%, 15rem); min-width: 0; vertical-align: middle; }
.brand img { width: 100%; }
.site-header .brand { width: clamp(9rem, 21vw, 15rem); }
.desktop-nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem); }
.desktop-nav a { position: relative; padding-block: 1.1rem; font-size: .93rem; font-weight: 800; text-decoration: none; }
.desktop-nav a::after { position: absolute; content: ""; inset: auto 0 .58rem; background: var(--primary-gradient); height: 2px; border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.desktop-nav a[aria-current], .desktop-nav a:hover { color: var(--blue); }
.desktop-nav a[aria-current]::after, .desktop-nav a:hover::after { transform: scaleX(1); }
.header-actions, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.header-phone { display: inline-flex; align-items: center; gap: .42rem; color: var(--ink); font-weight: 800; font-size: .9rem; white-space: nowrap; text-decoration: none; }
.header-phone .icon { color: var(--blue); }
.mobile-menu, .bottom-nav { display: none; }

.button {
    display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: .5rem;
    padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: .53rem; text-decoration: none;
    font-size: .94rem; font-weight: 800; line-height: 1.2; white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--primary-gradient); color: #fff; box-shadow: 0 .25rem .65rem #12387933; }
.button-primary:hover { background: linear-gradient(120deg, #16458e, #1c5dc5); box-shadow: 0 .4rem .95rem #1238794d; }
.button-accent { color: var(--navy); background: var(--accent-gradient); border-color: #6395d9; box-shadow: 0 .25rem .7rem #061d4e33; }
.button-accent:hover { background: linear-gradient(112deg, #dcf0ff, #a8d1ff); }
.button-outline { background: #ffffff75; border-color: var(--field-border); color: var(--ink); }
.button-outline:hover { background: var(--soft); border-color: var(--blue); }
.button-light { color: #fff; border-color: #a8c9f9b3; background: #ffffff0d; }
.button-light:hover { background: #ffffff26; }
.text-link { color: var(--blue); text-underline-offset: .25em; font-weight: 800; }
.text-link:hover { color: var(--ink); }
.text-button { padding: 0; border: 0; color: inherit; background: transparent; text-decoration: underline; text-underline-offset: .2em; }

.site-hero {
    --focus-color: var(--sky);
    --hero-media-height: clamp(13rem, 24vw, 21rem);
    position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    gap: clamp(.55rem, 1.5vw, 1.15rem); margin-block: clamp(.65rem, 2vw, 1.7rem) clamp(.9rem, 2vw, 1.6rem);
    padding: clamp(.65rem, 1.4vw, 1.05rem); border-radius: 1.25rem; color: #fff; box-shadow: var(--shadow);
    background: var(--blueprint-grid), radial-gradient(ellipse at 68% 100%, #387add78, transparent 68%), var(--deep-gradient);
}
.site-hero::before {
    position: absolute; z-index: -1; inset: 0; content: ""; pointer-events: none;
    background: repeating-radial-gradient(ellipse at 4% 112%, transparent 0 1.35rem, #9ed2ff34 1.4rem 1.45rem);
    mask-image: linear-gradient(115deg, #000, transparent 72%);
}
.breadcrumbs + .site-hero { margin-top: 0; }
.site-hero-compact { grid-template-columns: minmax(0, 1fr); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(.85rem, 2.4vw, 2.4rem); }
.hero-copy h1 { font-size: clamp(2.05rem, 4vw, 3.6rem); line-height: 1.04; overflow-wrap: anywhere; }
.site-hero-compact h1 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
.hero-copy h1 em { color: var(--sky); font-style: normal; }
.hero-copy .eyebrow { display: inline-flex; gap: .4rem; align-items: center; margin-bottom: .55rem; color: var(--sky); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.hero-intro { max-width: 52ch; margin-top: .7rem; color: var(--on-dark); font-size: clamp(.98rem, 1.4vw, 1.12rem); line-height: 1.55; }
.hero-actions { margin-top: clamp(.75rem, 2vw, 1.25rem); }

.hero-image, .hero-photos > .gallery-item, .showcase-track { border: 1px solid #b7d7ff59; border-radius: .85rem; }
.hero-image { position: relative; isolation: isolate; overflow: hidden; min-height: var(--hero-media-height); background: var(--navy); }
.hero-photos { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: .45rem; min-height: var(--hero-media-height); }
.hero-photos > .gallery-item + .gallery-item { margin-block-start: clamp(.55rem, 2vw, 1.5rem); }
.hero-image img, .hero-photos .gallery-item img, .project-board .gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.hero-image::after, .showcase-slide::after { position: absolute; inset: 25% 0 0; content: ""; background: linear-gradient(transparent, #0b2457a6 60%, #07152ff7); pointer-events: none; }
.hero-image figcaption { position: absolute; z-index: 1; bottom: .75rem; inset-inline: .85rem; font-size: .85rem; font-weight: 800; line-height: 1.35; }
.hero-image figcaption span { color: var(--on-dark); font-weight: 600; }

.showcase { display: flex; flex-direction: column; min-width: 0; }
.showcase-track { display: flex; flex: 1 0 auto; width: 100%; min-width: 0; min-height: var(--hero-media-height); aspect-ratio: 2.1; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.showcase.has-controls .showcase-track { scrollbar-width: none; }
.showcase.has-controls .showcase-track::-webkit-scrollbar { display: none; }
.showcase-slide { position: relative; isolation: isolate; flex: 0 0 100%; min-width: 0; overflow: hidden; scroll-snap-align: start; background: var(--navy); }
.showcase-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.showcase-slide figcaption { position: absolute; z-index: 1; bottom: clamp(.8rem, 2vw, 1.75rem); left: clamp(.8rem, 2vw, 1.75rem); right: 1rem; color: #fff; }
.showcase-slide figcaption > span { display: block; color: var(--on-dark); font-size: .82rem; font-weight: 800; line-height: 1.3; }
.caption-credit { color: inherit; font-weight: 600; }
.showcase-slide figcaption a { display: inline-block; margin-top: .3rem; font: 700 clamp(1.1rem, 1.85vw, 1.5rem)/1.12 var(--display); text-decoration-thickness: 1px; text-underline-offset: .2em; letter-spacing: -.035em; }
.showcase-slide figcaption a:hover { color: var(--sky); }
.showcase-controls { display: grid; grid-template-columns: 1fr auto 1fr; gap: .35rem; align-items: center; padding: .3rem 0 0 .25rem; }
.showcase-toggle { justify-self: start; min-width: 3.6rem; min-height: 2.75rem; border: 0; border-radius: .45rem; background: transparent; color: var(--on-dark); font-size: .85rem; font-weight: 800; }
.showcase-toggle:hover { color: var(--sky); }
.showcase-dots, .showcase-steps { display: flex; align-items: center; }
.showcase-steps { justify-self: end; gap: .25rem; }
.showcase-steps .icon-button { width: 2.75rem; height: 2.65rem; }
.showcase-dots button { display: grid; place-items: center; width: 1.5rem; height: 2.75rem; padding: 0; border: 0; border-radius: .3rem; background: transparent; }
.showcase-dots span { display: block; width: .38rem; height: .38rem; border-radius: 1rem; background: #aac1e1; transition: width .2s ease, background-color .2s ease; }
.showcase-dots button[aria-current] span { width: .9rem; background: var(--sky); }
.showcase-track:focus-visible { outline: 3px solid var(--focus-color); outline-offset: -3px; }

.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: .75rem; background: var(--surface-gradient); }
.proof-strip div { display: flex; align-items: center; justify-content: center; gap: .65rem; padding: 1.1rem .55rem; font-weight: 800; font-size: .94rem; }
.proof-strip div + div { border-left: 1px solid var(--line); }
.proof-strip .icon { color: var(--blue); }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.3rem; }
.split-heading h2, .reading-head h2 { text-wrap: pretty; }
.split-heading .text-link { white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .7rem; }
.service-card {
    display: grid; grid-column: span 2; grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--line);
    border-radius: var(--radius); background: linear-gradient(155deg, #fff 50%, #eaf2ff); text-decoration: none;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.service-card:nth-child(n + 4) { grid-column: span 3; }
.service-card:hover { transform: translateY(-3px); border-color: #83aae3; box-shadow: var(--shadow); }
.service-card-photo { position: relative; grid-column: 1 / -1; overflow: hidden; background: var(--navy); }
.service-card-photo img { width: 100%; aspect-ratio: 2.05; object-fit: cover; transition: transform .35s ease; }
.service-card:nth-child(n + 4) .service-card-photo img { aspect-ratio: 2.75; }
.service-card:hover .service-card-photo img { transform: scale(1.045); }
.service-icon { position: absolute; bottom: .75rem; left: .8rem; display: grid; width: 2.55rem; height: 2.55rem; place-items: center; color: var(--navy); border-radius: .55rem; background: var(--accent-gradient); box-shadow: 0 .2rem .65rem #061d4e40; }
.service-icon .icon { width: 1.25rem; height: 1.25rem; }
.service-copy, .service-copy > span { display: block; }
.service-copy { padding: .95rem .35rem 1.05rem 1rem; }
.service-stage { color: var(--blue); font-size: .78rem; font-weight: 800; }
.service-label { margin-block: .28rem .45rem; font: 700 clamp(1.08rem, 1.7vw, 1.45rem)/1.1 var(--display); letter-spacing: -.035em; }
.service-description { color: var(--muted); font-size: .94rem; }
.service-open { display: grid; align-self: end; place-items: center; width: 1.9rem; height: 1.9rem; margin: 0 .85rem .95rem .2rem; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); background: var(--card); transition: background-color .2s ease, color .2s ease; }
.service-card:hover .service-open { background: var(--blue); color: #fff; }
.service-open .icon { width: 1rem; height: 1rem; }

.services-intro {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: clamp(1.1rem, 3vw, 2.5rem);
    padding: clamp(1.25rem, 3.5vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius);
    background: linear-gradient(112deg, #fff 17%, #edf5ff 62%, #d4e7ff);
}
.services-intro::before {
    position: absolute; z-index: -1; inset: 0 0 0 28%; content: ""; pointer-events: none;
    background: repeating-radial-gradient(ellipse at 90% 110%, transparent 0 1.15rem, #2c62a843 1.2rem 1.25rem, transparent 1.3rem 1.6rem);
    mask-image: linear-gradient(100deg, transparent 20%, #000 85%);
}
.services-region { display: flex; align-items: center; gap: .45rem; margin-bottom: .65rem; color: var(--blue); font-size: .875rem; font-weight: 800; }
.services-intro h1 { font-size: clamp(2rem, 4.35vw, 3.9rem); text-wrap: pretty; overflow-wrap: anywhere; }
.services-summary { max-width: 43ch; margin-bottom: 1rem; color: var(--muted); }
.services-directory-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1.25rem; margin-bottom: 1.1rem; }
.services-directory-heading p, .service-entry-intro { color: var(--muted); }
.services-entries { display: grid; gap: 1rem; }
.service-entry {
    --service-accent: var(--blue);
    --service-tint: #eaf2ff;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); overflow: hidden;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
    box-shadow: 0 .25rem .9rem #122d6010;
}
.service-entry-clipboard-check { --service-accent: #894417; --service-tint: #fff0e3; }
.service-entry-drill { --service-accent: #0b6570; --service-tint: #e5f5f6; }
.service-entry-leaf { --service-accent: #256040; --service-tint: #e9f5eb; }
.service-entry-graduation-cap { --service-accent: #62408b; --service-tint: #f2ecfb; }
.service-entry-photo { position: relative; isolation: isolate; min-height: 13rem; display: flex; align-items: end; background: var(--navy); }
.service-entry-photo img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-entry-photo figcaption {
    width: 100%; padding: 1.6rem .9rem .7rem; background: linear-gradient(transparent, #07152ff5 48%);
    color: #fff; font-size: .82rem; font-weight: 750; line-height: 1.4;
}
.service-entry-photo .caption-credit { color: var(--on-dark); }
.service-entry-body { min-width: 0; padding: clamp(.95rem, 2.2vw, 1.8rem); }
.service-entry-heading { display: flex; align-items: center; gap: .8rem; }
.service-entry-icon {
    display: grid; place-items: center; flex: 0 0 auto; width: 2.9rem; aspect-ratio: 1;
    border-radius: .7rem; background: var(--service-tint); color: var(--service-accent); font-size: 1.2rem;
}
.service-entry-stage { color: var(--service-accent); font-size: .875rem; font-weight: 800; line-height: 1.4; }
.service-entry-heading h3 { margin-top: .2rem; font-size: clamp(1.35rem, 2.55vw, 2rem); text-wrap: pretty; }
.service-entry-intro { margin-block: .65rem .85rem; max-width: 65ch; }
.service-entry-body .actions { gap: .25rem .95rem; }
.service-entry-body :is(.button, .text-link) { min-height: 2.75rem; font-size: .875rem; }
.service-entry-body .text-link { display: inline-flex; align-items: center; }

.fieldwork { display: grid; grid-template-columns: .95fr 1.55fr; gap: clamp(1.4rem, 3.5vw, 3rem); align-items: center; padding: clamp(1.15rem, 3vw, 2.2rem); background: var(--blueprint-grid), var(--deep-gradient); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); --focus-color: var(--sky); }
.fieldwork-copy h2 { max-width: 15ch; }
.fieldwork-copy p { margin-block: .7rem 1.2rem; color: var(--on-dark); max-width: 38ch; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.fieldwork-gallery { grid-template-columns: repeat(2, 1fr); }
.gallery-item { display: block; position: relative; overflow: hidden; border-radius: .78rem; background: var(--soft); }
.gallery-item img { width: 100%; height: auto; aspect-ratio: 1.28; object-fit: cover; transition: transform .28s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-expand { display: grid; position: absolute; bottom: .55rem; right: .55rem; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: .4rem; background: #0a1e46ed; color: #fff; }
.gallery-expand .icon { width: 1rem; height: 1rem; }
.gallery-dialog { width: min(94vw, 56rem); max-height: 90dvh; padding: .75rem; border: 1px solid #7799c9; border-radius: .85rem; background: var(--deep-gradient); color: #fff; --focus-color: var(--sky); }
.gallery-dialog::backdrop { background: #07152fe8; }
.gallery-dialog-top, .gallery-dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.gallery-dialog-top { margin-bottom: .5rem; }
.gallery-dialog-actions { margin-top: .5rem; justify-content: center; }
.gallery-stage img { margin-inline: auto; width: auto; height: auto; max-height: 65dvh; object-fit: contain; border-radius: .3rem; }
.icon-button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: transparent; color: inherit; border: 1px solid #a8c9f9b3; border-radius: .45rem; }
.icon-button:hover { background: #ffffff26; }
.more-photos { margin-top: 1rem; }
.more-photos .gallery-grid { padding: .5rem 1rem 1rem; }

.roadmap { padding: clamp(1rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-gradient); box-shadow: var(--shadow); }
.roadmap-heading { display: flex; justify-content: space-between; align-items: end; gap: .55rem 2rem; margin-bottom: clamp(.85rem, 2vw, 1.35rem); }
.roadmap-heading h2 { max-width: 24ch; }
.roadmap-heading p { max-width: 33ch; color: var(--muted); }
.roadmap-map {
    padding: clamp(.65rem, 2vw, 1.4rem); border-radius: .9rem; color: #fff;
    --focus-color: var(--sky);
    background: var(--blueprint-grid), radial-gradient(ellipse at 83% 0%, #377bd54d, transparent 67%), var(--deep-gradient);
}
.roadmap-tabs {
    --roadmap-node-size: clamp(2rem, 5vw, 3.3rem);
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); isolation: isolate;
}
.roadmap-stop {
    position: relative; display: grid; justify-items: center; align-content: start; gap: .37rem;
    min-width: 0; min-height: 2.75rem; padding: .35rem .1rem; border: 0; border-radius: .5rem;
    background: transparent; color: var(--on-dark); font-size: clamp(.625rem, 1.7vw, .87rem); font-weight: 800; line-height: 1.2;
}
.roadmap-stop + .roadmap-stop::before {
    position: absolute; z-index: -1; content: "";
    inset-block-start: calc(.35rem + var(--roadmap-node-size) / 2); inset-inline-end: 50%; width: 100%;
    border-top: 1px dashed #aacbfa99;
}
.roadmap-stop + .roadmap-stop:is([aria-selected="true"], :has(~ [aria-selected="true"]))::before { border-top: 2px solid var(--sky); }
.roadmap-node {
    display: grid; place-items: center; width: var(--roadmap-node-size); aspect-ratio: 1;
    border: 1px solid #8bb7f3; border-radius: 50%; background: var(--primary-gradient); color: #e5f2ff;
    box-shadow: 0 0 0 .22rem #0a1e4680; transition: box-shadow .2s ease;
}
.roadmap-node .icon { width: 45%; height: auto; }
.roadmap-stop:hover .roadmap-node { box-shadow: 0 0 0 .25rem #92c6ff5c; }
.roadmap-stop[aria-selected="true"] { color: #fff; }
.roadmap-stop[aria-selected="true"] .roadmap-node { background: var(--accent-gradient); color: var(--navy); box-shadow: 0 0 0 .22rem #a8daff61, 0 0 1.1rem #a8daff65; }
.roadmap-stop:focus-visible { outline-offset: 0; }
.roadmap-detail { display: grid; gap: .75rem; }
.roadmap-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.roadmap-panel {
    display: grid; grid-template-columns: clamp(2.65rem, 7vw, 5.15rem) minmax(0, 1fr); gap: clamp(.65rem, 2vw, 1.25rem);
    align-items: center; padding: clamp(.7rem, 1.9vw, 1.25rem); border-radius: .8rem; background: #091d41b8;
}
.roadmap.has-tabs .roadmap-detail {
    grid-template-columns: minmax(0, 1fr) auto; gap: 0; margin-top: clamp(.6rem, 2vw, 1.25rem);
    border: 1px solid #aacbfa66; border-radius: .8rem; background: #091d41b8;
}
.roadmap.has-tabs .roadmap-panels { grid-template-columns: minmax(0, 1fr); }
/* The stacked panels reserve room for the longest step at each width. */
.roadmap.has-tabs .roadmap-panel { grid-area: 1 / 1; background: transparent; }
.roadmap-panel[aria-hidden="true"] { visibility: hidden; }
.roadmap-panel:focus-visible { outline: 3px solid var(--focus-color); outline-offset: -3px; }
.roadmap-art {
    position: relative; display: grid; place-items: center; aspect-ratio: 1; color: var(--sky);
    border: 1px solid #a8daff61; border-radius: .65rem;
    background: radial-gradient(circle at 30% 25%, #467dde9c, transparent 78%), linear-gradient(148deg, #10264c, #1b448b);
}
.roadmap-art::before { position: absolute; content: ""; inset: 12%; border: 1px dashed #a8daff66; border-radius: 50%; }
.roadmap-art .icon { width: 45%; height: auto; }
.roadmap-step { margin-bottom: .25rem; color: var(--sky); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 800; }
.roadmap-panel h3 { font-size: clamp(1.15rem, 2.1vw, 1.65rem); }
.roadmap-description { max-width: 57ch; margin-top: .32rem; color: var(--on-dark); font-size: .93rem; line-height: 1.5; }
.roadmap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .85rem; }
.roadmap.has-tabs .roadmap-actions { flex-direction: column; justify-content: center; padding: .7rem 1rem; border-inline-start: 1px solid #aacbfa47; }
.roadmap-call { display: inline-flex; align-items: center; gap: .4rem; color: var(--on-dark); font-size: .86rem; white-space: nowrap; }
.roadmap-call:hover { color: var(--sky); }

.reading-head { margin-bottom: .8rem; }
.section-stack { display: grid; gap: .45rem; }
.content-section { min-width: 0; border: 1px solid var(--line); border-radius: .7rem; background: linear-gradient(107deg, #fff 30%, #edf4ff); }
.content-section > summary { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .75rem 1rem; min-height: 3.2rem; font-weight: 800; line-height: 1.35; list-style: none; }
summary::-webkit-details-marker { display: none; }
.content-section > summary:hover { color: var(--blue); }
.content-section > summary .icon { color: var(--blue); transition: transform .22s ease; }
.content-section[open] > summary .icon { transform: rotate(45deg); }
.detail-body { padding: .15rem 1rem 1rem; }
.prose { color: var(--muted); overflow-wrap: break-word; }
.prose :is(h2, h3) { color: var(--ink); margin-block: 1.05em .35em; }
.prose p + p, .prose p + ul, .prose ul + p, .prose .question { margin-top: .65rem; }
.prose ul { padding-left: 1.35rem; }
.prose li + li { margin-top: .25rem; }
.prose a { font-weight: 800; color: var(--blue); }
.brief { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--card); }
.question { border: 1px solid var(--line); border-radius: .53rem; background: var(--card); }
.question summary { padding: .65rem .8rem; font-weight: 800; }
.question-body { padding: 0 .8rem .75rem; }
.question summary::marker { color: var(--blue); }
.service-entry-scope { margin-top: .85rem; border-color: transparent; background: var(--service-tint); }
.service-entry-scope > summary { min-height: 2.75rem; padding: .55rem .8rem; font-size: .92rem; }
.service-entry-scope > summary:hover { color: var(--service-accent); text-decoration: underline; text-underline-offset: .2em; }
.service-entry-scope > summary .icon, .service-entry-scope li .icon { color: var(--service-accent); }
.service-entry-scope ul { display: grid; gap: .35rem; padding: .1rem .8rem .75rem; list-style: none; }
.service-entry-scope li { display: flex; align-items: flex-start; gap: .5rem; line-height: 1.45; }
.service-entry-scope li .icon { width: 1rem; height: 1rem; margin-top: .21rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; min-height: 3rem; color: var(--muted); font-size: .86rem; font-weight: 750; }
.breadcrumbs a { text-underline-offset: .2em; }
.breadcrumbs .icon { width: .9rem; height: .9rem; }
.breadcrumbs span { color: var(--ink); }
.scope-strip { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .55rem 1rem; padding: .65rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--surface-gradient); }
.scope-strip h2 { padding-inline: .45rem; font-size: clamp(1.22rem, 2vw, 1.55rem); }
.scope-strip ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; padding: 0; list-style: none; }
.scope-strip li { display: flex; align-items: center; gap: .5rem; padding: .6rem; border: 1px solid var(--line); border-radius: .55rem; background: #ffffffb3; font-size: .89rem; font-weight: 750; line-height: 1.35; }
.scope-strip .icon { color: var(--blue); }
.related { margin-block: 2rem 3rem; }
.related h2 { font-size: 1.45rem; margin-bottom: .65rem; }
.related > div { display: flex; gap: .55rem; flex-wrap: wrap; }
.related a { display: inline-flex; gap: .45rem; align-items: center; padding: .52rem .7rem; background: var(--card); border: 1px solid var(--line); border-radius: .45rem; text-decoration: none; font-size: .9rem; font-weight: 800; }
.related a:hover { background: var(--soft); border-color: var(--blue); }
.related .icon { color: var(--blue); }

.projects-page, .blog-list { margin-top: clamp(.9rem, 2vw, 1.55rem); }
.project-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(clamp(10rem, 17vw, 14rem), auto); gap: .6rem; }
.project-board > .gallery-item:first-of-type { grid-column: span 2; }
.project-summary { min-width: 0; display: grid; align-content: center; gap: .5rem; padding: clamp(.9rem, 2vw, 1.5rem); border: 1px solid var(--line); border-radius: .8rem; background: var(--surface-gradient); }
.project-summary h2 { font-size: clamp(1.45rem, 2.6vw, 2.4rem); }
.project-summary > p, .project-overview p { color: var(--muted); }
.project-overview summary { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.45rem; color: var(--blue); font-size: .89rem; font-weight: 800; list-style: none; }
.project-overview summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.project-overview[open] summary .icon { transform: rotate(45deg); }
.project-overview p { margin-top: .25rem; font-size: .88rem; }
.post { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(.75rem, 2.2vw, 1.45rem); align-items: start; padding: clamp(.9rem, 2.3vw, 1.8rem); border: 1px solid var(--line); background: var(--surface-gradient); border-radius: var(--radius); }
.post + .post { margin-top: .6rem; }
.post-icon { display: grid; place-items: center; width: clamp(2.7rem, 5.7vw, 4.5rem); aspect-ratio: 1; color: var(--sky); border-radius: .62rem; background: var(--blueprint-grid), var(--primary-gradient); }
.post-icon .icon { width: 48%; height: auto; }
.post h2 { font-size: clamp(1.3rem, 2.5vw, 2.2rem); }
.post p { margin-block: .7rem; color: var(--muted); }
.privacy-page { max-width: 55rem; margin-block: 1rem 2.5rem; padding: clamp(1rem, 3vw, 2.15rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.privacy-page h2:first-child { margin-top: 0; }

.hero-contact { min-width: 0; padding: clamp(.75rem, 2vw, 1.15rem); border: 1px solid #b7d7ff59; border-radius: .85rem; background: #0a1e468c; }
.hero-contact h2 { margin-bottom: .55rem; font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.hero-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.contact-method { display: flex; min-width: 0; min-height: 3.35rem; gap: .55rem; align-items: center; padding: .55rem; border: 1px solid #abcafd4a; border-radius: .55rem; background: #e4f2ff12; font-size: .89rem; font-weight: 800; line-height: 1.38; text-decoration: none; overflow-wrap: anywhere; }
.contact-method .icon { color: var(--sky); }
.contact-method small { display: block; margin-bottom: .1rem; color: var(--on-dark); font-size: .78rem; }
a.contact-method:hover { border-color: var(--sky); background: #b2d8ff2b; }
address { font-style: normal; }
.quote-form { margin-block: 1rem 2.6rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-gradient); }
.form-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1.1rem; margin-bottom: 1rem; }
.form-heading h2 { font-size: clamp(1.45rem, 2.4vw, 2.1rem); }
.form-heading p { max-width: 50ch; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-bottom: .9rem; }
.form-grid label { display: block; font-size: .9rem; font-weight: 800; min-width: 0; }
.form-grid input, .form-grid select, .form-grid textarea { display: block; width: 100%; min-height: 2.75rem; padding: .55rem .65rem; margin-top: .27rem; background: var(--card); color: var(--ink); border: 1px solid var(--field-border); border-radius: .44rem; font-size: 1rem; }
.form-grid textarea { resize: vertical; }
.form-grid .full { grid-column: 1 / -1; }

.contact-band { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-block: 1.65rem 2.8rem; padding: clamp(1.15rem, 3vw, 2.1rem); border-radius: var(--radius); background: var(--blueprint-grid), radial-gradient(ellipse at 88% 0%, #347be268, transparent 65%), var(--deep-gradient); color: #fff; box-shadow: var(--shadow); --focus-color: var(--sky); }
.contact-band h2 { font-size: clamp(1.5rem, 2.65vw, 2.4rem); }
.contact-band p { color: var(--on-dark); margin-top: .28rem; }
.footer { background: linear-gradient(124deg, var(--navy), #123571 70%, #174383); color: #fff; --focus-color: var(--sky); }
.footer .brand { padding: .5rem .65rem; border-radius: .5rem; background: var(--card); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .9fr; gap: clamp(1.2rem, 4vw, 3rem); padding-block: 2.5rem; }
.footer-grid h2 { font-size: 1.2rem; margin-bottom: .55rem; }
.footer-brand p { margin-top: .8rem; max-width: 40ch; color: var(--on-dark); font-size: .91rem; }
.footer-grid a:not(.brand), .footer-grid address { display: block; color: var(--on-dark); font-size: .92rem; margin-top: .32rem; text-decoration: none; }
.footer-grid a:hover, .footer-end a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-end { display: flex; gap: .6rem 1.25rem; flex-wrap: wrap; padding-block: 1rem 1.2rem; border-top: 1px solid #b1cff24d; color: var(--on-dark); font-size: .86rem; }
.footer-end small { font-size: inherit; margin-right: auto; }
.footer-end a { text-underline-offset: .2em; }

.consent { position: fixed; z-index: 8; right: 1rem; bottom: 1rem; max-width: min(95vw, 31rem); padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--surface-gradient); box-shadow: 0 .6rem 2rem #112c603d; }
.consent h2 { font-size: 1.25rem; }
.consent p { font-size: .92rem; margin-block: .38rem .68rem; }

@media (max-width: 1120px) {
    .shell { width: min(100% - 3rem, 81rem); }
    .header-phone span { display: none; }
    .header-phone { display: none; }
}
@media (max-width: 920px) {
    .service-card { grid-column: span 3; }
    .service-card:last-child { grid-column: span 6; }
    .service-card:nth-child(4) .service-card-photo img { aspect-ratio: 2.05; }
    .service-card:last-child .service-card-photo img { aspect-ratio: 3.4; }
}
@media (max-width: 760px) {
    html { scroll-padding-top: 1rem; }
    body { padding-bottom: calc(3.8rem + env(safe-area-inset-bottom)); }
    .shell { width: min(100% - 2rem, 81rem); }
    .site-header-inner { min-height: 3.65rem; justify-content: flex-start; gap: .55rem; }
    .site-header .brand { width: min(100%, 13rem); }
    .desktop-nav { display: none; }
    .header-actions { margin-left: auto; }
    .header-quote { min-height: 2.65rem; padding: .55rem .7rem; font-size: .85rem; }
    .mobile-menu { display: block; }
    .mobile-menu > summary { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; color: var(--blue); border: 1px solid var(--line); border-radius: .48rem; list-style: none; background: var(--surface-gradient); }
    .mobile-menu nav { display: grid; gap: .25rem; position: absolute; right: 1rem; top: calc(100% + .35rem); left: 1rem; max-height: 75dvh; overflow: auto; padding: .6rem; border: 1px solid var(--line); border-radius: .72rem; background: var(--card); box-shadow: var(--shadow); }
    .mobile-menu nav a { display: flex; gap: .5rem; align-items: center; min-height: 2.75rem; padding: .45rem; font-weight: 800; text-decoration: none; }
    .mobile-menu nav a[aria-current] { background: var(--soft); color: var(--blue); border-radius: .4rem; }
    .bottom-nav {
        display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0; z-index: 7;
        padding: .23rem max(.22rem, env(safe-area-inset-right)) calc(.2rem + env(safe-area-inset-bottom)) max(.22rem, env(safe-area-inset-left));
        border-top: 1px solid var(--line); background: linear-gradient(110deg, #fff, #edf4ff); box-shadow: 0 -.4rem 1.4rem #122d6014;
    }
    .bottom-nav > a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 3.1rem; text-decoration: none; font-size: .76rem; font-weight: 800; line-height: 1.1; }
    .bottom-nav .icon { width: 1.22rem; height: 1.22rem; }
    .bottom-nav a[aria-current] { color: var(--blue); }
    .bottom-nav a[aria-current] .icon { box-sizing: content-box; background: var(--accent-gradient); border-radius: .33rem; padding: .15rem .42rem; }
    .bottom-nav .quick-call { color: var(--blue); border-left: 1px solid var(--line); }
    .site-hero { --hero-media-height: clamp(8.9rem, 39vw, 14.5rem); grid-template-columns: minmax(0, 1fr); margin-block: .65rem .8rem; padding: .65rem; border-radius: .95rem; }
    .hero-copy { padding: .58rem .37rem .5rem; }
    .hero-copy h1 { font-size: clamp(1.85rem, 6.1vw, 2.65rem); }
    .hero-intro { margin-top: .5rem; line-height: 1.48; }
    .hero-actions { margin-top: .75rem; }
    .hero-actions .button { min-height: 2.65rem; padding: .52rem .72rem; }
    .hero-image, .hero-photos > .gallery-item, .showcase-track { border-radius: .65rem; }
    .hero-image figcaption { inset-inline: .55rem; bottom: .5rem; font-size: .76rem; }
    .showcase-track { height: var(--hero-media-height); aspect-ratio: auto; }
    .showcase-slide figcaption { bottom: .65rem; }
    .showcase-slide figcaption a { font-size: 1.08rem; }
    .showcase-slide figcaption > span { font-size: .72rem; }
    .showcase-steps .icon-button { width: 2.65rem; height: 2.65rem; }
    .proof-strip div { gap: .23rem; min-height: 2.7rem; padding: .3rem .22rem; font-size: .72rem; line-height: 1.2; text-align: center; }
    .proof-strip .icon { width: .95rem; height: .95rem; }
    .section { margin-block: 1.65rem; }
    .split-heading { gap: .45rem; margin-bottom: .75rem; }
    .split-heading h2 { max-width: 15ch; }
    .split-heading .text-link { font-size: .86rem; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    .service-card, .service-card:nth-child(n + 4) { grid-column: auto; border-radius: .7rem; }
    .service-card:last-child { grid-column: 1 / -1; }
    .service-card-photo img, .service-card:nth-child(4) .service-card-photo img { aspect-ratio: 1.86; }
    .service-card:last-child .service-card-photo img { aspect-ratio: 3.4; }
    .service-copy .service-stage { display: none; }
    .service-description { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .81rem; }
    .service-copy { min-width: 0; padding: .55rem .2rem .55rem .55rem; }
    .service-label { margin: 0 0 .2rem; font-size: 1rem; text-wrap: balance; }
    .service-icon { width: 1.7rem; height: 1.7rem; bottom: .35rem; left: .4rem; border-radius: .35rem; }
    .service-icon .icon { width: 1rem; height: 1rem; }
    .service-open { width: 1.3rem; height: 1.3rem; margin: 0 .35rem .5rem 0; }
    .service-open .icon { width: .85rem; height: .85rem; }
    .services-intro { grid-template-columns: minmax(0, 1fr); }
    .services-intro::before { opacity: .55; }
    .service-entry { grid-template-columns: minmax(0, 1fr); }
    .service-entry-photo { min-height: 8.5rem; aspect-ratio: 2.35; }
    .service-entry-icon { width: 2.55rem; }
    .fieldwork { grid-template-columns: 1fr; gap: .75rem; padding: 1rem; }
    .fieldwork-copy h2 { max-width: none; }
    .fieldwork-copy p { margin-block: .35rem .75rem; }
    .roadmap { padding: .7rem; }
    .roadmap-heading { flex-direction: column; align-items: start; padding-inline: .15rem; }
    .roadmap-heading p { font-size: .88rem; }
    .roadmap-map { padding: .55rem; }
    .roadmap-panels, .roadmap.has-tabs .roadmap-detail { grid-template-columns: minmax(0, 1fr); }
    .roadmap.has-tabs .roadmap-actions { flex-direction: row; justify-content: flex-start; padding: .55rem .7rem; border-inline-start: 0; border-top: 1px solid #aacbfa47; }
    .roadmap-actions .button { min-height: 2.65rem; padding: .5rem .62rem; font-size: .86rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .45rem; }
    .gallery-item img { aspect-ratio: 1.4; }
    .gallery-expand { height: 1.65rem; width: 1.65rem; right: .32rem; bottom: .32rem; }
    .reading-head { margin-bottom: .55rem; }
    .content-section > summary { min-height: 2.85rem; padding: .6rem .75rem; }
    .breadcrumbs { min-height: 2.45rem; font-size: .78rem; }
    .scope-strip, .scope-strip ul { grid-template-columns: minmax(0, 1fr); }
    .scope-strip { gap: .45rem; }
    .scope-strip li { padding: .42rem .5rem; }
    .related { margin-block: 1.55rem; }
    .project-board { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: .45rem; }
    .project-summary { grid-column: 1 / -1; padding: .85rem; }
    .project-board > .gallery-item:first-of-type { grid-column: auto; }
    .project-board .gallery-item { aspect-ratio: 1.4; }
    .contact-method { align-items: flex-start; gap: .35rem; padding: .5rem; font-size: .84rem; }
    .contact-method .icon { width: 1rem; height: 1rem; margin-top: .14rem; }
    .quote-form { margin-block: .85rem 1.6rem; }
    .contact-band { align-items: flex-start; flex-direction: column; margin-block: 1.55rem 1.85rem; padding: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1rem; padding-block: 1.2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { margin-top: .45rem; }
    .footer-end { gap: .4rem .75rem; padding-block: .65rem .8rem; }
    .footer-end small { flex: 1 0 100%; }
    .consent { bottom: calc(3.8rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 370px) {
    .shell { width: calc(100% - 1.25rem); }
    .header-quote { padding-inline: .45rem; }
    .hero-actions .button { padding-inline: .65rem; }
    .contact-method .icon { display: none; }
    .footer-grid, .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }

    ::view-transition-group(root) { animation-duration: 180ms; }
    ::view-transition-new(root) { animation: page-arrival 180ms ease-out both; }
    @keyframes page-arrival {
        from { opacity: 0; transform: translateY(6px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @supports selector(::details-content) {
        :is(.content-section, .question)::details-content {
            opacity: 0;
            transition-property: opacity, content-visibility;
            transition-duration: 140ms;
            transition-timing-function: ease;
            transition-behavior: allow-discrete;
        }
        :is(.content-section, .question)[open]::details-content { opacity: 1; }

        @supports (interpolate-size: allow-keywords) {
            :is(.content-section, .question)::details-content {
                interpolate-size: allow-keywords;
                block-size: 0;
                overflow: clip;
                transition-property: block-size, opacity, content-visibility;
            }
            :is(.content-section, .question)[open]::details-content { block-size: auto; }
        }
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
