/* ==========================================================================
   Gustavus Consulting LLC

   Layout system adapted from the Elite X reference: 1200px container,
   100px section rhythm, alternating white / tint / dark bands, a light
   serif display face against a grotesk UI face, "// LABEL" eyebrows and
   pill buttons. Colour comes entirely from the Gustavus logo palette.

   Every repeated colour, space and size resolves to a token in :root.
   ========================================================================== */

:root {
    /* Core Gustavus Consulting brand colors */
    --gc-navy: #0D3376;
    --gc-blue-dark: #0C579D;
    --gc-blue: #096FC2;
    --gc-blue-bright: #08ACFB;

    /* Metallic / neutral colors represented in the logo */
    --gc-steel: #6C8498;
    --gc-steel-dark: #4C5E6B;
    --gc-silver: #C5CDD4;
    --gc-silver-light: #E0E5E8;

    /* Supporting neutrals */
    --gc-charcoal: #193149;
    --gc-background: #FFFFFF;
    --gc-surface: #F5F7F8;
    --gc-surface-blue: #F1F7FC;
    --gc-text: #193149;
    --gc-text-muted: #5F7180;

    /* Semantic UI assignments */
    --gc-primary: #096FC2;
    --gc-primary-hover: #0C579D;
    --gc-primary-active: #0D3376;
    --gc-secondary: #6C8498;
    --gc-accent: #08ACFB;
    --gc-border: #C5CDD4;
    --gc-focus: #08ACFB;

    /* Validation states — the only non-blue hues on the site */
    --gc-error: #B3261E;
    --gc-error-surface: #FCF2F1;
    --gc-success: #146B45;
    --gc-success-surface: #F0F8F4;

    /* Focus indicator. The solid ring carries the contrast (12:1 on white),
       the cyan halo carries the brand. Dark bands override both below. */
    --gc-focus-ring: var(--gc-navy);
    --gc-focus-halo: rgba(8, 172, 251, 0.35);

    /* Typefaces. The display serif echoes the reference layout's editorial
       tone; both stacks resolve to fonts already on the device, so the site
       downloads no font files. */
    --gc-font-display: Georgia, "Iowan Old Style", "Times New Roman", serif;
    --gc-font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

    /* Type scale — fluid between 375px and 1400px viewports */
    --step--2: clamp(0.6875rem, 0.67rem + 0.08vw, 0.75rem);
    --step--1: clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
    --step-0: clamp(1rem, 0.975rem + 0.11vw, 1.0625rem);
    --step-1: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
    --step-2: clamp(1.25rem, 1.17rem + 0.36vw, 1.5rem);
    --step-3: clamp(1.5rem, 1.33rem + 0.72vw, 1.9375rem);
    --step-4: clamp(1.875rem, 1.6rem + 1.16vw, 2.625rem);
    --step-5: clamp(2.25rem, 1.79rem + 1.96vw, 3.5rem);

    /* Spacing scale */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.5rem;
    --sp-6: 2rem;
    --sp-7: 2.5rem;
    --sp-8: 3rem;
    --sp-9: 4rem;
    --sp-10: 5rem;
    --sp-11: 6.25rem;

    /* Structure */
    --gc-content-width: 1200px;
    --gc-content-width-wide: 1360px;
    --gc-gutter: clamp(1.25rem, 4vw, 2.5rem);
    --gc-radius: 8px;
    --gc-radius-sm: 6px;
    --gc-radius-pill: 999px;
    --gc-shadow-card: 0 8px 24px rgba(13, 51, 118, 0.08);
    --gc-shadow-card-hover: 0 16px 36px rgba(13, 51, 118, 0.14);
    --gc-shadow-header: 0 1px 0 var(--gc-silver-light), 0 6px 20px rgba(13, 51, 118, 0.05);

    /* Section rhythm — 100px at desktop, compressed on small screens. */
    --gc-section-space: clamp(3.5rem, 7vw, 6.25rem);

    --gc-header-height: 4.75rem;
}

/* ==========================================================================
   Reset and base
   ========================================================================== */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--gc-header-height) + var(--sp-4));
}

body {
    margin: 0;
    background-color: var(--gc-background);
    color: var(--gc-text);
    font-family: var(--gc-font-body);
    font-size: var(--step-0);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}

h1, h2, h3, h4 {
    margin: 0 0 var(--sp-4);
    color: var(--gc-navy);
    font-family: var(--gc-font-display);
    font-weight: 400;
    line-height: 1.2;
    text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }

/* Small headings read better in the UI face than in the display serif. */
h4 {
    font-family: var(--gc-font-body);
    font-size: var(--step-1);
    font-weight: 600;
}

p {
    margin: 0 0 var(--sp-4);
    text-wrap: pretty;
}

p:last-child,
ul:last-child,
ol:last-child,
dl:last-child {
    margin-bottom: 0;
}

a {
    color: var(--gc-blue);
    text-decoration-color: color-mix(in srgb, var(--gc-blue) 40%, transparent);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--gc-blue-dark);
    text-decoration-color: currentColor;
}

a:active {
    color: var(--gc-navy);
}

img,
svg {
    max-width: 100%;
    height: auto;
}

:focus-visible {
    outline: 3px solid var(--gc-focus-ring);
    outline-offset: 2px;
    border-radius: var(--gc-radius-sm);
    box-shadow: 0 0 0 7px var(--gc-focus-halo);
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.gc-container {
    width: 100%;
    max-width: var(--gc-content-width);
    margin-inline: auto;
    padding-inline: var(--gc-gutter);
}

.gc-container--wide {
    max-width: var(--gc-content-width-wide);
}

.gc-section {
    padding-block: var(--gc-section-space);
}

.gc-section--tight {
    padding-block: calc(var(--gc-section-space) * 0.66);
}

.gc-section--surface {
    background-color: var(--gc-surface);
}

.gc-section--surface-blue {
    background-color: var(--gc-surface-blue);
}

.gc-section--navy {
    background-color: var(--gc-navy);
}

.gc-prose {
    max-width: 68ch;
}

.gc-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.gc-skip-link {
    position: absolute;
    top: var(--sp-2);
    left: var(--sp-2);
    z-index: 100;
    padding: var(--sp-3) var(--sp-5);
    transform: translateY(-160%);
    border-radius: var(--gc-radius-pill);
    background: var(--gc-navy);
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
    transition: transform 150ms ease-out;
}

.gc-skip-link:focus-visible {
    transform: translateY(0);
    color: #FFFFFF;
}

/* ==========================================================================
   Eyebrow labels — the reference's "// SECTION" device
   ========================================================================== */

.gc-eyebrow {
    display: block;
    margin-bottom: var(--sp-4);
    color: var(--gc-blue);
    font-family: var(--gc-font-body);
    font-size: var(--step--2);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.gc-eyebrow::before {
    content: "// ";
    color: var(--gc-blue-bright);
}

/* ==========================================================================
   Section headers
   ========================================================================== */

.gc-section-header {
    max-width: 60ch;
    margin-bottom: var(--sp-8);
}

.gc-section-header--centred {
    margin-inline: auto;
    text-align: center;
}

.gc-section-header h2 {
    margin-bottom: var(--sp-4);
}

.gc-section-header p {
    color: var(--gc-text-muted);
    font-size: var(--step-1);
}

/* Header with the intro on the left and a link or button on the right. */
.gc-section-header--split {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: var(--sp-6);
    max-width: none;
}

.gc-section-header--split > div:first-child {
    max-width: 60ch;
}

/* ==========================================================================
   Buttons — pill shaped, following the reference
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    min-height: 3rem;
    padding: var(--sp-3) var(--sp-7);
    border: 2px solid transparent;
    border-radius: var(--gc-radius-pill);
    font-family: var(--gc-font-body);
    font-size: var(--step-0);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn svg {
    flex: none;
    transition: transform 150ms ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--gc-primary);
    border-color: var(--gc-primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--gc-primary-hover);
    border-color: var(--gc-primary-hover);
    color: #FFFFFF;
}

.btn-primary:active {
    background: var(--gc-primary-active);
    border-color: var(--gc-primary-active);
    color: #FFFFFF;
}

.btn-secondary {
    background: transparent;
    border-color: var(--gc-primary);
    color: var(--gc-primary);
}

.btn-secondary:hover {
    background: var(--gc-surface-blue);
    border-color: var(--gc-primary-hover);
    color: var(--gc-primary-hover);
}

.btn-secondary:active {
    border-color: var(--gc-primary-active);
    color: var(--gc-primary-active);
}

.btn[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn[disabled]:hover svg {
    transform: none;
}

/* Text link with a trailing arrow — the reference's "View All Services". */
.gc-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--gc-blue);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid color-mix(in srgb, var(--gc-blue) 35%, transparent);
    padding-bottom: 2px;
}

.gc-link-arrow:hover {
    color: var(--gc-blue-dark);
    border-bottom-color: currentColor;
}

.gc-link-arrow svg {
    transition: transform 150ms ease;
}

.gc-link-arrow:hover svg {
    transform: translateX(3px);
}

.gc-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    margin-top: var(--sp-7);
}

/* ==========================================================================
   Dark (navy) regions
   ========================================================================== */

.gc-on-dark {
    color: rgba(255, 255, 255, 0.86);
    --gc-focus-ring: #FFFFFF;
    --gc-focus-halo: rgba(8, 172, 251, 0.45);
}

.gc-on-dark h1,
.gc-on-dark h2,
.gc-on-dark h3,
.gc-on-dark h4 {
    color: #FFFFFF;
}

.gc-on-dark .gc-eyebrow {
    color: var(--gc-blue-bright);
}

.gc-on-dark .gc-eyebrow::before {
    color: rgba(255, 255, 255, 0.6);
}

.gc-on-dark .gc-section-header p {
    color: rgba(255, 255, 255, 0.82);
}

.gc-on-dark a {
    color: #FFFFFF;
    text-decoration-color: var(--gc-blue-bright);
}

.gc-on-dark a:hover {
    color: #FFFFFF;
    text-decoration-color: #FFFFFF;
}

.gc-on-dark .btn-primary {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--gc-navy);
}

.gc-on-dark .btn-primary:hover {
    background: var(--gc-surface-blue);
    border-color: var(--gc-surface-blue);
    color: var(--gc-navy);
}

.gc-on-dark .btn-secondary {
    border-color: rgba(255, 255, 255, 0.6);
    color: #FFFFFF;
}

.gc-on-dark .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.gc-on-dark .gc-link-arrow {
    color: #FFFFFF;
    border-bottom-color: var(--gc-blue-bright);
}

/* ==========================================================================
   Site header
   ========================================================================== */

.gc-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--gc-background);
    box-shadow: var(--gc-shadow-header);
}

.gc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-5);
    min-height: var(--gc-header-height);
}

.gc-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-2) 0;
    color: inherit;
    text-decoration: none;
}

.gc-brand__mark {
    flex: none;
    width: 2.625rem;
    height: 2.625rem;
}

.gc-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.gc-brand__name {
    color: var(--gc-navy);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gc-brand__suffix {
    color: var(--gc-blue);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.gc-nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    min-height: 2.75rem;
    padding: var(--sp-2) var(--sp-4);
    border: 1px solid var(--gc-border);
    border-radius: var(--gc-radius-pill);
    background: transparent;
    color: var(--gc-navy);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.gc-nav__toggle:hover {
    border-color: var(--gc-blue);
    color: var(--gc-blue-dark);
}

.gc-nav__inner {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
}

.gc-nav__list {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    margin: 0;
    padding: 0;
    list-style: none;
}

.gc-nav__link {
    display: block;
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--gc-radius-sm);
    color: var(--gc-charcoal);
    font-weight: 600;
    text-decoration: none;
}

.gc-nav__link:hover {
    background: var(--gc-surface-blue);
    color: var(--gc-blue-dark);
}

.gc-nav__link.active {
    color: var(--gc-blue-dark);
}

/* The active-page marker uses bright blue as a non-text accent. */
.gc-nav__link.active::after {
    content: "";
    display: block;
    height: 2px;
    margin-top: 3px;
    border-radius: 2px;
    background: var(--gc-blue-bright);
}

/* --- Mobile navigation -------------------------------------------------- */

@media (max-width: 60rem) {
    .gc-nav {
        position: absolute;
        inset: var(--gc-header-height) 0 auto;
        display: none;
        padding: var(--sp-4) var(--gc-gutter) var(--sp-6);
        background: var(--gc-background);
        border-top: 1px solid var(--gc-silver-light);
        box-shadow: 0 18px 30px rgba(13, 51, 118, 0.12);
    }

    .gc-header[data-nav-open="true"] .gc-nav {
        display: block;
    }

    .gc-nav__inner {
        flex-direction: column;
        align-items: stretch;
        gap: var(--sp-5);
    }

    .gc-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .gc-nav__link {
        padding: var(--sp-4) var(--sp-2);
        border-bottom: 1px solid var(--gc-silver-light);
        border-radius: 0;
    }

    .gc-nav__link.active::after {
        width: 40px;
    }

    .gc-nav .btn {
        width: 100%;
    }
}

@media (min-width: 60.0625rem) {
    .gc-nav__toggle {
        display: none;
    }

    .gc-nav {
        display: block;
    }
}

/* Without JavaScript the toggle cannot report its state, so the menu stays
   open rather than presenting a control that does nothing. */
.gc-no-js .gc-nav__toggle {
    display: none;
}

.gc-no-js .gc-nav {
    display: block;
    position: static;
    padding: 0 0 var(--sp-4);
    box-shadow: none;
}

/* ==========================================================================
   Home hero — light band, copy left, brand panel right
   ========================================================================== */

.gc-hero {
    background: var(--gc-background);
    border-bottom: 1px solid var(--gc-silver-light);
}

.gc-hero__inner {
    display: grid;
    gap: clamp(var(--sp-7), 5vw, var(--sp-9));
    align-items: center;
    padding-block: clamp(var(--sp-8), 6vw, var(--sp-10));
    grid-template-columns: 1fr;
}

@media (min-width: 62rem) {
    .gc-hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }
}

.gc-hero h1 {
    margin-bottom: var(--sp-5);
}

.gc-hero__lead {
    max-width: 42ch;
    color: var(--gc-text-muted);
    font-size: var(--step-1);
}

/* Brand panel standing in for photography: the logo mark on a tinted field
   with the circuit motif behind it. */
.gc-hero__panel {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    padding: var(--sp-8);
    border-radius: var(--gc-radius);
    background: linear-gradient(135deg,
            var(--gc-navy) 0%,
            var(--gc-blue) 62%,
            var(--gc-blue-bright) 100%);
}

.gc-hero__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("images/circuit-motif.svg");
    background-size: 300px 300px;
    opacity: 0.22;
}

.gc-hero__panel img {
    width: min(58%, 17rem);
    filter: drop-shadow(0 14px 30px rgba(4, 22, 54, 0.4));
}

/* ==========================================================================
   Interior page hero — compact navy band
   ========================================================================== */

.gc-page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--gc-navy);
}

.gc-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("images/circuit-motif.svg");
    background-size: 320px 320px;
    opacity: 0.12;
}

.gc-page-hero__inner {
    max-width: 54rem;
    padding-block: clamp(var(--sp-8), 6vw, var(--sp-10));
}

.gc-page-hero h1 {
    margin-bottom: var(--sp-4);
    font-size: var(--step-4);
}

.gc-page-hero p {
    max-width: 48rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: var(--step-1);
}

/* ==========================================================================
   Grids and cards
   ========================================================================== */

.gc-grid {
    display: grid;
    gap: var(--sp-5);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.gc-grid--three {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.gc-card {
    display: flex;
    flex-direction: column;
    padding: var(--sp-6);
    background: var(--gc-background);
    border: 1px solid var(--gc-silver);
    border-radius: var(--gc-radius);
    box-shadow: var(--gc-shadow-card);
    transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.gc-card--interactive:hover {
    transform: translateY(-3px);
    border-color: var(--gc-blue);
    box-shadow: var(--gc-shadow-card-hover);
}

.gc-card h3 {
    margin-bottom: var(--sp-3);
    font-size: var(--step-2);
}

.gc-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: var(--sp-5);
    border-radius: 50%;
    background: var(--gc-surface-blue);
    border: 1px solid color-mix(in srgb, var(--gc-blue) 22%, transparent);
    color: var(--gc-blue);
}

.gc-card__summary {
    margin-bottom: var(--sp-5);
    color: var(--gc-text-muted);
}

.gc-card__list {
    margin: auto 0 0;
    padding: var(--sp-5) 0 0;
    border-top: 1px solid var(--gc-silver-light);
    list-style: none;
}

.gc-card__list li {
    position: relative;
    padding-left: var(--sp-5);
    padding-block: 0.1875rem;
    color: var(--gc-charcoal);
    font-size: var(--step--1);
}

.gc-card__list li::before {
    content: "";
    position: absolute;
    top: 0.85em;
    left: 0;
    width: 9px;
    height: 2px;
    border-radius: 1px;
    background: var(--gc-blue-bright);
}

/* The numbered service card, following the reference's 01–06 treatment.
   Silver would suit the metallic half of the palette but only reaches 1.7:1
   on white, so the muted steel tone (6.7:1) carries the numerals instead. */
.gc-card__number {
    display: block;
    margin-bottom: var(--sp-4);
    color: var(--gc-steel-dark);
    font-family: var(--gc-font-display);
    font-size: var(--step-3);
    line-height: 1;
}

.gc-card--interactive:hover .gc-card__number {
    color: var(--gc-blue);
}

/* Compact three-up strip directly under the hero. */
.gc-feature {
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
}

.gc-feature__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--gc-background);
    border: 1px solid var(--gc-silver);
    color: var(--gc-blue);
}

.gc-feature h3 {
    margin-bottom: var(--sp-2);
    font-family: var(--gc-font-body);
    font-size: var(--step-1);
    font-weight: 600;
}

.gc-feature p {
    margin-bottom: 0;
    color: var(--gc-text-muted);
    font-size: var(--step--1);
}

/* ==========================================================================
   Statement block — the reference's pull-quote band, without attribution
   ========================================================================== */

.gc-statement {
    max-width: 54rem;
    margin-inline: auto;
    text-align: center;
}

.gc-statement .gc-eyebrow {
    text-align: center;
}

.gc-statement__text {
    margin: 0;
    color: #FFFFFF;
    font-family: var(--gc-font-display);
    font-size: var(--step-3);
    line-height: 1.35;
    text-wrap: balance;
}

/* ==========================================================================
   Two-column blocks and step lists
   ========================================================================== */

.gc-split {
    display: grid;
    gap: clamp(var(--sp-6), 5vw, var(--sp-9));
    align-items: start;
    grid-template-columns: 1fr;
}

@media (min-width: 56rem) {
    .gc-split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .gc-split--lead-first {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }
}

.gc-steps {
    display: grid;
    gap: var(--sp-6);
    margin: 0;
    padding: 0;
    counter-reset: gc-step;
    list-style: none;
}

.gc-step {
    position: relative;
    padding-left: var(--sp-9);
    counter-increment: gc-step;
}

.gc-step::before {
    content: "0" counter(gc-step);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    font-family: var(--gc-font-display);
    font-size: var(--step-0);
}

.gc-step h3 {
    margin-bottom: var(--sp-2);
    font-family: var(--gc-font-body);
    font-size: var(--step-1);
    font-weight: 600;
}

.gc-step p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--step--1);
}

/* Technology capability chips. */
.gc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.gc-tags--centred {
    justify-content: center;
}

.gc-tags li {
    padding: var(--sp-2) var(--sp-4);
    border: 1px solid var(--gc-silver);
    border-radius: var(--gc-radius-pill);
    background: var(--gc-background);
    color: var(--gc-charcoal);
    font-size: var(--step--1);
    font-weight: 600;
}

/* Plain outcome statements with a rule above, no card chrome. */
.gc-outcome {
    padding-top: var(--sp-5);
    border-top: 3px solid var(--gc-silver);
}

.gc-outcome h3 {
    margin-bottom: var(--sp-2);
    font-family: var(--gc-font-body);
    font-size: var(--step-1);
    font-weight: 600;
}

.gc-outcome p {
    margin-bottom: 0;
    color: var(--gc-text-muted);
    font-size: var(--step--1);
}

/* ==========================================================================
   Call to action band
   ========================================================================== */

.gc-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(135deg,
            var(--gc-navy) 0%,
            var(--gc-blue) 60%,
            var(--gc-blue-bright) 100%);
}

.gc-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(13, 51, 118, 0.42);
}

.gc-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    padding-block: clamp(var(--sp-8), 5vw, var(--sp-9));
}

.gc-cta__text {
    max-width: 46rem;
}

.gc-cta__text h2 {
    margin-bottom: var(--sp-3);
    font-size: var(--step-3);
}

.gc-cta__text p {
    margin-bottom: 0;
}

.gc-cta .gc-button-row {
    margin-top: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.gc-footer {
    background: var(--gc-navy);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--step--1);
}

.gc-footer__inner {
    display: grid;
    gap: var(--sp-7);
    padding-block: var(--sp-9) var(--sp-6);
    grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
    .gc-footer__inner {
        grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
    }
}

.gc-footer__logo {
    width: 210px;
    height: auto;
    margin-bottom: var(--sp-4);
}

.gc-footer h2 {
    margin-bottom: var(--sp-4);
    color: #FFFFFF;
    font-family: var(--gc-font-body);
    font-size: var(--step--2);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.gc-footer h2::before {
    content: "// ";
    color: rgba(255, 255, 255, 0.5);
}

.gc-footer ul {
    display: grid;
    gap: var(--sp-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.gc-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.gc-footer a:hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-decoration-color: var(--gc-blue-bright);
}

.gc-footer__tagline {
    max-width: 36ch;
    color: rgba(255, 255, 255, 0.72);
}

.gc-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3) var(--sp-5);
    align-items: center;
    justify-content: space-between;
    padding-block: var(--sp-5);
    /* Steel-to-silver divider, echoing the brushed edge in the mark. */
    border-top: 1px solid;
    border-image: linear-gradient(90deg,
            var(--gc-steel), var(--gc-silver), rgba(197, 205, 212, 0)) 1;
    color: rgba(255, 255, 255, 0.72);
}

.gc-footer__bottom p {
    margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.gc-form {
    display: grid;
    gap: var(--sp-5);
}

.gc-form__row {
    display: grid;
    gap: var(--sp-5);
    grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
    .gc-form__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.gc-field {
    display: grid;
    gap: var(--sp-2);
}

.gc-field label {
    color: var(--gc-charcoal);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gc-field__optional {
    color: var(--gc-text-muted);
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
}

.gc-required {
    color: var(--gc-error);
}

.gc-field__hint {
    color: var(--gc-text-muted);
    font-size: var(--step--1);
}

.gc-field input,
.gc-field select,
.gc-field textarea {
    width: 100%;
    min-height: 3rem;
    padding: var(--sp-3) var(--sp-4);
    border: 1px solid var(--gc-border);
    border-radius: var(--gc-radius-sm);
    background: var(--gc-background);
    color: var(--gc-text);
    font: inherit;
    transition: border-color 150ms ease;
}

.gc-field textarea {
    min-height: 9.5rem;
    resize: vertical;
}

.gc-field input:hover,
.gc-field select:hover,
.gc-field textarea:hover {
    border-color: var(--gc-steel);
}

.gc-field .invalid {
    border-color: var(--gc-error);
    background: var(--gc-error-surface);
}

.gc-field .validation-message {
    color: var(--gc-error);
    font-size: var(--step--1);
    font-weight: 600;
}

/* Honeypot. Hidden from people, reachable by naive bots. */
.gc-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.gc-alert {
    display: grid;
    gap: var(--sp-2);
    padding: var(--sp-5);
    border: 1px solid;
    border-radius: var(--gc-radius);
}

.gc-alert h2,
.gc-alert h3 {
    margin: 0;
    font-family: var(--gc-font-body);
    font-size: var(--step-1);
    font-weight: 600;
}

.gc-alert p:last-child {
    margin-bottom: 0;
}

.gc-alert--success {
    background: var(--gc-success-surface);
    border-color: color-mix(in srgb, var(--gc-success) 35%, transparent);
    color: var(--gc-success);
}

.gc-alert--success h2,
.gc-alert--success h3 {
    color: var(--gc-success);
}

.gc-alert--error {
    background: var(--gc-error-surface);
    border-color: color-mix(in srgb, var(--gc-error) 35%, transparent);
    color: var(--gc-error);
}

.gc-alert--error h2,
.gc-alert--error h3 {
    color: var(--gc-error);
}

.gc-alert--info {
    background: var(--gc-surface-blue);
    border-color: color-mix(in srgb, var(--gc-blue) 25%, transparent);
    color: var(--gc-charcoal);
}

/* ==========================================================================
   Contact details panel
   ========================================================================== */

.gc-contact-card {
    padding: var(--sp-6);
    background: var(--gc-surface);
    border: 1px solid var(--gc-silver);
    border-radius: var(--gc-radius);
}

.gc-contact-card h2 {
    font-size: var(--step-2);
}

.gc-contact-list {
    display: grid;
    gap: var(--sp-5);
    margin: 0 0 var(--sp-5);
    padding: 0;
}

.gc-contact-list > div {
    display: grid;
    gap: var(--sp-1);
}

.gc-contact-list dt {
    color: var(--gc-text-muted);
    font-size: var(--step--2);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gc-contact-list dd {
    margin: 0;
    font-size: var(--step-1);
    font-weight: 600;
}

/* ==========================================================================
   Long-form legal content
   ========================================================================== */

.gc-legal h2 {
    margin-top: var(--sp-8);
    font-size: var(--step-2);
}

.gc-legal h2:first-of-type {
    margin-top: 0;
}

.gc-legal ul {
    padding-left: var(--sp-5);
}

.gc-legal li {
    margin-bottom: var(--sp-2);
}
