@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --canvas:          #181818;
    --canvas-elevated: #303030;
    --canvas-light:    #ffffff;
    --surface-soft:    #f7f7f7;
    --surface-strong:  #ebebeb;
    --primary:         #da291c;
    --primary-active:  #b01e0a;
    --ink:             #ffffff;
    --body-color:      #969696;
    --body-on-light:   #181818;
    --muted:           #666666;
    --hairline:        #303030;
    --hairline-light:  #d2d2d2;
    --on-primary:      #ffffff;
    --font:            'Inter', -apple-system, system-ui, sans-serif;
    --radius-sm:       4px;
    --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-super:128px;
    --max-w:  1280px;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--canvas);
    color: var(--body-color);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }
address { font-style: normal; }
ul { list-style: none; }

.container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--sp-md);
}

/* NAV */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
}
.nav-inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--sp-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-md);
}
.nav-logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08px;
    color: var(--ink);
    white-space: nowrap;
}
.nav-logo span { color: var(--primary); }
.nav-menu {
    display: flex;
    gap: var(--sp-sm);
}
.nav-menu a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.65px;
    color: var(--body-color);
    transition: color 0.2s;
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] { color: var(--ink); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s, opacity 0.2s;
}

/* HERO */
.hero-band {
    position: relative;
    height: 80vh;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: var(--canvas);
}
.hero-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24,24,24,0.15) 0%, rgba(24,24,24,0.85) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--sp-xxl) var(--sp-md);
    max-width: var(--max-w);
    margin-inline: auto;
    width: 100%;
}
.hero-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--primary);
    margin-bottom: var(--sp-xxs);
}
.hero-content h1 {
    font-size: clamp(32px, 5vw, 80px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -1.6px;
    color: var(--ink);
    max-width: 800px;
    margin-bottom: var(--sp-sm);
}
.hero-content p {
    font-size: 16px;
    color: var(--body-color);
    max-width: 560px;
    margin-bottom: var(--sp-md);
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    padding: 14px 32px;
    height: 48px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s;
}
.btn-primary:hover { background: var(--primary-active); color: var(--on-primary); }
.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    padding: 14px 32px;
    height: 48px;
    border: 1px solid var(--ink);
    border-radius: 0;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--ink); color: var(--canvas); }

/* SECTIONS */
.section-dark {
    padding: var(--sp-xxl) 0;
    background: var(--canvas);
}
.section-light {
    padding: var(--sp-xxl) 0;
    background: var(--surface-soft);
}
.section-elevated {
    padding: var(--sp-xxl) 0;
    background: var(--canvas-elevated);
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--primary);
    margin-bottom: var(--sp-xxs);
}
.section-head {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 500;
    letter-spacing: -0.36px;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: var(--sp-sm);
}
.section-head-dark {
    color: var(--body-on-light);
}
.section-sub {
    font-size: 14px;
    color: var(--body-color);
    max-width: 640px;
    margin-bottom: var(--sp-lg);
}
.section-sub-dark {
    color: #555;
}

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
}
.card {
    background: var(--canvas-elevated);
    border: 1px solid var(--hairline);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.card:hover .card-img img { transform: scale(1.03); }
.card-body {
    padding: var(--sp-sm);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--primary);
    margin-bottom: var(--sp-xxs);
}
.card-body h2, .card-body h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: var(--sp-xxs);
}
.card-body p {
    font-size: 14px;
    color: var(--body-color);
    flex: 1;
    margin-bottom: var(--sp-sm);
}
.card-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.65px;
    color: var(--primary);
    border-top: 1px solid var(--hairline);
    padding-top: var(--sp-sm);
}
.card-link:hover { color: var(--ink); }

/* CARD LIGHT */
.card-light {
    background: var(--canvas-light);
    border: 1px solid var(--hairline-light);
}
.card-light .card-body h2,
.card-light .card-body h3 { color: var(--body-on-light); }
.card-light .card-body p { color: #555; }
.card-light .card-link { border-top-color: var(--hairline-light); }

/* RED BAND */
.red-band {
    background: var(--primary);
    padding: var(--sp-xxl) 0;
    text-align: center;
}
.red-band h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.36px;
    margin-bottom: var(--sp-sm);
}
.red-band p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: var(--sp-md);
}

/* ARTICLE PAGE */
.article-layout {
    max-width: 800px;
    margin-inline: auto;
    padding: var(--sp-xxl) var(--sp-md);
}
.article-meta {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.1px;
    margin-bottom: var(--sp-sm);
}
.article-layout h1 {
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 500;
    letter-spacing: -1.12px;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: var(--sp-sm);
}
.article-intro {
    font-size: 18px;
    color: var(--body-color);
    margin-bottom: var(--sp-lg);
    border-bottom: 1px solid var(--hairline);
    padding-bottom: var(--sp-lg);
}
.article-body h2 {
    font-size: 26px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.195px;
    margin: var(--sp-lg) 0 var(--sp-sm);
}
.article-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: var(--sp-md) 0 var(--sp-xxs);
}
.article-body p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--body-color);
    margin-bottom: var(--sp-sm);
}
.article-body ul {
    list-style: disc;
    padding-left: var(--sp-md);
    margin-bottom: var(--sp-sm);
}
.article-body ul li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--body-color);
    margin-bottom: var(--sp-xxs);
}
.article-body a {
    color: var(--primary);
    text-decoration: underline;
}
.article-body a:hover { color: var(--ink); }
.article-img {
    margin: var(--sp-lg) 0;
    border: 1px solid var(--hairline);
}
.article-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-img figcaption {
    font-size: 12px;
    color: var(--muted);
    padding: var(--sp-xxs) var(--sp-xxs) 0;
}
.updated-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: var(--sp-xxl);
    border-top: 1px solid var(--hairline);
    padding-top: var(--sp-sm);
}

/* BREADCRUMB */
.breadcrumb {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.5px;
    padding: var(--sp-sm) var(--sp-md);
    max-width: var(--max-w);
    margin-inline: auto;
}
.breadcrumb a { color: var(--muted); text-decoration: underline; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--body-color); }

/* RELATED ARTICLES */
.related-section {
    padding: var(--sp-xxl) 0;
    background: var(--canvas-elevated);
    border-top: 1px solid var(--hairline);
}

/* STATIC PAGES */
.static-layout {
    max-width: 800px;
    margin-inline: auto;
    padding: var(--sp-xxl) var(--sp-md);
}
.static-layout h1 {
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 500;
    letter-spacing: -1.12px;
    color: var(--ink);
    margin-bottom: var(--sp-lg);
    border-bottom: 1px solid var(--hairline);
    padding-bottom: var(--sp-md);
}
.static-layout h2 {
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    margin: var(--sp-lg) 0 var(--sp-sm);
}
.static-layout p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--body-color);
    margin-bottom: var(--sp-sm);
}
.static-layout ul {
    list-style: disc;
    padding-left: var(--sp-md);
    margin-bottom: var(--sp-sm);
}
.static-layout ul li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--body-color);
    margin-bottom: var(--sp-xxs);
}
.static-layout a { color: var(--primary); text-decoration: underline; }

/* ABOUT GRID */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xxl);
    align-items: start;
    margin-bottom: var(--sp-xxl);
}
.about-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 1px solid var(--hairline);
}

/* CONTACT FORM STANDALONE */
.contact-standalone {
    background: var(--canvas-elevated);
    padding: var(--sp-xl);
    border: 1px solid var(--hairline);
    margin-top: var(--sp-xl);
}
.contact-standalone h2 {
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--sp-md);
}
.contact-standalone form {
    display: grid;
    gap: var(--sp-sm);
}
.contact-standalone input {
    width: 100%;
    background: var(--canvas);
    color: var(--ink);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    height: 48px;
    font-size: 14px;
    font-family: var(--font);
}
.contact-standalone input::placeholder { color: var(--muted); }
.contact-standalone input:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: transparent; }

/* FOOTER */
.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: var(--sp-xl) 0 0;
}
.footer-inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--sp-md);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: var(--sp-xl);
    padding-bottom: var(--sp-xl);
    border-bottom: 1px solid var(--hairline);
}
.footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--sp-sm);
}
.footer-logo span { color: var(--primary); }
.footer-tagline {
    font-size: 13px;
    color: var(--body-color);
    line-height: 1.6;
    margin-bottom: var(--sp-sm);
}
.footer-contact p {
    font-size: 13px;
    color: var(--body-color);
    margin-bottom: var(--sp-xxs);
}
.footer-contact a { color: var(--body-color); }
.footer-contact a:hover { color: var(--ink); }
.footer-heading {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--ink);
    margin-bottom: var(--sp-sm);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-xxs); }
.footer-col ul a {
    font-size: 13px;
    color: var(--body-color);
}
.footer-col ul a:hover { color: var(--ink); }

/* FOOTER FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xxs);
}
.contact-form input {
    background: var(--canvas-elevated);
    color: var(--ink);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    height: 44px;
    font-size: 13px;
    font-family: var(--font);
}
.contact-form input::placeholder { color: var(--muted); }
.contact-form input:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: transparent; }
.contact-form .btn-primary { margin-top: var(--sp-xxs); font-size: 13px; padding: 12px 24px; height: 44px; }

.footer-bottom {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: var(--sp-md) var(--sp-md);
    display: flex;
    flex-direction: column;
    gap: var(--sp-xxs);
}
.footer-bottom p {
    font-size: 12px;
    color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: underline; }
.footer-disclaimer {
    font-size: 11px;
    color: var(--muted);
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--canvas-elevated);
    border-top: 1px solid var(--hairline);
    z-index: 9999;
    padding: var(--sp-sm) var(--sp-md);
    display: none;
}
.cookie-banner.visible { display: block; }
.cookie-inner {
    max-width: var(--max-w);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    flex-wrap: wrap;
}
.cookie-inner p {
    font-size: 13px;
    color: var(--body-color);
    flex: 1;
}
.cookie-inner a { color: var(--primary); text-decoration: underline; }
.cookie-buttons {
    display: flex;
    gap: var(--sp-xxs);
    flex-shrink: 0;
}
.cookie-buttons .btn-primary { font-size: 12px; padding: 10px 20px; height: 40px; }
.cookie-buttons .btn-outline { font-size: 12px; padding: 10px 20px; height: 40px; }

/* BADGE */
.badge {
    display: inline-block;
    background: var(--canvas-elevated);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    padding: 4px 12px;
    border-radius: 9999px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        padding: var(--sp-sm) var(--sp-md);
        gap: var(--sp-sm);
    }
    .nav-menu.open { display: flex; }
    .site-nav { position: relative; }
}

@media (max-width: 640px) {
    .cards-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: var(--sp-md); }
    .hero-band { height: 60vh; }
    .cookie-inner { flex-direction: column; align-items: flex-start; }
}
