/* ==========================================================================
   Design tokens — single source of truth for colour.
   The brand is navy + blue. Every decorative colour on the site is either one
   of the two brand blues or a tint mixed from them. Red/amber/green are
   reserved for status only (error, warning, success) and must never be used
   decoratively.
   ========================================================================== */
:root {
      /* --- Brand ------------------------------------------------------- */
      --color-primary: #1f5683;                        /* brand navy */
      --color-primary-dark: #17466d;                   /* hover / pressed / scrolled header */
      --color-primary-light: #2f8fd1;                  /* bright brand blue */
      --color-primary-2: var(--color-primary-dark);    /* legacy alias */
      --color-secondary: #2f8fd1;                      /* == primary-light */
      --color-secondary-2: #1f6fa0;                    /* mid brand blue */
      --color-secondary-dark: var(--color-secondary-2);
      /* Accent belongs to the brand blue family — it is NOT red. */
      --color-accent: var(--color-secondary-2);
      --color-accent-2: var(--color-secondary);

      /* --- Brand tints (badges, icon wells, soft fills, soft borders) ---
         Mixed from the brand colours, so they follow the theme automatically. */
      --tint-brand: color-mix(in srgb, var(--color-secondary) 11%, var(--color-surface));
      --tint-brand-strong: color-mix(in srgb, var(--color-secondary) 18%, var(--color-surface));
      --tint-brand-border: color-mix(in srgb, var(--color-secondary) 32%, transparent);
      --tint-brand-ink: var(--color-primary-dark);
      --tint-brand-ring: color-mix(in srgb, var(--color-secondary) 22%, transparent);

      /* --- Surfaces & text --------------------------------------------- */
      color-scheme: light;   /* native controls (checkbox, select, scrollbar) */
      --color-bg: #f7f8fa;
      --color-background: var(--color-bg);             /* alias */
      --color-surface: #ffffff;
      --color-surface-2: #eef2f6;                      /* neutral-blue alt band */
      --color-ink: #17202c;
      --color-text: var(--color-ink);                  /* alias */
      --color-muted: #657181;
      --color-text-muted: var(--color-muted);          /* alias */
      --color-border: #dfe4ea;                         /* neutral-blue border */
      --color-border-strong: color-mix(in srgb, var(--color-primary) 30%, var(--color-border));

      /* --- Dark brand surfaces & image scrims -------------------------- */
      --color-ink-deep: #0b1724;                       /* topbar, footer base */
      --color-ink-scrim: 16, 32, 51;                   /* rgb triplet for overlays */
      --overlay-strong: rgba(var(--color-ink-scrim), .94);
      --overlay-soft: rgba(var(--color-ink-scrim), .72);
      --overlay-chip: rgba(var(--color-ink-scrim), .88);

      /* --- Status only — never decorative ------------------------------ */
      --color-success: #16875d;
      --color-warning: #b7791f;
      --color-error: #c93636;
      --color-danger: var(--color-error);              /* alias */
      --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      --text-xs: .78rem;
      --text-sm: .9rem;
      --text-md: 1rem;
      --text-lg: 1.15rem;
      --text-xl: 1.45rem;
      --text-2xl: clamp(1.8rem, 3vw, 3.4rem);
      --text-3xl: clamp(2.4rem, 5vw, 5rem);
      --leading-tight: 1.08;
      --leading-normal: 1.65;
      --space-1: .25rem;
      --space-2: .5rem;
      --space-3: .75rem;
      --space-4: 1rem;
      --space-5: 1.5rem;
      --space-6: 2rem;
      --space-7: 3rem;
      --space-8: 4.5rem;
      --container: 1180px;
      --radius-sm: 4px;
      --radius: 8px;
      --shadow-sm: 0 8px 20px color-mix(in srgb, var(--color-primary) 12%, transparent);
      --shadow: 0 18px 48px color-mix(in srgb, var(--color-primary) 18%, transparent);
      --shadow-strong: 0 28px 80px color-mix(in srgb, var(--color-primary) 26%, transparent);
      --transition: 180ms ease;
      --z-header: 50;
      --z-overlay: 90;
      --z-modal: 100;
    }

    [data-theme="dark"] {
      color-scheme: dark;
      --color-bg: #0e1721;
      --color-surface: #142232;
      --color-surface-2: #102033;
      --color-ink: #f5f7f8;
      --color-muted: #b3bfca;
      --color-border: #2b3b4d;
      /* Same tint roles, re-mixed off the lighter brand blue so they stay
         legible on dark surfaces. */
      --tint-brand: color-mix(in srgb, var(--color-primary-light) 16%, var(--color-surface));
      --tint-brand-strong: color-mix(in srgb, var(--color-primary-light) 26%, var(--color-surface));
      --tint-brand-border: color-mix(in srgb, var(--color-primary-light) 34%, transparent);
      --tint-brand-ink: var(--color-secondary);
      --color-border-strong: color-mix(in srgb, var(--color-primary-light) 34%, var(--color-border));
      --shadow-sm: 0 8px 20px rgba(0, 0, 0, .25);
      --shadow: 0 18px 48px rgba(0, 0, 0, .32);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: var(--font-sans);
      color: var(--color-ink);
      background: var(--color-bg);
      line-height: var(--leading-normal);
      overflow-x: hidden;
    }
    body.menu-open { overflow: hidden; }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    button { cursor: pointer; }
    :focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }
    .skip-link {
      position: fixed;
      left: 1rem;
      top: -4rem;
      z-index: 999;
      background: var(--color-secondary);
      color: var(--color-ink-deep);
      padding: .75rem 1rem;
      border-radius: var(--radius);
      font-weight: 800;
    }
    .skip-link:focus { top: 1rem; }
    .container {
      width: min(calc(100% - 32px), var(--container));
      margin-inline: auto;
    }
    .container-wide { --container: 1360px; }
    .section { padding: var(--space-8) 0; }
    .section.tight { padding: var(--space-7) 0; }
    .band { background: var(--color-surface); }
    .band-alt { background: var(--color-surface-2); }
    .section-head {
      display: grid;
      gap: .75rem;
      max-width: 760px;
      margin-bottom: var(--space-6);
    }
    .section-head.center { text-align: center; margin-inline: auto; }
    h1, h2, h3, h4 { margin: 0; line-height: var(--leading-tight); letter-spacing: 0; }
    h1 { font-size: var(--text-3xl); font-weight: 900; }
    h2 { font-size: var(--text-2xl); font-weight: 850; }
    h3 { font-size: var(--text-xl); font-weight: 800; }
    h4 { font-size: var(--text-lg); font-weight: 800; }
    p { margin: 0; color: var(--color-muted); }
    .lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: color-mix(in srgb, var(--color-muted), var(--color-ink) 15%); }
    .grid { display: grid; gap: var(--space-5); }
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stack { display: grid; gap: var(--space-4); }
    .cluster { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
    .between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
    .muted { color: var(--color-muted); }
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    .btn {
      display: inline-flex;
      min-height: 44px;
      align-items: center;
      justify-content: center;
      gap: .55rem;
      border: 1px solid transparent;
      border-radius: 999px;
      padding: .78rem 1.55rem;
      font-weight: 850;
      letter-spacing: .04em;
      text-transform: uppercase;
      transition: transform 280ms cubic-bezier(.175, .885, .32, 1.275), box-shadow 280ms cubic-bezier(.175, .885, .32, 1.275), background var(--transition), color var(--transition), border-color var(--transition);
      white-space: nowrap;
    }
    .btn:hover { transform: translateY(-3px); }
    /* One primary action colour site-wide: the brand navy. */
    .btn-primary, .btn-dark {
      background: var(--color-primary);
      color: #fff;
      border-color: var(--color-primary);
      box-shadow: 0 10px 28px color-mix(in srgb, var(--color-primary) 25%, transparent);
    }
    .btn-primary:hover, .btn-dark:hover {
      background: var(--color-primary-dark);
      border-color: var(--color-primary-dark);
      box-shadow: 0 16px 34px color-mix(in srgb, var(--color-primary) 34%, transparent);
    }
    /* Secondary action: transparent surface, brand border and brand text. */
    .btn-outline {
      border-color: var(--tint-brand-border);
      background: var(--color-surface);
      color: var(--color-primary);
    }
    .btn-outline:hover {
      background: var(--tint-brand);
      border-color: var(--color-primary);
      color: var(--color-primary-dark);
      box-shadow: 0 12px 26px color-mix(in srgb, var(--color-primary) 18%, transparent);
    }
    [data-theme="dark"] .btn-outline { color: var(--color-secondary); }
    [data-theme="dark"] .btn-outline:hover { color: var(--color-secondary); border-color: var(--color-secondary); }
    .btn-ghost { background: transparent; color: inherit; border-color: transparent; }
    /* Destructive only. */
    .btn-danger { background: var(--color-danger); color: #fff; border-color: var(--color-danger); }
    .btn-danger:hover { background: color-mix(in srgb, var(--color-danger) 82%, #000); }
    .icon-btn {
      width: 44px;
      height: 44px;
      display: inline-grid;
      place-items: center;
      border: 1px solid var(--color-border);
      background: var(--color-surface);
      color: var(--color-ink);
      border-radius: var(--radius);
      transition: var(--transition);
    }
    .icon-btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
    .icon { width: 1.1rem; height: 1.1rem; stroke-width: 2.4; }
    .topbar {
      display: none;
      background: var(--color-ink-deep);
      color: rgba(255,255,255,.86);
      font-size: var(--text-sm);
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .topbar .container { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
    .topbar .cluster { min-width: 0; }
    .topbar .cluster > a,
    .topbar .cluster > span,
    .topbar .cluster > time {
      display: inline-flex;
      min-width: 0;
      max-width: 100%;
      gap: .45rem;
      align-items: center;
      overflow-wrap: anywhere;
    }
    .site-datetime [data-site-datetime-text] { display: inline; }
    .site-header {
      position: sticky;
      top: 0;
      z-index: var(--z-header);
      background: var(--color-primary);
      color: #fff;
      border-bottom: 3px solid var(--color-secondary);
      backdrop-filter: none;
      box-shadow: none;
      transition: box-shadow 260ms ease, background-color 260ms ease;
    }
    .site-header.is-scrolled {
      background: var(--color-primary-2);
      box-shadow: 0 14px 32px color-mix(in srgb, var(--color-ink-deep) 38%, transparent);
    }
    /* The nav needs more room than the 1180px body container: brand (350) +
       menu (~780) + actions (106) + gaps. Give the header its own wider
       container so the actions stop clipping off the right edge. */
    .site-header .container { --container: 1360px; }
    .navbar { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; transition: min-height 260ms ease; }
    .is-scrolled .navbar { min-height: 62px; }
    .brand { display: inline-flex; align-items: center; gap: .75rem; min-width: 330px; flex-shrink: 0; }
    .brand-logo {
      width: 76px;
      height: 48px;
      object-fit: contain;
      flex: 0 0 auto;
      border-radius: 4px;
      background: rgba(255,255,255,.96);
      padding: .15rem;
      box-shadow: 0 6px 18px rgba(0,0,0,.16);
    }
    .brand-text { display: grid; gap: .18rem; min-width: 0; }
    .brand-name { font-weight: 850; line-height: 1.1; font-size: 1.18rem; }
    /* Lightened tint of the brand blue — the pure secondary sat at ~2.3:1 on
       the navy header, which is too low for text this small. */
    .brand-motto { color: color-mix(in srgb, var(--color-secondary) 55%, #fff); font-size: .72rem; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .03em; }
    .footer .brand-motto { color: var(--color-secondary); }
    .mobile-drawer .brand-motto { color: var(--color-secondary-2); }
    [data-theme="dark"] .mobile-drawer .brand-motto { color: var(--color-secondary); }
    .nav-menu { display: flex; align-items: center; gap: .25rem; list-style: none; padding: 0; margin: 0; }
    .nav-menu a, .nav-menu button {
      color: rgba(255,255,255,.86);
      background: transparent;
      border: 0;
      border-radius: 4px;
      padding: 1rem .7rem;
      font-weight: 780;
      display: inline-flex;
      gap: .3rem;
      align-items: center;
      white-space: nowrap;
    }
    .nav-menu a:hover, .nav-menu button:hover, .nav-menu a[aria-current="page"] {
      background: rgba(255,255,255,.14);
      color: #fff;
    }
    .nav-menu a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--color-secondary); }
    .dropdown { position: relative; }
    .dropdown-panel {
      position: absolute;
      top: calc(100% + 10px);
      left: 0;
      min-width: 260px;
      background: var(--color-surface);
      color: var(--color-ink);
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: .55rem;
      display: none;
    }
    .dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel { display: grid; }
    .dropdown-panel a { color: var(--color-ink); padding: .75rem; border-radius: var(--radius-sm); transition: var(--transition); }
    .dropdown-panel a:hover { background: var(--tint-brand); color: var(--tint-brand-ink); }
    .header-actions { display: flex; align-items: center; gap: .5rem; }
    .header-actions .icon-btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.16); }
    .lang-select {
      min-height: 44px;
      border-radius: 6px;
      border: 0;
      background: var(--color-secondary);
      color: var(--color-ink-deep);
      padding: 0 .45rem;
      font-weight: 850;
      width: 54px;
    }
    .lang-select option { color: var(--color-ink-deep); }
    .mobile-toggle { display: none; }
    .mobile-drawer {
      position: fixed;
      inset: 0 0 0 auto;
      width: min(92vw, 390px);
      background: var(--color-surface);
      color: var(--color-ink);
      z-index: var(--z-overlay);
      transform: translateX(105%);
      transition: transform 240ms ease;
      padding: 1rem;
      box-shadow: var(--shadow-strong);
      display: grid;
      align-content: start;
      gap: 1rem;
      overflow-y: auto;
    }
    .mobile-drawer.open { transform: translateX(0); }
    .drawer-backdrop {
      position: fixed;
      inset: 0;
      background: color-mix(in srgb, var(--color-ink-deep) 62%, transparent);
      z-index: calc(var(--z-overlay) - 1);
      opacity: 0;
      pointer-events: none;
      transition: opacity var(--transition);
    }
    .drawer-backdrop.open { opacity: 1; pointer-events: auto; }
    .mobile-links { display: grid; gap: .35rem; }
    .mobile-links > a,
    .mobile-nav-toggle {
      padding: .9rem;
      border-radius: var(--radius);
      border: 1px solid var(--color-border);
      font-weight: 850;
      background: var(--color-surface-2);
      transition: background var(--transition), border-color var(--transition), color var(--transition);
    }
    .mobile-nav-group { display: grid; gap: .35rem; }
    .mobile-nav-toggle {
      width: 100%;
      color: var(--color-ink);
      display: flex;
      align-items: center;
      justify-content: space-between;
      text-align: left;
      cursor: pointer;
    }
    .mobile-nav-toggle .icon { transition: transform var(--transition); }
    .mobile-nav-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
    .mobile-submenu {
      display: grid;
      gap: .35rem;
      padding: 0 0 .15rem .75rem;
    }
    .mobile-submenu[hidden] { display: none; }
    .mobile-submenu a {
      padding: .75rem .9rem;
      border-radius: var(--radius-sm);
      border-left: 3px solid var(--tint-brand-border);
      background: var(--color-surface-2);
      color: var(--color-ink);
      font-weight: 750;
      transition: background var(--transition), color var(--transition);
    }
    .mobile-links > a:hover,
    .mobile-links > a[aria-current="page"],
    .mobile-nav-toggle:hover,
    .mobile-nav-toggle[aria-expanded="true"],
    .mobile-submenu a:hover,
    .mobile-submenu a[aria-current="page"] {
      background: var(--tint-brand);
      border-color: var(--tint-brand-border);
      color: var(--tint-brand-ink);
    }
    @keyframes drawerLinkIn {
      from { opacity: 0; transform: translateX(14px); }
      to { opacity: 1; transform: translateX(0); }
    }
    .mobile-links > a, .mobile-nav-group { opacity: 0; }
    .mobile-drawer.open .mobile-links > * { animation: drawerLinkIn 300ms cubic-bezier(.16, 1, .3, 1) forwards; }
    .mobile-drawer.open .mobile-links > :nth-child(1) { animation-delay: 60ms; }
    .mobile-drawer.open .mobile-links > :nth-child(2) { animation-delay: 95ms; }
    .mobile-drawer.open .mobile-links > :nth-child(3) { animation-delay: 130ms; }
    .mobile-drawer.open .mobile-links > :nth-child(4) { animation-delay: 165ms; }
    .mobile-drawer.open .mobile-links > :nth-child(5) { animation-delay: 200ms; }
    .mobile-drawer.open .mobile-links > :nth-child(6) { animation-delay: 235ms; }
    .mobile-drawer.open .mobile-links > :nth-child(7) { animation-delay: 270ms; }
    .mobile-drawer.open .mobile-links > :nth-child(8) { animation-delay: 305ms; }
    .mobile-drawer.open .mobile-links > :nth-child(n+9) { animation-delay: 340ms; }
    .hero {
      min-height: calc(100vh - 83px);
      display: grid;
      align-items: center;
      position: relative;
      color: #fff;
      overflow: hidden;
      background: var(--color-primary-dark);
    }
    .hero-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 600ms ease;
    }
    .hero-slide.active { opacity: 1; }
    .hero-slide-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      filter: saturate(.88);
      transform: scale(1);
    }
    .hero-slide.active .hero-slide-bg {
      animation: heroKenBurns 9000ms cubic-bezier(.25, .46, .45, .94) forwards;
    }
    @keyframes heroKenBurns {
      from { transform: scale(1); }
      to { transform: scale(1.07); }
    }
    .hero-slide::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg,
          color-mix(in srgb, var(--color-primary) 78%, transparent),
          color-mix(in srgb, var(--color-primary-dark) 72%, transparent) 54%,
          color-mix(in srgb, var(--color-ink-deep) 90%, transparent)),
        color-mix(in srgb, var(--color-primary) 38%, transparent);
    }
    .hero-content {
      position: relative;
      z-index: 1;
      padding: 10vh 0 8vh;
      display: grid;
      gap: 1.55rem;
      max-width: 1040px;
      margin-inline: auto;
      text-align: center;
      justify-items: center;
    }
    .hero-content > * {
      animation: heroEnter 760ms cubic-bezier(.16, 1, .3, 1) both;
    }
    .hero-content > *:nth-child(1) { animation-delay: 60ms; }
    .hero-content > *:nth-child(2) { animation-delay: 180ms; }
    .hero-content > *:nth-child(3) { animation-delay: 320ms; }
    .hero-content > *:nth-child(4) { animation-delay: 440ms; }
    @keyframes heroEnter {
      from { opacity: 0; transform: translateY(26px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .hero h1 { max-width: 1000px; text-shadow: 0 3px 8px rgba(0,0,0,.35); }
    .hero h1::after {
      content: "";
      display: block;
      width: 80px;
      height: 4px;
      border-radius: 999px;
      background: var(--color-secondary);
      margin: 1.1rem auto .2rem;
    }
    .hero h1, .hero p { overflow-wrap: anywhere; }
    .hero p { color: rgba(255,255,255,.92); max-width: 760px; font-size: 1.35rem; text-shadow: 0 2px 5px rgba(0,0,0,.28); }
    .hero .cluster { justify-content: center; gap: 1rem; }
    /* Outline button on dark brand surfaces: transparent, white rule, white text. */
    .hero .btn-outline, .cta .btn-outline, .cta-band .btn-outline {
      background: rgba(255, 255, 255, .08);
      color: #fff;
      border-color: rgba(255, 255, 255, .55);
    }
    .hero .btn-outline:hover, .cta .btn-outline:hover, .cta-band .btn-outline:hover {
      background: #fff;
      color: var(--color-primary);
      border-color: #fff;
    }
    .hero .btn-primary, .cta .btn-primary, .cta-band .btn-primary {
      background: var(--color-secondary);
      border-color: var(--color-secondary);
      color: var(--color-ink-deep);
    }
    .hero .btn-primary:hover, .cta .btn-primary:hover, .cta-band .btn-primary:hover {
      background: var(--color-secondary-2);
      border-color: var(--color-secondary-2);
      color: #fff;
    }
    .hero-nav {
      position: absolute;
      left: 50%;
      bottom: 2.2rem;
      transform: translateX(-50%);
      z-index: 2;
      display: grid;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      padding-bottom: 0;
    }
    .hero-controls { display: none; }
    .hero-dots { display: flex; gap: .45rem; align-items: center; }
    .hero-dots button {
      width: 28px;
      height: 4px;
      border: 0;
      border-radius: 999px;
      background: rgba(255,255,255,.6);
    }
    .hero-dots button.active { width: 36px; height: 26px; background: rgba(255,255,255,.55); position: relative; }
    .hero-dots button.active::after { content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 4px; border-radius: 999px; background: var(--color-secondary); transform: translate(-50%, -50%); }
    .page-hero {
      color: #fff;
      background:
        linear-gradient(120deg, var(--overlay-strong), var(--overlay-soft)),
        url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=80") center/cover;
      padding: 5.5rem 0 4.5rem;
    }
    .page-hero p, .page-hero .lead { color: rgba(255, 255, 255, .86); }
    .breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; color: rgba(255,255,255,.78); font-weight: 700; margin-top: 1rem; }
    .breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
    .card {
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    }
    .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-border-strong); }
    .award-grid { align-items: start; }
    .card-body { padding: 1.25rem; display: grid; gap: .85rem; }
    .media {
      width: 100%;
      aspect-ratio: 16 / 10;
      object-fit: cover;
      background: var(--color-surface-2);
      transition: transform 600ms cubic-bezier(.25, .46, .45, .94);
    }
    .card:hover .media { transform: scale(1.06); }
    .media.square { aspect-ratio: 1 / 1; }
    .map-frame {
      width: 100%;
      aspect-ratio: 16 / 10;
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    .map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
    .location-directions-btn {
      width: 210px;
      max-width: 100%;
      min-height: 44px;
      justify-self: start;
      padding: .72rem 1.35rem;
      font-size: var(--text-sm);
    }

    /* Contact options: one consistent card system for address, phone and email. */
    .contact-options {
      position: relative;
      overflow: hidden;
    }
    .contact-options::before {
      content: "";
      position: absolute;
      top: -14rem;
      right: -12rem;
      width: 30rem;
      height: 30rem;
      border-radius: 50%;
      background: color-mix(in srgb, var(--color-secondary) 8%, transparent);
      pointer-events: none;
    }
    .contact-options > .container { position: relative; }
    .contact-options-head { margin-bottom: var(--space-6); }
    .contact-card-grid { align-items: stretch; }
    .contact-card {
      position: relative;
      min-width: 0;
      border-top: 4px solid var(--color-primary);
      isolation: isolate;
    }
    .contact-card::before {
      content: "";
      position: absolute;
      z-index: -1;
      top: -5rem;
      right: -5rem;
      width: 11rem;
      height: 11rem;
      border-radius: 50%;
      background: color-mix(in srgb, var(--color-secondary) 9%, transparent);
      transition: transform 500ms cubic-bezier(.2, .7, .3, 1);
    }
    .contact-card:hover::before { transform: scale(1.25); }
    .contact-card-body {
      min-height: 100%;
      padding: clamp(1.25rem, 2.5vw, 1.75rem);
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .contact-card-heading {
      display: flex;
      align-items: center;
      gap: .9rem;
    }
    .contact-card-icon {
      flex: 0 0 3.4rem;
      width: 3.4rem;
      height: 3.4rem;
      display: grid;
      place-items: center;
      border-radius: 1rem;
      color: #fff;
      background: linear-gradient(145deg, var(--color-primary), var(--color-secondary-2));
      box-shadow: 0 10px 24px color-mix(in srgb, var(--color-primary) 24%, transparent);
    }
    .contact-card-icon svg { width: 1.4rem; height: 1.4rem; }
    .contact-card-kicker {
      display: block;
      margin-bottom: .2rem;
      color: var(--color-secondary-2);
      font-size: var(--text-xs);
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    [data-theme="dark"] .contact-card-kicker { color: var(--color-secondary); }
    .contact-card-details {
      min-height: 3.5rem;
      display: grid;
      align-content: start;
      gap: .35rem;
      color: var(--color-muted);
      font-style: normal;
    }
    .contact-card-link {
      width: fit-content;
      max-width: 100%;
      color: var(--color-primary);
      font-size: clamp(1.05rem, 1.5vw, 1.18rem);
      font-weight: 850;
      line-height: 1.4;
      overflow-wrap: anywhere;
      text-decoration-line: underline;
      text-decoration-color: transparent;
      text-underline-offset: .25rem;
      transition: color var(--transition), text-decoration-color var(--transition);
    }
    .contact-card-link:hover {
      color: var(--color-primary-dark);
      text-decoration-color: currentColor;
    }
    [data-theme="dark"] .contact-card-link { color: var(--color-secondary); }
    .contact-card-meta {
      display: flex;
      align-items: flex-start;
      gap: .55rem;
      padding: .75rem;
      border-radius: var(--radius-sm);
      background: var(--tint-brand);
      color: var(--color-ink);
      font-size: var(--text-sm);
      font-weight: 720;
    }
    .contact-card-meta svg {
      flex: 0 0 1rem;
      width: 1rem;
      height: 1rem;
      margin-top: .1rem;
      color: var(--color-secondary-2);
    }
    .contact-card-actions {
      margin-top: auto;
      padding-top: .25rem;
      display: flex;
      flex-wrap: wrap;
      gap: .65rem;
    }
    .contact-card-actions .btn { flex: 1 1 auto; padding-inline: 1rem; }
    .contact-card-actions-split .btn { min-width: 8.5rem; }

    .contact-inquiry-layout {
      grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
      align-items: start;
      gap: clamp(2rem, 5vw, 4.5rem);
    }
    .contact-inquiry-copy > .badge { width: fit-content; }
    .contact-benefit-grid { gap: 1rem; }
    .value-card.contact-benefit {
      display: grid;
      grid-template-columns: 3.25rem minmax(0, 1fr);
      grid-template-rows: auto 1fr;
      column-gap: .85rem;
      row-gap: .25rem;
      padding: 1rem;
      text-align: left;
      box-shadow: none;
    }
    .contact-benefit .value-icon {
      grid-row: 1 / span 2;
      width: 3.25rem;
      height: 3.25rem;
      margin: 0;
      border-radius: .9rem;
    }
    .contact-benefit .value-icon .icon { width: 1.3rem; height: 1.3rem; }
    .value-card.contact-benefit h3 {
      display: block;
      margin: 0;
      padding: 0;
      font-size: .96rem;
      letter-spacing: 0;
      text-transform: none;
    }
    .value-card.contact-benefit h3::after { display: none; }
    .value-card.contact-benefit p { grid-column: 2; line-height: 1.55; }
    .contact-form-card {
      padding: clamp(1.25rem, 3vw, 2rem);
      border-top: 4px solid var(--color-primary);
      box-shadow: var(--shadow);
    }
    .contact-form-heading {
      display: grid;
      gap: .65rem;
      margin-bottom: .35rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--color-border);
    }
    .contact-form-heading .badge { width: fit-content; }
    .contact-form-heading h2 { font-size: clamp(1.45rem, 2.3vw, 2rem); }
    .contact-form-card label a {
      color: var(--color-primary);
      text-decoration: underline;
      text-underline-offset: .2rem;
    }
    [data-theme="dark"] .contact-form-card label a { color: var(--color-secondary); }
    .contact-submit-btn {
      width: 220px;
      max-width: 100%;
      justify-self: start;
    }

    /* Category badge — light brand tint, darker brand text, subtle brand border.
       The icon inherits the text colour. */
    .badge {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      gap: .35rem;
      border-radius: 999px;
      padding: .3rem .7rem;
      font-size: var(--text-xs);
      font-weight: 850;
      line-height: 1.35;
      background: var(--tint-brand);
      color: var(--tint-brand-ink);
      border: 1px solid var(--tint-brand-border);
    }
    .badge .icon { width: .9rem; height: .9rem; color: currentColor; }
    .badge-dark { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
    /* Optional variants — still one palette, only the weight of the tint changes. */
    .badge-solid { background: var(--color-secondary-2); color: #fff; border-color: var(--color-secondary-2); }
    .badge-muted { background: var(--color-surface-2); color: var(--color-muted); border-color: var(--color-border); }
    /* Status badges — the only place non-brand hues are allowed. */
    .badge-success { background: color-mix(in srgb, var(--color-success) 12%, var(--color-surface)); color: var(--color-success); border-color: color-mix(in srgb, var(--color-success) 28%, transparent); }
    .badge-warning { background: color-mix(in srgb, var(--color-warning) 12%, var(--color-surface)); color: var(--color-warning); border-color: color-mix(in srgb, var(--color-warning) 28%, transparent); }
    .badge-danger { background: color-mix(in srgb, var(--color-danger) 12%, var(--color-surface)); color: var(--color-danger); border-color: color-mix(in srgb, var(--color-danger) 28%, transparent); }
    .post-date {
      display: flex;
      align-items: center;
      gap: .4rem;
      font-size: var(--text-sm);
      color: var(--color-muted);
    }
    .post-date .icon { width: .9rem; height: .9rem; color: var(--color-secondary-2); }
    .blog-card h3 {
      position: relative;
      padding-bottom: .6rem;
    }
    .blog-card h3::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 40px;
      height: 3px;
      border-radius: 999px;
      background: var(--color-secondary);
    }
    .section-cta { display: flex; justify-content: center; margin-top: var(--space-6); }
    .stat-card {
      padding: 1.2rem;
      border-left: 4px solid var(--color-secondary);
      background: var(--color-surface);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
    }
    .stat-number { font-size: 2.05rem; font-weight: 900; color: var(--color-primary); }
    [data-theme="dark"] .stat-number { color: var(--color-secondary); }
    .image-panel {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      min-height: 360px;
    }
    .about-story-copy { max-width: 880px; }
    .image-panel img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
    .image-panel .label {
      position: absolute;
      left: 1rem;
      bottom: 1rem;
      background: var(--overlay-chip);
      color: #fff;
      padding: .9rem 1rem;
      border-radius: var(--radius);
      max-width: calc(100% - 2rem);
    }
    .image-badge {
      position: absolute;
      top: 1.25rem;
      right: 1.25rem;
      width: 118px;
      height: 118px;
      border-radius: 50%;
      background: var(--color-primary);
      display: grid;
      place-items: center;
      text-align: center;
      box-shadow: var(--shadow-strong);
      border: 4px solid var(--color-surface);
      padding: .5rem;
    }
    .image-badge .stat-number { color: #fff; font-size: 1.7rem; line-height: 1; }
    .image-badge span {
      display: block;
      font-size: .68rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .03em;
      line-height: 1.2;
      color: rgba(255,255,255,.9);
      margin-top: .3rem;
    }
    .value-card {
      text-align: center;
      padding: 2rem 1.5rem;
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    }
    .value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-border-strong); }
    .value-icon {
      width: 76px;
      height: 76px;
      margin: 0 auto 1.25rem;
      border-radius: 50%;
      background: var(--tint-brand-strong);
      display: grid;
      place-items: center;
      color: var(--color-primary);
    }
    [data-theme="dark"] .value-icon { color: var(--color-secondary); }
    .value-icon .icon { width: 1.8rem; height: 1.8rem; stroke-width: 2; }
    .value-card h3 {
      text-transform: uppercase;
      letter-spacing: .04em;
      font-size: 1.05rem;
      position: relative;
      display: inline-block;
      padding-bottom: .65rem;
      margin-bottom: .85rem;
    }
    .value-card h3::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 34px;
      height: 3px;
      border-radius: 999px;
      background: var(--color-secondary);
    }
    .value-card p { font-size: var(--text-sm); }
    .section-head .badge { justify-self: center; }
    .trust-panel {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .trust-stat {
      padding: 2.25rem 1.5rem;
      text-align: center;
      border-left: 1px solid var(--color-border);
    }
    .trust-stat:first-child { border-left: 0; }
    .trust-stat.featured { border-top: 3px solid var(--color-secondary); }
    .trust-stat .value-icon { margin-bottom: 1.1rem; }
    .trust-stat .stat-number { font-size: 2.6rem; }
    .trust-stat p { margin-top: .35rem; font-weight: 700; }

    .section-title-accent {
      position: relative;
      padding-left: 1.1rem;
      margin-bottom: 2rem;
    }
    .section-title-accent::before {
      content: "";
      position: absolute;
      left: 0;
      top: .15em;
      bottom: .15em;
      width: 4px;
      border-radius: 999px;
      background: var(--color-secondary);
    }
    .partner-marquee {
      overflow: hidden;
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
      mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    }
    .partner-track {
      display: flex;
      gap: 1.5rem;
      width: max-content;
      animation: partnerScroll 26s linear infinite;
    }
    .partner-marquee:hover .partner-track { animation-play-state: paused; }
    @keyframes partnerScroll {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }
    .partner-logo {
      flex: 0 0 auto;
      width: 220px;
      height: 140px;
      display: grid;
      place-items: center;
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      padding: 1rem;
      text-align: center;
    }
    .partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
    .partner-logo span { font-weight: 850; color: var(--color-primary); }
    [data-theme="dark"] .partner-logo span { color: var(--color-secondary); }

    .value-list, .check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
    .check-list li {
      display: grid;
      grid-template-columns: 1.25rem 1fr;
      gap: .6rem;
      align-items: start;
      color: var(--color-muted);
    }
    .check-list li::before {
      content: "";
      width: .75rem;
      height: .75rem;
      margin-top: .45rem;
      border-radius: 50%;
      background: var(--color-secondary);
      box-shadow: 0 0 0 4px var(--tint-brand-ring);
    }
    .process-step {
      counter-increment: step;
      position: relative;
      padding: 1.25rem;
    }
    .process-step::before {
      content: counter(step);
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      background: var(--color-primary);
      color: var(--color-secondary);
      border-radius: 50%;
      font-weight: 900;
      margin-bottom: .8rem;
    }
    .timeline {
      --tl-node: 88px;
      --tl-gap: clamp(1.5rem, 3.5vw, 3rem);
      position: relative;
      /* Cards sit offset until they reveal; clip that offset so it never widens the page. */
      overflow-x: clip;
      display: grid;
      gap: var(--tl-gap);
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .timeline-item {
      position: relative;
      display: grid;
      grid-template-columns: 1fr var(--tl-node) 1fr;
      align-items: center;
    }
    .timeline-marker {
      grid-column: 2;
      grid-row: 1;
      display: grid;
      place-items: center;
    }
    /* Connector: each row draws its own segment (and the gap below it), so the
       spine appears to grow downward as rows scroll into view. */
    .timeline-item::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 0;
      bottom: calc(var(--tl-gap) * -1);
      width: 2px;
      background: linear-gradient(to bottom, var(--color-secondary-2), var(--color-primary));
      transform: translateX(-50%) scaleY(0);
      transform-origin: top center;
      transition: transform 700ms cubic-bezier(.4, 0, .2, 1) 120ms;
    }
    .timeline-item:first-child::before { top: 50%; }
    .timeline-item:last-child::before { bottom: 50%; }
    .timeline-item.visible::before { transform: translateX(-50%) scaleY(1); }
    .timeline-node {
      position: relative;
      z-index: 1;
      width: var(--tl-node);
      height: var(--tl-node);
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-weight: 900;
      font-size: var(--text-sm);
      letter-spacing: .04em;
      color: #fff;
      background: linear-gradient(140deg, var(--color-secondary-2), var(--color-primary));
      box-shadow: 0 0 0 8px var(--color-surface), var(--shadow-sm);
      transform: scale(.3);
      opacity: 0;
      transition: transform 600ms cubic-bezier(.2, .9, .3, 1.4) 220ms, opacity 400ms ease 220ms, box-shadow var(--transition);
    }
    .timeline-item.visible .timeline-node { transform: scale(1); opacity: 1; }
    /* Ring that breathes outward on hover. */
    .timeline-node::after {
      content: "";
      position: absolute;
      inset: -6px;
      border-radius: 50%;
      border: 2px solid color-mix(in srgb, var(--color-secondary-2) 55%, transparent);
      opacity: 0;
      transform: scale(.85);
      transition: opacity var(--transition), transform 500ms cubic-bezier(.2, .9, .3, 1.4);
    }
    .timeline-item:hover .timeline-node::after { opacity: 1; transform: scale(1); }
    .timeline-item:hover .timeline-node { box-shadow: 0 0 0 8px var(--color-surface), var(--shadow); }
    .timeline-card {
      position: relative;
      grid-row: 1;
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      padding: 1.15rem 1.25rem;
      transition: transform 520ms cubic-bezier(.2, .7, .3, 1) 120ms,
                  box-shadow var(--transition),
                  border-color var(--transition);
    }
    /* Small pointer aiming at the spine. */
    .timeline-card::before {
      content: "";
      position: absolute;
      top: 50%;
      width: 12px;
      height: 12px;
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      transform: translateY(-50%) rotate(45deg);
    }
    .timeline-item:nth-child(odd) .timeline-card {
      grid-column: 1;
      margin-right: 1.75rem;
      text-align: right;
      transform: translateX(-28px);
    }
    .timeline-item:nth-child(odd) .timeline-card::before {
      right: -7px;
      border-left: 0;
      border-bottom: 0;
    }
    .timeline-item:nth-child(even) .timeline-card {
      grid-column: 3;
      margin-left: 1.75rem;
      transform: translateX(28px);
    }
    .timeline-item:nth-child(even) .timeline-card::before {
      left: -7px;
      border-right: 0;
      border-top: 0;
    }
    .timeline-title { margin: 0 0 .35rem; font-size: var(--text-lg); }
    .timeline-card p { margin: 0; color: var(--color-muted); }
    /* The row only fades in; each card slides in from its own side. */
    .timeline-item.reveal { transform: none; }
    .timeline-item.visible .timeline-card { transform: none; }
    .timeline-item:hover .timeline-card {
      transform: translateY(-4px);
      box-shadow: var(--shadow);
      border-color: var(--color-border-strong);
      transition-delay: 0ms;
    }
    .timeline-year { font-weight: 900; color: var(--color-secondary-2); }
    .filters, .pagination { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
    .filter-btn, .page-btn {
      border: 1px solid var(--color-border);
      background: var(--color-surface);
      color: var(--color-ink);
      border-radius: 999px;
      padding: .6rem .9rem;
      font-weight: 820;
    }
    .filter-btn:hover, .page-btn:hover { background: var(--tint-brand); border-color: var(--tint-brand-border); color: var(--tint-brand-ink); }
    .filter-btn.active, .page-btn.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
    .filter-btn.active:hover, .page-btn.active:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; }
    .project-card .media-wrap { position: relative; }
    .project-card .status {
      position: absolute;
      top: .75rem;
      left: .75rem;
      background: var(--overlay-chip);
      color: #fff;
      border-radius: 999px;
      padding: .28rem .65rem;
      font-size: var(--text-xs);
      font-weight: 850;
    }
    .project-meta { display: flex; gap: .8rem; flex-wrap: wrap; color: var(--color-muted); font-size: var(--text-sm); }
    .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .logo-card {
      min-height: 128px;
      display: grid;
      place-items: center;
      padding: 1rem;
      text-align: center;
      font-weight: 900;
      color: var(--color-primary);
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
    }
    [data-theme="dark"] .logo-card { color: var(--color-secondary); }
    .logo-tile {
      min-height: 128px;
      display: grid;
      place-items: center;
      padding: 1rem;
      text-align: center;
      font-weight: 900;
      color: var(--color-primary);
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
    }
    [data-theme="dark"] .logo-tile { color: var(--color-secondary); }

    /* Clients page — headline rule + logo wall. */
    .title-rule {
      position: relative;
      padding-bottom: .8rem;
      color: var(--color-primary);
    }
    .title-rule::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 72px;
      height: 4px;
      border-radius: 999px;
      background: var(--color-secondary);
    }
    .center .title-rule::after { left: 50%; transform: translateX(-50%); }
    .container > .title-rule { margin-bottom: var(--space-6); }
    [data-theme="dark"] .title-rule { color: var(--color-secondary); }
    .client-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: var(--space-5);
    }
    .client-tile {
      min-height: 164px;
      display: grid;
      place-items: center;
      gap: .7rem;
      padding: 1.5rem 1.25rem;
      text-align: center;
      text-decoration: none;
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    }
    a.client-tile:hover, a.client-tile:focus-visible {
      transform: translateY(-4px);
      box-shadow: var(--shadow);
      border-color: var(--tint-brand-border);
    }
    .client-tile img {
      max-width: 100%;
      max-height: 88px;
      object-fit: contain;
      filter: grayscale(1);
      opacity: .8;
      transition: filter var(--transition), opacity var(--transition);
    }
    .client-tile:hover img, a.client-tile:focus-visible img { filter: none; opacity: 1; }
    .client-monogram {
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: var(--tint-brand);
      border: 1px solid var(--tint-brand-border);
      color: var(--color-primary);
      font-size: var(--text-lg);
      font-weight: 900;
      letter-spacing: .02em;
    }
    [data-theme="dark"] .client-monogram { color: var(--color-secondary); }
    .client-name {
      font-size: var(--text-sm);
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--color-primary);
    }
    [data-theme="dark"] .client-name { color: var(--color-secondary); }

    .testimonial-card { position: relative; }
    .testimonial-card::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 4px;
      background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    }
    .testimonial {
      position: relative;
      padding: 1.75rem 1.5rem;
      display: grid;
      gap: 1rem;
    }
    .testimonial::before, .testimonial::after {
      position: absolute;
      top: .05rem;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 3.5rem;
      line-height: 1;
      font-weight: 700;
      color: color-mix(in srgb, var(--color-ink), transparent 90%);
    }
    .testimonial::before { content: "\201C"; left: .1rem; }
    .testimonial::after { content: "\201D"; right: .1rem; }
    .testimonial-quote { position: relative; z-index: 1; font-style: italic; color: var(--color-ink); }
    .testimonial-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
      padding-top: 1rem;
      border-top: 1px solid var(--color-border);
    }
    .stars { color: var(--color-secondary-2); letter-spacing: .1rem; }
    .author {
      display: flex;
      gap: .75rem;
      align-items: center;
    }
    .avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--color-primary);
      color: #fff;
      display: grid;
      place-items: center;
      font-weight: 900;
      flex-shrink: 0;
      object-fit: cover;
    }
    .avatar .icon { width: 1.35rem; height: 1.35rem; }
    .accordion { display: grid; gap: .75rem; }
    .accordion-item {
      border: 1px solid var(--color-border);
      background: var(--color-surface);
      border-radius: var(--radius);
      overflow: hidden;
    }
    .accordion-trigger {
      width: 100%;
      border: 0;
      background: transparent;
      color: var(--color-ink);
      padding: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      font-weight: 850;
      text-align: left;
    }
    .accordion-trigger:hover { background: var(--tint-brand); color: var(--tint-brand-ink); }
    .accordion-item.open { border-color: var(--tint-brand-border); }
    .accordion-item.open .accordion-trigger { color: var(--tint-brand-ink); }
    .accordion-trigger .icon { transition: transform 280ms cubic-bezier(.4, 0, .2, 1); color: var(--color-secondary-2); }
    .accordion-item.open .accordion-trigger .icon { transform: rotate(180deg); }
    .accordion-panel {
      display: grid;
      grid-template-rows: 0fr;
      padding: 0 1rem;
      color: var(--color-muted);
      transition: grid-template-rows 320ms cubic-bezier(.4, 0, .2, 1), padding 320ms cubic-bezier(.4, 0, .2, 1);
    }
    .accordion-panel-inner { overflow: hidden; min-height: 0; }
    .accordion-item.open .accordion-panel { grid-template-rows: 1fr; padding: 0 1rem 1rem; }
    .form {
      display: grid;
      gap: 1rem;
    }
    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }
    .field { display: grid; gap: .35rem; }
    label { font-weight: 820; color: var(--color-ink); }
    input:not([type="checkbox"]):not([type="radio"]), select, textarea {
      width: 100%;
      border: 1px solid var(--color-border);
      background: var(--color-surface);
      color: var(--color-ink);
      border-radius: var(--radius);
      padding: .8rem .9rem;
      min-height: 46px;
      transition: border-color var(--transition), box-shadow var(--transition);
    }
    input::placeholder, textarea::placeholder { color: var(--color-muted); opacity: .8; }
    input:focus, select:focus, textarea:focus {
      border-color: var(--color-secondary);
      box-shadow: 0 0 0 3px var(--tint-brand-ring);
      outline: none;
    }
    /* Invalid fields are the one place a red border is correct. */
    input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
      border-color: var(--color-danger);
    }
    input[aria-invalid="true"]:focus, select[aria-invalid="true"]:focus, textarea[aria-invalid="true"]:focus {
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-danger) 22%, transparent);
    }
    /* Checkboxes / radios keep their native box but adopt the brand colour,
       and sit inline with their label instead of stretching full width. */
    input[type="checkbox"], input[type="radio"] {
      width: 1.05rem;
      height: 1.05rem;
      min-height: 0;
      flex: 0 0 auto;
      margin: 0 .15rem 0 0;
      vertical-align: -2px;
      accent-color: var(--color-primary);
    }
    [data-theme="dark"] input[type="checkbox"], [data-theme="dark"] input[type="radio"] { accent-color: var(--color-secondary); }
    label:has(> input[type="checkbox"]), label:has(> input[type="radio"]) {
      display: flex;
      gap: .55rem;
      align-items: start;
      font-weight: 700;
      color: var(--color-muted);
    }
    textarea { resize: vertical; min-height: 132px; }
    .error-text { color: var(--color-error); font-size: var(--text-sm); min-height: 1.25em; }
    .form-note {
      padding: .9rem;
      border: 1px dashed var(--color-border);
      border-radius: var(--radius);
      background: var(--color-surface-2);
      color: var(--color-muted);
      font-size: var(--text-sm);
    }
    .message {
      display: none;
      border-radius: var(--radius);
      padding: 1rem;
      font-weight: 780;
    }
    .message.show { display: block; }
    .message.success { background: color-mix(in srgb, var(--color-success), transparent 84%); color: var(--color-success); }
    .message.error { background: color-mix(in srgb, var(--color-error), transparent 84%); color: var(--color-error); }
    .site-toast-stack {
      position: fixed;
      top: 1rem;
      right: 1rem;
      z-index: 2100;
      display: grid;
      gap: .7rem;
      width: min(26rem, calc(100vw - 2rem));
    }
    .site-toast {
      display: flex;
      align-items: start;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem 1.1rem;
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
      box-shadow: 0 18px 44px rgba(10, 24, 38, .2);
      background: var(--color-surface);
      color: var(--color-ink);
      font-weight: 720;
      animation: toast-in .22s ease-out;
    }
    .site-toast-success { border-left: 4px solid var(--color-success); }
    .site-toast-error, .site-toast-error ul { border-left: 4px solid var(--color-error); color: var(--color-error); }
    .site-toast-close { padding: 0; border: 0; background: transparent; color: currentColor; cursor: pointer; }
    @keyframes toast-in { from { opacity: 0; transform: translateY(-.6rem); } to { opacity: 1; transform: translateY(0); } }
    .quote-request-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
    .quote-intro { padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--color-primary-dark), var(--color-primary)); color: #fff; }
    .quote-intro h2 { color: #fff; margin-top: 1rem; }
    .quote-intro p { color: rgba(255,255,255,.84); }
    .quote-steps { display: grid; gap: 1rem; padding: 0; margin: 1.5rem 0; list-style: none; counter-reset: quote-step; }
    .quote-steps li { position: relative; display: grid; gap: .18rem; padding-left: 2.7rem; color: rgba(255,255,255,.82); }
    .quote-steps li::before { counter-increment: quote-step; content: counter(quote-step); position: absolute; left: 0; top: .05rem; display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-weight: 800; }
    .quote-steps strong { color: #fff; }
    .quote-steps span { font-size: var(--text-sm); }
    .quote-intro .form-note { display: flex; gap: .45rem; align-items: start; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.88); }
    .quote-intro .form-note a { color: #fff; font-weight: 800; }
    .quote-form-card { padding: clamp(1.25rem, 3vw, 2.25rem); }
    .quote-form-heading { margin-bottom: 1.35rem; }
    .quote-form-heading h2 { margin-bottom: .25rem; }
    .quote-form-heading p { margin: 0; color: var(--color-muted); }
    .quote-form-options { display: grid; gap: .7rem; margin: 1rem 0 1.4rem; }
    @media (max-width: 780px) { .quote-request-layout { grid-template-columns: 1fr; } .site-toast-stack { top: .75rem; right: .75rem; width: min(26rem, calc(100vw - 1.5rem)); } }
    /* `.cta-band` is the class the markup actually uses (includes/cta.html);
       `.cta` is kept as an alias so either name renders the same band. */
    .cta, .cta-band {
      background: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary));
      color: #fff;
      padding: var(--space-8) 0;
    }
    .cta p, .cta-band p { color: rgba(255,255,255,.82); }
    .cta h2, .cta-band h2 { color: #fff; }
    .footer {
      background: linear-gradient(145deg, var(--color-ink-deep), var(--color-primary-dark));
      color: #fff;
      padding: var(--space-7) 0 var(--space-5);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.35fr .9fr 1fr 1.05fr;
      gap: clamp(1.25rem, 3vw, 2.5rem);
      align-items: start;
    }
    .footer h3 {
      font-size: 1rem;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: .08em;
    }
    .footer p, .footer a { color: rgba(255,255,255,.72); }
    .footer a:hover { color: var(--color-secondary); }
    /* Buttons on the dark footer follow the same on-dark treatment as hero/CTA. */
    .footer .btn-primary {
      background: var(--color-secondary);
      border-color: var(--color-secondary);
      color: var(--color-ink-deep);
    }
    .footer .btn-primary:hover {
      background: var(--color-secondary-2);
      border-color: var(--color-secondary-2);
      color: #fff;
    }
    .footer .brand {
      min-width: 0;
      color: #fff;
    }
    .footer-brand .brand-logo {
      width: 96px;
      height: 58px;
    }
    .footer .brand-name { color: #fff; }
    .footer-slogan {
      color: var(--color-secondary) !important;
      font-weight: 850;
    }
    .footer-contact p,
    .footer-contact a:not(.btn) {
      display: grid;
      grid-template-columns: 1.25rem minmax(0, 1fr);
      gap: .55rem;
      align-items: start;
    }
    .footer-contact .btn { width: fit-content; }
    .value-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: .45rem;
    }
    .value-cloud span {
      display: inline-flex;
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 999px;
      padding: .28rem .55rem;
      color: rgba(255,255,255,.78);
      font-size: var(--text-xs);
      font-weight: 850;
      background: rgba(255,255,255,.05);
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.12);
      margin-top: 2rem;
      padding-top: 1rem;
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
      font-size: var(--text-sm);
    }
    .floating-actions {
      position: fixed;
      left: auto;
      right: 1.25rem;
      bottom: 1rem;
      z-index: 40;
      display: grid;
      gap: .55rem;
    }
    .floating-actions .icon-btn {
      border-radius: 50%;
      box-shadow: var(--shadow);
      background: var(--color-primary);
      color: #fff;
      border-color: rgba(255,255,255,.14);
    }
    .floating-actions .icon-btn:hover { background: var(--color-primary-dark); border-color: rgba(255,255,255,.24); }
    /* WhatsApp keeps a green affordance, but uses the palette's success green. */
    .floating-actions .whatsapp { background: var(--color-success); }
    .floating-actions .whatsapp:hover { background: color-mix(in srgb, var(--color-success) 82%, #000); }
    .floating-actions .call { background: var(--color-secondary-2); }
    .floating-actions .call:hover { background: var(--color-primary-dark); }
    .back-top { opacity: 0; pointer-events: none; transform: translateY(8px); }
    .back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

    /* ---- Public knowledge assistant -------------------------------- */
    .chatbot {
      position: fixed;
      left: 1.25rem;
      bottom: 1rem;
      z-index: 85;
      font-family: var(--font-sans);
    }
    .chatbot-launcher {
      min-height: 54px;
      display: inline-flex;
      align-items: center;
      gap: .65rem;
      border: 1px solid color-mix(in srgb, #fff 22%, transparent);
      border-radius: 999px;
      padding: .75rem 1rem;
      background: var(--color-primary);
      color: #fff;
      box-shadow: 0 16px 42px color-mix(in srgb, var(--color-primary) 35%, transparent);
      font-weight: 850;
      transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
    }
    .chatbot-launcher:hover {
      transform: translateY(-2px);
      background: var(--color-primary-dark);
      box-shadow: 0 20px 48px color-mix(in srgb, var(--color-primary) 45%, transparent);
    }
    .chatbot-launcher svg { width: 1.35rem; height: 1.35rem; }
    .chatbot.is-open .chatbot-launcher { opacity: 0; pointer-events: none; }
    .chatbot-panel {
      position: absolute;
      left: 0;
      bottom: 0;
      width: min(390px, calc(100vw - 2.5rem));
      height: min(640px, calc(100dvh - 2.5rem));
      max-height: 78vh;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr) auto auto auto;
      overflow: hidden;
      border: 1px solid var(--color-border);
      border-radius: 20px;
      background: var(--color-surface);
      color: var(--color-ink);
      box-shadow: var(--shadow-strong);
      transform-origin: left bottom;
      animation: chatbotOpen 220ms cubic-bezier(.16, 1, .3, 1);
    }
    @keyframes chatbotOpen {
      from { opacity: 0; transform: translateY(12px) scale(.97); }
      to { opacity: 1; transform: none; }
    }
    .chatbot-header {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: .75rem;
      align-items: center;
      padding: .9rem 1rem;
      background: var(--color-primary);
      color: #fff;
    }
    .chatbot-avatar {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      overflow: hidden;
      border: 2px solid rgba(255,255,255,.78);
      border-radius: 50%;
      background: #fff;
      color: var(--color-primary);
    }
    .chatbot-avatar img { width: 100%; height: 100%; padding: .18rem; object-fit: contain; }
    .chatbot-avatar svg { width: 1.3rem; height: 1.3rem; }
    .chatbot-identity { display: grid; min-width: 0; line-height: 1.25; }
    .chatbot-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .chatbot-identity small {
      display: inline-flex;
      gap: .4rem;
      align-items: center;
      color: rgba(255,255,255,.78);
    }
    .chatbot-status-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #74e3b5;
      box-shadow: 0 0 0 3px rgba(116,227,181,.18);
    }
    .chatbot-close {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      padding: 0;
      border: 0;
      border-radius: 50%;
      background: rgba(255,255,255,.1);
      color: #fff;
    }
    .chatbot-close:hover { background: rgba(255,255,255,.2); }
    .chatbot-close svg { width: 1.2rem; height: 1.2rem; }
    .chatbot-messages {
      min-height: 0;
      overflow-y: auto;
      overscroll-behavior: contain;
      display: flex;
      flex-direction: column;
      gap: .8rem;
      padding: 1rem;
      background: color-mix(in srgb, var(--color-surface-2) 65%, var(--color-surface));
      scrollbar-width: thin;
    }
    .chatbot-message {
      width: fit-content;
      max-width: 88%;
      padding: .7rem .8rem;
      border: 1px solid var(--color-border);
      border-radius: 6px 16px 16px 16px;
      background: var(--color-surface);
      box-shadow: 0 6px 16px color-mix(in srgb, var(--color-ink-deep) 8%, transparent);
    }
    .chatbot-message p {
      color: var(--color-ink);
      font-size: .9rem;
      line-height: 1.5;
      white-space: pre-line;
      overflow-wrap: anywhere;
    }
    .chatbot-message-author {
      display: block;
      margin-bottom: .2rem;
      color: var(--color-primary-light);
      font-size: .72rem;
      font-weight: 850;
    }
    .chatbot-message-user {
      align-self: flex-end;
      border-color: var(--color-primary);
      border-radius: 16px 6px 16px 16px;
      background: var(--color-primary);
    }
    .chatbot-message-user p { color: #fff; }
    .chatbot-gallery {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: .4rem;
      margin-top: .65rem;
    }
    .chatbot-gallery a {
      display: block;
      min-height: 76px;
      overflow: hidden;
      border: 1px solid var(--color-border);
      border-radius: 9px;
      background: var(--color-surface-2);
    }
    .chatbot-gallery img { width: 100%; height: 82px; object-fit: cover; }
    .chatbot-sources {
      display: flex;
      flex-wrap: wrap;
      gap: .35rem;
      align-items: center;
      margin-top: .65rem;
      font-size: .72rem;
    }
    .chatbot-sources > span { color: var(--color-muted); font-weight: 750; }
    .chatbot-sources a {
      max-width: 100%;
      overflow: hidden;
      padding: .22rem .45rem;
      border-radius: 999px;
      background: var(--tint-brand);
      color: var(--tint-brand-ink);
      font-weight: 800;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .chatbot-suggestions {
      display: flex;
      gap: .45rem;
      overflow-x: auto;
      padding: .65rem .8rem;
      border-top: 1px solid var(--color-border);
      background: var(--color-surface);
      scrollbar-width: thin;
    }
    .chatbot-suggestions button {
      flex: 0 0 auto;
      padding: .45rem .65rem;
      border: 1px solid var(--tint-brand-border);
      border-radius: 999px;
      background: var(--tint-brand);
      color: var(--tint-brand-ink);
      font-size: .78rem;
      font-weight: 750;
    }
    .chatbot-form {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: .5rem;
      align-items: end;
      padding: .7rem .8rem;
      border-top: 1px solid var(--color-border);
      background: var(--color-surface);
    }
    .chatbot-form textarea {
      width: 100%;
      min-height: 44px;
      max-height: 112px;
      resize: none;
      padding: .66rem .75rem;
      border: 1px solid var(--color-border);
      border-radius: 12px;
      background: var(--color-bg);
      color: var(--color-ink);
      line-height: 1.4;
    }
    .chatbot-form button {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      padding: 0;
      border: 0;
      border-radius: 12px;
      background: var(--color-primary);
      color: #fff;
    }
    .chatbot-form button:disabled { opacity: .55; cursor: wait; }
    .chatbot-form button svg { width: 1.1rem; height: 1.1rem; }
    .chatbot-safety {
      display: flex;
      gap: .35rem;
      align-items: center;
      justify-content: center;
      padding: 0 .75rem .65rem;
      background: var(--color-surface);
      color: var(--color-muted);
      font-size: .67rem;
      line-height: 1.25;
      text-align: center;
    }
    .chatbot-safety svg { width: .85rem; height: .85rem; flex: 0 0 auto; }
    .chatbot-typing { display: inline-flex; gap: .25rem; align-items: center; min-height: 38px; }
    .chatbot-typing span {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--color-muted);
      animation: chatbotTyping 1s infinite ease-in-out;
    }
    .chatbot-typing span:nth-child(2) { animation-delay: .14s; }
    .chatbot-typing span:nth-child(3) { animation-delay: .28s; }
    @keyframes chatbotTyping {
      0%, 60%, 100% { opacity: .35; transform: translateY(0); }
      30% { opacity: 1; transform: translateY(-3px); }
    }

    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: color-mix(in srgb, var(--color-ink-deep) 78%, transparent);
      z-index: var(--z-modal);
      display: none;
      padding: 1rem;
      place-items: center;
    }
    .modal-backdrop.open { display: grid; }
    .modal {
      width: min(920px, 100%);
      max-height: min(88vh, 860px);
      overflow: auto;
      background: var(--color-surface);
      color: var(--color-ink);
      border-radius: var(--radius);
      box-shadow: var(--shadow-strong);
      border: 1px solid var(--color-border);
    }
    .modal-head, .modal-body { padding: 1rem; }
    .modal-head {
      border-bottom: 1px solid var(--color-border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
    }
    .lightbox-img {
      width: 100%;
      max-height: 70vh;
      object-fit: contain;
      background: var(--color-ink-deep);
    }
    .document-preview {
      display: block;
      width: 100%;
      height: min(70vh, 760px);
      border: 0;
      background: var(--color-surface-2);
    }
    .search-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: .7rem;
      align-items: end;
    }
    .blog-layout {
      grid-template-columns: minmax(0, 1fr) 320px;
      align-items: start;
    }
    .empty-state {
      padding: 2rem;
      text-align: center;
      border: 1px dashed var(--color-border);
      border-radius: var(--radius);
      background: var(--color-surface);
    }
    .reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .grid > .reveal:nth-child(1), .timeline > .reveal:nth-child(1) { transition-delay: 0ms; }
    .grid > .reveal:nth-child(2), .timeline > .reveal:nth-child(2) { transition-delay: 70ms; }
    .grid > .reveal:nth-child(3), .timeline > .reveal:nth-child(3) { transition-delay: 140ms; }
    .grid > .reveal:nth-child(4), .timeline > .reveal:nth-child(4) { transition-delay: 210ms; }
    .grid > .reveal:nth-child(5) { transition-delay: 280ms; }
    .grid > .reveal:nth-child(6) { transition-delay: 350ms; }
    .grid > .reveal:nth-child(7) { transition-delay: 420ms; }
    .grid > .reveal:nth-child(8) { transition-delay: 490ms; }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
      .reveal { opacity: 1; transform: none; }
      .partner-track { animation: none !important; flex-wrap: wrap; width: 100%; }
      .partner-track [aria-hidden="true"] { display: none; }
    }
    /* Below 1320px the full menu no longer fits beside the brand and the
       header actions, so hand over to the drawer instead of overflowing. */
    @media (max-width: 1320px) {
      .nav-menu { display: none; }
      .mobile-toggle { display: inline-grid; }
      .brand { min-width: auto; }
    }
    @media (max-width: 1080px) {
      .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .contact-inquiry-layout { grid-template-columns: 1fr; }
      .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (min-width: 1081px) {
      .topbar { display: block; }
    }
    @media (max-width: 820px) {
      .topbar .container { align-items: flex-start; flex-direction: column; padding: .55rem 0; }
      .topbar .cluster { width: 100%; }
      .hero { min-height: 720px; }
      .hero-content { padding-top: 5rem; }
      .grid-2, .grid-3, .form-grid { grid-template-columns: 1fr; }
      .blog-layout { grid-template-columns: 1fr; }
      .trust-panel { grid-template-columns: 1fr; }
      .trust-stat { border-left: 0; border-top: 1px solid var(--color-border); }
      .trust-stat:first-child { border-top: 0; }
      .trust-stat.featured { border-top: 3px solid var(--color-secondary); }
      .hero-nav { align-items: flex-start; flex-direction: column; }
      .page-hero { padding: 4rem 0 3rem; }
      .image-panel { min-height: 280px; }
      .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; }
      .search-row { grid-template-columns: 1fr; }
      .contact-card-details { min-height: 0; }
      /* Timeline folds to a single left-hand spine. */
      .timeline { --tl-node: 68px; }
      .timeline-item { grid-template-columns: var(--tl-node) minmax(0, 1fr); }
      .timeline-item::before { left: calc(var(--tl-node) / 2); }
      .timeline-marker { grid-column: 1; }
      .timeline-item:nth-child(odd) .timeline-card,
      .timeline-item:nth-child(even) .timeline-card {
        grid-column: 2;
        margin: 0 0 0 1.25rem;
        text-align: left;
        transform: translateX(20px);
      }
      .timeline-item:nth-child(odd) .timeline-card::before,
      .timeline-item:nth-child(even) .timeline-card::before {
        left: -7px;
        right: auto;
        border-right: 0;
        border-top: 0;
        border-left: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
      }
      .timeline-item.visible .timeline-card { transform: none; }
    }
    @media (max-width: 520px) {
      .container { width: min(calc(100% - 24px), var(--container)); }
      .section { padding: 3rem 0; }
      h1 { font-size: 2.05rem; line-height: 1.12; }
      .topbar .container { overflow: hidden; }
      .topbar .cluster {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: .5rem;
      }
      .topbar .cluster > a,
      .topbar .cluster > span,
      .topbar .cluster > time {
        display: grid;
        grid-template-columns: 1.2rem minmax(0, 1fr);
        width: 100%;
        white-space: normal;
        word-break: break-word;
        overflow: hidden;
      }
      .site-header .container { width: 100%; padding-inline: .75rem; }
      .navbar { gap: .75rem; width: 100%; }
      .brand { flex: 0 0 auto; }
      .brand-logo { width: 64px; height: 42px; }
      .header-actions { display: flex; margin-left: auto; flex: 0 0 auto; min-width: 44px; }
      .brand-text { display: none; }
      .header-actions .lang-select, .header-actions .theme-toggle { display: none; }
      .mobile-toggle { display: inline-grid; flex: 0 0 44px; }
      .navbar { min-height: 66px; }
      .hero-content { width: 100%; max-width: 100%; min-width: 0; }
      .hero h1 { max-width: 100%; overflow-wrap: break-word; }
      .grid-4, .logo-grid { grid-template-columns: 1fr; }
      .cluster .btn { width: 100%; }
      .contact-card-actions { display: grid; grid-template-columns: 1fr; }
      .contact-card-actions .btn { width: 100%; }
      .contact-submit-btn { width: 100%; }
      .hero { min-height: 660px; }
      .hero-controls { width: 100%; justify-content: space-between; }
      .timeline { --tl-node: 60px; }
      .floating-actions { right: .65rem; bottom: .65rem; }
      .floating-actions {
        opacity: 0;
        pointer-events: none;
        transform: translateY(8px);
        transition: opacity var(--transition), transform var(--transition);
      }
      .floating-actions.show-quick {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }
      .floating-actions .icon-btn { width: 42px; height: 42px; }
      .chatbot { left: .75rem; bottom: .75rem; }
      .chatbot-launcher { min-height: 50px; padding: .68rem .85rem; }
      .chatbot-panel {
        width: calc(100vw - 1.5rem);
        height: min(610px, calc(100dvh - 1.5rem));
        max-height: calc(100dvh - 1.5rem);
        border-radius: 16px;
      }
    }

.is-hidden,
[hidden] {
  display: none !important;
}

.language-form {
  margin: 0;
}

.errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-error);
  font-size: var(--text-sm);
}

/* ---- Our team ---- */
.team-grid { align-items: stretch; }

.team-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-primary);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover,
.team-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  outline: none;
}

.team-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg,
    var(--color-primary),
    color-mix(in srgb, var(--color-primary) 55%, #000));
}
.team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transform: scale(1.02);
  transition: transform .6s cubic-bezier(.2, .7, .3, 1), filter .5s ease;
}
.team-card:hover .team-media img,
.team-card:focus-visible .team-media img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.09);
}
.team-initials {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: .08em;
  color: color-mix(in srgb, #fff 75%, transparent);
}

/* Scrim so the text stays legible over any photo. */
.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    color-mix(in srgb, #0b1a2b 92%, transparent) 0%,
    color-mix(in srgb, #0b1a2b 55%, transparent) 32%,
    transparent 68%);
  opacity: .85;
  transition: opacity var(--transition);
  pointer-events: none;
}
.team-card:hover::after,
.team-card:focus-visible::after { opacity: 1; }

.team-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.1rem 1.15rem 1.25rem;
  color: #fff;
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows .5s cubic-bezier(.2, .7, .3, 1);
}
.team-card:hover .team-overlay,
.team-card:focus-visible .team-overlay { grid-template-rows: auto 1fr; }

.team-name-row { display: block; }
.team-name {
  margin: 0;
  color: #fff;
  font-size: var(--text-lg, 1.15rem);
  line-height: 1.25;
  transform: translateY(6px);
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.team-card:hover .team-name,
.team-card:focus-visible .team-name { transform: translateY(0); }
.team-name::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: .45rem;
  background: var(--color-secondary-2, #fff);
  transition: width .5s cubic-bezier(.2, .7, .3, 1);
}
.team-card:hover .team-name::after,
.team-card:focus-visible .team-name::after { width: 38px; }

.team-reveal { overflow: hidden; }
.team-role {
  margin: .5rem 0 0;
  font-weight: 700;
  font-size: var(--text-sm, .9rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: color-mix(in srgb, #fff 82%, transparent);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease .1s, transform .5s cubic-bezier(.2, .7, .3, 1) .1s;
}
.team-card:hover .team-role,
.team-card:focus-visible .team-role {
  opacity: 1;
  transform: translateY(0);
}

/* Touch / no-hover devices: show everything, no animation to trigger. */
@media (hover: none) {
  .team-overlay { grid-template-rows: auto 1fr; }
  .team-name { transform: none; }
  .team-name::after { width: 38px; }
  .team-role { opacity: 1; transform: none; }
  .team-media img { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-overlay,
  .team-name,
  .team-name::after,
  .team-role,
  .team-media img { transition: none; }
}
