/* ==========================================================================
   Sigma Pro Media — Destination GUIDES landing page
   Tokens are mirrored into Tailwind via build/tailwind.config.js,
   so `text-brand-accent`, `font-serif`, etc. resolve to these values.
   Class names (spm-*, tour-*, vertical-tab-btn, reveal-*) are unchanged so
   spm.js continues to work.
   ========================================================================== */

/* --------------------------------------------------------------------------
   HOW THE COLORS WORK (read this first)
   1. The tokens below are the whole palette. Everything else looks them up.
   2. A "panel" is a big rounded section. By default it is light.
   3. Add  spm-panel--dark  to a panel and it turns navy. It does this by
      swapping the text tokens (headings white, body light grey), so any text
      inside automatically becomes readable on navy.
   4. Add  spm-panel--light-boxes  as well and the cards inside stay light
      stone-colored; they swap the text tokens back to dark for themselves.
   Current setup (see the class list on each <section> in the HTML):
      Platform, FAQs   spm-panel--dark + spm-panel--light-boxes
      Industries       spm-panel--dark only (dark glass box; its three
                       "at a glance" tiles are stone-colored like the cards)
      Accessibility, Contact   plain light panel
   To change a section's look, add or remove those classes. To change the
   card color for all navy sections at once, edit ".spm-panel--light-boxes .spm-box".
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
    --color-brand-navy: #0A1B33;          /* header, hero, footer */
    --color-brand-slate: #0F2542;         /* headings */
    --color-brand-slate-light: #2B3A4F;   /* lead copy */
    --color-brand-body: #4A5568;          /* body copy */
    --color-brand-light: #E4E8EC;         /* page background */
    --color-brand-accent: #0B5CAD;        /* links, primary actions */
    --color-brand-accent-hover: #0A4A8C;
    --color-brand-highlight: #C9A24B;     /* gold: accents on navy */
    --color-brand-highlight-soft: #E3C57F;
    --color-brand-muted: #667085;         /* placeholders */
    --color-surface: #FFFFFF;             /* cards, boxes, form fields */
    --color-surface-muted: #EAEFF5;       /* tinted wells */
    --color-border: #DCE2EA;
    --color-border-strong: #B9C3D0;

    --font-sans: 'Inter', system-ui, sans-serif;
    --font-serif: 'Newsreader', Georgia, serif;

    --header-height: 4.25rem;
    --hero-overlap: 4rem;                 /* how far the tour sits into the hero band */
    --radius-panel: 12px;
    --radius-box: 10px;
    --radius-control: 6px;

    --shadow-box: 0 1px 2px rgba(10, 27, 51, 0.05), 0 8px 24px -14px rgba(10, 27, 51, 0.16);
    --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
    :root { --hero-overlap: 8rem; }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
}

html, body {
    background-color: var(--color-brand-light);
    color: var(--color-brand-slate-light);
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
    outline: 3px solid var(--color-brand-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.site-header :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible {
    outline-color: var(--color-brand-highlight-soft);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: #FFFFFF;
    color: var(--color-brand-accent);
    font-weight: 600;
    border-radius: var(--radius-control);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: top 0.2s ease;
}

.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Header and wordmark
   -------------------------------------------------------------------------- */
.site-header {
    background-color: var(--color-brand-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #FFFFFF;
    text-decoration: none;
}

.brand-mark svg {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    color: var(--color-brand-highlight);
}

.brand-mark-name {
    font-family: var(--font-serif);
    font-size: 1.3125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
}

.brand-mark-name small {
    display: block;
    margin-top: 0.25rem;
    color: #A9B6C8;
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav-link {
    position: relative;
    padding: 4px 0;
    color: #C5CFDC;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover { color: #FFFFFF; }

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: var(--color-brand-highlight);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease-standard);
}

.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   Hero: deep navy band with a fine survey grid; the tour overlaps its edge
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 1.5rem calc(var(--hero-overlap) + 2.5rem);
    background-color: var(--color-brand-navy);
    background-image:
        radial-gradient(ellipse 70% 80% at 50% -10%, rgba(11, 92, 173, 0.45), transparent 70%),
        radial-gradient(ellipse 40% 50% at 100% 100%, rgba(201, 162, 75, 0.10), transparent 70%),
        linear-gradient(180deg, rgba(10, 27, 51, 0) 60%, #06111F 100%);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 20%, #000 20%, transparent 75%);
            mask-image: radial-gradient(ellipse 80% 90% at 50% 20%, #000 20%, transparent 75%);
    pointer-events: none;
}

.hero > * { position: relative; }

@media (min-width: 768px) {
    .hero { padding-top: 6rem; }
}

.hero-eyebrow {
    margin: 0 0 1.25rem;
    color: var(--color-brand-highlight);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 54rem;
    margin: 0 auto;
    color: #FFFFFF;
    font-family: var(--font-serif);
    font-size: clamp(2.0rem, 5.0vw, 3.5rem);
    font-weight: 450;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-wrap: balance;
    text-shadow: 2px 2px 1px rgba(128,96,0,1);
}

.hero-title em {
    color: var(--color-brand-highlight-soft);
    font-style: italic;
}

.hero-subtitle {
    max-width: 41rem;
    margin: 1.5rem auto 0;
    color: #C5CFDC;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.65;
    text-wrap: balance;
}

@media (min-width: 768px) {
    .hero-subtitle { font-size: 1.25rem; }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.875rem 1rem;
    margin-top: 2.25rem;
}

/* Intro narration toggle (ghost pill on navy) */
.spm-intro-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.25rem 0.625rem 0.875rem;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    color: #F1F5F9;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 3px 0 rgba(0, 0, 0, 0.35),
        0 8px 14px -6px rgba(0, 0, 0, 0.5);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.2s ease, filter 0.2s ease;
}

.spm-intro-btn:hover {
    border-color: rgba(255, 255, 255, 0.55);
    filter: brightness(1.2);
    transform: translateY(-1px);
}

.spm-intro-btn:active {
    transform: translateY(3px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 0 rgba(0, 0, 0, 0.35);
}

.spm-intro-btn svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--color-brand-highlight);
}

.spm-intro-btn .icon-pause { display: none; }
.spm-intro-btn[aria-pressed="true"] .icon-play { display: none; }
.spm-intro-btn[aria-pressed="true"] .icon-pause { display: block; }
.spm-intro-btn[aria-pressed="true"] { border-color: var(--color-brand-highlight); }

/* --------------------------------------------------------------------------
   Tour embed
   -------------------------------------------------------------------------- */
.tour-wrapper {
    position: relative;
    z-index: 5;
    width: min(100% - 2rem, calc(65vh * 2));
    aspect-ratio: 2 / 1;
    margin: calc(-1 * var(--hero-overlap)) auto 0;
}

.tour-iframe {
    display: block;
    width: 100%;
    height: 100%;
    background: #06111F;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(6, 17, 31, 0.15), 0 40px 80px -30px rgba(6, 17, 31, 0.65);
}

.tour-caption {
    margin: 1rem 0 0;
    color: var(--color-brand-body);
    font-size: 0.875rem;
    text-align: center;
}

/* Touch-device engagement overlay (a <button>, so it is keyboard-operable) */
.tour-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(10, 27, 51, 0.5);
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
    border: 0;
    border-radius: 12px;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: opacity 0.4s ease;
}

@media (max-width: 768px), (pointer: coarse) {
    .tour-overlay { display: flex; }
}

.tour-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.tour-overlay-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background-image: linear-gradient(180deg, #FFFFFF 0%, #E6ECF4 100%);
    color: var(--color-brand-accent);
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    box-shadow:
        inset 0 1px 0 #FFFFFF,
        0 3px 0 #9FB3CA,
        0 12px 25px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------------------------------------
   Proof band: four headline facts directly under the tour
   -------------------------------------------------------------------------- */
.stat-band {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
    max-width: 64rem;
    margin: 3.5rem auto 0;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .stat-band { grid-template-columns: repeat(4, 1fr); }
    .stat + .stat { border-left: 1px solid var(--color-border-strong); }
}

.stat { text-align: center; padding: 0 0.5rem; }

.stat-value {
    display: block;
    white-space: nowrap;
    color: var(--color-brand-slate);
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.0vw, 2.5rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    display: block;
    margin-top: 0.625rem;
    color: var(--color-brand-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.section-kicker {
    margin: 0 0 0.75rem;
    color: var(--color-brand-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
}

.spm-section-title {
    margin: 0 0 1rem;
    color: var(--color-brand-slate);
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.018em;
    text-align: center;
    text-wrap: balance;
}

.spm-section-subtitle {
    max-width: 44rem;
    margin: 0 auto;
    color: var(--color-brand-body);
    font-size: 1.125rem;
    line-height: 1.65;
    text-align: center;
    text-wrap: balance;
}

.spm-section-subtitle--narrow { max-width: 36rem; }

.spm-lead {
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-brand-slate-light);
    font-size: 1.125rem;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .spm-lead { font-size: 1.1875rem; }
    .spm-section-title { font-size: 2.625rem; }
}

.spm-eyebrow {
    color: var(--color-brand-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
}

.spm-eyebrow--dark {
    color: var(--color-brand-slate);
    font-size: 0.75rem;
}

.spm-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-brand-slate);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Inline links are underlined so they don't rely on color alone (WCAG 1.4.1) */
.spm-link {
    color: var(--color-brand-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.spm-link:hover { color: var(--color-brand-accent-hover); }

/* The bold initials in the GUIDE acronym */
.spm-initial {
    color: #C5CFDC;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
/* Dimensional buttons, pure CSS so they scale on every screen:
   gradient face + lit top edge + solid "base" shadow + soft drop shadow.
   Hover lifts the key; :active presses it into its base. */
.spm-btn-primary,
.spm-btn-gold {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius-control);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s ease;
}

.spm-btn-primary {
    background-image: linear-gradient(180deg, #1A6FC4 0%, #0B5CAD 52%, #0A4F96 100%);
    border-color: #083F78;
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -2px 0 rgba(0, 0, 0, 0.12),
        0 3px 0 #06305E,
        0 9px 14px -5px rgba(10, 27, 51, 0.5);
}

.spm-btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.12),
        0 4px 0 #06305E,
        0 13px 18px -6px rgba(10, 27, 51, 0.5);
}

.spm-btn-primary:active {
    filter: none;
    transform: translateY(3px);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 0 #06305E,
        0 2px 4px -2px rgba(10, 27, 51, 0.4);
}

/* Primary action on navy: polished gold with navy text (9:1 contrast) */
.spm-btn-gold {
    background-image: linear-gradient(180deg, #F0D890 0%, #C9A24B 55%, #B58E37 100%);
    border-color: #8F6F27;
    color: var(--color-brand-navy);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 0 rgba(120, 85, 20, 0.2),
        0 3px 0 #7A5E1E,
        0 9px 14px -5px rgba(0, 0, 0, 0.5);
}

.spm-btn-gold:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -2px 0 rgba(120, 85, 20, 0.2),
        0 4px 0 #7A5E1E,
        0 13px 18px -6px rgba(0, 0, 0, 0.5);
}

.spm-btn-gold:active {
    filter: none;
    transform: translateY(3px);
    box-shadow:
        inset 0 2px 4px rgba(90, 60, 10, 0.35),
        0 0 0 #7A5E1E,
        0 2px 4px -2px rgba(0, 0, 0, 0.4);
}

/* Compact variant for the header */
.spm-btn-sm {
    padding: 0.5625rem 1.125rem;
    font-size: 13.5px;
}

/* Secondary button (reserved for multi-tour switcher buttons) */
.spm-btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background-image: linear-gradient(180deg, #FFFFFF 0%, #E6ECF4 100%);
    color: var(--color-brand-accent);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--color-brand-accent);
    border-radius: var(--radius-control);
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 #FFFFFF,
        0 3px 0 #9FB3CA,
        0 8px 12px -5px rgba(10, 27, 51, 0.3);
    transition: transform 0.12s ease, box-shadow 0.12s ease, color 0.2s ease;
}

.spm-btn:hover {
    background-image: linear-gradient(180deg, #1A6FC4 0%, #0B5CAD 55%, #0A4F96 100%);
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 4px 0 #06305E,
        0 12px 16px -6px rgba(10, 27, 51, 0.45);
}

.spm-btn:active {
    transform: translateY(3px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 0 #06305E;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: min(100%, calc(80vh * 16 / 9));
    margin: 20px auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.button-container .spm-btn {
    position: relative;
    z-index: 10;
    width: 160px;
    padding: 10px 0;
}

/* --------------------------------------------------------------------------
   Panels, cards and boxes
   Hierarchy: page (tinted) -> section panel (white) -> card (white, bordered)
   -------------------------------------------------------------------------- */
.spm-panel {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-box);
}

.spm-box {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-box);
    box-shadow: var(--shadow-box);
}

/* Cards inside a white panel sit on the tinted well color instead */
.spm-panel .spm-box {
    background-color: var(--color-brand-light);
    box-shadow: none;
}

@media (max-width: 1303px) {
    section.spm-panel,
    section.cta-band {
        width: calc(100% - 1.5rem); /* 0.75rem gutters; auto margins keep it centered under the max-width */
        margin-left: auto;
        margin-right: auto;
    }
}

/* Feature cards on the Platform panel */
.spm-feature-icon {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1.25rem;
    padding: 0.6rem;
    box-sizing: border-box;
    background: #E3EDF8;
    border-radius: var(--radius-control);
    color: var(--color-brand-accent);
}

/* Checkmark list */
.spm-checklist li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--color-brand-slate-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.spm-checklist li + li { margin-top: 0.625rem; }

.spm-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 1rem;
    height: 1rem;
    background-color: var(--color-brand-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* "Platform at a Glance" items: value shown above its label */
.spm-metric {
    display: flex;
    flex-direction: column-reverse;
    padding: 0.875rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-brand-highlight);
    border-radius: var(--radius-control);
    text-align: left;
}

.spm-metric dd {
    margin: 0;
    color: var(--color-brand-slate);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
}

.spm-metric dt {
    margin-bottom: 0.125rem;
    color: var(--color-brand-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Delivery steps
   -------------------------------------------------------------------------- */
.spm-steps {
    display: grid;
    gap: 1.5rem;
    margin: 3rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

@media (min-width: 768px) {
    .spm-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.spm-steps li {
    position: relative;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-brand-slate);
    counter-increment: step;
}

.spm-steps li::before {
    content: '0' counter(step);
    display: block;
    margin-bottom: 0.75rem;
    color: var(--color-brand-accent);
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1;
}

.spm-steps h3,
.spm-steps .spm-step-title {
    margin: 0 0 0.5rem;
    color: var(--color-brand-slate);
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
}

.spm-steps p {
    margin: 0;
    color: var(--color-brand-body);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Industry tabs: underlined tab strip
   -------------------------------------------------------------------------- */
.spm-tablist {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding: 5px;
    background-color: var(--color-surface-muted);
    border: 1px solid var(--color-border-strong);
    border-radius: 14px;
    /* recessed tray the raised tabs sit in */
    box-shadow: inset 0 2px 4px rgba(10, 27, 51, 0.12), 0 1px 0 #FFFFFF;
}


.spm-tablist::-webkit-scrollbar { display: none; }

@media (min-width: 900px) {
    .spm-tablist { justify-content: center; }
}

.vertical-tab-btn {
    flex-shrink: 0;
    margin-bottom: -1px;
    padding: 0.875rem 1.25rem;
    background-color: transparent;
    color: var(--color-brand-body);
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.15s ease, background-color 0.2s ease;
}

.vertical-tab-btn:hover {
    color: var(--color-brand-accent);
    background-color: rgba(255, 255, 255, 0.55);
}

/* the active tab is a raised key with a gold base */
.vertical-tab-btn[aria-selected="true"] {
    background-image: linear-gradient(180deg, #FFFFFF 0%, #EEF2F7 100%);
    color: var(--color-brand-slate);
    border-bottom-color: var(--color-brand-highlight);
    box-shadow:
        inset 0 1px 0 #FFFFFF,
        0 1px 2px rgba(10, 27, 51, 0.2),
        0 6px 10px -4px rgba(10, 27, 51, 0.25);
}

/* --------------------------------------------------------------------------
   Comparison table: raised slab with a navy header, tinted row labels, and
   the Destination GUIDE column lifted as a featured "spine".
   Applies to #compare and to any table given .spm-table.
   -------------------------------------------------------------------------- */
#compare .spm-box {
    padding: 0;
    overflow-x: auto;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-panel);
    box-shadow:
        0 1px 0 #FFFFFF inset,
        0 2px 0 var(--color-border-strong),
        0 18px 32px -16px rgba(10, 27, 51, 0.35);
}

.spm-table,
#compare table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.spm-table th,
.spm-table td,
#compare table th,
#compare table td {
    padding: 1rem 1.125rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
    line-height: 1.5;
}

/* Header row: navy with a lit top edge */
.spm-table thead th,
#compare thead th {
    background-color: var(--color-brand-navy);
    background-image: linear-gradient(180deg, #1B3558 0%, #0A1B33 100%);
    border-bottom: 3px solid var(--color-brand-highlight);
    color: #FFFFFF;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    vertical-align: middle;
}

/* Featured column header: polished gold tab */
.spm-table thead th:last-child,
#compare thead th:last-child {
    background-image: linear-gradient(180deg, #F0D890 0%, #C9A24B 60%, #B58E37 100%);
    border-bottom-color: #8F6F27;
    color: var(--color-brand-navy);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Row labels: tinted, with a subtle right bevel */
.spm-table tbody th,
#compare tbody th {
    background-image: linear-gradient(90deg, #EEF2F7, #F7F9FC);
    box-shadow: inset -1px 0 0 var(--color-border);
    color: var(--color-brand-slate);
    font-weight: 600;
    text-align: left;
}

/* Zebra + hover for the comparison columns */
.spm-table tbody tr:nth-child(even) td,
#compare tbody tr:nth-child(even) td {
    background-color: #F8FAFC;
}

.spm-table tbody tr:hover td,
#compare tbody tr:hover td {
    background-color: #EEF4FB;
}

/* Featured column body: raised spine with side edges */
.spm-table tbody td:last-child,
#compare tbody td:last-child {
    background-color: #EAF2FB;
    background-image: linear-gradient(90deg, rgba(11, 92, 173, 0.07), rgba(11, 92, 173, 0.02));
    box-shadow: inset 1px 0 0 rgba(11, 92, 173, 0.25), inset -1px 0 0 rgba(11, 92, 173, 0.12);
    color: var(--color-brand-slate);
    font-weight: 600;
}

.spm-table tbody tr:hover td:last-child,
#compare tbody tr:hover td:last-child {
    background-color: #DCEAF8;
}

.spm-table tbody tr:last-child th,
.spm-table tbody tr:last-child td,
#compare tbody tr:last-child th,
#compare tbody tr:last-child td {
    border-bottom: 0;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-item { transition: border-color 0.2s ease; }

.faq-item:hover,
.faq-item[open] { border-color: var(--color-brand-accent); }

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    color: var(--color-brand-slate);
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '';
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    background-color: var(--color-brand-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.3s var(--ease-standard);
}

.faq-item[open] summary::after { transform: rotate(180deg); }

.faq-item summary:hover,
.faq-item[open] summary { color: var(--color-brand-accent); }

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-brand-body);
    line-height: 1.75;
}

.faq-answer p + p { margin-top: 0.875rem; }

/* --------------------------------------------------------------------------
   Form
   -------------------------------------------------------------------------- */
.spm-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #FFFFFF;
    color: var(--color-brand-slate);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-control);
    box-shadow: inset 0 2px 3px rgba(10, 27, 51, 0.08);   /* recessed field */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.spm-input:hover { border-color: #8593A6; }

.spm-input:focus {
    outline: 2px solid var(--color-brand-accent);
    outline-offset: 2px;
    border-color: var(--color-brand-accent);
    box-shadow: inset 0 2px 3px rgba(10, 27, 51, 0.08), 0 0 0 3px rgba(11, 92, 173, 0.18);
}

select.spm-input {
    -webkit-appearance: none;
            appearance: none;
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5CAD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    cursor: pointer;
}

.spm-input::placeholder { color: var(--color-brand-muted); }

.form-alert {
    padding: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: var(--radius-control);
}

.form-alert--success {
    background-color: #ECFDF5;
    border-color: #A7F3D0;
    color: #065F46;
}

.form-alert--error {
    background-color: #FEF2F2;
    border-color: #FECACA;
    color: #991B1B;
}

.contact-assurance {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.75rem;
    margin: 1.5rem 0 0;
    padding: 0;
    color: var(--color-brand-body);
    font-size: 0.8125rem;
    font-weight: 500;
    list-style: none;
}

/* --------------------------------------------------------------------------
   Closing CTA band
   -------------------------------------------------------------------------- */
.cta-band {
    position: relative;
    overflow: hidden;
    background-color: var(--color-brand-navy);
    background-image: radial-gradient(ellipse 60% 120% at 50% 0%, rgba(11, 92, 173, 0.4), transparent 70%);
    color: #FFFFFF;
    text-align: center;
}

.cta-band h2 {
    margin: 0 auto;
    max-width: 38rem;
    color: #FFFFFF;
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
    text-wrap: balance;
}

.cta-band p {
    max-width: 34rem;
    margin: 1rem auto 2rem;
    color: #C5CFDC;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Footer (navy, bookends the header)
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: #06111F;
    color: #9AA8BB;
    font-size: 0.875rem;
    line-height: 1.6;
}

.site-footer .footer-heading {
    margin: 0 0 0.5rem;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 0.25rem; }

.site-footer a {
    color: #C5CFDC;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover { color: var(--color-brand-highlight-soft); }

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
}

/* ==========================================================================
   Finishing layer: depth, rhythm, markers, closing band
   ========================================================================== */

/* Darker gold for text on light backgrounds (4.7:1 on white) */
:root { --color-brand-gold-text: #8F6F27; }

/* --- Section numbering: 01 / 02 ... generated from the kickers ------------ */
main { counter-reset: section; }

.section-kicker { counter-increment: section; }

.section-kicker::before {
    content: counter(section, decimal-leading-zero);
    margin-right: 0.75rem;
    padding-right: 0.75rem;
    border-right: 1px solid currentColor;
    color: var(--color-brand-gold-text);
    font-variant-numeric: tabular-nums;
}

/* --- Gold rule under every section title ---------------------------------- */
.spm-section-title::after {
    content: '';
    display: block;
    width: 3.5rem;
    height: 3px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, #B58E37, #E3C57F, #B58E37);
    border-radius: 2px;
}

/* --- Card depth ------------------------------------------------------------ */
/* Light panels get a faint tint so white cards separate from them */
.spm-panel:not(.spm-panel--dark) {
    background-color: #F1F4F9;
    background-image: linear-gradient(180deg, #F8FAFC 0%, #EDF1F7 100%);
}

/* Raised cards: lit top edge, darker base edge, tight contact shadow + deep drop shadow */
.spm-panel .spm-box {
    background-color: #FFFFFF;
    background-image: linear-gradient(180deg, #FFFFFF 0%, #F5F8FB 100%);
    border-color: #C9D3DF;
    border-bottom: 3px solid #AEBBCC;
    box-shadow:
        inset 0 1px 0 #FFFFFF,
        0 1px 2px rgba(10, 27, 51, 0.14),
        0 8px 14px -6px rgba(10, 27, 51, 0.22),
        0 26px 38px -22px rgba(10, 27, 51, 0.36);
}

#guides .spm-box {
    border-top: 3px solid var(--color-brand-highlight);
    transition: transform 0.25s var(--ease-standard), box-shadow 0.25s var(--ease-standard);
}

#guides .spm-box:hover {
    transform: translateY(-4px);
    box-shadow:
        inset 0 1px 0 #FFFFFF,
        0 2px 3px rgba(10, 27, 51, 0.16),
        0 14px 22px -8px rgba(10, 27, 51, 0.28),
        0 36px 48px -24px rgba(10, 27, 51, 0.46);
}

/* Platform card icons: bare gold glyphs, no tile. The navy drop shadow keeps
   them legible on the light cards (the gold gradient is defined once in
   index.html as #spm-gold). */
.spm-feature-icon {
    width: 4.5rem;
    height: 4.5rem;
    padding: 0;
    margin-bottom: 1.25rem;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter:
        drop-shadow(0 1px 0 rgba(10, 27, 51, 0.7))
        drop-shadow(0 4px 5px rgba(10, 27, 51, 0.45));
    transition: transform 0.25s var(--ease-standard), filter 0.25s var(--ease-standard);
}

#guides .spm-box:hover .spm-feature-icon,
#brand-tx .spm-box:hover .spm-feature-icon {
    transform: translateY(-3px);
    filter:
        drop-shadow(0 1px 0 rgba(10, 27, 51, 0.7))
        drop-shadow(0 9px 8px rgba(10, 27, 51, 0.4));
}

.spm-metric {
    box-shadow:
        inset 0 1px 0 #FFFFFF,
        0 1px 2px rgba(10, 27, 51, 0.1),
        0 8px 14px -10px rgba(10, 27, 51, 0.35);
    transition: transform 0.2s var(--ease-standard), box-shadow 0.2s var(--ease-standard);
}

.spm-metric:hover { transform: translateX(3px); }

.faq-item {
    transition: border-color 0.2s ease, box-shadow 0.25s var(--ease-standard), transform 0.25s var(--ease-standard);
}

.faq-item:hover { transform: translateY(-1px); }

.faq-item[open] {
    box-shadow: inset 4px 0 0 var(--color-brand-highlight), var(--shadow-box);
}

/* --- Navy panel: re-tokenizes everything inside so no markup changes --------- */
.spm-panel--dark {
    --color-brand-slate: #FFFFFF;
    --color-brand-slate-light: #D5DDE8;
    --color-brand-body: #C5CFDC;
    --color-brand-accent: var(--color-brand-highlight-soft);
    --color-brand-accent-hover: #F0D890;
    --color-brand-gold-text: var(--color-brand-highlight-soft);

    background-color: var(--color-brand-navy);
    background-image:
        radial-gradient(ellipse 60% 80% at 50% 0%, rgba(11, 92, 173, 0.4), transparent 70%),
        linear-gradient(180deg, #0E2340 0%, #0A1B33 100%);
    border-color: rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--color-brand-highlight);
    box-shadow: 0 24px 44px -24px rgba(6, 17, 31, 0.7);
}

.spm-panel--dark .spm-box {
    background-color: rgba(255, 255, 255, 0.05);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 26px -16px rgba(0, 0, 0, 0.6);
}

/* Tabs and glance tiles inside a navy panel */
.spm-panel--dark .spm-tablist {
    background-color: rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.06);
}

.spm-panel--dark .vertical-tab-btn { color: #C5CFDC; }

.spm-panel--dark .vertical-tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}

.spm-panel--dark .vertical-tab-btn[aria-selected="true"] {
    background-image: linear-gradient(180deg, #FFFFFF 0%, #E6ECF4 100%);
    color: var(--color-brand-navy);
    box-shadow: inset 0 1px 0 #FFFFFF, 0 6px 12px -4px rgba(0, 0, 0, 0.55);
}

/* The three glance tiles: same stone color as the Platform cards, dark text */
.spm-panel--dark .spm-metric {
    --color-brand-slate: #0F2542;
    --color-brand-body: #4A5568;

    background-color: #ECECEF;
    background-image: none;
    border-color: #B3BFCE;
    border-left-color: var(--color-brand-highlight);
    border-bottom: 3px solid #8796AB;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 2px 3px rgba(0, 0, 0, 0.3),
        0 10px 16px -8px rgba(0, 0, 0, 0.5);
}

/* Navy panel with the cards left light: text outside the cards stays light,
   text inside them returns to the normal dark-on-light tokens. */
.spm-panel--light-boxes .spm-box {
    --color-brand-slate: #0F2542;
    --color-brand-slate-light: #2B3A4F;
    --color-brand-body: #4A5568;
    --color-brand-accent: #0B5CAD;
    --color-brand-accent-hover: #0A4A8C;

    /* softened face: a blue-grey stone tone rather than white */
    background-color: #ECECEF;
/*    background-image: linear-gradient(180deg, #E4EAF2 0%, #D6DEE9 100%); */
    border-color: #B3BFCE;
    border-bottom: 3px solid #8796AB;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 2px 3px rgba(0, 0, 0, 0.3),
        0 12px 20px -8px rgba(0, 0, 0, 0.45),
        0 28px 40px -22px rgba(0, 0, 0, 0.55);
}

.spm-panel--light-boxes .faq-item[open] {
    box-shadow:
        inset 4px 0 0 var(--color-brand-highlight),
        0 2px 3px rgba(0, 0, 0, 0.3),
        0 12px 20px -8px rgba(0, 0, 0, 0.45);
}

/* --- Gold-topped cards: the Platform card style, reused ----------------------
   Same recipe as "#guides .spm-box": gold strip on top, darker base edge and
   layered shadow underneath (those come from the card rules above).
   Applied to: Accessibility Console box, each FAQ item, Contact form box. */
#accessibility .spm-box,
#brand-tx .spm-box,
#faqs .faq-item,
#contact .spm-box {
    border-top: 3px solid var(--color-brand-highlight);
}

/* Console box lifts on hover exactly like the Platform cards */
#accessibility .spm-box,
#brand-tx .spm-box {
    transition: transform 0.25s var(--ease-standard), box-shadow 0.25s var(--ease-standard);
}

#accessibility .spm-box:hover,
#brand-tx .spm-box:hover {
    transform: translateY(-4px);
    box-shadow:
        inset 0 1px 0 #FFFFFF,
        0 2px 3px rgba(10, 27, 51, 0.16),
        0 14px 22px -8px rgba(10, 27, 51, 0.28),
        0 36px 48px -24px rgba(10, 27, 51, 0.46);
}

/* --- Domains section: URL chip and inline code -------------------------------- */
.spm-domain,
#brand-tx code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--color-brand-slate);
    overflow-wrap: anywhere;
}

.spm-domain {
    display: block;
    margin: 0 0 1.25rem;
    padding: 0.625rem 0.875rem;
    background-color: var(--color-surface-muted);
    border: 1px solid var(--color-border-strong);
    border-radius: 8px;
    box-shadow: inset 0 2px 3px rgba(10, 27, 51, 0.1);
    font-size: 0.9375rem;
    font-weight: 600;
}

@media (max-width: 479px) {
    .spm-domain { font-size: 0.8125rem; }
}

#brand-tx code {
    padding: 0.1em 0.35em;
    background-color: var(--color-surface-muted);
    border-radius: 4px;
    font-size: 0.875em;
}

/* --- Tour label: a folder tab riding the top edge of the frame --------------- */
.tour-badge {
    position: absolute;
    left: 1.25rem;
    bottom: 100%;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.875rem;
    background-image: linear-gradient(180deg, #F0D890 0%, #C9A24B 100%);
    border-radius: 8px 8px 0 0;
    color: var(--color-brand-navy);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.tour-badge { white-space: nowrap; }

@media (max-width: 767px) {
    .tour-badge {
        left: 0.75rem;
        padding: 0.35rem 0.7rem;
        font-size: 0.625rem;
        letter-spacing: 0.08em;
    }

    /* room for the label that rides above the tour frame */
    .hero { padding-bottom: calc(var(--hero-overlap) + 3.75rem); }
}

.tour-badge::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: #1E8E4E;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(30, 142, 78, 0.6);
    animation: tour-live 2s ease-out infinite;
}

@keyframes tour-live {
    70%  { box-shadow: 0 0 0 0.45rem rgba(30, 142, 78, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 142, 78, 0); }
}

/* --- Closing call-to-action band ------------------------------------------- */
.cta-band {
    max-width: 72rem; /* same width and corners as the section panels */
    margin: 2rem auto 0;
    border-radius: var(--radius-panel);
    border-top: 3px solid var(--color-brand-highlight);
}

.cta-band .hero-eyebrow {
    margin: 0 auto 1rem;
    color: var(--color-brand-highlight);
}

/* Ghost button on navy, sized to sit beside the gold button */
.spm-btn-ghost {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-control);
    color: #F1F5F9;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 3px 0 rgba(0, 0, 0, 0.35),
        0 9px 14px -5px rgba(0, 0, 0, 0.5);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.2s ease, filter 0.2s ease;
}

.spm-btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.55);
    filter: brightness(1.2);
    transform: translateY(-1px);
}

.spm-btn-ghost:active {
    transform: translateY(3px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 0 rgba(0, 0, 0, 0.35);
}

/* --- Footer: gold edge, consistent marker and icon styling ------------------- */
.site-footer { border-top: 3px solid var(--color-brand-highlight); }

.site-footer li a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.site-footer li a::before {
    content: '';
    flex-shrink: 0;
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--color-brand-highlight);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.2s ease;
}

.site-footer li a:hover::before { transform: translateX(2px); }

.footer-cert {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-cert svg {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    color: var(--color-brand-highlight);
}

/* --------------------------------------------------------------------------
   Hero load sequence (spm.js removes these classes once the reveal ends)
   -------------------------------------------------------------------------- */
.reveal-hidden {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s var(--ease-standard),
                transform 0.8s var(--ease-standard);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 120ms; }
.delay-200 { transition-delay: 240ms; }
.delay-300 { transition-delay: 380ms; }

/* --------------------------------------------------------------------------
   Back-to-top button
   -------------------------------------------------------------------------- */
#scrollTopBtn {
    background-image: linear-gradient(180deg, #1B3558 0%, #0A1B33 100%);
    color: var(--color-brand-highlight);
    border: 1px solid rgba(201, 162, 75, 0.6);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 3px 0 #06111F,
        0 10px 16px -6px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(1rem);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

#scrollTopBtn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

#scrollTopBtn:hover { background-color: var(--color-brand-accent); color: #FFFFFF; }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .spm-btn-primary, .spm-btn-gold, .spm-btn, .spm-intro-btn { transition: none; }
    .spm-btn-primary:hover, .spm-btn-gold:hover, .spm-btn:hover, .spm-intro-btn:hover, .spm-btn-ghost:hover { transform: none; }
    #guides .spm-box:hover, #accessibility .spm-box:hover, #brand-tx .spm-box:hover, .spm-metric:hover, .faq-item:hover,
    #guides .spm-box:hover .spm-feature-icon, #brand-tx .spm-box:hover .spm-feature-icon { transform: none; }
    .tour-badge::before { animation: none; }

    .reveal-hidden {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Multi-page additions
   -------------------------------------------------------------------------- */

/* Eyebrow lives inside the <h1> so the heading carries the full topic */
.hero-title .hero-eyebrow {
    display: block;
    font-family: var(--font-sans);
    line-height: 1.4;
    text-shadow: none;
}

/* Interior page hero: no tour overlapping the bottom edge */
.hero.hero--page { padding-bottom: 4rem; }
@media (min-width: 768px) {
    .hero.hero--page { padding-top: 5rem; padding-bottom: 4.5rem; }
}

/* Industry cards on the homepage */
.industry-card { display: flex; flex-direction: column; }
.industry-card .industry-card-link { margin-top: auto; padding-top: 1.5rem; }

/* Plain reading pages (About, Privacy) */
.spm-prose { max-width: 46rem; margin: 0 auto; }
.spm-prose h2 {
    margin: 2.5rem 0 0.75rem;
    color: var(--color-brand-slate);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.25;
}
.spm-prose h2:first-child { margin-top: 0; }
.spm-prose p,
.spm-prose li {
    color: var(--color-brand-body);
    font-size: 1.0625rem;
    line-height: 1.7;
}
.spm-prose p { margin: 0 0 1rem; }
.spm-prose ul { margin: 0 0 1rem; padding-left: 1.25rem; list-style: disc; }
.spm-prose li + li { margin-top: 0.375rem; }
.spm-prose a { color: var(--color-brand-accent); text-decoration: underline; text-underline-offset: 2px; }
.spm-prose a:hover { color: var(--color-brand-accent-hover); }
.spm-prose .spm-updated { color: var(--color-brand-slate-light); font-size: 0.875rem; }

/* Fine print under the contact form */
.form-note { margin: 0; color: var(--color-brand-slate-light); font-size: 0.8125rem; line-height: 1.5; text-align: center; }
.form-note a { color: var(--color-brand-accent); text-decoration: underline; text-underline-offset: 2px; }

/* Related-page links under interior pages */
.related-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }

/* FAQ group headings (on the navy FAQ panel) */
.faq-group {
    margin: 2.5rem 0 1rem;
    color: #FFFFFF;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.25;
}
.faq-group:first-of-type { margin-top: 0; }
