/* ---------- Tokens — original brand palette ---------- */
  :root {
    --green:        #00673F;       /* forest green from logo block */
    --green-deep:   #004A2C;
    --green-darker: #002F1B;
    --yellow:       #FFC700;       /* bright warm yellow accent */
    --yellow-soft:  #F5D000;
    --black:        #050505;
    --ink:          #111111;
    --ink-2:        #1B1B1B;
    --line:         rgba(255,255,255,0.10);
    --line-dark:    rgba(0,0,0,0.10);
    --paper:        #F7F4EC;       /* warm off-white for content sections */
    --paper-2:      #ECE6D5;
    --bone:         #FFFFFF;
    --smoke:        #4B4944;
    --slate:        #6B6862;
    --rule-soft:    rgba(0,0,0,0.06);

    --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
    --sans:  "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --display: "Bebas Neue", "Space Grotesk", sans-serif;

    --shadow-1: 0 1px 0 rgba(0,0,0,0.06), 0 12px 32px -16px rgba(0,0,0,0.18);
    --shadow-2: 0 1px 0 rgba(0,0,0,0.08), 0 40px 80px -32px rgba(0,0,0,0.28);

    --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);

    --max: 1320px;
    --gutter: clamp(20px, 4vw, 56px);
  }

  /* ---------- Reset ---------- */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  /* Offset anchor scrolls so the fixed nav doesn't cover the section heading */
  section[id], [id="contact"], [id="clients"], [id="trust"], [id="services"], [id="heritage"] {
    scroll-margin-top: 100px;
  }
  body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; }
  ::selection { background: var(--yellow); color: var(--black); }

  /* ---------- Reusable ---------- */
  .wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

  .eyebrow {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  .eyebrow.on-dark { color: var(--yellow); }
  .eyebrow::before {
    content: "";
    width: 28px; height: 2px;
    background: currentColor;
    display: inline-block;
  }

  h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 0;
  }
  h2 {
    font-size: clamp(36px, 4.6vw, 64px);
    line-height: 1.02;
    font-variation-settings: "opsz" 60, "SOFT" 30;
  }
  h3 {
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.15;
    font-variation-settings: "opsz" 30;
  }
  p { margin: 0; }
  .italic-soft { font-style: italic; font-variation-settings: "opsz" 80, "SOFT" 100, "WONK" 1; }

  /* ---------- Reveal animation ---------- */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease-out-soft), transform 1s var(--ease-out-soft);
    will-change: opacity, transform;
  }
  .reveal.in { opacity: 1; transform: translateY(0); }
  .reveal[data-reveal="left"]  { transform: translateX(-32px); }
  .reveal[data-reveal="right"] { transform: translateX(32px); }
  .reveal[data-reveal="scale"] { transform: scale(0.96); }
  .reveal.in[data-reveal] { transform: none; }

  /* ---------- Eagle logo (real PNG asset) ---------- */
  .logo {
    display: inline-flex; align-items: center; gap: 14px;
    line-height: 1;
  }
  .logo img {
    height: 52px;
    width: auto;
    display: block;
    transition: transform 0.4s var(--ease-out-soft);
  }
  .logo:hover img { transform: scale(1.04); }
  .footer .logo img { height: 96px; }

  /* ---------- Navigation ---------- */
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    padding: 16px 0;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
  }
  .nav.scrolled {
    background: var(--black);
    padding: 10px 0;
    border-bottom: 2px solid var(--yellow);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
  }
  .nav-links {
    display: flex; gap: 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bone);
  }
  .nav-links a {
    position: relative;
    padding-block: 6px;
    transition: color 0.3s;
  }
  .nav-links a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--yellow);
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out-soft);
  }
  .nav-links a:hover { color: var(--yellow); }
  .nav-links a:hover::after { transform-origin: left; transform: scaleX(1); }

  .nav-cta {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--yellow);
    color: var(--black);
    padding: 12px 18px;
    border-radius: 0;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 2px solid var(--yellow);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  }
  .nav-cta:hover { background: transparent; color: var(--yellow); transform: translateY(-1px); }

  .menu-toggle { display: none; background: transparent; border: 0; padding: 8px; color: var(--bone); }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    padding: 140px 0 0;
    background: var(--black);
    color: var(--bone);
    overflow: hidden;
  }
  .hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(60% 50% at 100% 0%, rgba(0,103,63,0.45) 0%, transparent 60%),
      radial-gradient(50% 50% at 0% 100%, rgba(255,199,0,0.10) 0%, transparent 60%);
    pointer-events: none;
  }
  .hero::after {
    /* subtle scanline texture */
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px);
    pointer-events: none;
  }
  .hero-inner { position: relative; z-index: 1; }

  /* Anniversary lockup — lives in the right column of the hero grid */
  .anniversary {
    width: 100%;
    max-width: 320px;
    justify-self: end;
    margin-top: 20px;
    transform: rotate(-1.5deg);
    box-shadow: 0 30px 60px -24px rgba(0,0,0,0.55);
    transition: transform 0.6s var(--ease-out-soft);
  }
  .anniversary img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Hero grid — two columns: text and anniversary */
  .hero-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(220px, 22vw, 320px);
    gap: clamp(20px, 3vw, 56px);
    align-items: start;
  }
  .hero-text { min-width: 0; }

  .hero-pad { padding: 60px 0 90px; position: relative; z-index: 1; }

  .hero-headline {
    font-family: var(--display);
    font-size: clamp(56px, 9.5vw, 150px);
    line-height: 0.86;
    letter-spacing: 0.005em;
    color: var(--bone);
    margin: 0;
    text-transform: uppercase;
    word-break: keep-all;
    overflow-wrap: normal;
  }
  .hero-headline .line { display: block; overflow: hidden; }
  .hero-headline .line span {
    display: inline-block;
    transform: translateY(110%);
    animation: rise 1.1s var(--ease-out-soft) forwards;
  }
  .hero-headline .line:nth-child(2) span { animation-delay: 0.15s; }
  .hero-headline .line:nth-child(3) span { animation-delay: 0.3s; }
  .hero-headline .accent { color: var(--yellow); position: relative; }
  .hero-headline .accent::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -8px;
    height: 6px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    animation: stroke 1.2s var(--ease-out-soft) 0.9s forwards;
  }
  @keyframes rise { to { transform: translateY(0); } }
  @keyframes stroke { to { transform: scaleX(1); } }

  .hero-tagline {
    margin-top: 28px;
    display: inline-flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
    font-family: var(--display);
    font-size: clamp(20px, 1.9vw, 26px);
    letter-spacing: 0.18em;
    color: var(--bone);
    text-transform: uppercase;
  }
  .hero-tagline .acc { color: var(--yellow); font-size: 1.4em; line-height: 1; }
  .hero-tagline .light { color: rgba(255,255,255,0.6); }

  .hero-meta {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: end;
    margin-top: 60px;
  }
  .hero-lede {
    max-width: 560px;
    font-size: clamp(16px, 1.3vw, 19px);
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
  }
  .hero-actions {
    display: flex; gap: 14px; flex-wrap: wrap;
    justify-self: end;
  }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 22px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: transform 0.3s var(--ease-out-soft), background 0.3s, color 0.3s, border-color 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
  }
  .btn .arrow { transition: transform 0.4s var(--ease-out-soft); }
  .btn:hover .arrow { transform: translateX(4px); }
  .btn-primary { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
  .btn-primary:hover { background: transparent; color: var(--yellow); transform: translateY(-2px); }
  .btn-ghost { background: transparent; color: var(--bone); border-color: var(--bone); }
  .btn-ghost:hover { background: var(--bone); color: var(--black); transform: translateY(-2px); }
  .btn-dark { background: var(--black); color: var(--bone); border-color: var(--black); }
  .btn-dark:hover { background: transparent; color: var(--black); transform: translateY(-2px); }

  .hero-stats {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
  }
  .stat {
    padding: 28px 24px 0;
    border-right: 1px solid var(--line);
    position: relative;
  }
  .stat:last-child { border-right: 0; }
  .stat .n {
    font-family: var(--display);
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1;
    color: var(--bone);
    display: inline-flex;
    align-items: baseline;
  }
  .stat .n .suffix { font-size: 0.42em; color: var(--yellow); margin-left: 6px; }
  .stat .label {
    margin-top: 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.18em;
  }

  /* Green announcement bar (mirrors original green band) */
  .announce {
    background: var(--green);
    color: var(--bone);
    padding: 28px 0;
    border-top: 4px solid var(--yellow);
    border-bottom: 4px solid var(--yellow);
    overflow: hidden;
  }
  .announce-inner {
    display: flex; align-items: center; gap: 32px;
    font-family: var(--display);
    font-size: clamp(18px, 1.6vw, 22px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .announce .acc { color: var(--yellow); }
  .announce .sep { width: 8px; height: 8px; background: var(--yellow); flex-shrink: 0; transform: rotate(45deg); }

  /* ---------- Heritage / About ---------- */
  .heritage {
    padding: 140px 0;
    background: var(--paper);
    position: relative;
  }
  .heritage-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: start;
  }
  .heritage-meta { position: sticky; top: 120px; }
  .heritage-meta h2 { margin-top: 18px; }
  .heritage-quote {
    font-family: var(--serif);
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.35;
    color: var(--ink);
    font-variation-settings: "opsz" 60, "SOFT" 60;
    border-left: 3px solid var(--green);
    padding-left: 28px;
  }
  .heritage-quote em {
    font-variation-settings: "opsz" 60, "SOFT" 100, "WONK" 1;
    color: var(--green);
    font-style: italic;
  }
  .heritage-body { color: var(--smoke); font-size: 17px; line-height: 1.7; margin-top: 28px; }
  .heritage-pills {
    margin-top: 36px;
    display: flex; gap: 10px; flex-wrap: wrap;
  }
  .pill {
    padding: 9px 16px;
    border: 1.5px solid var(--ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    background: transparent;
    transition: color 0.3s, border-color 0.3s, background 0.3s;
  }
  .pill:hover { color: var(--bone); background: var(--green); border-color: var(--green); }

  /* ---------- Services Bento ---------- */
  .services {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
    position: relative;
  }
  .services-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: end;
    margin-bottom: 64px;
  }
  .services-header p {
    max-width: 480px;
    color: var(--smoke);
  }
  .bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 16px;
  }
  .card {
    background: var(--bone);
    padding: 32px;
    border: 1.5px solid var(--rule-soft);
    position: relative;
    overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: transform 0.6s var(--ease-out-soft), box-shadow 0.6s var(--ease-out-soft), border-color 0.6s, background 0.6s;
    isolation: isolate;
  }
  .card::before {
    content: "";
    position: absolute; inset: auto -20% -60% auto;
    width: 90%; aspect-ratio: 1;
    background: radial-gradient(circle at center, rgba(0,103,63,0.16) 0%, transparent 65%);
    transform: scale(0.4);
    transform-origin: 80% 80%;
    transition: transform 0.8s var(--ease-out-soft);
    z-index: -1;
  }
  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2);
    border-color: var(--green);
  }
  .card:hover::before { transform: scale(1.4); }
  .card .num {
    font-family: var(--display);
    font-size: 16px;
    color: var(--green);
    letter-spacing: 0.18em;
  }
  .card .ico {
    width: 56px; height: 56px;
    background: var(--paper);
    display: grid; place-items: center;
    color: var(--green);
    border: 1.5px solid var(--rule-soft);
    transition: background 0.4s, color 0.4s, transform 0.5s var(--ease-out-soft);
  }
  .card:hover .ico { background: var(--green); color: var(--yellow); transform: rotate(-4deg) scale(1.05); }
  .card h3 { margin-top: 18px; }
  .card p { margin-top: 12px; color: var(--smoke); font-size: 15px; line-height: 1.55; }
  .card .more {
    margin-top: 22px;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
    color: var(--ink);
  }
  .card .more svg { transition: transform 0.4s var(--ease-out-soft); }
  .card:hover .more svg { transform: translateX(6px); }

  /* Layout spans */
  .card.feature {
    grid-column: span 3; grid-row: span 2;
    background: var(--black); color: var(--bone); border-color: var(--black);
  }
  .card.feature h3 { color: var(--bone); font-size: clamp(28px, 2.6vw, 40px); font-family: var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
  .card.feature p { color: rgba(255,255,255,0.7); font-size: 16px; }
  .card.feature .num { color: var(--yellow); }
  .card.feature .more { color: var(--yellow); }
  .card.feature .ico { background: rgba(255,255,255,0.06); color: var(--yellow); border-color: rgba(255,255,255,0.08); }
  .card.feature:hover .ico { background: var(--yellow); color: var(--black); }
  .card.feature::before { background: radial-gradient(circle, rgba(0,103,63,0.55) 0%, transparent 65%); }
  .card.feature:hover { border-color: var(--yellow); }

  .card.wide { grid-column: span 3; }
  .card.mid  { grid-column: span 2; }
  .card.slim { grid-column: span 2; }

  /* ---------- Compact 6-service grid (replaces the bento for the home page) ---------- */
  .svc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .svc-card {
    background: var(--bone);
    border: 1.5px solid var(--rule-soft);
    padding: 28px 26px 22px;
    position: relative;
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.5s var(--ease-out-soft), box-shadow 0.5s, border-color 0.5s;
    isolation: isolate;
  }
  .svc-card::before {
    content: "";
    position: absolute; inset: auto -25% -70% auto;
    width: 100%; aspect-ratio: 1;
    background: radial-gradient(circle at center, rgba(0,103,63,0.14) 0%, transparent 65%);
    transform: scale(0.4);
    transform-origin: 80% 80%;
    transition: transform 0.8s var(--ease-out-soft);
    z-index: -1;
  }
  .svc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2);
    border-color: var(--green);
  }
  .svc-card:hover::before { transform: scale(1.5); }

  .svc-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
  }
  .svc-num {
    font-family: var(--display);
    font-size: 14px;
    letter-spacing: 0.22em;
    color: var(--green);
    padding-top: 12px;
  }
  .svc-ico {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    background: var(--paper);
    color: var(--green);
    border: 1.5px solid var(--rule-soft);
    transition: background 0.4s, color 0.4s, transform 0.5s var(--ease-out-soft);
  }
  .svc-card:hover .svc-ico {
    background: var(--green); color: var(--yellow);
    transform: rotate(-5deg) scale(1.06);
  }
  .svc-card h3 {
    font-family: var(--serif);
    font-size: clamp(20px, 1.7vw, 24px);
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--ink);
  }
  .svc-desc {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--smoke);
    margin: 0 0 16px;
  }
  .svc-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex; flex-direction: column; gap: 7px;
  }
  .svc-card li {
    font-size: 13px;
    color: var(--ink);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
  }
  .svc-card li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 8px; height: 2px;
    background: var(--green);
  }
  .svc-more {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--rule-soft);
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    transition: color 0.3s;
  }
  .svc-more svg { transition: transform 0.4s var(--ease-out-soft); }
  .svc-card:hover .svc-more { color: var(--green); }
  .svc-card:hover .svc-more svg { transform: translateX(6px); }

  @media (max-width: 1100px) {
    .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 620px) {
    .svc-grid { grid-template-columns: 1fr; gap: 14px; }
    .svc-card { padding: 24px 22px 20px; }
  }

  /* ---------- Trust / Certifications ---------- */
  .trust {
    padding: 100px 0;
    background: var(--black);
    color: var(--bone);
    overflow: hidden;
    position: relative;
  }
  .trust h2 { color: var(--bone); font-family: var(--serif); }
  .trust h2 em { color: var(--yellow); font-style: italic; font-variation-settings: "opsz" 60, "SOFT" 100, "WONK" 1; }
  .trust-lede {
    max-width: 620px;
    color: rgba(255,255,255,0.7);
    margin-top: 20px;
    font-size: 18px;
  }
  .marquee {
    margin-top: 56px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }
  .marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
  }
  /* Certifications marquee runs continuously — no hover pause (full detail is on /certifications) */
  .marquee-item {
    flex: 0 0 auto;
    padding: 20px 48px;
    font-family: var(--display);
    font-size: clamp(28px, 3vw, 48px);
    letter-spacing: 0.06em;
    color: var(--bone);
    display: inline-flex; align-items: center; gap: 28px;
    white-space: nowrap;
    text-transform: uppercase;
  }
  .marquee-item::after {
    content: "";
    width: 10px; height: 10px;
    background: var(--yellow);
    transform: rotate(45deg);
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* ---------- Clients (three-row infinite marquee) ---------- */
  .clients {
    padding: 140px 0 100px;
    background: var(--paper);
    overflow: hidden;
  }
  .clients-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: end;
    margin-bottom: 56px;
  }
  .clients-header p {
    max-width: 480px;
    color: var(--smoke);
  }

  .client-rows {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    width: 100%;
    min-width: 0;
  }
  .client-marquee {
    overflow-x: clip;
    overflow-y: visible;
    position: relative;
    padding: 10px 0;
    width: 100%;
    min-width: 0; /* prevent the grid track from expanding to the track's max-content */
    /* Small, symmetric fade on both edges — fixed in px so it stays subtle at any width */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  }
  .client-marquee .track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: scroll-left 60s linear infinite;
    will-change: transform;
  }
  .client-marquee[data-dir="right"] .track {
    animation-name: scroll-right;
  }
  .client-marquee.fast .track  { animation-duration: 48s; }
  .client-marquee.slow .track  { animation-duration: 72s; }
  .client-marquee:hover .track { animation-play-state: paused; }

  .client-card {
    flex: 0 0 auto;
    width: clamp(180px, 20vw, 230px);
    height: clamp(120px, 13vw, 150px);
    background: var(--bone);
    border: 1.5px solid var(--rule-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 26px;
    transition: transform 0.5s var(--ease-out-soft), box-shadow 0.5s var(--ease-out-soft), border-color 0.5s;
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  /* Shimmer sweep */
  .client-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 0%, transparent 40%, rgba(255,199,0,0.22) 50%, transparent 60%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.8s var(--ease-out-soft);
    pointer-events: none;
    z-index: 3;
  }
  /* Name reveal band — slides up from bottom of the card */
  .client-card::before {
    content: attr(data-name);
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: var(--green);
    color: var(--yellow);
    font-family: var(--display);
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 11px 14px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-top: 2px solid var(--yellow);
    transform: translateY(101%);
    transition: transform 0.55s var(--ease-out-soft);
    z-index: 2;
    box-shadow: 0 -8px 24px -8px rgba(0,0,0,0.18);
  }
  .client-card img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: auto;
    transition: transform 0.55s var(--ease-out-soft);
    z-index: 1;
  }
  .client-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2);
    border-color: var(--green);
    z-index: 3;
  }
  .client-card:hover::before { transform: translateY(0); }
  .client-card:hover img    { transform: translateY(-10px); }  /* logo slides up to make room */
  .client-card:hover::after { transform: translateX(100%); }

  @keyframes scroll-left {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
  }
  @keyframes scroll-right {
    from { transform: translate3d(-50%, 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
  }

  .clients-note {
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: var(--slate);
    letter-spacing: 0.06em;
  }
  .clients-note strong { color: var(--green); font-weight: 600; letter-spacing: 0.08em; }

  /* ---------- Locations ---------- */
  .locations {
    padding: 140px 0;
    background: var(--paper-2);
  }
  .locations-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    margin-top: 64px;
  }
  .branch {
    background: var(--bone);
    padding: 40px;
    border: 1.5px solid var(--rule-soft);
    position: relative;
    overflow: hidden;
    transition: transform 0.6s var(--ease-out-soft), box-shadow 0.6s var(--ease-out-soft), border-color 0.6s;
  }
  .branch:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: var(--green); }
  .branch::before {
    content: attr(data-no);
    position: absolute;
    top: 16px; right: 24px;
    font-family: var(--display);
    font-size: 140px;
    line-height: 1;
    color: var(--paper-2);
    z-index: 0;
  }
  .branch > * { position: relative; z-index: 1; }
  .branch .place {
    font-family: var(--sans);
    font-size: 11px;
    color: var(--green);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
  }
  .branch h3 { margin-top: 8px; font-size: clamp(30px, 3vw, 44px); font-family: var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
  .branch dl {
    margin: 28px 0 0;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px 24px;
    font-size: 15px;
  }
  .branch dt { color: var(--slate); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; padding-top: 4px; font-weight: 600; }
  .branch dd { margin: 0; color: var(--ink); }
  .branch a { color: var(--ink); border-bottom: 1px solid var(--line-dark); transition: color 0.3s, border-color 0.3s; }
  .branch a:hover { color: var(--green); border-color: var(--green); }

  /* ---------- Branch maps ---------- */
  .maps-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .branch-map {
    margin: 0;
    background: var(--bone);
    border: 1.5px solid var(--rule-soft);
    overflow: hidden;
    transition: transform 0.5s var(--ease-out-soft), box-shadow 0.5s var(--ease-out-soft), border-color 0.5s;
    display: flex;
    flex-direction: column;
  }
  .branch-map:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
    border-color: var(--green);
  }
  .map-frame {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--paper-2);
    overflow: hidden;
    isolation: isolate;
  }
  .map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(0.92) contrast(1.02);
    transition: filter 0.6s var(--ease-out-soft), transform 0.8s var(--ease-out-soft);
    z-index: 1;
  }
  .branch-map:hover .map-frame iframe {
    filter: saturate(1.1) contrast(1.05);
    transform: scale(1.015);
  }
  .map-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--slate);
    font-family: var(--display);
    font-size: 16px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    z-index: 0;
    background:
      repeating-linear-gradient(45deg, transparent 0 12px, rgba(0,103,63,0.05) 12px 14px),
      var(--paper-2);
  }
  /* Animated pin overlay so the location feels alive, not static */
  .map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
    animation: pin-bob 3s ease-in-out infinite;
  }
  .map-pin::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--yellow);
    opacity: 0.6;
    animation: pin-pulse 2.2s ease-out infinite;
    z-index: -1;
  }
  @keyframes pin-bob {
    0%, 100% { transform: translate(-50%, -50%); }
    50%      { transform: translate(-50%, calc(-50% - 4px)); }
  }
  @keyframes pin-pulse {
    0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(3);   opacity: 0; }
  }

  .branch-map figcaption {
    padding: 20px 24px 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
  }
  .branch-map .place {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 700;
    display: block;
  }
  .branch-map h4 {
    font-family: var(--display);
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 6px 0 4px;
    font-weight: 400;
  }
  .branch-map figcaption p {
    margin: 0;
    color: var(--slate);
    font-size: 13px;
    line-height: 1.4;
  }
  .map-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
    padding: 8px 12px;
    border: 1.5px solid var(--green);
    transition: background 0.3s, color 0.3s, transform 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .map-cta:hover {
    background: var(--green);
    color: var(--yellow);
    transform: translateY(-2px);
  }
  .map-cta svg { transition: transform 0.4s var(--ease-out-soft); }
  .map-cta:hover svg { transform: translate(2px, -2px); }

  @media (max-width: 760px) {
    .maps-grid { grid-template-columns: 1fr; }
    .branch-map figcaption { padding: 16px 18px 20px; flex-wrap: wrap; }
    .branch-map h4 { font-size: 19px; }
  }

  /* ---------- Per-branch contact form ---------- */
  .form-section {
    margin-top: 64px;
    padding-top: 64px;
    border-top: 1px solid var(--rule-soft);
  }
  .form-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: start;
  }
  .form-intro p {
    margin-top: 24px;
    color: var(--smoke);
    font-size: 17px;
    line-height: 1.65;
    max-width: 420px;
  }
  .form-perks {
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
  }
  .form-perks li {
    font-size: 14px;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  .form-perks .tick {
    display: inline-grid;
    place-items: center;
    width: 22px; height: 22px;
    background: var(--green);
    color: var(--yellow);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
  }

  .contact-form {
    background: var(--bone);
    border: 1px solid var(--rule-soft);
    padding: 36px;
    display: grid;
    gap: 22px;
    box-shadow: var(--shadow-1);
  }
  .field { display: grid; gap: 8px; }
  .field label,
  .branch-toggle legend {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--slate);
    font-weight: 700;
  }
  .field input,
  .field textarea {
    font: inherit;
    font-size: 16px;
    padding: 13px 14px;
    border: 1.5px solid var(--rule-soft);
    background: #FBF8F2;
    color: var(--ink);
    border-radius: 0;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
    font-family: var(--sans);
  }
  .field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
  }
  .field input::placeholder,
  .field textarea::placeholder { color: #A09A8E; }
  .field input:focus,
  .field textarea:focus {
    outline: none;
    border-color: var(--green);
    background: var(--bone);
    box-shadow: 0 0 0 4px rgba(0,103,63,0.08);
  }
  .field input:invalid:not(:placeholder-shown),
  .field textarea:invalid:not(:placeholder-shown) {
    border-color: #C25F3C;
  }
  .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .branch-toggle {
    border: 0;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
  }
  .branch-toggle legend { padding: 0; margin-bottom: 4px; }
  .branch-radio {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1.5px solid var(--rule-soft);
    background: #FBF8F2;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
  }
  .branch-radio:hover {
    border-color: var(--green);
    transform: translateY(-1px);
  }
  .branch-radio input {
    width: 18px; height: 18px;
    accent-color: var(--green);
    flex-shrink: 0;
    cursor: pointer;
  }
  .branch-radio span {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .branch-radio strong {
    font-family: var(--display);
    font-size: 18px;
    letter-spacing: 0.06em;
    color: var(--ink);
    font-weight: 400;
  }
  .branch-radio small {
    font-size: 12px;
    color: var(--slate);
    letter-spacing: 0.04em;
  }
  .branch-radio:has(input:checked) {
    border-color: var(--green);
    background: rgba(0,103,63,0.05);
    box-shadow: 0 0 0 2px rgba(0,103,63,0.1) inset;
  }
  .branch-radio:has(input:checked) strong { color: var(--green); }

  .form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 4px;
  }
  .form-actions .btn-primary {
    background: var(--green);
    color: var(--bone);
    border-color: var(--green);
  }
  .form-actions .btn-primary:hover {
    background: transparent;
    color: var(--green);
  }
  .form-fineprint {
    font-size: 12px;
    color: var(--slate);
    letter-spacing: 0.04em;
    margin: 0;
    transition: color 0.3s;
  }
  .form-fineprint.success { color: var(--green); font-weight: 600; }
  .form-fineprint.error { color: #C25F3C; font-weight: 600; }

  /* ---------- CTA banner ---------- */
  .cta {
    padding: 140px 0;
    background:
      radial-gradient(60% 80% at 80% 10%, rgba(0,103,63,0.45) 0%, transparent 60%),
      radial-gradient(70% 80% at 0% 100%, rgba(255,199,0,0.14) 0%, transparent 60%),
      var(--black);
    color: var(--bone);
    position: relative;
    overflow: hidden;
  }
  .cta::before {
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px);
    pointer-events: none;
  }
  .cta-grid {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end;
    position: relative; z-index: 1;
  }
  .cta h2 { color: var(--bone); font-family: var(--display); font-size: clamp(48px, 6vw, 96px); text-transform: uppercase; letter-spacing: 0.02em; }
  .cta h2 em { color: var(--yellow); font-style: normal; }
  .cta-side { color: rgba(255,255,255,0.75); font-size: 17px; line-height: 1.6; }
  .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

  /* ---------- Footer ---------- */
  footer {
    background: var(--green-darker);
    color: var(--bone);
    padding: 80px 0 40px;
    border-top: 4px solid var(--yellow);
  }
  .footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  }
  .footer h4 {
    color: #FFD700 !important;
    font-family: var(--sans) !important;
    font-size: 14px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid #FFC700;
    display: inline-block;
    min-width: 70%;
    text-shadow: 0 0 24px rgba(255,199,0,0.35);
  }
  .footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 15px; }
  .footer a { color: rgba(255,255,255,0.92); transition: color 0.3s, padding-left 0.3s; }
  .footer a:hover { color: var(--yellow); padding-left: 6px; }
  .footer-brand p {
    color: rgba(255,255,255,0.88);
    font-size: 15px;
    line-height: 1.65;
    margin-top: 20px;
    max-width: 360px;
  }
  .footer-base {
    margin-top: 64px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
  }

  /* ---------- Responsive ---------- */

  /* Large tablet / small laptop */
  @media (max-width: 1180px) {
    .bento { grid-template-columns: repeat(4, 1fr); }
    .card.feature { grid-column: span 2; grid-row: span 2; }
    .card.wide    { grid-column: span 2; }
    .card.mid     { grid-column: span 2; }
    .card.slim    { grid-column: span 2; }
  }
  @media (max-width: 1080px) {
    .anniversary { transform: rotate(-1deg); }
    .form-grid { gap: 40px; }
  }

  /* Tablet */
  @media (max-width: 980px) {
    .heritage-grid { grid-template-columns: 1fr; gap: 48px; }
    .heritage-meta { position: static; }
    .cta-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-top {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      gap: 32px;
    }
    .anniversary { grid-row: 1; }  /* logo above text on mobile */
    .hero-text     { grid-row: 2; }
    .hero-meta { grid-template-columns: 1fr; }
    .hero-actions { justify-self: start; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
    .locations-grid { grid-template-columns: 1fr; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .card.feature, .card.wide, .card.mid, .card.slim { grid-column: span 2; }
    .card.feature { grid-row: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .anniversary {
      justify-self: center;
      transform: none;
      margin: 0 auto 24px;
      max-width: 340px;
    }
    .services-header, .clients-header { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-form { padding: 28px; }
  }

  /* Small tablet / large phone */
  @media (max-width: 768px) {
    .hero-headline { font-size: clamp(56px, 14vw, 110px); }
    .hero-tagline { font-size: 16px; letter-spacing: 0.14em; gap: 10px; }
    .hero-tagline .acc { font-size: 1.3em; }
    .heritage-quote { font-size: 20px; padding-left: 20px; }
    .branch { padding: 32px 28px; }
    .branch::before { font-size: 100px; top: 8px; right: 18px; }
    .card { padding: 26px; }
    .card.feature h3 { font-size: 26px; }
    .marquee-item { padding: 16px 32px; font-size: 26px; }
    .announce { padding: 22px 0; }
    .announce-inner { font-size: 13px; gap: 14px; flex-wrap: wrap; justify-content: center; text-align: center; }
    .form-actions { flex-direction: column; align-items: flex-start; }
    .form-actions .btn { width: 100%; justify-content: center; }
    .form-fineprint { width: 100%; text-align: center; }
  }

  /* Phone */
  @media (max-width: 640px) {
    :root { --gutter: 18px; }
    .nav-links { display: none; }
    .menu-toggle { display: inline-flex; }
    .nav-cta { display: none; }
    .logo img { height: 44px; }
    .hero { padding: 110px 0 0; }
    .hero-pad { padding: 30px 0 60px; }
    .hero-headline { font-size: clamp(46px, 13vw, 70px); }
    .hero-lede { font-size: 15px; }
    .heritage, .services, .locations, .clients, .cta { padding: 80px 0; }
    .heritage h2, .services-header h2, .clients-header h2, .cta h2 { font-size: clamp(32px, 8.5vw, 44px) !important; }
    .bento { grid-template-columns: 1fr; gap: 14px; }
    .card.feature, .card.wide, .card.mid, .card.slim { grid-column: auto; }
    .card { padding: 24px; }
    .card h3 { font-size: 20px; }
    .branch dl { grid-template-columns: 1fr; gap: 4px 0; }
    .branch dt { padding-top: 14px; }
    .branch::before { font-size: 80px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .announce-inner { font-size: 12px; gap: 10px; letter-spacing: 0.1em; }
    .anniversary { max-width: 280px; }
    .hero-stats { gap: 0; }
    .stat { padding: 22px 16px 0; }
    .field-row { grid-template-columns: 1fr; }
    .contact-form { padding: 22px; }
    .form-section { margin-top: 48px; padding-top: 48px; }
    .branch-radio { padding: 12px 14px; }
    .branch-radio strong { font-size: 16px; }
    .footer-base { flex-direction: column; gap: 8px; text-align: center; }
    .btn { font-size: 11px; padding: 14px 18px; }
    .cta-actions { flex-direction: column; align-items: stretch; }
    .cta-actions .btn { width: 100%; justify-content: center; }
    .form-perks li { font-size: 13px; }
  }

  /* Very small phones */
  @media (max-width: 380px) {
    .hero-headline { font-size: clamp(40px, 13vw, 56px); }
    .anniversary { max-width: 240px; }
    .marquee-item { padding: 12px 24px; font-size: 22px; }
  }

  /* ---------- Mobile drawer ---------- */
  .drawer {
    position: fixed;
    inset: 0;
    background: var(--black);
    color: var(--bone);
    z-index: 60;
    padding: 100px var(--gutter) 40px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-soft);
    display: flex; flex-direction: column; gap: 24px;
  }
  .drawer.open { transform: translateX(0); }
  .drawer a {
    font-family: var(--display);
    font-size: 32px;
    color: var(--bone);
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .drawer a:hover { color: var(--yellow); }
  .drawer-close {
    position: absolute; top: 22px; right: var(--gutter);
    background: transparent; border: 0; padding: 8px; color: var(--bone);
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .reveal { opacity: 1; transform: none; }
  }

  /* =========================================================================
     SUBPAGES — /clients.html and /certifications.html
     ========================================================================= */

  /* Nav active state for dedicated pages */
  .nav-links a.is-active {
    color: var(--yellow);
  }
  .nav-links a.is-active::after {
    transform-origin: left;
    transform: scaleX(1);
  }
  .drawer a.is-active { color: var(--yellow); }

  /* Sub-page hero — compact intro band that sits below the fixed nav */
  .subpage-hero {
    background: var(--black);
    color: var(--bone);
    padding: 160px 0 90px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }
  .subpage-hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 90% 110%, rgba(0,103,63,0.35), transparent 60%),
      radial-gradient(ellipse 50% 40% at 8% -10%, rgba(255,199,0,0.10), transparent 60%);
    pointer-events: none;
  }
  .subpage-hero .wrap { position: relative; z-index: 1; }
  .subpage-hero .breadcrumb {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--sans); font-size: 12px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 22px;
    transition: color 0.3s;
  }
  .subpage-hero .breadcrumb:hover { color: var(--yellow); }
  .subpage-hero .breadcrumb .arrow { transition: transform 0.35s var(--ease-out-soft); }
  .subpage-hero .breadcrumb:hover .arrow { transform: translateX(-4px); }
  .subpage-hero h1 {
    font-family: var(--serif);
    font-weight: 350;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    margin: 0 0 26px;
    max-width: 900px;
    color: var(--bone);
    text-shadow: 0 1px 0 rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.04);
  }
  .subpage-hero h1 em {
    font-style: italic;
    color: var(--yellow);
    font-weight: 300;
    text-shadow: 0 0 24px rgba(255,199,0,0.35);
  }
  .subpage-hero .lede {
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.6;
    color: rgba(255,255,255,0.78);
    max-width: 680px;
  }
  .subpage-hero .meta {
    margin-top: 36px;
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--display);
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--yellow);
    padding: 10px 16px;
    border: 1px solid rgba(255,199,0,0.35);
    background: rgba(255,199,0,0.06);
  }
  .subpage-hero .meta .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 12px var(--yellow);
  }

  /* Static client grid (no marquee) */
  .clients-static {
    padding: 80px 0 120px;
    background: var(--paper);
  }
  .client-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
  }
  /* Cards reused from home page but stretched to fill the grid cell — denser than home marquee */
  .client-grid .client-card {
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 5;
    padding: 16px 16px;
  }
  @media (max-width: 1280px) {
    .client-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  }
  @media (max-width: 1080px) {
    .client-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  }
  @media (max-width: 860px) {
    .client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .client-grid .client-card { padding: 14px 12px; }
  }
  @media (max-width: 620px) {
    .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (max-width: 420px) {
    .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  .clients-static .summary {
    margin-top: 56px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 28px 32px;
    background: var(--bone);
    border: 1px solid var(--rule-soft);
  }
  .clients-static .summary .count {
    font-family: var(--display);
    font-size: 56px;
    color: var(--green);
    line-height: 1;
  }
  .clients-static .summary p {
    margin: 0;
    color: var(--smoke);
    font-size: 16px;
  }
  @media (max-width: 720px) {
    .clients-static .summary { grid-template-columns: 1fr; text-align: left; padding: 22px; }
  }

  /* Certifications page */
  .certs-static {
    padding: 80px 0 120px;
    background: var(--paper);
  }
  .cert-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
  @media (max-width: 1100px) { .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width:  680px) { .cert-grid { grid-template-columns: 1fr; gap: 20px; } }

  .cert-card {
    background: var(--bone);
    border: 1.5px solid var(--rule-soft);
    padding: 36px 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    transition: transform 0.45s var(--ease-out-soft), box-shadow 0.45s, border-color 0.45s;
    overflow: hidden;
    isolation: isolate;
  }
  .cert-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green) 0%, var(--green) 50%, var(--yellow) 50%, var(--yellow) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.55s var(--ease-out-soft);
  }
  .cert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2);
    border-color: var(--green);
  }
  .cert-card:hover::before { transform: scaleX(1); }

  .cert-logo {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    padding: 16px;
    border: 1px solid var(--rule-soft);
  }
  .cert-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s var(--ease-out-soft);
  }
  .cert-card:hover .cert-logo img { transform: scale(1.04); }

  .cert-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .cert-tag {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 700;
  }
  .cert-card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--ink);
  }
  .cert-card p {
    margin: 0;
    color: var(--smoke);
    font-size: 15px;
    line-height: 1.55;
    flex: 1;
  }

  .cert-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid var(--rule-soft);
  }
  .cert-download {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 18px;
    background: var(--green);
    color: var(--yellow);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 2px solid var(--green);
    transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-out-soft);
  }
  .cert-download:hover {
    background: transparent;
    color: var(--green);
    transform: translateY(-2px);
  }
  .cert-download svg { transition: transform 0.4s var(--ease-out-soft); }
  .cert-download:hover svg { transform: translateY(2px); }

  .cert-no-pdf {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--slate);
    display: inline-flex; align-items: center; gap: 8px;
  }
  .cert-no-pdf .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--slate); }

  /* "View all →" CTAs that sit at the bottom of home-page sections */
  .section-cta {
    margin-top: 56px;
    display: flex;
    justify-content: center;
  }
  .section-cta .btn-section {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 18px 32px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    background: transparent;
    border: 2px solid var(--ink);
    transition: background 0.35s, color 0.35s, transform 0.35s var(--ease-out-soft), border-color 0.35s;
    position: relative;
    overflow: hidden;
  }
  .section-cta .btn-section.on-dark {
    color: var(--bone);
    border-color: var(--bone);
  }
  .section-cta .btn-section .arrow {
    transition: transform 0.4s var(--ease-out-soft);
  }
  .section-cta .btn-section:hover {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
    transform: translateY(-3px);
  }
  .section-cta .btn-section:hover .arrow { transform: translateX(6px); }

  /* Page-end CTA strip used on subpages (Get a Quote) */
  .endstrip {
    background: var(--black);
    color: var(--bone);
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .endstrip::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(0,103,63,0.35), transparent 60%);
    pointer-events: none;
  }
  .endstrip .wrap { position: relative; z-index: 1; }
  .endstrip h2 {
    font-family: var(--display);
    font-size: clamp(40px, 5.5vw, 80px);
    margin: 0 0 18px;
    color: var(--bone);
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
  .endstrip h2 em { color: var(--yellow); font-style: normal; }
  .endstrip p {
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 17px;
  }
  .endstrip .actions {
    display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  }
