/* ==========================================================================
   Supreme Infrastructure India Limited — Frontend Design System
   Palette: Deep Navy / White / Corporate Orange / Light Grey
   Type:    Manrope (display) + Inter (body), self-hosted
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/manrope-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/manrope-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/manrope-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/manrope-800.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-700.woff2') format('woff2');
}

:root {
    /* Brand */
    --navy-950: #04101f;
    --navy-900: #061426;
    --navy-800: #0a1f36;
    --navy-700: #12385c;
    --navy-600: #1b4f7e;
    --navy-500: #2a679c;
    --navy-100: #dbe8f4;
    --orange: #f26a21;
    --orange-dark: #d9560f;
    --orange-tint: #fff2e8;
    --orange-line: #ffd4b8;

    /* Neutrals */
    --white: #ffffff;
    --grey-50: #f8fafc;
    --grey-100: #f4f7fa;
    --grey-200: #e9eff5;
    --grey-300: #dbe4ec;
    --grey-400: #b6c4d3;
    --grey-600: #6b7d92;
    --ink: #16212e;
    --text: #2c3e52;
    --text-muted: #5d7085;
    --on-dark: #eef4fa;
    --on-dark-muted: #a9bdd2;

    /* Semantic */
    --success: #1c7d56;
    --success-tint: #e8f6ef;
    --danger: #c0392b;
    --danger-tint: #fdeeec;
    --info: #1b4f7e;
    --info-tint: #e8f1f8;

    /* Type */
    --font-display: 'Manrope', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --step--1: 0.8125rem;
    --step-0: 0.9375rem;
    --step-1: 1rem;
    --step-2: 1.125rem;
    --step-3: 1.375rem;

    /* Space */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 24px;
    --sp-6: 32px;
    --sp-7: 48px;
    --sp-8: 64px;
    --sp-9: 88px;
    --sp-10: 112px;

    /* Structure */
    --maxw: 1240px;
    --gutter: 24px;
    --radius-s: 4px;
    --radius: 8px;
    --radius-l: 14px;
    --header-h: 84px;
    --topbar-h: 40px;

    /* Elevation */
    --sh-1: 0 1px 2px rgba(6, 20, 38, 0.06), 0 2px 8px rgba(6, 20, 38, 0.06);
    --sh-2: 0 4px 12px rgba(6, 20, 38, 0.08), 0 12px 32px rgba(6, 20, 38, 0.08);
    --sh-3: 0 12px 24px rgba(6, 20, 38, 0.12), 0 28px 64px rgba(6, 20, 38, 0.16);

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --dur: 0.25s;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    background: var(--white);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

.site-main {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.6em;
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.22;
    letter-spacing: -0.015em;
    font-weight: 700;
    text-wrap: balance;
}

h1 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.25rem); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }
h5 { font-size: var(--step-1); }
h6 { font-size: var(--step-0); text-transform: uppercase; letter-spacing: 0.06em; }

p {
    margin: 0 0 1em;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--navy-700);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}

a:hover {
    color: var(--orange);
}

ul, ol {
    margin: 0 0 1em;
    padding-left: 1.2em;
}

li {
    margin-bottom: 0.35em;
}

img, svg, video {
    display: block;
    max-width: 100%;
}

figure {
    margin: 0 0 1.5em;
}

table {
    border-collapse: collapse;
    width: 100%;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.18em;
}

.icon-lg {
    width: 1.6em;
    height: 1.6em;
}

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
    border-radius: 2px;
}

::selection {
    background: var(--orange);
    color: var(--white);
}

/* ---------- 3. Layout primitives ---------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container-narrow {
    max-width: 900px;
}

.container-wide {
    max-width: 1440px;
}

.measure {
    max-width: 760px;
}

.section {
    padding-block: var(--sp-9);
    position: relative;
}

.section-tight {
    padding-block: var(--sp-7);
}

.section-grey {
    background: var(--grey-100);
    color: var(--text);
}

.section-navy {
    background: var(--navy-900);
    color: var(--on-dark);
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4,
.section-navy .stat-label,
.section-navy .lead {
    color: var(--white);
}

.section-navy p,
.section-navy .muted {
    color: var(--on-dark-muted);
}

.section-tinted {
    background: linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
}

.section + .section {
    border-top: 1px solid var(--grey-200);
}

.section-navy + .section,
.section + .section-navy,
.section-navy + .section-navy {
    border-top: 0;
}

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

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.grid-auto {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.grid-gap-sm { gap: var(--sp-4); }
.grid-gap-lg { gap: var(--sp-6); }

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--sp-7);
    align-items: center;
}

.split-wide-text {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.split-wide-media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

.split-top {
    align-items: start;
}

.split-order-reverse > :first-child {
    order: 2;
}

.sidebar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: var(--sp-7);
    align-items: start;
}

.stack-0 > * + * { margin-top: 0; }
.stack-3 > * + * { margin-top: var(--sp-3); }
.stack-4 > * + * { margin-top: var(--sp-4); }
.stack-5 > * + * { margin-top: var(--sp-5); }
.stack-6 > * + * { margin-top: var(--sp-6); }

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-3);
}

.row-between {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}

.row-center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
}

.col {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-7 { margin-bottom: var(--sp-7); }
.gap-2 { gap: var(--sp-2); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 var(--sp-3);
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--orange);
    flex-shrink: 0;
}

.text-center .eyebrow,
.section-head-center .eyebrow {
    justify-content: center;
}

.text-center .eyebrow::before,
.section-head-center .eyebrow::before {
    display: none;
}

.section-head {
    max-width: 720px;
    margin-bottom: var(--sp-6);
}

.section-head-center {
    margin-inline: auto;
    text-align: center;
}

.section-head-aside {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-5);
    max-width: none;
    margin-bottom: var(--sp-6);
}

.section-head h2 {
    margin-bottom: var(--sp-3);
}

.section-head p {
    color: var(--text-muted);
    font-size: var(--step-1);
    margin: 0;
}

.section-navy .section-head p {
    color: var(--on-dark-muted);
}

.lead {
    font-size: var(--step-2);
    line-height: 1.65;
    color: var(--text);
}

.muted {
    color: var(--text-muted);
}

.small {
    font-size: var(--step--1);
}

.upper {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nowrap {
    white-space: nowrap;
}

.text-link {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--step-0);
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.text-link:hover {
    color: var(--orange-dark);
}

.text-link .icon {
    transition: transform var(--dur) var(--ease);
}

.text-link:hover .icon {
    transform: translateX(3px);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    padding: 12px 20px;
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
    left: 0;
    color: var(--white);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- 5. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
        border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
        box-shadow var(--dur) var(--ease);
}

.btn .icon {
    width: 1.05em;
    height: 1.05em;
    transition: transform var(--dur) var(--ease);
}

.btn:hover .icon-arrow,
.btn:hover .icon-arrow-right {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(242, 106, 33, 0.22);
}

.btn-primary:hover {
    background: var(--orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(242, 106, 33, 0.28);
}

.btn-navy {
    background: var(--navy-800);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--navy-700);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--navy-800);
    border-color: var(--grey-300);
}

.btn-outline:hover {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--orange);
    color: var(--white);
}

.btn-sm {
    padding: 9px 16px;
    font-size: var(--step--1);
}

.btn-lg {
    padding: 17px 32px;
    font-size: var(--step-1);
}

.btn-block {
    width: 100%;
}

.btn:disabled,
.btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* ---------- 6. Pills, badges, status, meta ---------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.03em;
    background: var(--grey-200);
    color: var(--navy-800);
    white-space: nowrap;
}

.pill-orange {
    background: var(--orange-tint);
    color: var(--orange-dark);
}

.pill-navy {
    background: var(--navy-800);
    color: var(--white);
}

.pill-outline {
    background: transparent;
    border: 1px solid var(--grey-300);
    color: var(--text-muted);
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grey-400);
    flex-shrink: 0;
}

.status-completed::before { background: var(--success); }
.status-completed { color: var(--success); }
.status-ongoing::before { background: var(--orange); }
.status-ongoing { color: var(--orange-dark); }
.status-upcoming::before { background: var(--navy-500); }
.status-upcoming { color: var(--navy-600); }

.meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-2) var(--sp-4);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: var(--step--1);
    color: var(--text-muted);
}

.meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.meta .icon {
    color: var(--grey-600);
    width: 1em;
    height: 1em;
}

/* ---------- 7. Topbar ---------- */
.topbar {
    background: var(--navy-900);
    color: var(--on-dark-muted);
    font-size: var(--step--1);
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar .container {
    min-height: var(--topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}

.topbar-list,
.topbar-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-4);
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar-list li,
.topbar-links li {
    margin: 0;
}

.topbar-list {
    gap: var(--sp-5);
}

.topbar-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topbar-list .icon {
    color: var(--orange);
    width: 1em;
    height: 1em;
}

.topbar a {
    color: var(--on-dark-muted);
}

.topbar a:hover {
    color: var(--white);
}

.topbar-div {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.16);
}

.topbar strong {
    color: var(--white);
    font-weight: 600;
}

/* ---------- 8. Header & navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.site-header.is-stuck {
    box-shadow: var(--sh-2);
    border-bottom-color: transparent;
}

.header-inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-800);
    flex-shrink: 0;
}

.brand:hover {
    color: var(--navy-800);
}

.brand-logo {
    display: block;
    height: 100px;
    width: auto;
    object-fit: contain;
}

.mainnav {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 9px;
    border-radius: var(--radius-s);
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy-800);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-link:hover {
    color: var(--orange);
    background: var(--grey-50);
}

.nav-link.is-active {
    color: var(--orange);
}

.nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 4px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.nav-item .chev {
    width: 0.85em;
    height: 0.85em;
    opacity: 0.6;
    transition: transform var(--dur) var(--ease);
}

.nav-item.is-open > .nav-link .chev {
    transform: rotate(180deg);
}

.nav-cta {
    margin-left: var(--sp-3);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-shrink: 0;
    /* Below 1240px .mainnav is hidden, and it is that element's flex growth which
       holds the desktop actions against the right edge - so the toggle needs its
       own auto margin to stay on the right once the nav is gone. */
    margin-left: auto;
}

/* Dropdown (2nd level) */
.dropdown {
    position: absolute;
    top: calc(100% - 6px);
    left: 0;
    min-width: 264px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    box-shadow: var(--sh-3);
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
        visibility var(--dur) var(--ease);
}

.dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

.nav-item.has-children:hover > .dropdown,
.nav-item.has-children:focus-within > .dropdown,
.nav-item.is-open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-s);
    font-size: var(--step-0);
    color: var(--text);
    text-decoration: none;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
        padding-left var(--dur) var(--ease);
}

.dropdown-link::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--grey-400);
    flex-shrink: 0;
    transition: background var(--dur) var(--ease);
}

.dropdown-link:hover,
.dropdown-link.is-active {
    background: var(--grey-100);
    color: var(--orange);
    padding-left: 16px;
}

.dropdown-link:hover::before,
.dropdown-link.is-active::before {
    background: var(--orange);
}

.dropdown-label {
    display: block;
    padding: 8px 12px 4px;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey-600);
}

.dropdown > li {
    margin: 0;
}

/* Keep the final menu panel inside the viewport. */
.nav-list > .nav-item:last-child > .dropdown {
    left: auto;
    right: 0;
}

/* Mega menu */
.nav-item.is-mega {
    position: static;
}

.mega {
    left: 50%;
    transform: translate(-50%, -8px);
    right: auto;
    width: min(900px, calc(100vw - (var(--gutter) * 2)));
    padding: var(--sp-5);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: var(--sp-4);
}

.nav-item.is-mega:hover > .mega,
.nav-item.is-mega:focus-within > .mega,
.nav-item.is-mega.is-open > .mega {
    transform: translate(-50%, 0);
}

.mega .dropdown-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    background: var(--white);
}

.mega .dropdown-link::before {
    display: none;
}

.mega .dropdown-link:hover,
.mega .dropdown-link.is-active {
    padding-left: 14px;
    border-color: var(--orange-line);
    background: var(--orange-tint);
}

.mega-title {
    display: block;
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 700;
    color: var(--navy-800);
    line-height: 1.3;
}

.mega .dropdown-link:hover .mega-title,
.mega .dropdown-link.is-active .mega-title {
    color: var(--orange-dark);
}

.mega-desc {
    display: block;
    font-size: var(--step--1);
    line-height: 1.5;
    color: var(--text-muted);
    font-weight: 400;
}

.mega-foot {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding-top: var(--sp-4);
    margin: var(--sp-2) 0 0;
    border-top: 1px solid var(--grey-200);
    font-size: var(--step--1);
    color: var(--text-muted);
}

/* Nav toggle (mobile) */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    padding: 0;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy-800);
    cursor: pointer;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
        border-color var(--dur) var(--ease);
}

.nav-toggle:hover {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: var(--white);
}

.nav-toggle .icon {
    width: 33px;
    height: 33px;
}

.nav-toggle .icon-close {
    display: none;
}

.nav-toggle .icon-menu {
    display: block;
}

body.nav-open .nav-toggle .icon-menu {
    display: none;
}

body.nav-open .nav-toggle .icon-close {
    display: block;
}

/* ---------- 9. Mobile drawer ---------- */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 1500;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 20, 38, 0.55);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 90vw);
    display: flex;
    flex-direction: column;
    background: var(--white);
    box-shadow: var(--sh-3);
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
}

body.nav-open {
    overflow: hidden;
}

body.nav-open .drawer {
    visibility: visible;
    pointer-events: auto;
}

body.nav-open .drawer-backdrop {
    opacity: 1;
}

body.nav-open .drawer-panel {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--grey-200);
    flex-shrink: 0;
}

.drawer-title {
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy-800);
    margin: 0;
}

.drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius);
    background: transparent;
    color: var(--navy-800);
    cursor: pointer;
}

.drawer-close:hover {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: var(--white);
}

.drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--sp-4) var(--sp-5);
    -webkit-overflow-scrolling: touch;
}

.drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-list > li {
    margin: 0;
    border-bottom: 1px solid var(--grey-200);
}

.drawer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
}

.drawer-row > a {
    flex: 1 1 auto;
    display: block;
    padding: 14px 0;
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 700;
    color: var(--navy-800);
}

.drawer-row > a.is-active {
    color: var(--orange);
}

.drawer-expander {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-s);
    background: transparent;
    color: var(--navy-800);
    cursor: pointer;
}

.drawer-expander .icon {
    transition: transform var(--dur) var(--ease);
}

.drawer-expander[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

.drawer-sub {
    list-style: none;
    margin: 0 0 var(--sp-3);
    padding: 0 0 0 var(--sp-4);
    border-left: 2px solid var(--orange-line);
}

.drawer-sub[hidden] {
    display: none;
}

.drawer-sub li {
    margin: 0;
}

.drawer-sub a {
    display: block;
    padding: 9px 0;
    font-size: var(--step-0);
    color: var(--text-muted);
}

.drawer-sub a:hover,
.drawer-sub a.is-active {
    color: var(--orange);
}

.drawer-foot {
    flex-shrink: 0;
    padding: var(--sp-4) var(--sp-5);
    border-top: 1px solid var(--grey-200);
    background: var(--grey-50);
}

.drawer-foot .btn {
    width: 100%;
}

.drawer-contact {
    list-style: none;
    margin: var(--sp-4) 0 0;
    padding: 0;
    font-size: var(--step--1);
    color: var(--text-muted);
}

.drawer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 8px;
}

.drawer-contact .icon {
    color: var(--orange);
    margin-top: 3px;
}

/* ---------- 10. Hero (home) ---------- */
.hero {
    position: relative;
    background: var(--navy-900);
    color: var(--on-dark);
    isolation: isolate;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    display: none;
    align-items: center;
    min-height: min(88vh, 760px);
    padding-block: calc(var(--header-h) + var(--sp-8)) var(--sp-8);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.is-active {
    display: flex;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(100deg, rgba(4, 16, 31, 0.92) 0%, rgba(6, 20, 38, 0.78) 42%, rgba(6, 20, 38, 0.35) 100%),
        radial-gradient(900px 420px at 88% 12%, rgba(242, 106, 33, 0.2), transparent 65%);
}

.hero-copy {
    position: relative;
    max-width: 660px;
}

.hero-slide.is-active .hero-kicker { animation: fade-up 0.6s var(--ease) both; }
.hero-slide.is-active .hero-title { animation: fade-up 0.6s var(--ease) 0.08s both; }
.hero-slide.is-active .hero-sub { animation: fade-up 0.6s var(--ease) 0.16s both; }
.hero-slide.is-active .hero-actions { animation: fade-up 0.6s var(--ease) 0.24s both; }

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--sp-4);
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange);
}

.hero-kicker::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--orange);
}

.hero-title {
    margin-bottom: var(--sp-4);
    font-size: clamp(2rem, 1.1rem + 3.6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
}

.hero-sub {
    margin-bottom: var(--sp-6);
    font-size: var(--step-2);
    line-height: 1.6;
    color: var(--on-dark-muted);
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-4);
}

.hero-align-center {
    text-align: center;
}

.hero-align-center .hero-copy {
    margin-inline: auto;
}

.hero-align-center .hero-kicker,
.hero-align-center .hero-actions {
    justify-content: center;
}

.hero-align-center .hero-sub {
    margin-inline: auto;
}

.hero-align-right .hero-copy {
    margin-left: auto;
}

.hero-align-right .hero-kicker::before {
    display: none;
}

.hero-ui {
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--sp-6);
    z-index: 3;
}

.hero-ui .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: width var(--dur) var(--ease), background var(--dur) var(--ease),
        border-color var(--dur) var(--ease);
}

.hero-dots button:hover {
    border-color: var(--orange);
}

.hero-dots button[aria-current="true"] {
    width: 54px;
    background: var(--orange);
    border-color: var(--orange);
}

.hero-count {
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--on-dark-muted);
}

.hero-count strong {
    color: var(--white);
}

.hero-rail {
    background: var(--navy-800);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-block: var(--sp-5);
}

.hero-rail-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-5);
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-rail-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: var(--step-0);
    color: var(--on-dark-muted);
}

.hero-rail-list .icon {
    color: var(--orange);
    width: 1.4em;
    height: 1.4em;
}

/* ---------- 11. Page hero & breadcrumb (inner pages) ---------- */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy-900);
    color: var(--on-dark);
    padding-block: calc(var(--header-h) + var(--sp-8)) var(--sp-8);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(760px 380px at 82% 0%, rgba(242, 106, 33, 0.22), transparent 62%);
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 80%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 80%);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: var(--sp-3);
}

.page-hero p {
    color: var(--on-dark-muted);
    font-size: var(--step-2);
    max-width: 68ch;
    margin: 0;
}

.page-hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-6);
}

.page-hero-right {
    flex-shrink: 0;
}

.page-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    opacity: 0.28;
}

.page-hero-compact {
    padding-block: calc(var(--header-h) + var(--sp-6)) var(--sp-6);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0 0 var(--sp-4);
    padding: 0;
    font-size: var(--step--1);
    color: var(--on-dark-muted);
}

.breadcrumb li {
    margin: 0;
}

.breadcrumb a {
    color: var(--on-dark-muted);
}

.breadcrumb a:hover {
    color: var(--orange);
}

.breadcrumb li + li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-top: 1.5px solid var(--grey-600);
    border-right: 1.5px solid var(--grey-600);
    transform: rotate(45deg);
}

.breadcrumb [aria-current="page"] {
    color: var(--white);
    font-weight: 600;
}

.breadcrumb-dark {
    color: var(--text-muted);
}

.breadcrumb-dark a {
    color: var(--text-muted);
}

.breadcrumb-dark [aria-current="page"] {
    color: var(--navy-800);
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--sp-4);
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-facts li {
    margin: 0;
    padding-left: var(--sp-4);
    border-left: 2px solid var(--orange);
}

.hero-facts strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.hero-facts span {
    font-size: var(--step--1);
    color: var(--on-dark-muted);
}

/* ---------- 12. Cards ---------- */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-l);
    overflow: hidden;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        transform var(--dur) var(--ease);
}

a.card:hover,
.card:hover {
    border-color: var(--orange-line);
    box-shadow: var(--sh-2);
    transform: translateY(-4px);
}

.card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--grey-100);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.card:hover .card-media img {
    transform: scale(1.05);
}

/* Logo-led cards must letterbox their artwork instead of cropping it. */
.card-media-logo {
    aspect-ratio: auto;
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-5);
}

.card-media-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
}

.card-media-badge {
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-3);
    z-index: 2;
}

.card-media-status {
    position: absolute;
    bottom: var(--sp-3);
    right: var(--sp-3);
    z-index: 2;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(6, 20, 38, 0.82);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: var(--sp-5);
    gap: var(--sp-3);
}

/* The column stretches its children, but a label pill must stay content-sized. */
.card-body > .pill {
    align-self: flex-start;
}

.card-body > h2,
.card-body > h3 {
    font-size: var(--step-2);
    margin: 0;
}

.card-body > h2 a:hover,
.card-body > h3 a:hover {
    color: var(--orange);
}

.card-text {
    font-size: var(--step-0);
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-2) var(--sp-4);
    margin-top: auto;
    padding-top: var(--sp-4);
    border-top: 1px solid var(--grey-200);
    font-size: var(--step--1);
    color: var(--text-muted);
    list-style: none;
}

.card-meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.card-meta .icon {
    color: var(--orange);
    width: 1em;
    height: 1em;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: var(--sp-4);
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 700;
    color: var(--orange);
}

.card-link:hover {
    color: var(--orange-dark);
}

.card-link .icon {
    transition: transform var(--dur) var(--ease);
}

.card-link:hover .icon {
    transform: translateX(4px);
}

.card-meta + .card-link {
    margin-top: var(--sp-2);
    padding-top: 0;
}

/* Image composition with an overlapping fact chip */
.media-stack {
    position: relative;
    padding-bottom: var(--sp-6);
}

.media-main {
    border-radius: var(--radius-l);
    overflow: hidden;
    border: 1px solid var(--grey-200);
    background: var(--grey-100);
    aspect-ratio: 4 / 3;
}

.media-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-chip {
    position: absolute;
    left: var(--sp-5);
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--sp-4) var(--sp-5);
    border-radius: var(--radius);
    background: var(--navy-800);
    box-shadow: var(--sh-3);
    color: var(--on-dark-muted);
    font-size: var(--step--1);
    line-height: 1.3;
    margin: 0;
}

.media-chip strong {
    font-family: var(--font-display);
    font-size: var(--step-3);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.card-flat {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.card-flat:hover {
    transform: none;
    box-shadow: none;
}

/* Capability cards */
.cap-card {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    padding: var(--sp-6) var(--sp-5);
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-l);
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
        transform var(--dur) var(--ease);
}

.cap-card:hover {
    border-color: var(--orange-line);
    background: var(--grey-50);
    transform: translateY(-4px);
}

.cap-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--orange-tint);
    color: var(--orange);
    margin-bottom: var(--sp-2);
}

.cap-icon .icon {
    width: 26px;
    height: 26px;
}

.cap-card h3 {
    font-size: var(--step-2);
    margin: 0;
}

.cap-card p {
    font-size: var(--step-0);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

.section-navy .cap-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-navy .cap-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(242, 106, 33, 0.5);
}

.section-navy .cap-card p {
    color: var(--on-dark-muted);
}

/* Sector tiles */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-4);
}

.sector-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    padding: var(--sp-5);
    border-radius: var(--radius-l);
    overflow: hidden;
    background: linear-gradient(155deg, var(--navy-700) 0%, var(--navy-900) 100%);
    color: var(--white);
    isolation: isolate;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.sector-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-3);
    color: var(--white);
}

.sector-tile-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    opacity: 0.32;
    transition: transform 0.6s var(--ease), opacity var(--dur) var(--ease);
}

.sector-tile:hover .sector-tile-bg {
    transform: scale(1.07);
    opacity: 0.42;
}

.sector-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(6, 20, 38, 0.15) 0%, rgba(4, 16, 31, 0.88) 100%);
}

.sector-tile-icon {
    position: absolute;
    top: var(--sp-4);
    left: var(--sp-5);
    z-index: 1;
    color: var(--orange);
    opacity: 0.9;
}

.sector-tile-icon .icon {
    width: 30px;
    height: 30px;
}

.sector-tile h3 {
    position: relative;
    z-index: 1;
    font-size: var(--step-2);
    color: var(--white);
    margin: 0 0 4px;
}

.sector-tile p {
    position: relative;
    z-index: 1;
    font-size: var(--step--1);
    color: var(--on-dark-muted);
    margin: 0;
}

.sector-more {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: var(--sp-3);
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--orange);
}

.sector-more .icon {
    transition: transform var(--dur) var(--ease);
}

.sector-tile:hover .sector-more .icon {
    transform: translateX(4px);
}

/* Portfolio link, deliberately the one warm tile in the grid. */
.sector-tile-cta {
    background: var(--orange);
}

.sector-tile-cta::after {
    background: linear-gradient(180deg, rgba(193, 77, 16, 0.12) 0%, rgba(193, 77, 16, 0.34) 100%);
}

.sector-tile-cta .sector-tile-icon {
    color: var(--navy-900);
    opacity: 0.6;
}

.sector-tile-cta h3,
.sector-tile-cta .sector-more {
    color: var(--navy-900);
}

.sector-tile-cta p {
    color: rgba(255, 255, 255, 0.88);
}

/* ---------- 13. Statistics ---------- */
.stats-band {
    position: relative;
    isolation: isolate;
    background: var(--navy-900);
    color: var(--on-dark);
    padding-block: var(--sp-8);
    overflow: hidden;
}

.stats-band::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(620px 300px at 12% 0%, rgba(242, 106, 33, 0.16), transparent 60%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-l);
    overflow: hidden;
}

.stat {
    padding: var(--sp-6) var(--sp-5);
    background: var(--navy-900);
    border-left: 3px solid transparent;
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.stat:hover {
    background: var(--navy-800);
    border-left-color: var(--orange);
}

/* Admins control the count, so an odd final cell spans the row instead of
   leaving an empty panel in the grid. */
.stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.stat-icon {
    display: block;
    margin-bottom: var(--sp-3);
    color: var(--orange);
}

.stat-icon .icon {
    width: 22px;
    height: 22px;
}

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.75rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.02em;
}

.stat-value .affix {
    color: var(--orange);
    font-size: 0.62em;
    font-weight: 700;
}

.stat-label {
    margin-top: var(--sp-2);
    font-size: var(--step-0);
    font-weight: 500;
    color: var(--on-dark-muted);
}

.stats-light .stat {
    background: var(--white);
}

.stats-light .stat:hover {
    background: var(--grey-50);
}

.stats-light .stat-value {
    color: var(--navy-800);
}

.stats-light .stat-label {
    color: var(--text-muted);
}

/* ---------- 14. News & updates ---------- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.news-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--sp-5);
    padding: var(--sp-5);
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-l);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        transform var(--dur) var(--ease);
}

.news-item:hover {
    border-color: var(--orange-line);
    box-shadow: var(--sh-2);
    transform: translateY(-3px);
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border-radius: var(--radius);
    background: var(--grey-100);
    border-top: 3px solid var(--orange);
    font-family: var(--font-display);
    line-height: 1.1;
}

.news-date .d {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-800);
}

.news-date .m {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.news-body h3 {
    font-size: var(--step-2);
    margin: 0 0 6px;
}

.news-body p {
    font-size: var(--step-0);
    color: var(--text-muted);
    margin: 0;
}

.news-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--sp-3);
    text-align: right;
}

.news-card {
    display: flex;
    flex-direction: column;
}

.news-card .card-media {
    aspect-ratio: 16 / 9;
}

.notice-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.notice-list li {
    margin: 0;
}

.notice-link {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: 14px var(--sp-4);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    background: var(--white);
    font-size: var(--step-0);
    color: var(--text);
}

.notice-link:hover {
    border-color: var(--orange-line);
    background: var(--orange-tint);
    color: var(--navy-800);
}

.notice-link .icon {
    color: var(--orange);
    margin-top: 3px;
}

/* ---------- 15. Documents ---------- */
.doc-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.doc-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: var(--sp-4);
    margin: 0;
    padding: var(--sp-4) var(--sp-5);
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        background var(--dur) var(--ease);
}

.doc-row:hover {
    border-color: var(--orange-line);
    background: var(--grey-50);
    box-shadow: var(--sh-1);
}

.doc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-s);
    background: var(--orange-tint);
    color: var(--orange);
}

.doc-icon .icon {
    width: 22px;
    height: 22px;
}

.doc-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.doc-title {
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 700;
    color: var(--navy-800);
    line-height: 1.35;
}

.doc-row:hover .doc-title {
    color: var(--orange-dark);
}

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

.doc-cat {
    font-size: var(--step--1);
    color: var(--text-muted);
    white-space: nowrap;
}

.doc-table {
    width: 100%;
    font-size: var(--step-0);
}

.doc-table caption {
    text-align: left;
    padding-bottom: var(--sp-3);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy-800);
    caption-side: top;
}

.doc-table th,
.doc-table td {
    padding: 14px var(--sp-4);
    text-align: left;
    border-bottom: 1px solid var(--grey-200);
}

.doc-table thead th {
    background: var(--navy-800);
    color: var(--white);
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 0;
}

.doc-table tbody tr:hover {
    background: var(--grey-50);
}

.doc-table td a {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy-800);
}

.doc-table td a:hover {
    color: var(--orange);
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    -webkit-overflow-scrolling: touch;
}

.cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    list-style: none;
    margin: 0 0 var(--sp-6);
    padding: 0;
}

.cat-nav li {
    margin: 0;
}

.cat-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--grey-300);
    border-radius: 999px;
    background: var(--white);
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 600;
    color: var(--navy-800);
    text-decoration: none;
    transition: all var(--dur) var(--ease);
}

.cat-nav a:hover {
    border-color: var(--orange-line);
    color: var(--orange-dark);
    background: var(--orange-tint);
}

.cat-nav a.is-active {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: var(--white);
}

.cat-nav .count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--grey-200);
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 700;
}

.cat-nav a.is-active .count {
    background: var(--orange);
    color: var(--white);
}

/* ---------- 16. Filters ---------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--sp-4);
    padding: var(--sp-5);
    margin-bottom: var(--sp-6);
    background: var(--grey-100);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-l);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
    flex: 1 1 160px;
}

/* Controls that should sit at their own width instead of stretching. */
.filter-group-fit {
    min-width: 0;
    flex: 0 0 auto;
}

.label-caps,
.filter-label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    list-style: none;
    margin: 0;
    padding: 0;
}

.chips li {
    margin: 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--grey-300);
    border-radius: 999px;
    background: var(--white);
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 600;
    color: var(--navy-800);
    text-decoration: none;
    transition: all var(--dur) var(--ease);
}

.chip:hover {
    border-color: var(--orange);
    color: var(--orange-dark);
}

.chip.is-active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.chip-clear {
    border-style: dashed;
    color: var(--text-muted);
}

.filter-select {
    appearance: none;
    padding: 10px 38px 10px 14px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius);
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7085' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    font-family: var(--font-body);
    font-size: var(--step-0);
    color: var(--navy-800);
    cursor: pointer;
}

.filter-select:focus {
    border-color: var(--orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.16);
}

.result-count {
    font-size: var(--step-0);
    color: var(--text-muted);
}

.result-count strong {
    color: var(--navy-800);
    font-family: var(--font-display);
}

/* ---------- 17. Article & detail layouts ---------- */
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--sp-7);
    align-items: start;
}

.detail-media {
    position: relative;
    border-radius: var(--radius-l);
    overflow: hidden;
    background: var(--grey-100);
    border: 1px solid var(--grey-200);
    aspect-ratio: 4 / 3;
}

.detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-l);
    background: var(--grey-100);
    border: 1px dashed var(--grey-300);
    color: var(--grey-600);
    font-size: var(--step-0);
}

.detail-placeholder .icon {
    width: 40px;
    height: 40px;
    color: var(--grey-400);
}

.detail-head {
    margin-bottom: var(--sp-5);
}

.detail-title {
    margin-bottom: var(--sp-3);
}

.spec-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    margin: 0 0 var(--sp-6);
    padding: 0;
    list-style: none;
    background: var(--grey-200);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    overflow: hidden;
}

.spec-list li {
    margin: 0;
    padding: 14px var(--sp-4);
    background: var(--white);
}

.spec-k {
    display: block;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.spec-v {
    display: block;
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 700;
    color: var(--navy-800);
    line-height: 1.35;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-top: var(--sp-6);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--grey-200);
}

.side-panel {
    padding: var(--sp-5);
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-l);
}

.side-panel + .side-panel {
    margin-top: var(--sp-4);
}

.side-panel h3 {
    font-size: var(--step-1);
    padding-bottom: var(--sp-3);
    margin-bottom: var(--sp-4);
    border-bottom: 2px solid var(--orange);
}

.side-panel.is-sticky {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-5));
}

/* Link lists inside light panels reuse the footer component, so they need
   dark-on-light ink rather than the footer's light-on-dark palette. */
.side-panel .footer-links a {
    color: var(--navy-700);
}

.side-panel .footer-links a:hover {
    color: var(--orange-dark);
}

/* Rich text (CMS bodies) */
.prose {
    font-size: var(--step-1);
    line-height: 1.75;
    color: var(--text);
}

.prose > :first-child {
    margin-top: 0;
}

.prose h2 {
    margin: 1.6em 0 0.6em;
    font-size: clamp(1.35rem, 1.05rem + 0.9vw, 1.75rem);
    color: var(--navy-800);
}

.prose h3 {
    margin: 1.5em 0 0.5em;
    font-size: var(--step-2);
    color: var(--navy-800);
}

.prose h4 {
    margin: 1.4em 0 0.4em;
    font-size: var(--step-1);
    color: var(--navy-800);
}

.prose p {
    margin: 0 0 1.1em;
}

.prose a {
    color: var(--orange-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.prose a:hover {
    color: var(--orange);
}

.prose ul,
.prose ol {
    margin: 0 0 1.2em;
    padding-left: 0;
    list-style: none;
}

.prose li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.prose ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    background: var(--orange);
    transform: rotate(45deg);
}

.prose ol {
    counter-reset: prose-ol;
}

.prose ol > li {
    counter-increment: prose-ol;
}

.prose ol > li::before {
    content: counter(prose-ol);
    position: absolute;
    left: 0;
    top: 0.1em;
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 800;
    color: var(--orange);
}

.prose img {
    border-radius: var(--radius);
    height: auto;
    margin: var(--sp-4) 0;
}

.prose figure {
    margin: var(--sp-5) 0;
}

.prose figcaption {
    font-size: var(--step--1);
    color: var(--text-muted);
    margin-top: var(--sp-2);
}

.prose blockquote {
    margin: var(--sp-5) 0;
    padding: var(--sp-4) var(--sp-5);
    border-left: 4px solid var(--orange);
    background: var(--grey-50);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: var(--step-2);
    line-height: 1.6;
    color: var(--navy-800);
    font-family: var(--font-display);
    font-weight: 600;
}

.prose blockquote p:last-child {
    margin: 0;
}

.prose table {
    width: 100%;
    margin: var(--sp-5) 0;
    font-size: var(--step-0);
}

.prose th,
.prose td {
    padding: 12px var(--sp-4);
    border: 1px solid var(--grey-300);
    text-align: left;
}

.prose thead th {
    background: var(--navy-800);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
}

.prose tbody tr:nth-child(even) {
    background: var(--grey-50);
}

.prose hr {
    border: 0;
    border-top: 1px solid var(--grey-200);
    margin: var(--sp-6) 0;
}

.prose iframe,
.prose video,
.prose .embed-responsive {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius);
}

/* ---------- 18. Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--sp-4);
}

.gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--grey-100);
    border: 1px solid var(--grey-200);
    cursor: zoom-in;
    transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.gallery-item:hover {
    box-shadow: var(--sh-2);
    transform: translateY(-3px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--sp-4);
    background: linear-gradient(180deg, transparent, rgba(6, 20, 38, 0.9));
    color: var(--white);
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.gallery-item:hover .gallery-cap,
.gallery-item:focus-visible .gallery-cap {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item.is-featured {
    grid-column: span 2;
    grid-row: span 2;
}

/* Embedded players keep a 16:9 box without stretching the iframe itself. */
.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--navy-900);
    overflow: hidden;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--sp-6);
    background: rgba(4, 16, 31, 0.94);
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: min(1100px, 100%);
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--sh-3);
}

.lightbox-btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.lightbox-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.lightbox-close {
    top: var(--sp-5);
    right: var(--sp-5);
}

.lightbox-prev {
    left: var(--sp-5);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: var(--sp-5);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-caption {
    position: absolute;
    bottom: var(--sp-5);
    left: 50%;
    transform: translateX(-50%);
    color: var(--on-dark-muted);
    font-size: var(--step-0);
    text-align: center;
    max-width: 70ch;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--sp-5);
}

.video-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-l);
    overflow: hidden;
    background: var(--white);
    text-decoration: none;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        transform var(--dur) var(--ease);
}

.video-card:hover {
    border-color: var(--orange-line);
    box-shadow: var(--sh-2);
    transform: translateY(-4px);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--navy-900);
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.video-play::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(242, 106, 33, 0.5);
}

.video-card:hover .video-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: var(--orange-dark);
}

.video-play .icon {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

.video-card .card-body {
    padding: var(--sp-4);
}

/* ---------- 19. Forms ---------- */
.form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-4);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* A field that takes the whole row inside .form-row. */
.field-wide {
    grid-column: 1 / -1;
}

.label {
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--navy-800);
}

.label .req {
    color: var(--orange);
    margin-left: 2px;
}

.input,
.textarea,
.select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius);
    background: var(--white);
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.5;
    color: var(--ink);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.input::placeholder,
.textarea::placeholder {
    color: var(--grey-600);
    opacity: 1;
}

.input:focus,
.textarea:focus,
.select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.16);
}

.textarea {
    min-height: 132px;
    resize: vertical;
}

.select {
    appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7085' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.input.is-invalid,
.textarea.is-invalid,
.select.is-invalid {
    border-color: var(--danger);
    background: var(--danger-tint);
}

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

.error {
    font-size: var(--step--1);
    color: var(--danger);
    font-weight: 500;
}

.file-field {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 12px 14px;
    border: 1px dashed var(--grey-400);
    border-radius: var(--radius);
    background: var(--grey-50);
    font-size: var(--step-0);
    color: var(--text-muted);
}

.file-field input[type="file"] {
    font-size: var(--step--1);
    color: var(--text-muted);
    border: 0;
    background: transparent;
    padding: 0;
    width: 100%;
}

/* The captcha pairs an answer field with the challenge image. The image is a button so
   it can be re-rolled without leaving the form, and it keeps the input's own height. */
.captcha-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.captcha-row .input {
    flex: 1 1 150px;
    max-width: 260px;
    min-width: 0;
}

.captcha-image {
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius);
    background: var(--grey-100);
    line-height: 0;
    cursor: pointer;
    transition: border-color var(--dur) var(--ease);
}

.captcha-image:hover,
.captcha-image:focus-visible {
    border-color: var(--orange);
}

.captcha-image img {
    display: block;
    width: 170px;
    height: 50px;
    border-radius: calc(var(--radius) - 1px);
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--step-0);
    color: var(--text-muted);
}

.checkbox-row input {
    margin-top: 4px;
    accent-color: var(--orange);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.form-panel {
    padding: var(--sp-6);
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-l);
    box-shadow: var(--sh-1);
}

.form-panel-title {
    font-size: var(--step-3);
    margin-bottom: var(--sp-2);
}

.form-panel-note {
    font-size: var(--step-0);
    color: var(--text-muted);
    margin-bottom: var(--sp-5);
}

.form-panel-grey {
    background: var(--grey-50);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-3);
    margin-top: var(--sp-6);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--grey-200);
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-5);
    border-radius: var(--radius);
    border: 1px solid var(--grey-300);
    background: var(--grey-50);
    font-size: var(--step-0);
    color: var(--navy-800);
}

.alert .icon {
    margin-top: 2px;
}

.alert-success {
    background: var(--success-tint);
    border-color: rgba(28, 125, 86, 0.3);
    color: var(--success);
}

.alert-error {
    background: var(--danger-tint);
    border-color: rgba(192, 57, 43, 0.3);
    color: var(--danger);
}

.alert-info {
    background: var(--info-tint);
    border-color: rgba(27, 79, 126, 0.28);
    color: var(--info);
}

.flash-stack {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
}

/* ---------- 20. Contact & offices ---------- */
.office-card {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    padding: var(--sp-5);
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-top: 3px solid var(--orange);
    border-radius: var(--radius-l);
    transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.office-card:hover {
    box-shadow: var(--sh-2);
    transform: translateY(-3px);
}

.office-card h3 {
    font-size: var(--step-2);
    margin: 0;
}

.office-kind {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--step-0);
    color: var(--text-muted);
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-line li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
}

.contact-line .icon {
    color: var(--navy-600);
    margin-top: 3px;
}

.contact-line a {
    color: var(--navy-800);
}

.contact-line a:hover {
    color: var(--orange);
}

.map-frame {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-l);
    overflow: hidden;
    border: 1px solid var(--grey-200);
    background: var(--grey-100);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-frame-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    color: var(--text-muted);
    font-size: var(--step-0);
    text-align: center;
    padding: var(--sp-5);
}

/* ---------- 21. Clientele logos ---------- */
.logo-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: var(--grey-200);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-l);
    overflow: hidden;
}

.logo-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    min-height: 116px;
    padding: var(--sp-4);
    background: var(--white);
    transition: background var(--dur) var(--ease);
}

.logo-tile:hover {
    background: var(--grey-50);
}

.logo-tile img {
    max-width: 128px;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.logo-tile:hover img {
    filter: none;
    opacity: 1;
}

.logo-mark {
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 700;
    color: var(--navy-700);
    text-align: center;
    line-height: 1.3;
}

.logo-tile .name {
    font-size: var(--step--1);
    color: var(--text-muted);
    text-align: center;
}

/* ---------- 22. Timeline & organisation ---------- */
.timeline {
    position: relative;
    margin: 0;
    padding: 0 0 0 var(--sp-6);
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--grey-300);
}

.timeline li {
    position: relative;
    margin: 0 0 var(--sp-6);
    padding: 0;
}

.timeline li:last-child {
    margin-bottom: 0;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--sp-6) + 1px);
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--orange);
}

.timeline-year {
    display: block;
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 800;
    color: var(--orange);
    line-height: 1.2;
    margin-bottom: 4px;
}

.timeline h3 {
    font-size: var(--step-1);
    margin-bottom: 4px;
}

.timeline p {
    font-size: var(--step-0);
    color: var(--text-muted);
    margin: 0;
}

.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-5);
}

.org-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 220px;
    max-width: 300px;
    padding: var(--sp-4) var(--sp-5);
    border: 1px solid var(--grey-300);
    border-radius: var(--radius);
    background: var(--white);
    text-align: center;
}

.org-node.is-root {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: var(--white);
}

.org-node.is-root strong {
    color: var(--white);
}

.org-node.is-root span {
    color: var(--on-dark-muted);
}

.org-node strong {
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 700;
    color: var(--navy-800);
}

.org-node span {
    font-size: var(--step--1);
    color: var(--text-muted);
}

.org-connector {
    width: 2px;
    height: var(--sp-5);
    background: var(--grey-300);
}

.org-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-4);
}

.person-card {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    padding: var(--sp-5);
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-l);
    transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.person-card:hover {
    box-shadow: var(--sh-2);
    border-color: var(--orange-line);
}

.person-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--navy-100);
    color: var(--navy-700);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    overflow: hidden;
}

.person-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-card h3 {
    font-size: var(--step-2);
    margin: 0;
}

.person-role {
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--orange);
}

.person-card p {
    font-size: var(--step-0);
    color: var(--text-muted);
    margin: 0;
}

/* ---------- 23. Feature lists ---------- */
.feature-list {
    counter-reset: feature;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.feature-list > li {
    counter-increment: feature;
    position: relative;
    padding-left: 62px;
    margin: 0;
}

.feature-num {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: var(--orange-tint);
    color: var(--orange);
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 800;
}

.feature-num::before {
    content: counter(feature, decimal-leading-zero);
}

.feature-list h3 {
    font-size: var(--step-2);
    margin: 0 0 6px;
}

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

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    margin: 0;
    font-size: var(--step-1);
    color: var(--text);
    line-height: 1.55;
}

.check-list .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: var(--orange-tint);
    color: var(--orange);
    margin-top: 3px;
    flex-shrink: 0;
}

.section-navy .check-list li {
    color: var(--on-dark);
}

/* ---------- 24. CTA band ---------- */
.cta-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy-900);
    color: var(--on-dark);
    padding-block: var(--sp-8);
}

.cta-band::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: 460px;
    height: 460px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 106, 33, 0.22), transparent 68%);
}

.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
}

.cta-copy {
    flex: 1 1 380px;
}

.cta-copy h2 {
    color: var(--white);
    margin-bottom: var(--sp-3);
}

.cta-copy p {
    color: var(--on-dark-muted);
    font-size: var(--step-2);
    margin: 0;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-4);
    flex-shrink: 0;
}

.cta-band .contact-line,
.cta-band .contact-line li {
    color: var(--on-dark-muted);
}

.cta-band .contact-line .icon {
    color: var(--orange);
}

.cta-band .contact-line a {
    color: var(--white);
}

.cta-band .contact-line a:hover {
    color: var(--orange);
}

/* ---------- 25. Empty states & pagination ---------- */
.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    padding: var(--sp-8) var(--sp-5);
    border: 1px dashed var(--grey-300);
    border-radius: var(--radius-l);
    background: var(--grey-50);
    text-align: center;
}

.empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--grey-200);
    color: var(--grey-600);
}

.empty-icon .icon {
    width: 26px;
    height: 26px;
}

.empty h2,
.empty h3 {
    font-size: var(--step-2);
    margin: 0;
}

.empty p {
    font-size: var(--step-0);
    color: var(--text-muted);
    max-width: 46ch;
    margin: 0;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: var(--sp-7) 0 0;
    padding: 0;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 700;
    color: var(--navy-800);
    text-decoration: none;
    transition: all var(--dur) var(--ease);
}

.pagination a:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-tint);
}

.pagination .is-current {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.pagination .is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ---------- 26. Footer ---------- */
.site-footer {
    margin-top: auto;
    position: relative;
    background: var(--navy-900);
    color: var(--on-dark-muted);
    padding-top: var(--sp-9);
    font-size: var(--step-0);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange) 0%, rgba(242, 106, 33, 0.15) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
    gap: var(--sp-7) var(--sp-5);
    padding-bottom: var(--sp-8);
}

.footer-brand-block {
    max-width: 340px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--sp-4);
    color: var(--white);
}

.footer-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.footer-logo strong {
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 800;
    color: var(--white);
}

.footer-about {
    font-size: var(--step-0);
    line-height: 1.7;
    color: var(--on-dark-muted);
    margin: 0 0 var(--sp-4);
}

.footer-cin {
    font-size: var(--step--1);
    color: var(--grey-600);
    letter-spacing: 0.02em;
}

.footer-col h2 {
    position: relative;
    margin: 0 0 var(--sp-4);
    padding-bottom: var(--sp-3);
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
}

.footer-col h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--orange);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 0 0 2px;
}

.footer-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    color: var(--on-dark-muted);
    text-decoration: none;
    font-size: var(--step-0);
    transition: color var(--dur) var(--ease);
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--orange);
    transition: width var(--dur) var(--ease);
    flex-shrink: 0;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links a:hover::before {
    width: 14px;
}

.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: var(--step-0);
    line-height: 1.6;
}

.footer-contact .icon {
    color: var(--orange);
    margin-top: 4px;
    width: 1.05em;
    height: 1.05em;
}

.footer-contact a {
    color: var(--on-dark-muted);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-top: var(--sp-4);
    list-style: none;
    padding: 0;
}

.footer-social li {
    margin: 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-s);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: var(--on-dark);
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 700;
    transition: all var(--dur) var(--ease);
}

.footer-social a:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding-block: var(--sp-5);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: var(--step--1);
    color: var(--grey-600);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-4);
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-legal li {
    margin: 0;
}

.footer-legal a {
    color: var(--grey-600);
}

.footer-legal a:hover {
    color: var(--orange);
}

.footer-note {
    margin: 0;
}

.footer-credit a {
    color: var(--on-dark-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-credit a:hover {
    color: var(--orange);
}

.to-top {
    position: fixed;
    right: var(--sp-5);
    bottom: var(--sp-5);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    box-shadow: var(--sh-2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
        visibility var(--dur) var(--ease), background var(--dur) var(--ease);
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top .icon {
    transform: rotate(-90deg);
    width: 20px;
    height: 20px;
}

.to-top:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
}

/* ---------- 27. Motion ---------- */
/* Content stays visible when JavaScript is unavailable; the hidden state is
   applied only after site.js flags the document with .js. */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@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;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---------- 28. Status pages (404 / maintenance) ---------- */
/* Standalone documents load site.css directly, so the shell recreates the
   rhythm the master layout would otherwise provide. */
.status-body {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: var(--navy-950);
    color: var(--on-dark);
}

.status-scene {
    position: absolute;
    inset: auto 0 0 0;
    height: 52vh;
    background: url('../img/hero-skyline.svg') bottom center / cover no-repeat;
    opacity: .18;
    pointer-events: none;
}

.status-head,
.status-main,
.status-foot {
    position: relative;
}

.status-head {
    padding-block: var(--sp-5);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.status-brand {
    display: inline-block;
    width: clamp(180px, 24vw, 240px);
    padding: 10px 14px;
    background: var(--white);
    border-radius: var(--radius-s);
}

.status-brand img {
    display: block;
    width: 100%;
}

.status-main {
    display: flex;
    align-items: center;
    padding-block: var(--sp-8);
}

.status-card {
    max-width: 780px;
}

.status-code {
    margin: 0 0 var(--sp-4);
    font-family: var(--font-display);
    font-size: clamp(3.75rem, 1rem + 9vw, 8.5rem);
    font-weight: 800;
    line-height: .86;
    letter-spacing: -0.045em;
    color: var(--orange);
}

.status-card h1 {
    color: var(--white);
}

.status-text {
    font-size: var(--step-1);
    line-height: 1.75;
    color: var(--on-dark-muted);
}

.status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-top: var(--sp-6);
}

.status-links {
    margin-top: var(--sp-8);
    padding-top: var(--sp-5);
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.status-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2) var(--sp-5);
    margin: var(--sp-3) 0 0;
    padding: 0;
    list-style: none;
}

.status-links li {
    margin: 0;
}

.status-links a {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 700;
    color: var(--on-dark);
    text-decoration: none;
}

.status-links a:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.status-foot {
    padding-block: var(--sp-5);
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: var(--step--1);
    color: var(--on-dark-muted);
}

.status-foot .container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2) var(--sp-5);
    justify-content: space-between;
}

.status-foot a {
    color: var(--on-dark-muted);
}

.status-foot a:hover {
    color: var(--orange);
}

@media (max-width: 768px) {
    .status-main {
        padding-block: var(--sp-7);
    }

    .status-links {
        margin-top: var(--sp-7);
    }
}

/* ---------- 29. Responsive ---------- */
@media (max-width: 1240px) {
    :root {
        --header-h: 76px;
    }

    .mainnav,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 1080px) {
    :root {
        --gutter: 22px;
    }

    .mega {
        width: min(760px, calc(100vw - (var(--gutter) * 2)));
    }

    .sector-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-brand-block {
        grid-column: 1 / -1;
        max-width: none;
    }

    .hero-rail-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.5px) {
    .split,
    .split-wide-text,
    .split-wide-media,
    .detail-grid,
    .sidebar-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--sp-6);
    }

    .split-order-reverse > :first-child {
        order: 0;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-slide {
        min-height: min(74vh, 620px);
    }

    .side-panel.is-sticky {
        position: static;
    }
}

@media (max-width: 767.5px) {
    :root {
        --gutter: 18px;
        --header-h: 64px;
        --sp-9: 60px;
        --sp-10: 76px;
    }

    .topbar {
        display: none;
    }

    .brand-logo {
        height: 40px;
    }

    .header-inner {
        gap: var(--sp-3);
    }

    .hero-slide {
        min-height: auto;
        padding-block: var(--sp-8) 150px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 340px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-ui {
        bottom: var(--sp-4);
    }

    .hero-ui .container {
        justify-content: center;
    }

    .hero-count {
        display: none;
    }

    .page-hero {
        padding-block: calc(var(--header-h) + var(--sp-6)) var(--sp-6);
    }

    .page-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-5);
    }

    .sector-grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-item.is-featured {
        grid-column: auto;
        grid-row: auto;
    }

    .doc-row {
        grid-template-columns: 40px minmax(0, 1fr);
        row-gap: var(--sp-3);
        padding: var(--sp-4);
    }

    .doc-row > .doc-cat,
    .doc-row > .btn {
        grid-column: 2;
        justify-self: start;
    }

    .news-item {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--sp-4);
    }

    .news-date {
        flex-direction: row;
        align-self: start;
        gap: 8px;
        padding: 6px 12px;
    }

    .news-date .d {
        font-size: 1.125rem;
    }

    .news-side {
        align-items: flex-start;
        text-align: left;
    }

    .filter-bar {
        padding: var(--sp-4);
    }

    .filter-group {
        flex: 1 1 100%;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .media-stack {
        padding-bottom: var(--sp-5);
    }

    .media-chip {
        left: var(--sp-4);
        max-width: calc(100% - (var(--sp-4) * 2));
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--sp-6) var(--sp-4);
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-3);
    }

    .logo-band {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }
}

@media (max-width: 480px) {
    :root {
        --header-h: 60px;
    }

    .brand-logo {
        height: 100px;
    }

    .stats-grid,
    .hero-rail-list,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .btn-lg {
        padding: 14px 22px;
        font-size: var(--step-0);
    }

    .section-head-aside {
        flex-direction: column;
        align-items: flex-start;
    }

    .spec-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .lightbox-prev {
        left: var(--sp-2);
    }

    .lightbox-next {
        right: var(--sp-2);
    }
}

/* ---------- 30. Print ---------- */
@media print {
    .topbar,
    .site-header,
    .drawer,
    .site-footer,
    .to-top,
    .cta-band,
    .hero-ui,
    .filter-bar,
    .pagination,
    .nav-toggle {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    .page-hero,
    .section-navy,
    .stats-band {
        background: #fff;
        color: #000;
        padding-block: var(--sp-4);
    }

    .page-hero h1,
    .section-navy h2 {
        color: #000;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
