:root {
  --ink: #13263a;
  --navy: #153f70;
  --teal: #08786d;
  --deep-teal: #043d39;
  --cyan: #1db7ca;
  --mist: #eef5f8;
  --line: #c9dbe5;
  --white: #fff;
  --shadow: 0 20px 50px rgba(9, 42, 61, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; background: #fbfdfe; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; padding: .8rem 1rem; background: var(--white); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(19,63,112,.12); backdrop-filter: blur(12px); }
.nav-wrap { width: min(1180px, calc(100% - 2.5rem)); margin: auto; min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { width: 188px; }
nav { display: flex; align-items: center; gap: 1.45rem; }
nav a { text-decoration: none; font-size: .93rem; font-weight: 700; }
nav a:hover { color: var(--teal); }
.nav-cta { color: var(--white); background: var(--deep-teal); padding: .68rem 1rem; border-radius: 999px; }
nav .nav-cta:hover { color: var(--white); background: var(--teal); }
.menu-button { display: none; font: inherit; font-weight: 700; border: 1px solid var(--line); background: var(--white); border-radius: .5rem; padding: .55rem .85rem; }
.hero { width: min(1260px, calc(100% - 2.5rem)); margin: 2.5rem auto 0; min-height: 680px; display: grid; grid-template-columns: 1.02fr .98fr; border-radius: 2rem; overflow: hidden; background: linear-gradient(145deg, #062f36, #0b5460 66%, #08786d); color: var(--white); box-shadow: var(--shadow); }
.hero-content { padding: clamp(3rem, 6vw, 6rem); align-self: center; }
.eyebrow { margin: 0 0 1rem; color: var(--teal); font-size: .78rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.hero .eyebrow, .projects .eyebrow { color: #8be8e0; }
h1, h2, h3 { margin-top: 0; line-height: 1.1; color: var(--navy); }
h1 { font-size: clamp(2.65rem, 5vw, 5rem); color: var(--white); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.4vw, 3.45rem); letter-spacing: -.035em; }
h3 { font-size: 1.18rem; }
.hero-copy { max-width: 670px; font-size: 1.12rem; color: #d6ecee; }
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; margin: 2rem 0 2.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.15rem; border-radius: .7rem; text-decoration: none; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--cyan); color: #052e35; }
.button.secondary { border: 1px solid rgba(255,255,255,.45); color: var(--white); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }
.hero-facts div { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.24); }
.hero-facts dt { font-weight: 850; }
.hero-facts dd { margin: .2rem 0 0; font-size: .82rem; color: #bdd7da; }
.hero-visual { position: relative; min-height: 100%; display: grid; place-items: center; background: #06283e; }
.hero-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,47,54,.55), transparent 40%); pointer-events: none; }
.hero-visual p { position: absolute; z-index: 2; left: 1.5rem; right: 1.5rem; bottom: 1rem; margin: 0; font-size: .72rem; color: #e6f5f6; }
.section { width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; padding: 7rem 0; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.intro-copy { padding-top: 1.85rem; font-size: 1.08rem; color: #415469; }
.credential-grid { display: grid; gap: .75rem; margin: 1.5rem 0; }
.credential-grid div { display: grid; grid-template-columns: minmax(8.5rem, .8fr) 2fr; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--white); }
.credential-grid strong { color: var(--navy); }
.credential-grid span { font-size: .92rem; line-height: 1.45; }
.privacy-note { font-size: .82rem; color: #667887; }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading > p:last-child { color: #5b6d7f; font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.service-grid article { min-height: 235px; padding: 1.65rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.service-grid article:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-grid span { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--mist); color: var(--teal); font-weight: 850; }
.service-grid h3 { margin: 1.7rem 0 .7rem; }
.service-grid p { margin: 0; color: #53687a; font-size: .92rem; }
.systems { padding-top: 1rem; }
.systems-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.system-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); box-shadow: 0 12px 30px rgba(9,42,61,.07); }
.system-card a { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; min-height: 0; overflow: hidden; padding: .65rem; background: linear-gradient(145deg, #f3f7f8, #fff); }
.system-card img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; object-position: center; }
.system-card figcaption { display: grid; gap: .4rem; padding: 1.25rem 1.35rem 1.4rem; border-top: 1px solid var(--line); }
.system-card figcaption strong { color: var(--navy); font-size: 1.05rem; }
.system-card figcaption span { color: #52687a; font-size: .9rem; }
.visual-note { max-width: 900px; margin: 1.4rem 0 0; color: #6b7b88; font-size: .8rem; }
.projects { width: 100%; max-width: none; padding: 7rem max(1.25rem, calc((100% - 1120px) / 2)); background: #082e3c; color: var(--white); }
.projects h2 { color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.project-card { display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; min-height: 320px; border: 1px solid rgba(255,255,255,.14); border-radius: 1rem; background: rgba(255,255,255,.06); }
.project-card img { width: 100%; height: 100%; min-height: 320px; padding: .5rem; object-fit: contain; object-position: center; background: #051f2a; }
.project-card > div { padding: 2rem; }
.project-card h3 { color: var(--white); font-size: 1.42rem; }
.project-card p { color: #c4d7dd; }
.project-type { color: #7ee1d8 !important; font-size: .74rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.tags { font-size: .78rem; font-weight: 700; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.portfolio-grid article { padding: 1.6rem; border-radius: .9rem; background: var(--mist); }
.portfolio-grid p { color: #52687a; font-size: .92rem; }
.disclaimer { margin-top: 1.5rem; color: #6b7b88; font-size: .78rem; }
.standards { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: center; border-top: 1px solid var(--line); }
.standards-list { display: flex; flex-wrap: wrap; gap: .65rem; }
.standards-list span { padding: .62rem .82rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font-size: .82rem; font-weight: 800; }
.research { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.research-visual { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; padding: 1rem; background: #021c33; border-radius: 1.25rem; }
.research-visual img { height: 420px; width: 100%; object-fit: contain; object-position: center; }
.text-link { color: var(--teal); font-weight: 800; }
.contact { width: min(1180px, calc(100% - 2.5rem)); padding: clamp(2.5rem, 6vw, 5rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; border-radius: 1.5rem; background: var(--deep-teal); color: var(--white); }
.contact h2 { color: var(--white); }
.contact > div:first-child > p:last-child { color: #c9dfdf; }
.contact-card { display: flex; flex-direction: column; gap: .85rem; padding: 1.5rem; border-radius: 1rem; background: var(--white); color: var(--ink); }
.contact-card > a:not(.button) { color: var(--navy); font-size: 1.15rem; font-weight: 850; text-decoration: none; }
.contact-card .button { align-self: flex-start; }
footer { width: min(1120px, calc(100% - 2.5rem)); margin: auto; padding: 5rem 0 2.5rem; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; color: #647483; font-size: .82rem; }
footer img { width: 170px; }
@media (max-width: 980px) {
  .menu-button { display: block; }
  nav { display: none; position: absolute; top: 72px; left: 1.25rem; right: 1.25rem; padding: 1.2rem; flex-direction: column; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: .8rem; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 470px; }
  .intro, .standards, .research, .contact { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .system-card a { aspect-ratio: 4 / 3; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-wrap, .hero, .section, .contact, footer { width: min(100% - 1.4rem, 1120px); }
  .brand img { width: 150px; }
  .hero { border-radius: 1rem; margin-top: .8rem; }
  .hero-content { padding: 2.2rem 1.4rem; }
  h1 { font-size: 2.6rem; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-visual { min-height: 330px; }
  .section { padding: 4.5rem 0; }
  .services { width: min(100% - 1.4rem, 1120px); }
  .service-grid, .systems-grid, .project-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .credential-grid div { grid-template-columns: 1fr; gap: .25rem; }
  .system-card a { aspect-ratio: 4 / 3; }
  .project-card { grid-template-columns: 1fr; }
  .project-card img { min-height: 235px; max-height: 280px; }
  .research-visual img { height: 280px; }
  .contact { padding: 2rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
