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

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

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

:root {
  color-scheme: light dark;
  --container: 1320px;
  --page: #f5fbfa;
  --surface: #ffffff;
  --surface-soft: #e3f4f1;
  --ink: #081b2b;
  --muted: #4a5b66;
  --line: #b9d1d0;
  --accent: #0868c4;
  --accent-hover: #0757a2;
  --accent-ink: #ffffff;
  --header-bg: rgba(245, 251, 250, 0.96);
  --radius: 10px;
  --section-space: clamp(5.5rem, 10vw, 9rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: "Work Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  min-height: 76px;
  gap: clamp(1rem, 2.4vw, 2.5rem);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}

.brand {
  gap: 0.7rem;
}

.brand-mark {
  display: grid;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  background: #fcfcfc;
}

.brand-mark img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand-name {
  white-space: nowrap;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-name strong {
  color: var(--accent);
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.site-nav a {
  position: relative;
  padding-block: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  content: "";
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-cta {
  min-height: 44px;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.9rem;
}

.header-cta:hover,
.button-primary:hover {
  background: var(--accent-hover);
}

.header-cta:active,
.button:active {
  transform: translateY(1px);
}

.menu-toggle {
  display: none;
  min-width: 72px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-label {
  font-size: 0.78rem;
  font-weight: 700;
}

.menu-lines {
  display: grid;
  gap: 4px;
}

.menu-lines i {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-lines i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  min-height: 84svh;
  background: var(--surface-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  align-items: stretch;
  min-height: 84svh;
  padding-block: 32px;
}

.hero-copy,
.hero-visual {
  min-height: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5.5rem) clamp(2rem, 5vw, 5rem) clamp(2rem, 6vw, 5.5rem) 0;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 770px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(4rem, 6.3vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.hero h1 span {
  color: var(--accent);
}

.hero-lead {
  max-width: 590px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.button {
  gap: 1rem;
  padding: 0.85rem 1.15rem;
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.text-link {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #a8e4d7;
}

.hero-visual picture {
  display: block;
  min-height: 0;
  flex: 1;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1;
  object-fit: cover;
  object-position: 66% center;
}

.hero-visual figcaption,
.approach-visual figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  border-radius: calc(var(--radius) - 3px);
  background: rgba(8, 27, 43, 0.88);
  color: #ffffff;
  padding: 0.55rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.section {
  padding-block: var(--section-space);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.section-heading h2,
.approach-copy h2,
.contact-intro h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5.1vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

.section-heading p,
.approach-copy > p:not(.statement),
.contact-intro > p:not(.eyebrow) {
  max-width: 620px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.service-track {
  border-top: 5px solid var(--ink);
}

.service-track-accent {
  border-color: var(--accent);
}

.service-track h3 {
  margin: 1.2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-track a {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 92px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  text-decoration: none;
  transition: color 180ms ease, padding 180ms ease;
}

.service-track a:hover,
.service-track a:focus-visible {
  padding-inline: 0.55rem;
  color: var(--accent);
}

.service-track a span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.service-track a b {
  font-size: 1rem;
}

.brf {
  overflow: hidden;
  background: var(--accent);
  color: var(--accent-ink);
}

.brf-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
}

.brf h2 {
  margin: 0;
  font-size: clamp(4rem, 8.5vw, 8.3rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.83;
}

.brf-copy > p {
  margin: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.5;
}

.brf-points {
  display: grid;
  margin-block: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.brf-points span {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-block: 0.85rem;
  font-weight: 600;
}

.button-light {
  background: #ffffff;
  color: #064f95;
}

.button-light:hover {
  background: #eaf5ff;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.approach-copy {
  padding-block: 2rem;
}

.statement {
  margin: 0 0 clamp(3rem, 7vw, 7rem);
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
}

.statement strong {
  display: block;
  color: var(--accent);
  font-size: clamp(2.5rem, 5.5vw, 5.4rem);
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.approach-copy .text-link {
  display: inline-block;
  margin-top: 2rem;
}

.approach-visual {
  position: relative;
  min-height: clamp(430px, 56vw, 700px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #173747;
}

.approach-visual img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 60% center;
}

.approach-visual picture {
  position: absolute;
  inset: 0;
}

.rut-banner {
  padding-block: 1.8rem;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.rut-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.rut-mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.rut-inner p {
  margin: 0;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.rut-inner a {
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  text-decoration: none;
}

.contact {
  background: var(--surface-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.contact-intro .button {
  margin-top: 2rem;
}

.contact-details {
  border-top: 5px solid var(--accent);
}

.contact-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 94px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-row span,
.map-card > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-row strong {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.contact-row:hover,
.contact-row:focus-visible {
  color: var(--accent);
}

.map-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  text-decoration: none;
  transition: transform 180ms ease;
}

.map-card:hover {
  transform: translateY(-3px);
}

.map-card > span {
  color: #b8cbd4;
}

.map-card strong {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.25;
}

.map-card em {
  grid-column: 2;
  color: #ffffff;
  font-style: normal;
  font-weight: 700;
}

.site-footer {
  padding: 4.5rem 0 1.5rem;
  background: #06121e;
  color: #ffffff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.15fr auto;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding-bottom: 4rem;
}

.footer-brand {
  gap: 1rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.footer-mark {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  overflow: hidden;
  background: #fcfcfc;
}

.footer-mark img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.footer-main > p {
  max-width: 450px;
  margin: 0;
  color: #b8cbd4;
}

.footer-main nav {
  display: grid;
  gap: 0.75rem;
}

.footer-main nav a,
.footer-legal a {
  color: #ffffff;
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid #33434f;
  padding-top: 1.5rem;
  color: #b8cbd4;
  font-size: 0.78rem;
}

.footer-legal p {
  margin: 0;
}

.footer-legal a {
  flex: 0 0 auto;
}

.js .hero-enter {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 650ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.js .hero-enter:nth-child(2) {
  animation-delay: 90ms;
}

.js .hero-enter:nth-child(3) {
  animation-delay: 180ms;
}

.js .hero-enter:nth-child(4) {
  animation-delay: 270ms;
}

.js .hero-visual.hero-enter {
  animation-delay: 140ms;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal,
.no-js .hero-enter {
  opacity: 1;
  transform: none;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 0.7rem;
    box-shadow: 0 24px 60px rgba(8, 27, 43, 0.14);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    padding: 0.7rem;
  }

  .no-js .header-inner {
    padding-bottom: 0.75rem;
  }

  .no-js .menu-toggle {
    display: none;
  }

  .no-js .site-nav {
    position: static;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
  }

  .hero h1 {
    font-size: clamp(3.5rem, 7.4vw, 5rem);
  }

  .brf-layout,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .brf h2 {
    font-size: clamp(4rem, 9vw, 6.5rem);
  }
}

@media (max-width: 767px) {
  :root {
    --section-space: 5.5rem;
  }

  html {
    scroll-padding-top: 80px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header,
  .header-inner {
    min-height: 72px;
  }

  .brand {
    gap: 0.45rem;
  }

  .brand-mark {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .brand-mark img {
    width: 54px;
    height: 54px;
  }

  .brand-name {
    max-width: 100px;
    white-space: normal;
    font-size: 0.78rem;
    line-height: 1.1;
  }

  .menu-toggle {
    min-width: 68px;
  }

  .site-nav {
    top: 72px;
    right: 16px;
    left: 16px;
  }

  .hero,
  .hero-grid {
    min-height: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 0 16px;
  }

  .hero-copy {
    min-height: 610px;
    padding: 4rem 0 3.5rem;
  }

  .eyebrow {
    margin-bottom: 1.15rem;
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 15vw, 4.4rem);
    letter-spacing: -0.07em;
  }

  .hero-lead {
    margin-top: 1.5rem;
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.75rem;
  }

  .hero-visual {
    min-height: 440px;
  }

  .section-heading h2,
  .approach-copy h2,
  .contact-intro h2 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .service-index,
  .brf-layout,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-index {
    gap: 4rem;
  }

  .service-track a {
    min-height: 80px;
  }

  .brf-layout {
    gap: 4rem;
  }

  .brf h2 {
    font-size: clamp(3.8rem, 17vw, 5.6rem);
  }

  .approach-grid {
    gap: 3.5rem;
  }

  .statement {
    margin-bottom: 3.5rem;
  }

  .approach-visual {
    min-height: 430px;
  }

  .rut-inner {
    grid-template-columns: 56px 1fr;
  }

  .rut-mark {
    width: 56px;
    height: 56px;
  }

  .rut-inner a {
    grid-column: 2;
    width: fit-content;
  }

  .contact-grid {
    gap: 4rem;
  }

  .contact-row {
    grid-template-columns: 76px minmax(0, 1fr) auto;
  }

  .contact-row strong {
    overflow-wrap: anywhere;
  }

  .map-card {
    grid-template-columns: 76px 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-legal {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .brand-name {
    display: none;
  }

  .hero h1 {
    font-size: 3.35rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #08131f;
    --surface: #0e1d2b;
    --surface-soft: #102b37;
    --ink: #f2f8fb;
    --muted: #b5c6ce;
    --line: #334b56;
    --accent: #67b5ff;
    --accent-hover: #8fc8ff;
    --accent-ink: #06121e;
    --header-bg: rgba(8, 19, 31, 0.96);
  }

  .site-nav,
  .menu-toggle {
    box-shadow: none;
  }

  .brf {
    background: #0b5ba7;
    color: #ffffff;
  }

  .button-light {
    color: #064f95;
  }

  .map-card {
    background: #020a12;
    color: #f2f8fb;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal,
  .js .hero-enter {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--page);
    backdrop-filter: none;
  }
}
