:root {
    --bg: #fff;
    --panel: #f4f7f9;
    --text: #002b49;
    --muted: #4a6070;
    --marine: #002b49;
    --marine-light: #00406c;
    --line: rgba(0,43,73,.12);
    --max: 1180px;
    --radius: 22px;
    --topbar-height: 35px;
    --nav-height: 92px;
  }

  * { box-sizing: border-box; }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
  }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
      BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }

  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; }
  .wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

  /* -------------------------
     TOP INFORMATION BAR
     ------------------------- */
  .topbar {
    min-height: var(--topbar-height);
    display: flex;
    align-items: center;
    background: #081d35;
    color: #dce7f1;
    position: relative;
    z-index: 1001;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  /* -------------------------
     STICKY NAVIGATION
     ------------------------- */
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255,255,255,.7);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(0,43,73,.06);
  }

  nav {
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: min-height .25s ease;
  }

  .logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
  }

  .logo-img {
    width: 150px;
    height: auto;
    display: block;
    transition: width .25s ease;
  }

  /* This class is added once the topbar has scrolled away. */
  header.scrolled nav {
    min-height: 68px;
  }

  header.scrolled .logo-img {
    width: 107px;
  }

  .navlinks {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: .9rem;
    font-weight: 700;
  }

  .navlinks a {
    opacity: .82;
    transition: opacity .2s ease, color .2s ease;
  }

  .navlinks a:hover {
    opacity: 1;
    color: var(--marine);
  }

  /* -------------------------
     MOBILE MENU
     ------------------------- */
  .menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--marine);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }

  .menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

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

  .mobile-menu {
    display: none;
    padding-bottom: 8px;
    background: #fff;
  }

  .mobile-menu.open { display: block; }

  .mobile-menu a {
    display: block;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-weight: 700;
  }

  /* -------------------------
     GENERAL
     ------------------------- */
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--marine);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
    flex: 0 0 auto;
  }

  .eyebrow.no-line::before { display: none; }

  h1, h2, h3 {
    margin: 0;
    line-height: 1.02;
    letter-spacing: -.045em;
    color: var(--marine);
  }

  h1 { font-size: clamp(3.1rem, 8vw, 7.2rem); max-width: 900px; }
  h2 { font-size: clamp(2.3rem, 5vw, 4.5rem); }
  h3 { font-size: 1.45rem; }
  p { margin: 0; color: var(--muted); }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 800;
    transition: .2s ease;
  }

  .btn-primary {
    background: var(--marine);
    color: #fff;
    border-color: var(--marine);
  }

  .btn:hover { transform: translateY(-2px); }

  .btn-primary:hover {
    background: var(--marine-light);
    border-color: var(--marine-light);
  }

  .btn-secondary:hover {
    border-color: var(--marine);
    color: var(--marine);
  }

  /* -------------------------
     HERO
     ------------------------- */
  .hero {
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    padding: 150px 0 90px;
    background:
      linear-gradient(90deg, rgba(255,255,255,.40) 0%, rgba(255,255,255,.75) 15%, rgba(255,255,255,.2) 70%),
      linear-gradient(0deg, rgba(255,255,255,.5), transparent 55%),
      url('img/hero.avif') center/cover;
  }

  .hero-content { position: relative; }
  .hero p {
    max-width: 650px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    margin: 26px 0 30px;
    color: var(--muted);
  }

  .actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .hero-note { margin-top: 24px; font-size: .82rem; color: var(--muted); opacity: .8; }

  section { padding: 55px 0; }

  .intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: end;
  }

  .intro-copy p { font-size: 1.12rem; max-width: 560px; margin-top: 25px; }

  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .stat { background: var(--bg); padding: 28px; }
  .stat strong { display: block; font-size: 2.5rem; letter-spacing: -.05em; color: var(--marine); }
  .stat span { font-size: .82rem; color: var(--muted); }

  .services { background: var(--panel); }

  .section-head {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-bottom: 45px;
  }

  .section-head p { max-width: 460px; }

  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .card {
    min-height: 390px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    position: relative;
  }

  .card img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    opacity: .85;
    transition: .4s;
  }

  .card:hover img { transform: scale(1.035); opacity: 1; }

  .card::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(255,255,255,.95));
  }

  .card-body {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 26px;
  }

  .card-body h3 { color: var(--marine); }
  .card-body p { margin-top: 9px; color: var(--muted); }
  .wide { grid-column: span 2; }

  .split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
  }

  .image-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
  }

  .image-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .checklist { display: grid; gap: 14px; margin: 28px 0; }

  .check { display: flex; gap: 13px; align-items: flex-start; }
  .check b { color: var(--marine); font-size: 1.1rem; }
  .check p { font-size: .95rem; }

  .person {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 60px;
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 35px;
  }

  .person img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
  }

  .person p { font-size: 1.08rem; margin: 20px 0; }

  .quote {
    font-size: clamp(1.7rem, 3.2vw, 3rem);
    color: var(--marine);
    max-width: 850px;
    letter-spacing: -.04em;
  }

  .faq { border-top: 1px solid var(--line); }
  details { border-bottom: 1px solid var(--line); padding: 22px 0; }
  summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; color: var(--marine); }
  details p { padding: 14px 35px 0 0; }

  .contact {
    padding: 90px 0;
    background: var(--marine);
    color: #fff;
  }

  .contact h2 { color: #fff; }
  .contact p { color: #e9eff3; max-width: 600px; margin: 18px 0 26px; }
  .contact .btn { border-color: #fff; color: #fff; }
  .contact .btn-primary { background: #fff; color: var(--marine); border-color: #fff; }
  .contact .btn-primary:hover { background: #e9eff3; color: var(--marine-light); }

  footer {
    padding: 35px 0;
    color: var(--muted);
    font-size: .85rem;
    border-top: 1px solid var(--line);
  }

  .footer-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
  }

  .credits { margin-top: 20px; font-size: .72rem; opacity: .7; }

  /* -------------------------
     MOBILE
     ------------------------- */
  @media (max-width: 800px) {
    :root {
      --topbar-height: 52px;
      --nav-height: 76px;
    }

    .wrap { width: min(calc(100% - 28px), var(--max)); }

    .topbar {
      min-height: var(--topbar-height);
      overflow: hidden;
    }

    .topbar-inner {
      gap: 12px;
      font-size: .64rem;
      letter-spacing: .02em;
    }

    .topbar-left,
    .topbar-right {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .topbar-left { flex: 1; text-align: left; }
    .topbar-right { flex: 1; text-align: right; }

    nav { min-height: var(--nav-height); }

    .logo-img { width: 125px; }

    header.scrolled nav { min-height: 62px; }
    header.scrolled .logo-img { width: 95px; }

    .navlinks { display: none; }
    .menu-toggle { display: flex; }

    .hero {
      min-height: 85vh;
      padding-bottom: 65px;
      background-position: 62% center;
    }

    section { padding: 75px 0; }

    .intro,
    .split,
    .person {
      grid-template-columns: 1fr;
      gap: 35px;
    }

    .stats { margin-top: 25px; }
    .grid { grid-template-columns: 1fr; }
    .wide { grid-column: span 1; }
    .section-head { display: block; }
    .section-head p { margin-top: 18px; }
    .person { padding: 20px; }
    .person img { max-height: 420px; }
  }
