/* ============================================================
       COMPACT CONTECH — Brand Design System v2
       Tokens from brand-guidelines.html
       ============================================================ */
    :root {
      --navy:       #1C2A59;
      --navy-light: #2E3F78;
      --navy-dark:  #111A38;

      --teal:       #6AC6C7;
      --teal-dark:  #35B89D;
      --teal-ink:   #1F6F6E;

      --white:      #FFFFFF;
      --near-white: #F5F5F7;
      --light-gray: #E8E8EC;
      --mid-gray:   #6E6E76;
      --near-black: #1C1C1E;

      --font-display: 'DM Serif Display', Georgia, 'Iowan Old Style', serif;
      --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

      --pad-screen: clamp(16px, 4vw, 80px);
      --content-max: 1200px;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html {
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body {
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      color: var(--near-black);
      background: var(--white);
    }

    /* ── Navigation ──────────────────────────────────── */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: var(--navy);
      border-bottom: 1px solid rgba(255,255,255,0.06);
      padding-top: env(safe-area-inset-top, 0px);
    }
    .nav-inner {
      max-width: var(--content-max);
      margin: 0 auto;
      padding: 0 var(--pad-screen);
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }
    .nav-logo { display: flex; align-items: center; }
    .nav-logo img { height: 32px; width: auto; display: block; }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      font: 500 14px/1 var(--font-body);
      color: rgba(255,255,255,0.65);
      text-decoration: none;
      letter-spacing: 0.02em;
      transition: color 0.2s;
    }
    .nav-links a:hover,
    .nav-links a:focus-visible { color: var(--teal); }
    .nav-links .nav-cta {
      display: inline-flex;
      align-items: center;
      padding: 8px 20px;
      border: 1.5px solid var(--teal);
      border-radius: 4px;
      color: var(--teal) !important;
      transition: background 0.2s, color 0.2s;
    }
    .nav-links .nav-cta:hover {
      background: var(--teal);
      color: var(--navy) !important;
    }

    /* ── Hero ─────────────────────────────────────────── */
    .hero {
      background: url('../hero-building-exterior.jpg') center/cover no-repeat;
      background-color: var(--navy);
      color: var(--white);
      min-height: clamp(480px, 70vh, 620px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 120px var(--pad-screen) 80px;
      position: relative;
      overflow: hidden;
      text-align: left;
    }
    /* Navy overlay — heavier on left (text is crisp), lighter on right (photo shows through) */
    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(28,42,89,0.92) 30%, rgba(28,42,89,0.72) 55%, rgba(28,42,89,0.45) 100%);
      z-index: 1;
      pointer-events: none;
    }
    .hero-inner {
      max-width: 620px;
      position: relative;
      z-index: 2;
    }
    .hero h1 {
      font: 400 clamp(40px, 7vw, 72px)/1.06 var(--font-display);
      letter-spacing: -0.02em;
      margin-bottom: 24px;
    }
    .hero-line {
      width: 48px;
      height: 2px;
      background: var(--teal);
      margin: 32px 0;
    }
    .hero p {
      font: 400 18px/1.55 var(--font-body);
      color: rgba(255,255,255,0.60);
      max-width: 520px;
      margin: 0 0 40px;
    }
    .hero-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 36px;
      background: var(--teal);
      color: var(--navy);
      font: 600 15px/1 var(--font-body);
      text-decoration: none;
      border-radius: 4px;
      letter-spacing: 0.02em;
      transition: background 0.2s, transform 0.2s;
    }
    .hero-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }
    .hero-cta:active { transform: translateY(0) translateZ(0); }

    /* ── Hero responsive ─────────────────────────────── */
    /* Tablet — same photo placement as desktop */
    @media (max-width: 1024px) {
      .hero {
        min-height: 420px;
        padding: 100px 24px 60px;
        background: url('../hero-building-exterior.jpg') center/cover no-repeat;
      }
      .hero::after {
        /* Lighter overlay — let the photo shine through on tablet */
        background: linear-gradient(90deg, rgba(28,42,89,0.88) 25%, rgba(28,42,89,0.55) 55%, rgba(28,42,89,0.30) 100%);
      }
      .hero h1 { font-size: clamp(32px, 6vw, 48px); }
      .hero p { font-size: 16px; max-width: 100%; }
      .hero-inner { max-width: 100%; }
    }
    @media (max-width: 480px) {
      .hero {
        min-height: 380px;
        padding: 96px 16px 48px;
        text-align: center;
        /* photo placement inherited from base .hero */
      }
      .hero::after {
        /* Lighter overlay — photo visible, centered text still crisp */
        background: linear-gradient(90deg, rgba(28,42,89,0.65) 0%, rgba(28,42,89,0.45) 50%, rgba(28,42,89,0.22) 100%);
      }
      .hero h1 { font-size: 30px; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }
      .hero p { font-size: 15px; margin: 0 auto 32px; color: rgba(255,255,255,0.85); text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
      .hero-line { margin: 24px auto; }
      .hero-cta { padding: 12px 28px; font-size: 14px; }
    }

    /* ── Trust bar ────────────────────────────────────── */
    .trust-bar {
      background: var(--navy-dark);
      padding: 40px var(--pad-screen);
    }
    .trust-inner {
      max-width: var(--content-max);
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: clamp(40px, 8vw, 100px);
    }
    .trust-stat {
      text-align: center;
    }
    .trust-stat .trust-num {
      font: 400 clamp(28px, 4vw, 40px)/1 var(--font-display);
      color: var(--teal);
      display: block;
    }
    .trust-stat .trust-label {
      font: 500 12px/1 var(--font-body);
      color: rgba(255,255,255,0.62);
      letter-spacing: 0.10em;
      text-transform: uppercase;
      margin-top: 8px;
    }
    .trust-stat .trust-detail {
      font: 400 13px/1.4 var(--font-body);
      color: rgba(255,255,255,0.35);
      margin-top: 6px;
      display: block;
    }
    .trust-stat-sentence .trust-num {
      font: 400 clamp(22px, 3.5vw, 32px)/1.2 var(--font-display);
      color: var(--teal);
      display: block;
    }
    .trust-stat-sentence .trust-label {
      font: 500 12px/1 var(--font-body);
      color: rgba(255,255,255,0.62);
      letter-spacing: 0.10em;
      text-transform: uppercase;
      margin-top: 8px;
      display: block;
    }

    @media (max-width: 480px) {
      .trust-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
        padding: 8px 0;
      }
      .trust-stat {
        flex: 0 0 auto;
      }
      .trust-stat .trust-num {
        font-size: 20px;
      }
      .trust-stat .trust-label {
        font-size: 11px;
        letter-spacing: 0.08em;
      }
    }

    /* ── Sections ─────────────────────────────────────── */
    .section { padding: 96px var(--pad-screen); }
    .section-alt { background: var(--near-white); }
    .section-inner { max-width: var(--content-max); margin: 0 auto; }
    .section h2 {
      font: 400 clamp(32px, 5vw, 48px)/1.10 var(--font-display);
      letter-spacing: -0.01em;
      color: var(--navy);
      margin-bottom: 20px;
    }
    .section-intro {
      font: 400 16px/1.6 var(--font-body);
      color: var(--mid-gray);
      max-width: 560px;
      margin-bottom: 48px;
    }

    /* ── About — two visual styles, not four clones ──── */
    .about-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }
    @media (max-width: 640px) { .about-grid { grid-template-columns: 1fr; } }

    .about-pillar {
      padding: 32px 28px 28px;
      border-radius: 6px;
      border: 1px solid rgba(28,42,89,0.08);
      box-shadow: 0 4px 16px rgba(28,42,89,0.12);
    }
    .about-pillar.card-light {
      background: var(--white);
    }
    .about-pillar.card-navy {
      background: #FAFBFC;
      border: 1px solid rgba(28,42,89,0.08);
    }
    .about-pillar h4 {
      font: 600 12px/1 var(--font-body);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 10px;
      color: var(--navy);
    }
    .about-pillar p {
      font: 400 14px/1.55 var(--font-body);
      color: var(--mid-gray);
    }

    .about-pillar {
      cursor: pointer;
      transform: translateY(0) translateZ(0);
      will-change: transform;
      transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s cubic-bezier(0.2, 0, 0, 1), border-color 0.2s;
    }
    .about-pillar:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 48px rgba(106,198,199,0.28), 0 6px 20px rgba(28,42,89,0.12);
      border-color: var(--teal);
    }
    .about-pillar:focus-visible {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
    }

    /* ── Products — varied backgrounds, not clones ───── */
    .product-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    @media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

    .product-card {
      background: #FAFBFC;
      border: 1px solid rgba(28,42,89,0.08);
      border-radius: 6px;
      cursor: pointer;
      overflow: hidden;
      box-shadow: 0 4px 16px rgba(28,42,89,0.12);
      transform: translateY(0) translateZ(0);
      will-change: transform;
      transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s cubic-bezier(0.2, 0, 0, 1), border-color 0.2s;
    }
    .product-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 48px rgba(106,198,199,0.28), 0 6px 20px rgba(28,42,89,0.14);
      border-color: var(--teal);
    }
    .product-card:hover .product-img { transform: scale(1.06); }

    .product-img {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      display: block;
      background: var(--near-white);
      transform: scale(1) translateZ(0);
      will-change: transform;
      transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
    }
    .product-body { padding: 20px 20px 24px; }
    .product-card h3 {
      font: 400 22px/1.15 var(--font-display);
      color: var(--navy);
      margin-bottom: 8px;
    }
    .product-card p {
      font: 400 13px/1.6 var(--font-body);
      color: var(--mid-gray);
    }

    /* ── Footer ───────────────────────────────────────── */
    .footer {
      background: var(--navy);
      color: var(--white);
      padding: 72px var(--pad-screen) 32px;
    }
    .footer-inner {
      max-width: var(--content-max);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 48px;
    }
    @media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }
    .footer-brand img {
      height: 32px;
      width: auto;
      margin-bottom: 16px;
      display: block;
    }
    .footer-brand p {
      font: 400 14px/1.6 var(--font-body);
      color: rgba(255,255,255,0.50);
      max-width: 340px;
    }
    .footer-contact h4 {
      font: 600 11px/1 var(--font-body);
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--teal);
      margin-bottom: 16px;
    }
    .footer-contact address {
      font-style: normal;
      font: 400 14px/1.7 var(--font-body);
      color: rgba(255,255,255,0.65);
    }
    .footer-contact address a {
      color: rgba(255,255,255,0.65);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-contact address a:hover { color: var(--teal); }
    .footer-bottom {
      max-width: var(--content-max);
      margin: 48px auto 0;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,0.08);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font: 400 12px/1 var(--font-body);
      color: rgba(255,255,255,0.30);
      letter-spacing: 0.04em;
    }
    @media (max-width: 560px) { .footer-bottom { flex-direction: column; gap: 8px; text-align: center; } }

    /* ── WhatsApp Floating Button ─────────────────────── */
    .wa-btn {
      position: fixed;
      bottom: 24px; right: 24px;
      z-index: 90;
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--teal);
      color: var(--navy);
      font: 600 14px/1 var(--font-body);
      text-decoration: none;
      padding: 12px 24px;
      border-radius: 100px;
      box-shadow: 0 4px 24px rgba(28,42,89,0.18);
      transition: background 0.2s, transform 0.2s;
      letter-spacing: 0.02em;
    }
    .wa-btn:hover {
      background: var(--teal-dark);
      transform: translateY(-2px);
    }
    .wa-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
    @media (max-width: 480px) {
      .wa-btn .wa-label { display: none; }
      .wa-btn { padding: 14px; border-radius: 50%; }
    }

    /* ── Accessibility ───────────────────────────────── */
    :focus-visible {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }
  

/* ============================================================
   MULTI-PAGE EXTENSIONS
   ============================================================ */

/* ── Nav — six links + active state ────────────────── */
.nav-links { gap: clamp(18px, 2.4vw, 28px); }
.nav-links a { position: relative; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--teal);
}

/* ── Page hero (inner pages) ──────────────────────── */
.hero.page-hero { min-height: clamp(300px, 44vh, 420px); padding-top: 132px; }
.hero.page-hero h1 { font-size: clamp(32px, 5vw, 56px); }
.hero-eyebrow {
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}

/* ── Section eyebrow ──────────────────────────────── */
.section-eyebrow {
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-ink); margin-bottom: 14px;
}

/* ── Mission band ─────────────────────────────────── */
.mission-band { background: var(--navy); color: var(--white); padding: 96px var(--pad-screen); }
.mission-band .section-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.mission-band h2 { color: var(--white); margin-bottom: 20px; }
.mission-band .mission-copy p { color: rgba(255,255,255,0.72); font-size: 16px; line-height: 1.7; margin-bottom: 18px; }
@media (max-width: 800px) { .mission-band .section-inner { grid-template-columns: 1fr; } }

/* ── Solutions ────────────────────────────────────── */
.solution-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .solution-grid { grid-template-columns: 1fr; } }
.solution-copy p { color: var(--mid-gray); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.component-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .component-grid { grid-template-columns: repeat(2, 1fr); } }
.component-tile {
  background: var(--white);
  border: 1px solid rgba(28,42,89,0.08);
  border-radius: 6px;
  padding: 18px 14px 16px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(28,42,89,0.05);
}
.component-tile img {
  width: 100%; aspect-ratio: 1/1; object-fit: contain;
  border-radius: 4px; background: var(--near-white); margin-bottom: 12px; padding: 10px;
}
.component-tile span { font: 500 12px/1.4 var(--font-body); color: var(--navy); }
.systems-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.system-chip {
  display: inline-flex; align-items: center;
  padding: 9px 18px;
  border: 1px solid rgba(28,42,89,0.14);
  border-radius: 100px;
  font: 500 13px/1 var(--font-body); color: var(--navy); background: var(--white);
}
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-self: center; }
.photo-stack img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; display: block; }
.diagram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .diagram-grid { grid-template-columns: 1fr; } }
.diagram-card { background: var(--white); border: 1px solid rgba(28,42,89,0.08); border-radius: 6px; overflow: hidden; }
.diagram-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; display: block; background: var(--near-white); padding: 10px; }
.diagram-card span { display: block; padding: 12px 14px; font: 500 12px/1.3 var(--font-body); color: var(--navy); }

/* ── Projects ─────────────────────────────────────── */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .featured-grid { grid-template-columns: 1fr; } }
.featured-card { background: var(--white); border: 1px solid rgba(28,42,89,0.08); border-radius: 6px; overflow: hidden; box-shadow: 0 4px 16px rgba(28,42,89,0.10); }
.featured-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.featured-card[data-od-id="solution-card-construction"] img { object-position: left center; }
.featured-body { padding: 20px 22px 24px; }
.featured-card h3 { font: 400 22px/1.2 var(--font-display); color: var(--navy); margin-bottom: 8px; }
.featured-card p { font: 400 13px/1.6 var(--font-body); color: var(--mid-gray); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font: 600 14px/1 var(--font-body); color: var(--navy); text-decoration: none; }
.card-link:hover { color: var(--teal-ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-tile { cursor: pointer; overflow: hidden; border-radius: 4px; border: 1px solid rgba(28,42,89,0.06); background: var(--near-white); }
.gallery-tile img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; transition: transform 0.3s cubic-bezier(0.2,0,0,1); }
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(17,26,56,0.94); align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 4px; box-shadow: 0 24px 80px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 20px; right: 28px; background: none; border: 0; color: var(--white); font-size: 34px; line-height: 1; cursor: pointer; padding: 8px; }
.lightbox-close:hover { color: var(--teal); }

/* ── Contact ──────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--white); border: 1px solid rgba(28,42,89,0.08); border-radius: 6px; margin-bottom: 16px; }
.contact-ico { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(106,198,199,0.14); border-radius: 6px; color: var(--navy); }
.contact-ico svg { width: 20px; height: 20px; }
.contact-card h3 { font: 500 13px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid-gray); margin-bottom: 6px; }
.contact-card p, .contact-card a { font: 400 15px/1.6 var(--font-body); color: var(--near-black); text-decoration: none; }
.contact-card a:hover { color: var(--teal); }
.cert-card { background: var(--white); border: 1px solid rgba(28,42,89,0.08); border-radius: 6px; overflow: hidden; box-shadow: 0 4px 16px rgba(28,42,89,0.10); }
.cert-card img { width: 100%; display: block; }
.cert-body { padding: 18px 20px 22px; }
.cert-body h3 { font: 400 20px/1.2 var(--font-display); color: var(--navy); margin-bottom: 6px; }
.cert-body p { font: 400 13px/1.6 var(--font-body); color: var(--mid-gray); }

/* ── CTA band ─────────────────────────────────────── */
.cta-band { background: var(--navy); color: var(--white); padding: 80px var(--pad-screen); text-align: center; }
.cta-band .section-inner { max-width: 640px; }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.65); margin: 0 auto 32px; font-size: 16px; }

/* ── Two-column about lead ────────────────────────── */
.about-lead { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .about-lead { grid-template-columns: 1fr; } }
.about-lead .photo-stack { grid-template-columns: 1fr; align-self: stretch; justify-content: center; }
.about-lead .about-copy p { color: var(--mid-gray); font-size: 16px; line-height: 1.7; margin-bottom: 18px; }
.about-lead img { width: 100%; border-radius: 6px; display: block; }

/* ── Mobile nav: always-visible six-link grid ────── */
@media (max-width: 640px) {
  /* Header → logo row + full 2×3 grid, no menu */
  .nav-inner {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0 var(--pad-screen) 10px;
  }
  .nav-logo {
    height: 44px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-logo img { height: 24px; }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 0 8px;
    font: 500 13px/1 var(--font-body);
    letter-spacing: 0.01em;
    color: rgba(255,255,255,0.80);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 6px;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
  }
  .nav-links a:hover,
  .nav-links a:active { background: rgba(255,255,255,0.10); color: var(--white); }
  .nav-links a:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
  .nav-links a.active {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--navy);
    font-weight: 600;
  }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta {
    display: flex;
    padding: 0 8px;
    border-width: 1px;
    border-radius: 6px;
    border-color: var(--teal);
    color: var(--teal) !important;
  }
  .nav-links .nav-cta.active { background: var(--teal); color: var(--navy) !important; }

  /* Hero clears the taller header */
  .hero { padding-top: calc(160px + env(safe-area-inset-top, 0px)); }
  .hero.page-hero { padding-top: calc(160px + env(safe-area-inset-top, 0px)); }
}

