
/* User-supplied logotype typeface. Used only for the brand wordmark. */
@font-face {
  font-family: "VDub-regular";
  src: url("assets/fonts/VDub-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --green: #6fa574;
  --green-dark: #4f825c;
  --green-soft: #eaf2e9;
  --navy: #10283a;
  --navy-2: #18384a;
  --teal: #4aa99d;
  --ink: #24343c;
  --muted: #718087;
  --paper: #f7f9f7;
  --white: #ffffff;
  --line: #dce6df;
  --shadow: 0 18px 48px rgba(16, 40, 58, .10);
  --header-height: 96px;
  --container: 1200px;
  --radius: 20px;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;
  --font-display: "Manrope", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--white); background: var(--green-dark); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 2000; padding: 10px 16px; background: var(--navy); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Header and navigation */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(16,40,58,.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(16,40,58,.08); background: rgba(255,255,255,.98); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; flex: 0 1 280px; min-width: 220px; }
.brand img { width: 100%; max-width: 278px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.nav-link { position: relative; padding: 11px 0; color: #4d6064; font-size: .85rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; transition: color .2s ease; }
.nav-link::after { position: absolute; content: ""; left: 0; bottom: 3px; width: 0; height: 2px; background: var(--green); transition: width .25s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--green-dark); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.header-social { display: flex; align-items: center; gap: 11px; margin-left: 2px; }
.header-social a, .header-social .social-pending { display: grid; place-items: center; width: 27px; height: 27px; color: var(--green-dark); transition: color .2s ease, transform .2s ease; }
.header-social a:hover { color: var(--navy); transform: translateY(-2px); }
.header-social .social-pending { cursor: default; opacity: .68; }
.header-social svg { width: 16px; height: 16px; fill: currentColor; }
.header-social svg rect, .header-social svg circle:not(.solid-dot) { fill: none; stroke: currentColor; stroke-width: 1.8; }
.header-social svg .solid-dot { fill: currentColor; }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; width: 22px; margin: 5px 0; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }

/* Hero with parallax background */
.hero { position: relative; display: flex; align-items: center; min-height: min(780px, 100svh); padding: calc(var(--header-height) + 70px) 0 90px; overflow: hidden; isolation: isolate; background: var(--navy); }
.hero-media, .hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-media { z-index: -2; background-image: url("assets/hero-microscopy.webp"); background-position: center 47%; background-size: cover; transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.10); will-change: transform; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(8,27,41,.88) 0%, rgba(8,27,41,.72) 43%, rgba(8,27,41,.24) 100%), linear-gradient(0deg, rgba(8,27,41,.55), transparent 42%); }
.hero-content { position: relative; padding-top: 14px; color: var(--white); }
.eyebrow { margin: 0 0 15px; color: var(--green-dark); font-size: .73rem; font-weight: 800; letter-spacing: .22em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-light { color: #b9d9bf; }
.hero h1 { max-width: 780px; margin: 0; font-family: var(--font-display); font-size: clamp(3.2rem, 7.5vw, 6.8rem); font-weight: 500; letter-spacing: -.065em; line-height: .98; text-transform: uppercase; }
.hero h1 span { display: block; color: #a8d0ad; }
.hero-lead { max-width: 660px; margin: 28px 0 30px; color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 0 23px; border: 1px solid transparent; border-radius: 5px; font-size: .82rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--green); color: var(--navy); }
.button-primary:hover { background: #8cba91; }
.button-outline { border-color: rgba(255,255,255,.58); color: white; background: rgba(255,255,255,.06); }
.button-outline:hover { border-color: white; background: rgba(255,255,255,.14); }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: var(--green-dark); }
.hero-note { display: flex; align-items: center; gap: 14px; margin-top: 64px; color: rgba(255,255,255,.75); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-note-line { width: 48px; height: 1px; background: var(--green); }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 30px; height: 46px; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; border-radius: 4px; background: var(--green); transform: translateX(-50%); animation: scrollHint 1.6s ease-in-out infinite; }
@keyframes scrollHint { 0%,100% { transform: translate(-50%,0); opacity: 1; } 70% { transform: translate(-50%,13px); opacity: .2; } }

.intro-strip { background: var(--navy); color: rgba(255,255,255,.88); }
.intro-strip-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.intro-strip p { max-width: 530px; margin: 0; text-align: center; font-size: .94rem; }
.intro-mark { display: flex; align-items: center; gap: 9px; color: #b8d7bd; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.mark-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(74,169,157,.12); }

/* Section foundations */
.section { padding: 112px 0; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading-centered { margin-inline: auto; text-align: center; }
.section-heading h2 { margin: 0; color: var(--navy); font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3.6rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.12; }
.section-heading h2 span { color: var(--green-dark); }
.section-lead { max-width: 760px; margin: 20px auto 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.small-label, .card-kicker { display: inline-block; color: var(--green-dark); font-size: .68rem; font-weight: 800; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }

/* Services */
.services-section { background: #f7f9f7; }
.technique-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0 0 52px; }
.technique-item { min-height: 106px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.76); color: #54676c; text-align: center; font-size: .78rem; font-weight: 700; }
.technique-symbol { min-width: 47px; height: 38px; display: grid; place-items: center; padding: 0 9px; border-radius: 7px; background: var(--green-soft); color: var(--green-dark); font-family: var(--font-display); font-size: .8rem; font-weight: 800; letter-spacing: .03em; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.service-card { position: relative; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 19px; padding: 31px 30px; border: 1px solid #e2eae4; border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 30px rgba(16,40,58,.035); transition: transform .28s ease, box-shadow .28s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card-featured { border-top: 3px solid var(--green); }
.service-card:nth-child(1) { grid-column: 1 / -1; }
.service-card:nth-child(2) { min-height: 490px; }
.service-number { color: #b4d1b7; font-family: var(--font-display); font-size: 2.45rem; font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.service-card-body h3 { margin: 7px 0 9px; color: var(--navy); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.3; }
.service-standard { margin: 0; color: var(--green-dark); font-size: .77rem; font-weight: 700; }
.service-copy { margin: 16px 0 0; color: var(--muted); font-size: .9rem; }
.service-details { margin-top: 20px; border-top: 1px solid var(--line); }
.service-details summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0 5px; color: var(--green-dark); font-size: .79rem; font-weight: 800; cursor: pointer; list-style: none; }
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-size: 1rem; transition: transform .2s ease; }
.service-details[open] summary span { transform: rotate(45deg); }
.detail-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.detail-columns ul, .detail-list { margin: 12px 0 0; padding-left: 17px; color: #66777b; font-size: .82rem; line-height: 1.68; }
.detail-columns li, .detail-list li { padding: 2px 0 2px 2px; }
.detail-columns li::marker, .detail-list li::marker { color: var(--green); }
.service-photo { overflow: hidden; border-radius: 12px; background: #e9efea; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.service-card:hover .service-photo img { transform: scale(1.04); }
.service-photo-wide { grid-column: 2; height: 210px; margin-top: 3px; }
.service-card-image { display: flex; flex-direction: column; gap: 20px; }
.service-card-image .service-photo { height: 220px; margin-top: auto; }
.service-card-image .service-number { position: absolute; top: 30px; left: 30px; }
.service-card-image .service-card-body { padding-left: 65px; }
.service-card-image .service-photo img { object-position: center; }
.service-card-rock { grid-column: 1 / -1; }
.service-photo-tall { grid-column: 2; height: 210px; margin-top: 4px; }

/* Parallax break */
.parallax-band { position: relative; display: flex; min-height: 460px; align-items: center; overflow: hidden; isolation: isolate; background: var(--navy); color: white; }
.parallax-band-media, .parallax-band-overlay { position: absolute; inset: -8% 0; pointer-events: none; }
.parallax-band-media { z-index: -2; background-image: url("assets/aggregates.webp"); background-position: center 48%; background-size: cover; filter: saturate(.75); transform: translate3d(0, var(--parallax-y,0px),0) scale(1.15); will-change: transform; }
.parallax-band-overlay { z-index: -1; background: linear-gradient(90deg, rgba(12,34,50,.94), rgba(12,34,50,.72) 56%, rgba(12,34,50,.55)); }
.parallax-band-content { padding-block: 90px; }
.parallax-band-content h2 { max-width: 690px; margin: 0; font-family: var(--font-display); font-size: clamp(2.4rem,5vw,4.8rem); font-weight: 700; letter-spacing: -.06em; line-height: 1.08; }
.parallax-band-content h2 span { color: #a9d2af; }
.parallax-band-content p:not(.eyebrow) { max-width: 620px; margin: 23px 0 25px; color: rgba(255,255,255,.82); font-size: 1.02rem; }
.text-link { display: inline-flex; align-items: center; gap: 13px; color: var(--green-dark); font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(4px,-3px); }
.text-link-light { color: #b9d9bf; }
.parallax-caption { position: absolute; right: 30px; bottom: 22px; color: rgba(255,255,255,.54); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }

/* Team */
.team-section { background: white; }
.team-section .section-heading { margin-bottom: 54px; }
.two-column { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,6vw,82px); align-items: center; }
.team-intro { padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.team-image { margin: 0; overflow: hidden; border-radius: 14px; background: var(--green-soft); box-shadow: 0 18px 40px rgba(16,40,58,.09); }
.team-image img { width: 100%; max-height: 430px; object-fit: cover; }
.team-image-main { position: relative; }
.team-image-main::after { position: absolute; content: ""; inset: 14px -14px -14px 14px; border: 1px solid rgba(111,165,116,.6); border-radius: 14px; z-index: -1; }
.team-copy h3 { margin: 7px 0 17px; color: var(--navy); font-family: var(--font-display); font-size: clamp(1.55rem,2.4vw,2.1rem); line-height: 1.2; letter-spacing: -.04em; }
.team-copy p { margin: 0 0 15px; color: #637379; font-size: .93rem; line-height: 1.85; }
.team-copy strong { color: var(--navy); font-weight: 800; }
.team-copy-centered { max-width: 550px; }
.profile-row { padding: 72px 0; border-bottom: 1px solid var(--line); }
.profile-row .team-image { max-width: 510px; }
.profile-row-reverse { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.profile-row-reverse .team-image { grid-column: 1; grid-row: 1; }
.profile-row-reverse .team-copy { grid-column: 2; grid-row: 1; }
.team-image-model img { object-fit: contain; background: #fbfbfa; padding: 12px; }
.thesis-row { padding-top: 72px; }
.thesis-copy p { font-size: .88rem; }
.team-image-award img { max-height: 400px; object-fit: contain; background: #f4f3ef; }

/* Blog */
.blog-section { background: #f1f5f1; }
.blog-heading { display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; gap: 65px; margin-bottom: 42px; }
.blog-heading .section-heading { margin: 0; }
.blog-heading > p { max-width: 680px; margin: 0 0 4px; color: #67777b; line-height: 1.8; }
.blog-heading strong { color: var(--navy); }
.blog-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; min-height: 290px; border: 1px solid #e0e8e1; border-radius: 13px; background: white; box-shadow: 0 8px 22px rgba(16,40,58,.045); transition: transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card > img { width: 100%; aspect-ratio: 1.58; object-fit: cover; background: #dfe9e1; }
.blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 18px 18px 19px; }
.blog-date { color: var(--green-dark); font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.blog-card h3 { margin: 8px 0 12px; color: var(--navy); font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.blog-card p { margin: auto 0 0; color: #85918f; font-size: .73rem; font-weight: 600; }

/* Contact */
.contact-section { background: white; }
.contact-section .section-heading { margin-bottom: 52px; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-info { position: relative; overflow: hidden; padding: clamp(27px,4vw,45px); border-radius: var(--radius); background: var(--navy); color: white; }
.contact-info::after { position: absolute; content: ""; right: -110px; bottom: -180px; width: 360px; height: 360px; border: 1px solid rgba(170,210,175,.23); border-radius: 50%; box-shadow: 0 0 0 30px rgba(170,210,175,.035), 0 0 0 70px rgba(170,210,175,.025); }
.contact-info-top { position: relative; z-index: 1; padding-bottom: 27px; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-logo { width: min(100%,340px); height: auto; padding: 10px 12px; border-radius: 7px; background: white; }
.contact-description { max-width: 390px; margin: 18px 0 0; color: rgba(255,255,255,.76); font-size: .85rem; }
.contact-detail { position: relative; z-index: 1; display: flex; gap: 16px; padding: 22px 0 0; }
.contact-icon { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(111,165,116,.17); color: #a9d2af; font-size: 1.2rem; }
.contact-detail strong { display: block; margin-bottom: 3px; color: #b9d9bf; font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-detail p { margin: 0; color: white; font-size: .9rem; }
.contact-detail a:hover { color: #b9d9bf; }
.inline-link { display: inline-block; margin-top: 5px; color: #a9d2af; font-size: .76rem; font-weight: 700; }
.contact-socials { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 7px; margin-top: 26px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.16); }
.contact-socials a { display: flex; justify-content: space-between; gap: 12px; color: white; font-size: .77rem; font-weight: 700; }
.contact-socials a span { color: rgba(255,255,255,.57); font-weight: 500; }
.contact-form-wrap { padding: clamp(27px,4vw,45px); border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcfb; }
.form-heading h3 { margin: 7px 0 8px; color: var(--navy); font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; letter-spacing: -.04em; }
.form-heading p { margin: 0 0 26px; color: var(--muted); font-size: .84rem; }
.contact-form { display: flex; flex-direction: column; gap: 17px; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; color: #52656a; font-size: .73rem; font-weight: 800; letter-spacing: .05em; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 49px; padding: 12px 14px; border: 1px solid #dce5df; border-radius: 7px; outline: 0; background: white; color: var(--ink); font-size: .86rem; font-weight: 400; letter-spacing: 0; transition: border .2s ease, box-shadow .2s ease; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(111,165,116,.13); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a3afaa; }
.contact-form .button { align-self: flex-start; min-width: 190px; }

/* Footer */
.site-footer { padding: 58px 0 24px; background: #6fa574; color: white; }
.footer-main { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-brand { display: inline-flex; width: min(360px,80%); padding: 11px 18px; border-radius: 9px; background: rgba(255,255,255,.96); }
.footer-brand img { width: 100%; height: auto; }
.footer-profile { max-width: 790px; margin: 28px auto 0; }
.footer-profile h2 { margin: 0 0 13px; font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.footer-profile p { margin: 0; color: rgba(255,255,255,.86); font-size: .76rem; line-height: 1.9; }
.footer-bottom { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 29px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a, .footer-socials .social-pending { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: white; font-size: .75rem; font-weight: 800; transition: background .2s ease, color .2s ease; }
.footer-socials a:hover { background: white; color: var(--green-dark); }
.footer-socials .social-pending { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: rgba(255,255,255,.72); font-size: .75rem; font-weight: 800; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.84); font-size: .69rem; letter-spacing: .02em; }
.footer-bottom p span { color: rgba(255,255,255,.58); }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 43px; height: 43px; border: 0; border-radius: 50%; background: var(--navy); color: white; font-size: 1.3rem; box-shadow: 0 8px 22px rgba(16,40,58,.18); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, background .2s ease; cursor: pointer; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--green-dark); }

/* Scroll reveals */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1100px) {
  :root { --header-height: 88px; }
  .header-inner { gap: 20px; }
  .brand { flex-basis: 235px; min-width: 205px; }
  .brand img { max-width: 245px; }
  .main-nav { gap: 16px; }
  .nav-link { font-size: .76rem; }
  .header-social { gap: 5px; }
  .technique-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .blog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  :root { --header-height: 78px; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .header-inner { justify-content: space-between; gap: 12px; }
  .brand { flex: 0 1 230px; min-width: 0; }
  .brand img { max-width: 230px; }
  .menu-toggle { display: block; order: 3; flex: 0 0 42px; }
  .header-social { margin-left: auto; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 18px; border-top: 1px solid var(--line); background: rgba(255,255,255,.98); box-shadow: 0 16px 24px rgba(16,40,58,.09); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-link { padding: 13px 2px; border-bottom: 1px solid #edf1ed; font-size: .82rem; }
  .nav-link::after { display: none; }
  .hero { min-height: 670px; padding-top: calc(var(--header-height) + 90px); }
  .hero-media { background-position: 52% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,27,41,.87), rgba(8,27,41,.44)), linear-gradient(0deg, rgba(8,27,41,.45), transparent 58%); }
  .hero h1 { font-size: clamp(3.1rem, 10vw, 5.2rem); }
  .intro-strip-inner { min-height: auto; flex-direction: column; justify-content: center; padding-block: 27px; gap: 14px; }
  .intro-strip p { max-width: 550px; font-size: .88rem; }
  .technique-grid { grid-template-columns: repeat(3,1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(1), .service-card-rock { grid-column: auto; }
  .service-card:nth-child(2) { min-height: auto; }
  .service-photo-wide, .service-photo-tall { grid-column: 2; }
  .service-card-image .service-photo { height: 230px; }
  .two-column { gap: 30px; }
  .blog-heading { grid-template-columns: 1fr; gap: 20px; }
  .blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { order: 2; }
  .contact-form-wrap { order: 1; }
}

@media (max-width: 600px) {
  :root { --header-height: 72px; }
  body { font-size: 15px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .brand { flex-basis: 205px; }
  .brand img { max-width: 205px; }
  .header-social { display: none; }
  .hero { min-height: 690px; align-items: flex-end; padding: calc(var(--header-height) + 65px) 0 95px; }
  .hero-media { background-position: 52% center; transform: translate3d(0,0,0) scale(1.06); }
  .hero-shade { background: linear-gradient(0deg, rgba(8,27,41,.95), rgba(8,27,41,.53) 68%, rgba(8,27,41,.18)); }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4.3rem); }
  .hero-lead { margin: 21px 0 24px; font-size: .94rem; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 330px; }
  .button { min-height: 50px; }
  .hero-note { margin-top: 38px; font-size: .62rem; line-height: 1.4; }
  .scroll-cue { display: none; }
  .intro-mark { font-size: .64rem; }
  .intro-strip p { font-size: .82rem; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 31px; }
  .section-heading h2 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .section-lead { margin-top: 14px; font-size: .9rem; }
  .technique-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-bottom: 30px; }
  .technique-item { min-height: 94px; padding: 10px; font-size: .71rem; }
  .service-card { grid-template-columns: 36px minmax(0,1fr); gap: 13px; padding: 23px 18px; border-radius: 15px; }
  .service-number { font-size: 1.9rem; }
  .service-card-body h3 { font-size: 1.12rem; }
  .service-card-image .service-number { top: 23px; left: 18px; }
  .service-card-image .service-card-body { padding-left: 48px; }
  .detail-columns { grid-template-columns: 1fr; gap: 0; }
  .detail-columns ul { margin-top: 8px; }
  .service-photo-wide, .service-photo-tall { grid-column: 1 / -1; height: 190px; }
  .service-card-image .service-photo { height: 190px; }
  .parallax-band { min-height: 410px; }
  .parallax-band-content { padding-block: 75px; }
  .parallax-band-content h2 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .parallax-band-content p:not(.eyebrow) { font-size: .92rem; }
  .parallax-caption { right: 15px; bottom: 13px; font-size: .55rem; }
  .two-column { grid-template-columns: 1fr; gap: 24px; }
  .team-intro { padding-bottom: 42px; }
  .team-image-main { margin-right: 12px; }
  .team-image img { max-height: 360px; }
  .profile-row { padding: 43px 0; }
  .profile-row-reverse .team-image, .profile-row-reverse .team-copy { grid-column: auto; grid-row: auto; }
  .profile-row-reverse .team-image { order: 2; }
  .profile-row-reverse .team-copy { order: 1; }
  .thesis-row { padding-top: 43px; }
  .team-copy p { font-size: .88rem; }
  .blog-heading { margin-bottom: 28px; }
  .blog-heading > p { font-size: .88rem; }
  .blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .blog-card { display: grid; grid-template-columns: 118px 1fr; min-height: 132px; }
  .blog-card > img { height: 100%; min-height: 132px; aspect-ratio: auto; }
  .blog-card-body { padding: 12px 14px; }
  .blog-card h3 { margin: 5px 0 8px; font-size: .9rem; }
  .blog-card p { font-size: .68rem; }
  .contact-section .section-heading { margin-bottom: 30px; }
  .contact-layout { gap: 16px; }
  .contact-form-wrap, .contact-info { padding: 23px 18px; border-radius: 15px; }
  .form-heading h3 { font-size: 1.45rem; }
  .form-row { grid-template-columns: 1fr; gap: 15px; }
  .contact-form .button { width: 100%; }
  .contact-socials a { flex-direction: column; gap: 0; }
  .footer-brand { width: min(320px, 95%); }
  .footer-profile p { font-size: .7rem; }
  .footer-bottom p { max-width: 300px; font-size: .63rem; line-height: 1.7; }
  .back-to-top { right: 13px; bottom: 13px; }
  [data-reveal] { transform: translateY(15px); }
}

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


/* Brand lockup sizing: preserve the complete original horizontal logo without cropping. */
.site-header { background: rgba(255,255,255,.97); }
.header-inner { min-height: var(--header-height); gap: clamp(12px, 1.8vw, 24px); }
.brand { flex: 0 1 300px; min-width: 250px; max-width: 300px; overflow: visible; }
.brand img { display: block; width: 100%; max-width: 300px; max-height: 88px; height: auto; object-fit: contain; object-position: left center; }
.main-nav { gap: clamp(12px, 1.5vw, 22px); }
.nav-link { white-space: nowrap; }

/* Six-photo hero carousel. The image layer moves subtly while slides cross-fade. */
.hero-slides { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: var(--navy); pointer-events: none; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.35s cubic-bezier(.22,.61,.36,1); }
.hero-slide.is-active { opacity: 1; }
.hero-slide-media { position: absolute; inset: -4%; background-size: cover; background-position: center center; transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.06); will-change: transform; }
.hero-slide:nth-child(1) .hero-slide-media { background-position: center 48%; }
.hero-slide:nth-child(2) .hero-slide-media { background-position: center 47%; }
.hero-slide:nth-child(3) .hero-slide-media { background-position: center 52%; }
.hero-slide:nth-child(4) .hero-slide-media { background-position: center 48%; }
.hero-slide:nth-child(5) .hero-slide-media { background-position: center 50%; }
.hero-slide:nth-child(6) .hero-slide-media { background-position: center 50%; }
.hero-slide.is-active .hero-slide-media { scale: 1.035; transition: scale 6.4s ease-out; }
.hero-shade { z-index: -1; }
.hero-carousel-controls { position: absolute; right: max(24px, calc((100vw - var(--container)) / 2)); bottom: 30px; z-index: 3; display: flex; align-items: center; gap: 15px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; background: rgba(8,27,41,.38); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero-slide-dots { display: flex; align-items: center; gap: 8px; }
.hero-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.48); cursor: pointer; transition: width .35s ease, background .35s ease, transform .35s ease; }
.hero-dot:hover { transform: scale(1.2); background: white; }
.hero-dot.is-active { width: 24px; background: #a9d2af; }
.hero-slide-count { min-width: 46px; color: rgba(255,255,255,.84); font-size: .65rem; font-weight: 700; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.hero-play-toggle { display: grid; place-items: center; width: 27px; height: 27px; padding: 0; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: transparent; color: #fff; font-size: .69rem; cursor: pointer; transition: background .2s ease, color .2s ease; }
.hero-play-toggle:hover { background: #fff; color: var(--navy); }

/* The supplied geologist portrait is shown in full, with no aggressive crop. */
.team-image-main img { width: 100%; height: auto; max-height: 500px; object-fit: cover; object-position: center 36%; }

@media (max-width: 1100px) {
  .brand { flex-basis: 245px; min-width: 215px; max-width: 245px; }
  .brand img { max-width: 245px; max-height: 76px; }
  .main-nav { gap: 13px; }
  .nav-link { font-size: .72rem; letter-spacing: .045em; }
  .header-social { gap: 4px; }
}
@media (max-width: 820px) {
  .brand { flex: 0 1 245px; min-width: 0; max-width: 245px; }
  .brand img { max-width: 245px; max-height: 72px; }
  .hero-carousel-controls { right: 18px; bottom: 22px; }
}
@media (max-width: 600px) {
  .brand { flex: 0 1 min(218px, 68vw); max-width: min(218px, 68vw); }
  .brand img { max-width: 100%; max-height: 64px; }
  .hero-carousel-controls { right: 15px; bottom: 17px; gap: 10px; padding: 8px 10px; }
  .hero-slide-dots { gap: 6px; }
  .hero-dot { width: 6px; height: 6px; }
  .hero-dot.is-active { width: 18px; }
  .hero-slide-count { min-width: 41px; font-size: .6rem; }
  .hero-play-toggle { width: 25px; height: 25px; }
  .hero-note { max-width: calc(100% - 10px); }
  .team-image-main img { max-height: 420px; object-position: center 34%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide-media, .hero-dot, .hero-play-toggle { transition: none !important; animation: none !important; }
  .hero-slide.is-active .hero-slide-media { scale: 1 !important; }
}

.hero-play-toggle:disabled { opacity: .45; cursor: not-allowed; }


/* NRBMICROMATCO dark-blue identity: microscope icon + full wordmark. */
:root {
  --navy: #102638;
  --navy-2: #19384b;
  --green: #73a87b;
  --green-dark: #4e8665;
  --teal: #55b7aa;
  --line: #dce5eb;
}
.site-header,
.site-header.is-scrolled {
  background: rgba(16, 38, 56, .97);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 8px 28px rgba(4, 20, 31, .16);
}
.header-inner { min-height: var(--header-height); gap: clamp(14px, 2vw, 30px); }
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
  gap: 10px;
  color: #fff;
}
.brand-icon { display: block; width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; border-radius: 50%; }
.brand-name {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(.88rem, 1.18vw, 1.12rem);
  font-weight: 600;
  letter-spacing: .018em;
  line-height: 1.1;
  white-space: nowrap;
}
.main-nav { gap: clamp(13px, 1.65vw, 25px); }
.nav-link { color: rgba(255,255,255,.76); font-size: .76rem; letter-spacing: .045em; }
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link::after { background: var(--green); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.header-cta:hover { background: #8bb995; transform: translateY(-2px); }
.header-cta span { font-size: .95rem; }
.mobile-contact-link { display: none; }
.menu-toggle span { background: #fff; }

/* Hero type and metrics from the preferred dark-blue concept. */
.hero h1 {
  max-width: 610px;
  font-size: clamp(3.05rem, 6.6vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1.02;
  text-transform: none;
}
.hero h1 span { margin-top: 5px; color: #a9d2bb; }
.hero-lead { max-width: 600px; margin-top: 25px; }
.hero-stats { display: flex; align-items: center; gap: 24px; margin-top: 46px; color: white; }
.hero-stats > div { display: flex; align-items: center; gap: 10px; min-height: 38px; padding-right: 22px; border-right: 1px solid rgba(255,255,255,.2); }
.hero-stats > div:last-child { padding-right: 0; border-right: 0; }
.hero-stats strong { color: #fff; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.hero-stats span { color: rgba(255,255,255,.72); font-size: .65rem; line-height: 1.35; }
.hero-carousel-controls { right: max(24px, calc((100vw - var(--container)) / 2)); }

/* The company remains the visual anchor across the long page. */
.intro-strip { background: #102638; }
.services-section { background: #f4f7f9; }
.blog-section { background: #edf3f6; }
.site-footer { background: #102638; }
.footer-bottom { border-top-color: rgba(255,255,255,.13); }
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: auto;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
}
.footer-brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 50%; }
.footer-brand span { color: #fff; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: .02em; }
.contact-brand-lockup { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.contact-brand-lockup img { width: 42px; height: 42px; object-fit: contain; border-radius: 50%; }
.contact-brand-lockup span { color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; }
.contact-info-top { padding-bottom: 25px; }

/* Photo galleries connect each service with the supplied real material imagery. */
.service-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.service-gallery figure {
  height: 180px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16,38,56,.08);
  border-radius: 11px;
  background: #e7edf0;
}
.service-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.service-card:hover .service-gallery img { transform: scale(1.045); }
.service-card { border-color: #dce5eb; }
.service-photo { background: #e7edf0; }

@media (max-width: 1100px) {
  .header-inner { gap: 15px; }
  .brand-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .brand-name { font-size: .91rem; }
  .main-nav { gap: 12px; }
  .nav-link { font-size: .68rem; }
  .header-cta { min-height: 39px; padding-inline: 12px; font-size: .65rem; }
}
@media (max-width: 820px) {
  .brand { max-width: min(300px, calc(100vw - 100px)); }
  .brand-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .brand-name { font-size: clamp(.82rem, 2.3vw, 1rem); }
  .header-cta { display: none; }
  .mobile-contact-link { display: block; }
  .main-nav {
    background: rgba(16,38,56,.985);
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 16px 24px rgba(4,20,31,.25);
  }
  .nav-link { color: rgba(255,255,255,.82); border-bottom-color: rgba(255,255,255,.1); }
  .nav-link:hover, .nav-link.is-active { color: #a9d2bb; }
  .hero-stats { gap: 16px; margin-top: 36px; }
  .hero-stats > div { padding-right: 15px; }
  .hero-stats strong { font-size: 1.55rem; }
  .service-gallery figure { height: 190px; }
}
@media (max-width: 600px) {
  .brand { max-width: min(265px, calc(100vw - 90px)); gap: 8px; }
  .brand-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .brand-name { font-size: clamp(.75rem, 3.5vw, .9rem); letter-spacing: 0; }
  .hero h1 { max-width: 100%; font-size: clamp(2.45rem, 11.8vw, 3.8rem); line-height: 1.02; }
  .hero-stats { gap: 12px; margin-top: 30px; }
  .hero-stats > div { gap: 7px; padding-right: 10px; }
  .hero-stats strong { font-size: 1.35rem; }
  .hero-stats span { font-size: .57rem; }
  .hero-carousel-controls { left: 15px; right: auto; bottom: 17px; }
  .service-gallery { grid-template-columns: 1fr; }
  .service-gallery figure { height: 195px; }
  .footer-brand img, .contact-brand-lockup img { width: 36px; height: 36px; }
  .footer-brand span, .contact-brand-lockup span { font-size: .9rem; }
}
/* Explicit sizing overrides for the supplied square microscope mark. */
.brand .brand-icon { width: 40px; height: 40px; max-width: 40px; max-height: 40px; flex: 0 0 40px; object-fit: contain; }
@media (max-width: 1100px) { .brand .brand-icon { width: 36px; height: 36px; max-width: 36px; max-height: 36px; flex-basis: 36px; } }
@media (max-width: 820px) { .brand .brand-icon { width: 38px; height: 38px; max-width: 38px; max-height: 38px; flex-basis: 38px; } }
@media (max-width: 600px) { .brand .brand-icon { width: 34px; height: 34px; max-width: 34px; max-height: 34px; flex-basis: 34px; } }
.button-primary { color: #fff; }

/* -------------------------------------------------------------------------
   Visual refinement — polished scientific identity, editorial rhythm,
   richer image treatment and responsive navigation.
   ------------------------------------------------------------------------- */
:root {
  --navy: #0c2336;
  --navy-2: #15374d;
  --green: #79ad83;
  --green-dark: #548767;
  --green-soft: #eaf2ed;
  --teal: #5bc5b6;
  --paper: #f4f7fa;
  --line: #dce6ed;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(10, 34, 52, .13);
  --container: 1260px;
  --header-height: 84px;
}

html { scroll-padding-top: calc(var(--header-height) + 24px); }
body { background: var(--paper); color: #203545; }
::selection { background: #4f9d91; color: #fff; }
:focus-visible { outline: 3px solid rgba(91,197,182,.78); outline-offset: 4px; }

/* Header: dark glass, crisp wordmark and a compact mobile menu. */
.site-header,
.site-header.is-scrolled {
  background: rgba(9, 29, 45, .88);
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 8px 32px rgba(3, 17, 28, .16);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.header-inner { min-height: var(--header-height); gap: clamp(16px, 2.2vw, 32px); }
.brand { gap: 12px; flex: 0 0 auto; max-width: none; min-width: 0; }
.brand .brand-icon {
  width: 42px; height: 42px; max-width: 42px; max-height: 42px; flex: 0 0 42px;
  border-radius: 50%; object-fit: contain;
  box-shadow: 0 0 0 5px rgba(121,173,131,.10);
}
.brand-name {
  color: #fff; font-family: "VDub-regular", "Manrope", sans-serif; font-size: clamp(.9rem, 1.08vw, 1.08rem);
  font-weight: 400; letter-spacing: .025em; line-height: 1.12;
}
/* The supplied VDub-regular font will be embedded here when its webfont file is provided. */
.footer-brand span, .contact-brand-lockup span {
  font-family: "VDub-regular", "Manrope", sans-serif;
  font-weight: 400;
}
.main-nav { gap: clamp(4px, .65vw, 10px); }
.nav-link {
  padding: 10px 11px; border-radius: 999px; color: rgba(238,246,250,.74);
  font-size: .69rem; font-weight: 800; letter-spacing: .075em;
  transition: color .25s ease, background .25s ease;
}
.nav-link::after { display: none; }
.nav-link:hover, .nav-link.is-active { color: #fff; background: rgba(255,255,255,.09); }
.header-cta { min-height: 44px; padding-inline: 18px; border-radius: 999px; background: var(--green); color: #092235; font-size: .68rem; box-shadow: 0 8px 24px rgba(121,173,131,.18); }
.header-cta:hover { background: #a3d0aa; color: #092235; }
.header-social { gap: 5px; }
.header-social a, .header-social .social-pending { color: rgba(255,255,255,.7); border: 1px solid transparent; border-radius: 50%; }
.header-social a:hover { color: var(--teal); border-color: rgba(91,197,182,.28); background: rgba(91,197,182,.08); }
.menu-toggle { border-radius: 12px; }
.menu-toggle:hover { background: rgba(255,255,255,.08); }
.menu-toggle span { background: #fff; }

/* Hero: cinematic image cross-fades with a navy reading zone. */
.hero {
  min-height: min(850px, 100svh);
  padding: calc(var(--header-height) + 90px) 0 126px;
  background: #0b2235;
}
.hero-slides { z-index: 0; background: #0b2235; }
.hero-slide { transition: opacity 1.65s cubic-bezier(.22,.68,.18,1); }
.hero-slide-media {
  inset: -3.5%;
  background-size: cover;
  filter: saturate(.88) contrast(1.035);
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.09);
  will-change: transform, scale;
}
.hero-slide:nth-child(1) .hero-slide-media { background-position: 54% 48%; }
.hero-slide:nth-child(2) .hero-slide-media { background-position: center 48%; }
.hero-slide:nth-child(3) .hero-slide-media { background-position: center 50%; }
.hero-slide:nth-child(4) .hero-slide-media { background-position: center 48%; }
.hero-slide:nth-child(5) .hero-slide-media { background-position: center 50%; }
.hero-slide:nth-child(6) .hero-slide-media { background-position: center 50%; }
.hero-slide.is-active .hero-slide-media { animation: heroKenBurns 7.2s cubic-bezier(.2,.62,.24,1) both; }
@keyframes heroKenBurns { from { scale: 1; } to { scale: 1.055; } }
.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,25,40,.96) 0%, rgba(8,29,46,.89) 33%, rgba(8,29,46,.66) 58%, rgba(8,29,46,.26) 100%),
    linear-gradient(0deg, rgba(7,24,38,.72) 0%, transparent 42%, rgba(7,24,38,.18) 100%);
}
.hero::before {
  content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; opacity: .25;
  background-image: linear-gradient(rgba(211,235,240,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(211,235,240,.08) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, black, transparent 76%);
}
.hero::after {
  content: ""; position: absolute; z-index: 2; width: min(46vw, 640px); aspect-ratio: 1; right: -12%; top: 4%;
  border: 1px solid rgba(150,211,201,.16); border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 36px rgba(150,211,201,.025), 0 0 0 78px rgba(150,211,201,.018);
}
.hero-content { z-index: 3; width: min(calc(100% - 48px), var(--container)); padding-top: 10px; animation: heroContentIn .9s .12s both cubic-bezier(.2,.7,.2,1); }
@keyframes heroContentIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { letter-spacing: .19em; }
.hero .eyebrow-light { display: flex; align-items: center; gap: 11px; color: #a5d8cb; }
.hero .eyebrow-light::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(91,197,182,.15); }
.hero h1 {
  max-width: 720px; font-size: clamp(3.55rem, 6.25vw, 6.05rem);
  font-weight: 700; letter-spacing: -.072em; line-height: .98;
}
.hero h1 span { margin-top: 9px; color: #a8d6c0; }
.hero-lead { max-width: 620px; margin: 28px 0 32px; color: rgba(241,247,250,.84); font-size: clamp(1rem,1.35vw,1.12rem); line-height: 1.78; }
.hero-actions { gap: 12px; }
.button { min-height: 54px; padding-inline: 24px; border-radius: 9px; letter-spacing: .035em; box-shadow: 0 7px 21px rgba(0,0,0,.10); }
.button-primary { color: #082235; background: #82b58b; }
.button-primary:hover { color: #082235; background: #a3d2aa; box-shadow: 0 12px 28px rgba(121,173,131,.22); }
.button-outline { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.055); backdrop-filter: blur(7px); }
.button-outline:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.72); }
.hero-stats { margin-top: 48px; gap: 0; }
.hero-stats > div { min-height: 44px; padding: 0 24px; gap: 12px; border-right-color: rgba(218,237,241,.2); }
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats strong { font-size: 2rem; }
.hero-stats span { font-size: .68rem; }
.hero-carousel-controls {
  z-index: 4; right: max(24px, calc((100vw - var(--container)) / 2)); bottom: 34px;
  display: flex; align-items: center; gap: 13px; padding: 12px 15px;
  border: 1px solid rgba(226,244,246,.2); border-radius: 999px;
  background: rgba(8,27,42,.48); box-shadow: 0 12px 35px rgba(2,13,21,.16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.hero-slide-dots { gap: 7px; }
.hero-dot { width: 6px; height: 6px; background: rgba(255,255,255,.40); }
.hero-dot.is-active { width: 22px; background: #a9d7c3; }
.hero-progress-track { display: block; width: 52px; height: 2px; overflow: hidden; border-radius: 9px; background: rgba(255,255,255,.2); }
.hero-progress-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--teal); }
.hero-progress-fill.is-running { animation: heroProgress linear forwards; }
@keyframes heroProgress { to { width: 100%; } }
.hero-slide-count { min-width: 46px; font-size: .66rem; }
.hero-play-toggle { width: 30px; height: 30px; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.hero-visual-note { position: absolute; z-index: 3; right: max(32px, calc((100vw - var(--container)) / 2)); top: 47%; display: flex; align-items: center; gap: 12px; color: rgba(238,247,248,.68); font-size: .61rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-visual-note-line { width: 1px; height: 46px; background: linear-gradient(transparent, var(--teal), transparent); }
.scroll-cue { z-index: 4; border-color: rgba(255,255,255,.33); }
.scroll-cue span { background: var(--teal); }

/* A quieter transition from the cover into the content. */
.intro-strip { background: linear-gradient(110deg, #102d43, #12364a 58%, #0c283d); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(12,35,54,.08); }
.intro-strip-inner { min-height: 112px; }
.intro-strip p { color: rgba(244,249,251,.87); font-size: .95rem; }
.intro-mark { color: #a8d6c0; font-size: .68rem; letter-spacing: .12em; }
.mark-dot { background: var(--teal); box-shadow: 0 0 0 6px rgba(91,197,182,.11); }

/* Section rhythm and clear editorial hierarchy. */
.section { padding: clamp(82px, 8.4vw, 124px) 0; }
.section-heading { margin-bottom: 48px; }
.section-heading h2 { color: #102b40; font-size: clamp(2.3rem,4.2vw,4rem); letter-spacing: -.065em; }
.section-heading h2 span { color: #5e9678; }
.section-lead { color: #687d89; max-width: 790px; }
.eyebrow { color: #5a9272; }

/* Technology badges: technical, quiet and tactile. */
.services-section { position: relative; background: linear-gradient(180deg, #f4f7fa 0%, #eef3f7 100%); }
.services-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; background-image: radial-gradient(#9bb1bd .7px, transparent .7px); background-size: 19px 19px; mask-image: linear-gradient(180deg, transparent, black 28%, transparent 92%); }
.services-section > .container { position: relative; }
.technique-grid { gap: 13px; margin-bottom: 58px; }
.technique-item {
  min-height: 118px; gap: 12px; border: 1px solid rgba(199,214,223,.8); border-radius: 15px;
  background: rgba(255,255,255,.82); box-shadow: 0 8px 22px rgba(16,43,64,.035);
  color: #536b78; transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.technique-item:hover { transform: translateY(-5px); border-color: rgba(91,169,154,.42); box-shadow: 0 16px 32px rgba(16,43,64,.08); }
.technique-symbol { min-width: 50px; height: 42px; border-radius: 10px; background: #e8f3ef; color: #397c72; }
.service-grid { gap: 22px; }
.service-card {
  padding: clamp(24px,3vw,36px); border: 1px solid #dbe6ec; border-radius: 22px;
  background: rgba(255,255,255,.94); box-shadow: 0 12px 32px rgba(12,35,54,.045);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.service-card::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 2px; border-radius: 0 0 5px 5px; background: linear-gradient(90deg, transparent, rgba(91,197,182,.85), transparent); opacity: .45; }
.service-card:hover { transform: translateY(-7px); border-color: #c5d9dc; box-shadow: 0 22px 54px rgba(12,35,54,.11); }
.service-card-featured { border-top: 1px solid #dbe6ec; }
.service-number { color: #9bc7b3; font-size: 2.65rem; }
.card-kicker { color: #5e9678; font-size: .65rem; letter-spacing: .18em; }
.service-card-body h3 { color: #102b40; font-size: clamp(1.2rem,1.8vw,1.52rem); line-height: 1.27; letter-spacing: -.045em; }
.service-standard { color: #548b78; font-size: .75rem; letter-spacing: .03em; }
.service-copy { color: #687d89; }
.service-details { border-top-color: #e3ebef; }
.service-details summary { color: #477f75; }
.service-details summary span { background: #eaf4f0; color: #397c72; }
.detail-columns ul, .detail-list { color: #617681; line-height: 1.72; }
.detail-columns li::marker, .detail-list li::marker { color: #69a98c; }
.service-gallery { gap: 14px; margin-top: 14px; }
.service-gallery figure { height: clamp(170px, 19vw, 235px); border: 1px solid #e1e9ed; border-radius: 15px; background: #e8eef2; }
.service-gallery img { filter: saturate(.93); transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.service-card:hover .service-gallery img { transform: scale(1.055); filter: saturate(1.04); }

/* Parallax statement band. */
.parallax-band { min-height: 500px; }
.parallax-band-media { filter: saturate(.70) contrast(1.05); }
.parallax-band-overlay { background: linear-gradient(90deg, rgba(7,25,40,.96), rgba(9,34,52,.83) 58%, rgba(9,34,52,.58)); }
.parallax-band-content h2 { font-size: clamp(2.8rem,5.4vw,5.1rem); }
.parallax-band-content h2 span { color: #a8d6c0; }
.parallax-band-content p:not(.eyebrow) { max-width: 590px; }
.text-link-light { color: #a8d6c0; }

/* Team: editorial profiles with generous spacing and refined photo frames. */
.team-section { background: #fff; }
.team-section .section-heading { margin-bottom: 58px; }
.team-intro { padding-bottom: 82px; }
.team-image { border-radius: 18px; background: #e9f0f1; box-shadow: 0 22px 55px rgba(12,35,54,.12); }
.team-image img { max-height: 470px; }
.team-image-main { border-radius: 18px; }
.team-image-main::after { inset: 16px -16px -16px 16px; border-color: rgba(91,169,154,.45); border-radius: 18px; }
.team-copy h3 { color: #102b40; letter-spacing: -.05em; }
.team-copy p { color: #657985; }
.team-copy strong { color: #183f53; }
.profile-row { padding: 82px 0; border-bottom-color: #e4ebef; }
.team-image-model img { background: #f5f7f6; }
.team-image-award img { background: #f5f6f4; }

/* Blog cards with a clear image-first hierarchy. */
.blog-section { background: linear-gradient(180deg,#edf3f7,#e8f0f4); }
.blog-heading { margin-bottom: 48px; }
.blog-heading > p { color: #637985; }
.blog-card { min-height: 315px; border: 1px solid rgba(207,221,229,.9); border-radius: 17px; box-shadow: 0 10px 26px rgba(12,35,54,.045); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.blog-card:hover { transform: translateY(-7px); border-color: #b9d4d9; box-shadow: 0 22px 44px rgba(12,35,54,.11); }
.blog-card > img { aspect-ratio: 1.58; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.blog-card:hover > img { transform: scale(1.045); }
.blog-card-body { padding: 19px 19px 21px; }
.blog-date { color: #548b78; }
.blog-card h3 { color: #102b40; font-size: 1.02rem; letter-spacing: -.02em; }
.blog-card p { color: #84939a; }

/* Contact and footer carry the navy brand through the final action. */
.contact-section { background: #fff; }
.contact-info { border-radius: 22px; background: linear-gradient(150deg,#102b40,#0a2032 78%); box-shadow: 0 22px 55px rgba(12,35,54,.13); }
.contact-info::after { border-color: rgba(91,197,182,.24); }
.contact-icon { background: rgba(91,197,182,.13); color: #8bd4c1; }
.contact-detail strong { color: #a8d6c0; }
.contact-form-wrap { border: 1px solid #e0e9ed; border-radius: 22px; background: #f8fafb; box-shadow: 0 12px 35px rgba(12,35,54,.045); }
.form-heading h3 { color: #102b40; font-size: clamp(1.5rem,2.5vw,2rem); letter-spacing: -.045em; }
.contact-form input, .contact-form textarea { border-color: #d9e4e9; border-radius: 9px; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #61a998; box-shadow: 0 0 0 4px rgba(91,169,154,.13); }
.site-footer { padding: 62px 0 27px; background: linear-gradient(135deg,#0d273c,#081e30); }
.footer-brand { gap: 12px; }
.footer-brand img { width: 44px; height: 44px; box-shadow: 0 0 0 5px rgba(121,173,131,.10); border-radius: 50%; }
.footer-brand span { font-size: 1.06rem; letter-spacing: .025em; }
.footer-profile h2 { color: #a8d6c0; }
.footer-profile p { color: rgba(238,246,250,.70); }
.footer-socials a, .footer-socials .social-pending { border-color: rgba(255,255,255,.23); background: rgba(255,255,255,.035); }
.footer-socials a:hover { color: #102b40; background: #a8d6c0; }
.footer-socials .x-social-icon { width: 13px; height: 13px; display: block; fill: currentColor; }
.footer-bottom { border-top-color: rgba(255,255,255,.14); }
.back-to-top { background: #5d9c83; box-shadow: 0 12px 30px rgba(12,35,54,.25); }
.back-to-top:hover { background: #7eb795; }

/* More natural section reveals and reduced-motion support. */
[data-reveal] { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }

/* Tablets and compact laptops: avoid crowded horizontal navigation. */
@media (max-width: 1100px) {
  :root { --header-height: 76px; }
  .header-inner { justify-content: space-between; gap: 14px; }
  .brand { max-width: min(330px, calc(100vw - 110px)); }
  .brand .brand-icon { width: 38px; height: 38px; max-width: 38px; max-height: 38px; flex-basis: 38px; }
  .brand-name { font-size: clamp(.84rem,2vw,1rem); }
  .menu-toggle { display: block; order: 3; flex: 0 0 42px; }
  .header-social { display: none; }
  .header-cta { display: none; }
  .mobile-contact-link { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch;
    gap: 3px; padding: 13px 22px 20px; background: rgba(9,29,45,.985);
    border-top: 1px solid rgba(255,255,255,.10); box-shadow: 0 18px 34px rgba(3,17,28,.24);
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav-link { display: block; padding: 13px 15px; border-radius: 10px; font-size: .78rem; }
  .nav-link:hover, .nav-link.is-active { background: rgba(255,255,255,.08); }
  .hero { min-height: 760px; padding-top: calc(var(--header-height) + 95px); }
  .hero h1 { font-size: clamp(3.2rem,7.4vw,5.2rem); }
  .hero-visual-note { right: 26px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(1), .service-card-rock { grid-column: 1 / -1; }
  .blog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .hero { min-height: 740px; }
  .hero-shade { background: linear-gradient(90deg,rgba(7,25,40,.94),rgba(8,29,46,.75) 60%,rgba(8,29,46,.48)),linear-gradient(0deg,rgba(7,24,38,.75),transparent 60%); }
  .hero-visual-note { display: none; }
  .hero-stats { flex-wrap: wrap; row-gap: 15px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(1), .service-card-rock { grid-column: auto; }
  .service-card:nth-child(2) { min-height: 0; }
  .blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .team-intro, .profile-row, .thesis-row { gap: 30px; }
}

@media (max-width: 600px) {
  :root { --header-height: 70px; }
  .container { width: min(calc(100% - 34px), var(--container)); }
  .header-inner { min-height: var(--header-height); }
  .brand { max-width: calc(100vw - 92px); gap: 9px; }
  .brand .brand-icon { width: 34px; height: 34px; max-width: 34px; max-height: 34px; flex-basis: 34px; }
  .brand-name { font-size: clamp(.77rem,3.4vw,.91rem); letter-spacing: .005em; }
  .hero { min-height: 770px; align-items: flex-end; padding: calc(var(--header-height) + 66px) 0 112px; }
  .hero-slide-media { inset: -2%; }
  .hero-shade { background: linear-gradient(0deg,rgba(7,24,38,.97) 0%,rgba(7,24,38,.84) 44%,rgba(7,24,38,.30) 100%); }
  .hero::before { opacity: .15; background-size: 54px 54px; }
  .hero::after { width: 95vw; right: -43%; top: 4%; }
  .hero-content { width: min(calc(100% - 34px), var(--container)); padding-top: 0; }
  .hero h1 { max-width: 100%; font-size: clamp(2.65rem,12.2vw,3.7rem); line-height: 1; }
  .hero-lead { margin: 21px 0 24px; font-size: .94rem; line-height: 1.68; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 360px; }
  .button { width: 100%; min-height: 51px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 30px; }
  .hero-stats > div { align-items: flex-start; gap: 6px; padding: 0 8px 0 0; border-right: 1px solid rgba(218,237,241,.18); }
  .hero-stats strong { font-size: 1.38rem; }
  .hero-stats span { font-size: .57rem; line-height: 1.3; }
  .hero-carousel-controls { left: 50%; right: auto; bottom: 17px; transform: translateX(-50%); gap: 10px; padding: 9px 12px; }
  .hero-progress-track { width: 36px; }
  .hero-slide-dots { gap: 6px; }
  .hero-dot { width: 5px; height: 5px; }
  .hero-dot.is-active { width: 18px; }
  .hero-slide-count { min-width: 40px; font-size: .59rem; }
  .hero-play-toggle { width: 26px; height: 26px; }
  .scroll-cue { display: none; }
  .intro-strip-inner { padding-block: 25px; gap: 12px; }
  .intro-strip p { font-size: .82rem; line-height: 1.6; }
  .intro-mark { font-size: .59rem; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: clamp(2.15rem,9.5vw,3rem); }
  .section-lead { font-size: .9rem; }
  .technique-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-bottom: 34px; }
  .technique-item { min-height: 100px; padding: 11px; font-size: .7rem; }
  .service-card { grid-template-columns: 35px minmax(0,1fr); gap: 12px; padding: 23px 17px; border-radius: 17px; }
  .service-number { font-size: 1.9rem; }
  .service-card-body h3 { font-size: 1.13rem; }
  .service-gallery { grid-template-columns: 1fr; gap: 10px; }
  .service-gallery figure { height: 205px; }
  .detail-columns { grid-template-columns: 1fr; gap: 0; }
  .detail-columns ul { margin-top: 8px; }
  .parallax-band { min-height: 430px; }
  .parallax-band-content { padding-block: 76px; }
  .parallax-band-content h2 { font-size: clamp(2.35rem,10vw,3.4rem); }
  .parallax-caption { right: 16px; bottom: 13px; font-size: .53rem; }
  .team-intro { padding-bottom: 46px; }
  .team-image-main { margin-right: 10px; }
  .team-image-main img { max-height: 390px; object-position: center 35%; }
  .team-image img { max-height: 360px; }
  .profile-row { padding: 46px 0; }
  .profile-row-reverse .team-image { order: 2; }
  .profile-row-reverse .team-copy { order: 1; }
  .thesis-row { padding-top: 46px; }
  .team-copy p { font-size: .88rem; }
  .blog-heading { gap: 18px; margin-bottom: 30px; }
  .blog-grid { grid-template-columns: 1fr; gap: 13px; }
  .blog-card { display: grid; grid-template-columns: 116px minmax(0,1fr); min-height: 132px; }
  .blog-card > img { height: 100%; min-height: 132px; aspect-ratio: auto; }
  .blog-card-body { padding: 12px 13px; }
  .blog-card h3 { font-size: .88rem; }
  .contact-layout { gap: 15px; }
  .contact-info, .contact-form-wrap { padding: 23px 18px; border-radius: 17px; }
  .contact-brand-lockup span, .footer-brand span { font-size: .9rem; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .contact-form .button { width: 100%; }
  .footer-brand img, .contact-brand-lockup img { width: 36px; height: 36px; }
  .footer-profile p { font-size: .7rem; }
  .footer-bottom p { max-width: 300px; font-size: .62rem; line-height: 1.7; }
  .back-to-top { right: 13px; bottom: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active .hero-slide-media { animation: none !important; scale: 1 !important; }
  .hero-progress-fill.is-running { animation: none !important; }
  .hero-progress-fill { width: 100%; }
  .hero-content { animation: none !important; }
}

.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); }


/* Supplied MAP / PHONE / MAIL artwork — equal circular dimensions. */
.contact-icon-image {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}
.contact-icon-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Keep the same four social glyphs and optical size in header and footer. */
.header-social svg,
.footer-socials svg {
  display: block;
  width: 16px;
  height: 16px;
}
.footer-socials svg { fill: currentColor; }
.footer-socials svg rect,
.footer-socials svg circle:not(.solid-dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.footer-socials svg .solid-dot { fill: currentColor; }
.footer-socials .x-social-icon { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .contact-icon-image { flex-basis: 38px; width: 38px; height: 38px; }
}
