@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --canvas:        #181818;
    --canvas-elev:   #303030;
    --canvas-light:  #ffffff;
    --surf-soft:     #f7f7f7;
    --surf-strong:   #ebebeb;
    --primary:       #da291c;
    --primary-act:   #b01e0a;
    --hairline:      #303030;
    --hairline-lt:   #d2d2d2;
    --ink:           #ffffff;
    --body-clr:      #969696;
    --body-lt:       #181818;
    --muted:         #666666;
    --on-primary:    #ffffff;

    --sp-xxxs: 4px;
    --sp-xxs:  8px;
    --sp-xs:   16px;
    --sp-sm:   24px;
    --sp-md:   32px;
    --sp-lg:   48px;
    --sp-xl:   64px;
    --sp-xxl:  96px;
    --sp-sup:  128px;

    --font: 'Inter', -apple-system, system-ui, sans-serif;
    --max-w: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--canvas);
    color: var(--body-clr);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--sp-xs);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
}

.top-nav { height: 64px; }

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--sp-xs);
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--sp-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-xxs);
    flex-shrink: 0;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.logo-text {
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--sp-sm);
    margin-left: auto;
}

.nav-link {
    color: var(--body-clr);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.65px;
    text-transform: uppercase;
    padding: var(--sp-xxs) 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.nav-link--active,
.nav-link:focus-visible {
    color: var(--ink);
    border-bottom-color: var(--primary);
    outline: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--sp-xxs);
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
}

.hero-band {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-band__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-band__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24,24,24,0.15) 0%, rgba(24,24,24,0.75) 100%);
}

.hero-band__content {
    position: relative;
    z-index: 2;
    padding: var(--sp-xxl) var(--sp-xs);
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--sp-xs);
}

.hero-h1 {
    color: var(--ink);
    font-size: 80px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -1.6px;
    max-width: 860px;
    margin-bottom: var(--sp-sm);
}

.hero-sub {
    color: var(--body-clr);
    font-size: 16px;
    font-weight: 400;
    max-width: 580px;
    margin-bottom: var(--sp-md);
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 14px 32px;
    height: 48px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 13px 32px;
    height: 48px;
    border: 1px solid var(--ink);
    border-radius: 0;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
}

.section-band {
    padding: var(--sp-xxl) var(--sp-xs);
}

.section-band--light {
    background: var(--surf-soft);
    color: var(--body-lt);
}

.section-band--elevated {
    background: var(--canvas-elev);
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--sp-xs);
}

.section-h2 {
    color: var(--ink);
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.36px;
    margin-bottom: var(--sp-sm);
}

.section-band--light .section-h2 {
    color: var(--body-lt);
}

.section-lead {
    font-size: 16px;
    color: var(--body-clr);
    max-width: 640px;
    margin-bottom: var(--sp-lg);
}

.section-band--light .section-lead {
    color: var(--body-lt);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-xs);
}

.card {
    background: var(--canvas-elev);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card--light {
    background: var(--canvas-light);
    color: var(--body-lt);
    border: 1px solid var(--hairline-lt);
}

.card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card__body {
    padding: var(--sp-sm);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--sp-xxs);
}

.card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: var(--sp-xxs);
}

.card--light .card__title { color: var(--body-lt); }

.card__text {
    font-size: 14px;
    color: var(--body-clr);
    line-height: 1.5;
    flex: 1;
    margin-bottom: var(--sp-sm);
}

.card--light .card__text { color: var(--body-lt); }

.card__date {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: var(--sp-xs);
}

.card__link {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--primary);
    margin-top: auto;
}

.livery-band {
    background: var(--primary);
    padding: var(--sp-xxl) var(--sp-xs);
    text-align: center;
}

.livery-band__title {
    font-size: 36px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.36px;
    line-height: 1.2;
    margin-bottom: var(--sp-sm);
}

.livery-band__text {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto var(--sp-md);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--sp-lg);
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--sp-xxl) var(--sp-xs);
}

.article-content h1 {
    font-size: 56px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -1.12px;
    line-height: 1.1;
    margin-bottom: var(--sp-sm);
}

.article-meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: var(--sp-lg);
    display: flex;
    gap: var(--sp-sm);
}

.article-content h2 {
    font-size: 26px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.195px;
    line-height: 1.5;
    margin: var(--sp-lg) 0 var(--sp-xs);
}

.article-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: var(--sp-md) 0 var(--sp-xxs);
}

.article-content p {
    font-size: 15px;
    color: var(--body-clr);
    line-height: 1.7;
    margin-bottom: var(--sp-sm);
}

.article-content ul,
.article-content ol {
    padding-left: var(--sp-sm);
    margin-bottom: var(--sp-sm);
}

.article-content li {
    font-size: 15px;
    color: var(--body-clr);
    line-height: 1.7;
    margin-bottom: var(--sp-xxs);
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    margin-bottom: var(--sp-lg);
}

.article-sidebar { position: sticky; top: 80px; align-self: start; }

.sidebar-block {
    background: var(--canvas-elev);
    padding: var(--sp-sm);
    margin-bottom: var(--sp-sm);
}

.sidebar-block__title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--sp-xs);
}

.sidebar-block ul { list-style: none; }

.sidebar-block li {
    border-bottom: 1px solid var(--hairline);
    padding: var(--sp-xxs) 0;
}

.sidebar-block li:last-child { border-bottom: none; }

.sidebar-block a {
    font-size: 14px;
    color: var(--body-clr);
}

.page-layout {
    max-width: 860px;
    margin: 0 auto;
    padding: var(--sp-xxl) var(--sp-xs);
}

.page-h1 {
    font-size: 56px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -1.12px;
    line-height: 1.1;
    margin-bottom: var(--sp-lg);
}

.page-layout h2 {
    font-size: 26px;
    font-weight: 500;
    color: var(--ink);
    margin: var(--sp-lg) 0 var(--sp-xs);
}

.page-layout p,
.page-layout li {
    font-size: 15px;
    color: var(--body-clr);
    line-height: 1.7;
    margin-bottom: var(--sp-sm);
}

.page-layout ul { padding-left: var(--sp-sm); }

.page-layout a { color: var(--primary); text-decoration: underline; }

.page-updated {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: var(--sp-lg);
}

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: var(--sp-xl) var(--sp-xs) var(--sp-md);
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--sp-lg);
    padding-bottom: var(--sp-lg);
    border-bottom: 1px solid var(--hairline);
}

.footer-brand {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.08px;
    margin-bottom: var(--sp-xxs);
}

.footer-tagline {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: var(--sp-xs);
}

.footer-address,
.footer-contact,
.footer-reg {
    font-size: 13px;
    color: var(--body-clr);
    margin-bottom: var(--sp-xxxs);
}

.footer-contact a { color: var(--body-clr); }

.footer-col-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: var(--sp-xs);
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: var(--sp-xxs); }

.footer-link {
    font-size: 13px;
    color: var(--body-clr);
}

.footer-bottom {
    max-width: var(--max-w);
    margin: var(--sp-md) auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-sm);
    align-items: center;
}

.footer-copy {
    font-size: 13px;
    color: var(--muted);
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--muted);
    flex: 1;
}

.footer-links-inline { font-size: 13px; color: var(--muted); }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xxs);
}

.form-input {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    color: var(--ink);
    font-size: 14px;
    font-family: var(--font);
    padding: 14px 16px;
    height: 48px;
    border-radius: 4px;
    width: 100%;
}

.form-input::placeholder { color: var(--muted); }
.form-input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--canvas-elev);
    border-top: 1px solid var(--hairline);
    padding: var(--sp-sm) var(--sp-xs);
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-md);
    z-index: 200;
}

.cookie-banner.is-visible { display: flex; }

.cookie-text {
    font-size: 13px;
    color: var(--body-clr);
    flex: 1;
}

.cookie-text a { color: var(--primary); text-decoration: underline; }

.cookie-actions { display: flex; gap: var(--sp-xxs); flex-shrink: 0; }

.breadcrumbs {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--sp-sm) var(--sp-xs) 0;
    font-size: 12px;
    color: var(--muted);
}

.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { margin: 0 var(--sp-xxxs); }

@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .hero-h1 { font-size: 56px; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: var(--sp-xs);
        gap: var(--sp-xs);
    }
    .nav-menu.is-open { display: flex; }
    .nav-toggle { display: flex; }
    .nav-inner { position: relative; }
    .card-grid { grid-template-columns: 1fr; }
    .hero-h1 { font-size: 32px; letter-spacing: -0.5px; }
    .hero-band { min-height: 380px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }
    .section-h2 { font-size: 26px; }
    .page-h1 { font-size: 36px; }
    .article-content h1 { font-size: 32px; }
}
