/* ===== Brand tokens (per AddQual 2026 Brand Guidelines) ===== */
  :root {
    --aq-blue: #2D3280;
    --aq-blue-dark: #1A1E4D;
    --aq-blue-light: #4147A0;
    --aq-grey: #757575;
    --aq-grey-dark: #3F3F3F;
    --aq-light-grey: #E9EAEA;
    --aq-bg: #F5F6F8;
    --digital-teal: #028090;
    --digital-teal-dark: #016775;
    --white: #FFFFFF;
    --black: #0D0D0D;

    --border: rgba(45, 50, 128, 0.12);
    --shadow-sm: 0 1px 2px rgba(13, 13, 13, 0.04);
    --shadow-md: 0 4px 16px rgba(13, 13, 13, 0.06);
    --shadow-lg: 0 24px 60px rgba(13, 13, 13, 0.10);

    --max-width: 1200px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
  }

  /* ===== Reset / Base ===== */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.55;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  img { max-width: 100%; height: auto; display: block; }
  a { color: var(--aq-blue); text-decoration: none; transition: color .2s; }
  a:hover { color: var(--digital-teal); }
  button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }

  /* ===== Typography ===== */
  h1, h2, h3, h4 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--black);
  }
  h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); letter-spacing: -0.035em; }
  h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); letter-spacing: -0.025em; }
  h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.015em; }
  h4 { font-size: 1.0625rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--aq-blue); font-weight: 700; }
  p { color: var(--aq-grey-dark); }
  p.lead { font-size: 1.25rem; line-height: 1.5; color: var(--aq-grey-dark); }
  .eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--aq-blue);
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .eyebrow.teal { color: var(--digital-teal); }
  .eyebrow.white { color: rgba(255,255,255,.85); }

  /* ===== Layout primitives ===== */
  .container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }
  section { padding: clamp(4rem, 8vw, 7rem) 0; }
  .section-dark { background: var(--aq-blue); color: var(--white); }
  .section-dark p { color: rgba(255,255,255,.78); }
  .section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
  .section-light { background: var(--aq-bg); }

  /* ===== Top nav ===== */
  .nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }
  .brand {
    /* Brand Guidelines v3.1.1 §02 — the AddQual | Intelligent Solutions lockup is the
       only approved corporate-level mark. Never re-drawn, re-coloured or re-spaced. */
    display: flex; align-items: center;
    line-height: 0;
  }
  .brand__lockup {
    height: 30px; width: auto;
    display: block;
  }
  
  
  .nav-links { display: flex; gap: 2rem; align-items: center; }
  .nav-link {
    font-size: 0.95rem;
    color: var(--aq-grey-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
  }
  .nav-link:hover { color: var(--aq-blue); }
  .nav-link.active { color: var(--aq-blue); border-bottom-color: var(--aq-blue); }
  .nav-cta {
    background: var(--aq-blue);
    color: var(--white) !important;
    padding: 0.65rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background .2s, transform .15s;
  }
  .nav-cta:hover { background: var(--aq-blue-dark); transform: translateY(-1px); }
  .mobile-toggle { display: none; }

  @media (max-width: 880px) {
    .nav-links { display: none; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 1.5rem var(--gutter); border-bottom: 1px solid var(--border); gap: 1rem; }
    .nav-cta { align-self: stretch; text-align: center; }
    .mobile-toggle { display: block; background: var(--aq-blue); color: var(--white); padding: 0.5rem 0.9rem; border-radius: 4px; font-weight: 600; font-size: 0.85rem; }
  }

  /* ===== Buttons ===== */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.65rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background .2s, transform .15s, box-shadow .2s;
    cursor: pointer;
    text-decoration: none;
  }
  .btn-primary {
    background: var(--aq-blue);
    color: var(--white);
  }
  .btn-primary:hover { background: var(--aq-blue-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--white); }
  .btn-teal { background: var(--digital-teal); color: var(--white); }
  .btn-teal:hover { background: var(--digital-teal-dark); color: var(--white); }
  .btn-outline {
    background: transparent;
    color: var(--aq-blue);
    border: 1.5px solid var(--aq-blue);
  }
  .btn-outline:hover { background: var(--aq-blue); color: var(--white); }
  .btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.7);
  }
  .btn-outline-white:hover { background: var(--white); color: var(--aq-blue); }
  .btn-arrow { display: inline-flex; align-items: center; gap: .4rem; }
  .btn-arrow::after { content: '→'; transition: transform .2s; }
  .btn-arrow:hover::after { transform: translateX(3px); }

  /* ===== Hero ===== */
  .hero {
    padding-top: clamp(4rem, 8vw, 7rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
    position: relative;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
  }
  .hero-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    background: var(--aq-light-grey);
    position: relative;
  }
  .hero-image img { width: 100%; height: 100%; object-fit: cover; }
  .hero-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(45,50,128,0.15));
    pointer-events: none;
  }
  .hero-headline {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
  }
  .hero-headline .accent { color: var(--aq-blue); }
  .hero-sub {
    font-size: 1.2rem;
    color: var(--aq-grey-dark);
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 36rem;
  }
  .hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
  @media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image { order: -1; aspect-ratio: 16/10; }
  }

  /* Hero with a photographic backdrop (home page).
     The scrim is what makes the white type legible — do not lighten it without
     re-checking contrast against the brightest part of the photo. */
  .hero--photo {
    background-color: #14163C;
    background-image: url('../images/home-hero-backdrop-small.jpg');
    background-size: cover;
    background-position: 62% center;
    padding-top: clamp(5rem, 9vw, 8rem);
    padding-bottom: clamp(5rem, 9vw, 8rem);
  }
  @media (min-width: 1101px) {
    .hero--photo { background-image: url('../images/home-hero-backdrop.jpg'); }
  }
  .hero--photo::before {
    content: '';
    position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(16,18,50,.94) 0%, rgba(16,18,50,.86) 48%, rgba(16,18,50,.42) 100%),
      linear-gradient(rgba(16,18,50,.30), rgba(16,18,50,.30));
    pointer-events: none;
  }
  .hero--photo .container { position: relative; z-index: 1; }
  .hero--photo .hero-grid { grid-template-columns: minmax(0, 46rem); }
  .hero--photo .eyebrow { color: rgba(255,255,255,.78); }
  .hero--photo .hero-headline { color: #FFFFFF; }
  .hero--photo .hero-headline .accent { color: #AFB6FF; }
  .hero--photo .hero-sub { color: rgba(255,255,255,.90); }
  /* On the dark hero the blue primary button disappears — invert it. */
  .hero--photo .btn-primary { background: var(--white); color: var(--aq-blue); border-color: var(--white); }
  .hero--photo .btn-primary:hover { background: rgba(255,255,255,.88); color: var(--aq-blue-dark); }
  @media (max-width: 880px) {
    .hero--photo { background-position: 58% center; }
    .hero--photo::before {
      background:
        linear-gradient(rgba(16,18,50,.90), rgba(16,18,50,.90));
    }
  }

  /* The two delivery routes under the opening statement (Home and About).
     Light by default for the page hero; the photographic hero inverts it. */
  .hero-routes {
    max-width: 36rem;
    margin: 0 0 2rem;
    padding-left: 1.1rem;
    border-left: 3px solid var(--aq-blue);
    display: grid;
    gap: .7rem;
  }
  .hero-routes p { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--aq-grey-dark); }
  .hero-routes strong { color: var(--aq-blue); font-weight: 700; }
  .page-hero .hero-routes { margin-top: 1.5rem; margin-bottom: 0; }
  .hero--photo .hero-routes { margin-top: -0.5rem; border-left-color: #AFB6FF; }
  .hero--photo .hero-routes p { color: rgba(255,255,255,.88); }
  .hero--photo .hero-routes strong { color: #FFFFFF; }

  /* Hero precision marks (subtle blueprint detail) */
  .hero-precision {
    position: absolute;
    top: 0; right: 0;
    width: 220px; height: 220px;
    background-image:
      linear-gradient(var(--border) 1px, transparent 1px),
      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .5;
    pointer-events: none;
    mask-image: radial-gradient(circle at top right, black, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at top right, black, transparent 70%);
  }

  /* ===== Five Core Sales Messages ===== */
  .messages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
  }
  .message-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem 1.75rem;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
  }
  .message-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--aq-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
  }
  .message-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
  .message-card:hover::before { transform: scaleX(1); }
  .message-number {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--aq-blue);
    margin-bottom: 0.75rem;
    display: block;
  }
  .message-card.teal .message-number { color: var(--digital-teal); }
  .message-card.teal::before { background: var(--digital-teal); }
  .message-headline {
    font-size: 1.125rem;
    line-height: 1.35;
    margin-bottom: 0.85rem;
    color: var(--black);
    font-weight: 700;
  }
  .message-pain {
    font-size: 0.95rem;
    color: var(--aq-grey);
    line-height: 1.5;
  }

  /* ===== Divisions ===== */
  .divisions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .division-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.25rem 2rem 2rem;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
  }
  .division-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .division-card .tag {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--aq-blue);
    font-weight: 700;
    margin-bottom: 0.85rem;
  }
  .division-card.software .tag { color: var(--digital-teal); }
  .division-card h3 { margin-bottom: 0.85rem; }
  .division-card p { font-size: 0.95rem; margin-bottom: 1.5rem; flex: 1; }
  .division-card .link {
    font-weight: 600;
    color: var(--aq-blue);
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: 0.95rem;
  }
  .division-card.software .link { color: var(--digital-teal); }
  .division-card .link::after { content: '→'; transition: transform .2s; }
  .division-card .link:hover::after { transform: translateX(3px); }

  /* ===== Trust block ===== */
  .trust {
    background: var(--aq-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
  }
  .trust-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
  }
  .trust-text {
    font-size: 1.1rem;
    color: var(--aq-grey-dark);
    font-weight: 500;
    max-width: 600px;
    line-height: 1.4;
  }
  .trust-text strong { color: var(--black); font-weight: 700; }
  .accreditations {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  .accred-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem 1.1rem;
    border: 1.5px solid var(--aq-blue);
    border-radius: 4px;
    background: var(--white);
    min-width: 92px;
  }
  .accred-badge strong { font-size: 0.95rem; color: var(--aq-blue); font-weight: 800; letter-spacing: 0.04em; }
  .accred-badge span { font-size: 0.65rem; color: var(--aq-grey); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }

  @media (max-width: 720px) {
    .trust-inner { grid-template-columns: 1fr; }
  }

  /* ===== Two-column generic ===== */
  .two-col {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
  }
  .two-col-image {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--aq-light-grey);
    position: relative;
  }
  .two-col-image img { width: 100%; height: 100%; object-fit: cover; }
  @media (max-width: 820px) {
    .two-col { grid-template-columns: 1fr; }
  }

  /* ===== Capability list ===== */
  .capabilities {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .capabilities li {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
  .capabilities li:last-child { border-bottom: 0; }
  .capabilities .num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--aq-blue);
    letter-spacing: 0.05em;
    min-width: 2rem;
  }
  .capabilities strong { display: block; font-size: 1.05rem; color: var(--black); margin-bottom: 0.25rem; font-weight: 700; }
  .capabilities span { font-size: 0.95rem; color: var(--aq-grey); }

  /* ===== Standards strip ===== */
  .standards {
    background: var(--aq-bg);
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .standards-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    align-items: center;
  }
  .standards-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--aq-blue);
    font-weight: 700;
  }
  .standards-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--aq-grey-dark);
    font-weight: 600;
    font-size: 0.95rem;
  }
  .standards-list span { white-space: nowrap; }

  /* ===== MiDAS modules ===== */
  .modules {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .module {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.25rem 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: start;
  }
  .module .code {
    background: var(--digital-teal);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    height: fit-content;
  }
  .module h3 { margin-bottom: 0.5rem; }
  .module h3 .teal { color: var(--digital-teal); }
  .module-target {
    font-size: 0.85rem;
    color: var(--aq-grey);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
  .module-target strong { color: var(--aq-grey-dark); font-weight: 700; }
  .module-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--digital-teal);
    white-space: nowrap;
  }
  @media (max-width: 720px) {
    .module { grid-template-columns: 1fr; gap: 1rem; }
    .module .code { justify-self: start; }
  }

  /* ===== Resources / blog ===== */
  .resource-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
  }
  @media (max-width: 820px) {
    .resource-grid { grid-template-columns: 1fr; }
  }
  .assessment-card {
    background: linear-gradient(135deg, var(--aq-blue) 0%, var(--aq-blue-light) 100%);
    color: var(--white);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
  }
  .assessment-card::after {
    content: '';
    position: absolute;
    bottom: -30%; right: -10%;
    width: 280px; height: 280px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
  }
  .assessment-card::before {
    content: '';
    position: absolute;
    bottom: -20%; right: -5%;
    width: 200px; height: 200px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
  }
  .assessment-card .eyebrow { color: rgba(255,255,255,.7); margin-bottom: 1rem; }
  .assessment-card h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.5rem; }
  .assessment-card p { color: rgba(255,255,255,.85); margin-bottom: 1.75rem; }
  .assessment-card .btn { position: relative; z-index: 1; }
  .blog-list { display: flex; flex-direction: column; gap: 0; }
  .blog-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    display: block;
    color: inherit;
    transition: color .2s;
  }
  .blog-item:hover h4 { color: var(--aq-blue); }
  .blog-item:first-child { padding-top: 0; }
  .blog-item .meta {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--aq-grey);
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  .blog-item h4 {
    text-transform: none;
    letter-spacing: -0.01em;
    color: var(--black);
    font-size: 1.1rem;
    line-height: 1.35;
    transition: color .2s;
  }

  /* ===== Team ===== */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  /* Four leaders: 4-across on wide, 2x2 at tablet, single column on phones.
     Capped width so four circular portraits don't balloon on a large screen. */
  .team-grid--leadership { grid-template-columns: repeat(4, 1fr); max-width: 880px; }
  @media (max-width: 860px) { .team-grid--leadership { grid-template-columns: repeat(2, 1fr); max-width: 460px; } }
  @media (max-width: 460px) { .team-grid--leadership { grid-template-columns: 1fr; max-width: 240px; } }
  .team-member {
    text-align: center;
  }
  .team-photo {
    width: 100%;
    aspect-ratio: 1;
    background: var(--aq-light-grey);
    border-radius: 50%;
    margin-bottom: 1rem;
    display: grid;
    place-items: center;
    color: var(--aq-blue);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    border: 1px solid var(--border);
  }
  .team-photo.photo { background-size: cover; background-position: center top; color: transparent; font-size: 0; border-color: var(--border); }
  .team-name { font-weight: 700; color: var(--black); margin-bottom: 0.25rem; font-size: 1rem; }
  .team-role { font-size: 0.85rem; color: var(--aq-grey); }
  .team-note { margin-top: 2rem; font-size: 0.85rem; color: var(--aq-grey); text-align: center; padding: 0.75rem 1rem; background: #FFF7E6; border: 1px solid #F0D9A0; border-radius: 4px; }

  /* ===== Contact forms ===== */
  .contact-routes {
    display: grid;
    /* auto-fit orphaned the 4th card onto a row of its own at laptop widths,
       visually demoting the Calendly route — which is the highest-converting
       one. Fixed 2x2 at mid widths, 4-across on wide screens. */
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
  }
  @media (min-width: 1180px) { .contact-routes { grid-template-columns: repeat(4, 1fr); } }
  @media (max-width: 640px)  { .contact-routes { grid-template-columns: 1fr; } }
  /* Anchor offset so a scrolled-to section doesn't hide under the header. */
  #contact-form-section, #contact-calendly-section { scroll-margin-top: 96px; }
  .contact-route {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.25rem 2rem;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    text-align: left;
    width: 100%;
    cursor: pointer;
  }
  .contact-route:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--aq-blue); }
  .contact-route:focus-visible { outline: 3px solid var(--aq-blue); outline-offset: 2px; }
  /* Selection was signalled only by a faint ring — too weak to read as state.
     Now: solid border, tinted ground, and a check mark that does not rely on colour alone. */
  .contact-route.active {
    border-color: var(--aq-blue);
    border-width: 2px;
    padding: calc(2.25rem - 1px) calc(2rem - 1px);
    background: #F7F8FD;
    box-shadow: 0 0 0 3px rgba(45,50,128,0.12);
  }
  .contact-route.active h4::after {
    content: " \2713";
    color: var(--aq-blue);
    font-weight: 700;
  }
  @media (prefers-reduced-motion: reduce) {
    .contact-route, .contact-route:hover { transition: none; transform: none; }
  }
  .contact-route .eyebrow { margin-bottom: 0.5rem; }
  .contact-route h4 { color: var(--black); text-transform: none; letter-spacing: -0.01em; font-size: 1.15rem; margin-bottom: 0.5rem; }
  .contact-route p { font-size: 0.9rem; color: var(--aq-grey); }
  .contact-form {
    margin-top: 3rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 640px;
  }
  .form-group { margin-bottom: 1.25rem; }
  .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--aq-grey-dark);
    letter-spacing: 0.02em;
  }
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--black);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
  }
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--aq-blue);
    box-shadow: 0 0 0 3px rgba(45,50,128,0.1);
  }
  .form-group textarea { min-height: 110px; resize: vertical; }
  .form-consent { border-left: 2px solid var(--aq-light-grey); padding-left: 0.85rem; }
.form-note {
    font-size: 0.85rem;
    color: var(--aq-grey);
    margin-top: 1rem;
  }

  /* ===== Big CTA strip ===== */
  .big-cta {
    background: var(--aq-blue);
    color: var(--white);
    text-align: center;
    padding: clamp(4rem, 8vw, 6rem) var(--gutter);
    position: relative;
    overflow: hidden;
  }
  .big-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(65, 71, 160, 0.4), transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(2, 128, 144, 0.25), transparent 55%);
    pointer-events: none;
  }
  .big-cta .container { position: relative; z-index: 1; }
  .big-cta h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 1rem; }
  .big-cta p { color: rgba(255,255,255,.85); max-width: 36rem; margin: 0 auto 2rem; font-size: 1.125rem; }

  /* ===== Footer ===== */
  .footer {
    background: var(--black);
    color: rgba(255,255,255,.7);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
  }
  @media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
  @media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
  .footer h5 {
    color: var(--white);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700;
  }
  .footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
  .footer a { color: rgba(255,255,255,.7); }
  .footer a:hover { color: var(--white); }
  .footer-brand { color: var(--white); font-weight: 800; font-size: 1.25rem; margin-bottom: 1rem; }
  .footer-tagline { color: rgba(255,255,255,.6); max-width: 280px; line-height: 1.5; }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 1.75rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,.5);
  }

  /* ===== Section header ===== */
  .section-header {
    max-width: 720px;
    margin-bottom: 1rem;
  }
  .section-header.center { margin: 0 auto 1rem; text-align: center; }
  .section-header h2 { margin-bottom: 1rem; }
  .section-header p { font-size: 1.1rem; }

  /* ===== Page transitions ===== */
  .page { display: none; }
  .page.active { display: block; animation: fadeIn .35s ease-out; }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ===== Assessment styles ===== */
  .assessment-view { background: var(--aq-bg); min-height: 100vh; padding-bottom: 4rem; }
  .assessment-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
    position: sticky; top: 0; z-index: 50;
  }
  .assessment-header-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
  }
  .assessment-exit { font-size: 0.85rem; color: var(--aq-grey); font-weight: 500; }
  .assessment-exit:hover { color: var(--aq-blue); }
  .assessment-progress {
    height: 6px; background: var(--aq-light-grey); border-radius: 3px; overflow: hidden;
  }
  .assessment-progress-bar {
    height: 100%; background: var(--aq-blue); border-radius: 3px;
    transition: width .4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
  }
  .assessment-counter { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aq-grey); font-weight: 700; }

  .assessment-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem var(--gutter) 0;
  }
  .assessment-section-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--aq-blue);
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .assessment-question {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--black);
    font-weight: 700;
  }
  .assessment-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-top: 1.5rem;
    padding: 0.9rem 1rem;
    background: var(--aq-bg);
    border: 1px solid var(--aq-light-grey);
    border-radius: 4px;
  }
  .assessment-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 auto;
    accent-color: var(--aq-blue);
    cursor: pointer;
  }
  .assessment-consent label {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--aq-grey-dark, #4A4A4A);
    cursor: pointer;
    margin: 0;
  }
  .assessment-consent input[type="checkbox"]:focus-visible {
    outline: 3px solid var(--aq-blue);
    outline-offset: 2px;
  }
  .assessment-consent-error {
    margin: 0.6rem 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #B3261E;
  }
  .assessment-consent-error[hidden] { display: none; }

  .assessment-hint {
    font-size: 0.95rem; color: var(--aq-grey); margin-bottom: 2rem; line-height: 1.5;
  }
  .assessment-options { display: flex; flex-direction: column; gap: 0.75rem; }
  .assessment-option {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .1s;
    text-align: left;
    font-size: 1rem;
    color: var(--black);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.85rem;
  }
  .assessment-option:hover { border-color: var(--aq-blue); transform: translateX(2px); }
  .assessment-option.selected {
    border-color: var(--aq-blue);
    background: rgba(45, 50, 128, 0.05);
  }
  .assessment-option-marker {
    width: 22px; height: 22px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    transition: border-color .2s, background .2s;
  }
  .assessment-option.selected .assessment-option-marker {
    border-color: var(--aq-blue);
    background: var(--aq-blue);
  }
  .assessment-option.selected .assessment-option-marker::after {
    content: '';
    width: 8px; height: 8px;
    background: var(--white);
    border-radius: 50%;
  }
  .assessment-option.multi .assessment-option-marker { border-radius: 4px; }
  .assessment-option.multi.selected .assessment-option-marker::after {
    content: '✓';
    color: var(--white);
    background: transparent;
    width: auto; height: auto;
    font-size: 12px;
    font-weight: 700;
  }
  .assessment-option .rank-num {
    background: var(--aq-blue);
    color: var(--white);
    width: 22px; height: 22px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .assessment-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--black);
    background: var(--white);
    line-height: 1.5;
    min-height: 120px;
    resize: vertical;
    transition: border-color .2s, box-shadow .2s;
  }
  .assessment-textarea:focus {
    outline: none;
    border-color: var(--aq-blue);
    box-shadow: 0 0 0 3px rgba(45,50,128,0.1);
  }

  .assessment-actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  .assessment-back {
    background: transparent;
    color: var(--aq-grey);
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
  .assessment-back:hover { color: var(--aq-blue); }
  .assessment-back::before { content: '←'; }
  .assessment-back:disabled { opacity: 0; pointer-events: none; }

  .assessment-continue {
    background: var(--aq-blue);
    color: var(--white);
    padding: 0.85rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background .2s, transform .15s;
  }
  .assessment-continue:hover:not(:disabled) { background: var(--aq-blue-dark); transform: translateY(-1px); }
  .assessment-continue:disabled { opacity: 0.4; cursor: not-allowed; }
  .assessment-continue::after { content: '→'; }

  /* Welcome screen */
  .assessment-welcome { text-align: center; padding: 4rem 0 2rem; }
  .assessment-welcome h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
  .assessment-welcome p { font-size: 1.15rem; color: var(--aq-grey-dark); max-width: 540px; margin: 0 auto 2rem; }
  .assessment-welcome .btn { font-size: 1.05rem; padding: 1rem 2rem; }
  .assessment-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem auto 0;
    max-width: 640px;
    text-align: center;
  }
  @media (max-width: 600px) { .assessment-features { grid-template-columns: 1fr; gap: 1rem; } }
  .assessment-feature {
    font-size: 0.85rem;
    color: var(--aq-grey);
  }
  .assessment-feature strong { display: block; color: var(--aq-blue); font-size: 1.5rem; margin-bottom: 0.25rem; }

  /* Contact step */
  .assessment-contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    margin-top: 0.5rem;
  }
  @media (max-width: 520px) { .assessment-contact-grid { grid-template-columns: 1fr; } }

  /* Results screen */
  .results-section { background: var(--white); border-radius: 12px; padding: 2.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
  .results-score-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
  }
  @media (max-width: 640px) { .results-score-wrap { grid-template-columns: 1fr; text-align: center; } }
  .results-score-ring {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: conic-gradient(var(--aq-blue) calc(var(--score) * 1%), var(--aq-light-grey) 0);
    display: grid;
    place-items: center;
    position: relative;
  }
  .results-score-ring::before {
    content: '';
    position: absolute;
    inset: 12px;
    background: var(--white);
    border-radius: 50%;
  }
  .results-score-number {
    position: relative;
    z-index: 1;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--aq-blue);
    letter-spacing: -0.04em;
  }
  .results-score-label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aq-blue); font-weight: 700; margin-bottom: 0.5rem; }
  .results-score-banner { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--black); margin-bottom: 0.5rem; }
  .results-score-text { color: var(--aq-grey-dark); font-size: 1rem; line-height: 1.5; }

  .dim-bars { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
  .dim-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: baseline;
  }
  .dim-bar-label { font-size: 0.9rem; font-weight: 600; color: var(--black); }
  .dim-bar-label small { display: block; font-weight: 400; color: var(--aq-grey); font-size: 0.8rem; margin-top: 0.15rem; }
  .dim-bar-value { font-weight: 700; color: var(--aq-blue); font-size: 0.9rem; }
  .dim-bar-track { grid-column: 1 / -1; height: 8px; background: var(--aq-light-grey); border-radius: 4px; overflow: hidden; }
  .dim-bar-fill { height: 100%; background: var(--aq-blue); border-radius: 4px; transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
  .dim-bar.teal .dim-bar-fill { background: var(--digital-teal); }
  .dim-bar.teal .dim-bar-value { color: var(--digital-teal); }

  .recommendations { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
  .rec-card {
    border: 1.5px solid var(--border);
    border-left: 4px solid var(--aq-blue);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
    background: var(--aq-bg);
  }
  .rec-card.teal { border-left-color: var(--digital-teal); }
  .rec-card h4 {
    text-transform: none;
    letter-spacing: -0.01em;
    color: var(--black);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
  }
  .rec-card p { font-size: 0.93rem; color: var(--aq-grey-dark); line-height: 1.5; }
  .rec-tag {
    display: inline-block;
    background: var(--aq-blue);
    color: var(--white);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 2px;
    margin-bottom: 0.5rem;
    font-weight: 700;
  }
  .rec-card.teal .rec-tag { background: var(--digital-teal); }

  /* Calendly embed area */
  .calendly-section { background: var(--aq-blue); color: var(--white); border-radius: 12px; padding: 2.5rem; margin-top: 1.5rem; }
  .calendly-section h3 { color: var(--white); margin-bottom: 0.5rem; }
  .calendly-section p { color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }
  .calendly-placeholder {
    background: rgba(255,255,255,0.07);
    border: 1.5px dashed rgba(255,255,255,0.25);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: rgba(255,255,255,.85);
  }
  .calendly-placeholder code {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,.65);
    font-family: 'Courier New', monospace;
    background: rgba(0,0,0,.18);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    word-break: break-all;
  }
  .calendly-inline-widget {
    min-width: 320px;
    height: 700px;
    background: var(--white);
    border-radius: 8px;
  }
  /* Force the container and the iframe Calendly injects to full height — no internal scroll */
  .calendly-container {
    height: 700px;
    min-height: 700px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
  }
  .calendly-container .calendly-inline-widget {
    height: 700px !important;
    min-height: 700px !important;
    width: 100%;
  }
  .calendly-container iframe {
    height: 700px !important;
    min-height: 700px !important;
    width: 100% !important;
    border: none !important;
    display: block;
  }

  .results-cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

  /* ===== Legal pages (privacy & cookies) and sitemap ===== */
  .legal-prose { max-width: 74ch; }
  .legal-prose h2 { font-size: clamp(1.35rem, 2vw, 1.6rem); margin: 2.75rem 0 0.85rem; }
  .legal-prose h3 { font-size: 1.08rem; margin: 1.85rem 0 0.6rem; color: var(--aq-blue); }
  .legal-prose p, .legal-prose li { color: var(--aq-grey); line-height: 1.7; }
  .legal-prose p + p { margin-top: 1rem; }
  .legal-prose ul, .legal-prose ol { margin: 0.85rem 0 1rem; padding-left: 1.35rem; }
  .legal-prose li + li { margin-top: 0.45rem; }
  .legal-prose strong { color: var(--black); }
  .legal-prose a { text-decoration: underline; }
  .legal-prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
  .legal-table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--border); border-radius: 6px; }
  .legal-tbl { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 480px; }
  .legal-tbl th, .legal-tbl td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--aq-grey); }
  .legal-tbl th { background: var(--aq-light-grey); color: var(--black); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
  .legal-tbl tr:last-child td { border-bottom: 0; }
  .sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; }
  .sitemap-grid h3 { margin-bottom: 1rem; }
  .sitemap-list { list-style: none; padding: 0; margin: 0; }
  .sitemap-list li { padding: 0.7rem 0; border-top: 1px solid var(--border); }
  .sitemap-list a { font-weight: 700; display: block; }
  .sitemap-list a:hover { color: var(--digital-teal); }
  .sitemap-list span { display: block; font-size: 0.85rem; color: var(--aq-grey); margin-top: 0.15rem; line-height: 1.45; }

  /* ===== Generic prose for About / Solutions ===== */
  .prose p + p { margin-top: 1.25rem; }
  .prose { max-width: 720px; }
  .prose p { font-size: 1.0625rem; line-height: 1.65; }

  /* ===== Page hero (smaller than home hero) ===== */
  .page-hero {
    background: var(--aq-bg);
    border-bottom: 1px solid var(--border);
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  }
  .page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 1rem;
    max-width: 800px;
  }
  .page-hero .lead { max-width: 640px; }

  /* ===== Problem-first homepage sections (added 17 Sep 2026) ===== */
  .tabs { margin-top: 2.5rem; }
  .tablist { display: none; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
  .tabs--ready .tablist { display: flex; }
  .tab {
    font-size: .9375rem; font-weight: 700; letter-spacing: .01em;
    padding: .7rem 1.4rem; border-radius: 999px;
    border: 1px solid var(--border); background: var(--white); color: var(--aq-grey-dark);
    transition: background .2s, color .2s, border-color .2s;
  }
  .tab:hover { border-color: var(--aq-blue); color: var(--aq-blue); }
  .tab[aria-selected="true"] { background: var(--aq-blue); border-color: var(--aq-blue); color: var(--white); }
  .tabpanel:focus { outline: none; }
  .tabpanel + .tabpanel { margin-top: 2.5rem; }
  .tabs--ready .tabpanel + .tabpanel { margin-top: 0; }

  .problems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  @media (max-width: 860px) { .problems { grid-template-columns: 1fr; } }
  .problem {
    background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--aq-blue);
    border-radius: 4px; padding: 1.5rem 1.75rem;
  }
  .problem h3 { font-size: 1.125rem; line-height: 1.3; margin-bottom: .75rem; }
  .problem p { font-size: .9375rem; line-height: 1.6; }
  .problem p + p { margin-top: .6rem; }
  .problem strong { color: var(--black); }

  .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  @media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
  .pillar { text-align: center; padding: 0 1rem; }
  .pillar h3 { font-size: 1.5rem; color: var(--aq-blue); margin-bottom: .75rem; letter-spacing: -0.02em; }
  .pillar p { font-size: .9375rem; line-height: 1.6; }

  .scenarios { list-style: none; max-width: 820px; margin: 0 auto; padding: 0; }
  .scenarios li {
    position: relative; padding: 1rem 0 1rem 2.25rem; border-bottom: 1px solid var(--border);
    color: var(--aq-grey-dark); font-size: 1.0625rem; line-height: 1.55;
  }
  .scenarios li::before {
    content: "→"; position: absolute; left: 0; top: 1rem; color: var(--aq-blue); font-weight: 700;
  }
  .scenarios-note { max-width: 820px; margin: 1.75rem auto 0; text-align: center; font-size: .9375rem; }

  /* ===== Glossary ===== */
  .glossary { max-width: 820px; margin: 0 auto; }
  .glossary dt { font-weight: 700; color: var(--black); margin-top: 1.75rem; font-size: 1.0625rem; }
  .glossary dt:first-of-type { margin-top: 0; }
  .glossary dd { margin: .4rem 0 0; color: var(--aq-grey-dark); line-height: 1.65; }
  .jargon-note { display: block; margin-top: .6rem; font-size: .875rem; color: var(--aq-grey); }

  /* ===== Cookie consent banner (added 19 Sep 2026) ===== */
  .consent {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: var(--white); border-top: 1px solid var(--border);
    box-shadow: 0 -8px 32px rgba(13,13,13,.10);
    transform: translateY(110%); transition: transform .25s ease-out;
  }
  .consent--open { transform: translateY(0); }
  .consent-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 1.25rem var(--gutter);
    display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
  }
  .consent-text { font-size: .9375rem; line-height: 1.55; color: var(--aq-grey-dark); max-width: 60ch; }
  .consent-text a { text-decoration: underline; text-underline-offset: 2px; }
  .consent-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
  .consent-actions .btn { white-space: nowrap; }
  @media (max-width: 600px) {
    .consent-inner { padding: 1rem var(--gutter); gap: 1rem; }
    .consent-actions { width: 100%; }
    .consent-actions .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
  }
  @media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

  /* Third-party embed that waits for a click (Calendly) */
  .embed-consent { background: var(--aq-blue); color: var(--white); border-radius: 4px; padding: 2rem; text-align: center; }
  .embed-consent p { color: rgba(255,255,255,.85); max-width: 46ch; margin: .5rem auto 1.25rem; font-size: .9375rem; }
  .footer-legal { max-width: 62ch; line-height: 1.5; }

  /* Skip link — keyboard users land on the content, not the menu (added 19 Sep 2026) */
  .skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 300;
    background: var(--aq-blue); color: var(--white);
    padding: .75rem 1.25rem; font-weight: 700; font-size: .9375rem; border-radius: 0 0 4px 0;
  }
  .skip-link:focus { left: 0; color: var(--white); }
