@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap');

:root {
    --canvas: #f7f7f4;
    --canvas-soft: #fafaf7;
    --surface-card: #ffffff;
    --surface-strong: #e6e5e0;
    --ink: #26251e;
    --body: #5a5852;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --primary: #f54e00;
    --primary-active: #d04200;
    --on-primary: #ffffff;
    --hairline: #e6e5e0;
    --hairline-soft: #efeee8;
    --hairline-strong: #cfcdc4;
    --success: #1f8a65;
    --error: #cf2d56;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--canvas);
    color: var(--body);
    font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--ink);
    text-decoration: none;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.top-nav {
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
}

.nav-logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    line-height: 1.4;
    transition: color 0.15s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--ink);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s;
}

.hero {
    padding: 80px 0 80px;
    text-align: center;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
    background-color: var(--surface-strong);
    padding: 4px 10px;
    border-radius: 9999px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -2.16px;
    color: var(--ink);
    max-width: 900px;
    margin: 0 auto 24px;
}

.hero-sub {
    font-size: 18px;
    font-weight: 400;
    color: var(--body);
    line-height: 1.5;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-image {
    margin: 40px auto 0;
    max-width: 860px;
    border-radius: 12px;
    border: 1px solid var(--hairline);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.section-head {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--body);
    max-width: 560px;
    line-height: 1.5;
}

.articles-section {
    padding: 80px 0;
    border-top: 1px solid var(--hairline);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.article-card {
    background-color: var(--surface-card);
    border-radius: 12px;
    border: 1px solid var(--hairline);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s;
}

.article-card:hover {
    border-color: var(--hairline-strong);
}

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-date {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}

.article-card-title {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.11px;
    color: var(--ink);
    margin-bottom: 12px;
}

.article-card-excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 20px;
}

.article-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.article-link:hover {
    color: var(--primary-active);
}

.about-band {
    padding: 80px 0;
    border-top: 1px solid var(--hairline);
}

.about-band .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-band-img {
    border-radius: 12px;
    border: 1px solid var(--hairline);
    overflow: hidden;
}

.about-band-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.about-band-content .section-head {
    margin-top: 12px;
}

.about-band-content p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--body);
    margin-top: 16px;
}

.contact-section {
    padding: 80px 0;
    border-top: 1px solid var(--hairline);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 40px;
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.contact-info p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.form-group input,
.form-group textarea {
    background-color: var(--surface-card);
    color: var(--ink);
    border: 1px solid var(--hairline-strong);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    height: 44px;
    outline: none;
    transition: border-color 0.15s;
    width: 100%;
}

.form-group textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ink);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-soft);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.15s;
    font-family: inherit;
    align-self: flex-start;
}

.btn-primary:hover {
    background-color: var(--primary-active);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-message {
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #e6f7f1;
    color: var(--success);
    border: 1px solid #b3e6d4;
}

.footer {
    background-color: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    margin-top: 12px;
    max-width: 220px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 14px;
    color: var(--body);
    transition: color 0.15s;
}

.footer-col ul a:hover {
    color: var(--ink);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--muted);
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--muted-soft);
    margin-top: 16px;
    line-height: 1.5;
}

.article-hero {
    padding: 60px 0 0;
}

.article-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.article-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background-color: var(--surface-strong);
    padding: 4px 10px;
    border-radius: 9999px;
}

.article-date {
    font-size: 13px;
    color: var(--muted);
}

.article-hero h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: var(--ink);
    margin-bottom: 20px;
}

.article-hero .lead {
    font-size: 18px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 40px;
}

.article-cover {
    margin-top: 40px;
    border-radius: 12px;
    border: 1px solid var(--hairline);
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.article-cover-caption {
    padding: 10px 16px;
    font-size: 13px;
    color: var(--muted);
    background-color: var(--canvas-soft);
}

.article-body {
    padding: 60px 0 80px;
}

.article-body-inner {
    max-width: 760px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin: 48px 0 16px;
}

.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin: 32px 0 12px;
}

.article-body p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 20px 24px;
    color: var(--body);
    font-size: 16px;
    line-height: 1.6;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body a {
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
    transition: border-color 0.15s;
}

.article-body a:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.article-body blockquote {
    border-left: 3px solid var(--hairline-strong);
    padding: 12px 20px;
    margin: 24px 0;
    color: var(--muted);
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
}

.article-body .fact-box {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.article-body .fact-box h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.article-body .fact-box p {
    margin-bottom: 0;
}

.article-body .inline-img {
    border-radius: 12px;
    border: 1px solid var(--hairline);
    overflow: hidden;
    margin: 32px 0;
}

.article-body .inline-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.article-body .inline-img figcaption {
    padding: 10px 16px;
    font-size: 13px;
    color: var(--muted);
    background-color: var(--canvas-soft);
}

.article-body code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--ink);
}

.article-refs {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--hairline);
}

.article-refs h3 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.article-refs ol {
    margin-left: 20px;
    color: var(--body);
    font-size: 14px;
    line-height: 1.6;
}

.article-refs ol li {
    margin-bottom: 8px;
}

.article-refs a {
    color: var(--body);
    border-bottom: 1px solid var(--hairline);
}

.article-related {
    padding: 60px 0 80px;
    border-top: 1px solid var(--hairline);
}

.page-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--hairline);
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: var(--ink);
    max-width: 700px;
}

.page-hero p {
    font-size: 16px;
    color: var(--muted);
    margin-top: 16px;
}

.page-body {
    padding: 60px 0 80px;
}

.page-body-inner {
    max-width: 760px;
}

.page-body h2 {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.11px;
    color: var(--ink);
    margin: 40px 0 14px;
}

.page-body p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.page-body ul {
    margin: 0 0 16px 24px;
    color: var(--body);
    font-size: 16px;
    line-height: 1.6;
}

.page-body ul li {
    margin-bottom: 6px;
}

.page-body a {
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
}

.page-body a:hover {
    border-color: var(--ink);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
}

.about-img {
    border-radius: 12px;
    border: 1px solid var(--hairline);
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 700px;
    background-color: var(--surface-card);
    border: 1px solid var(--hairline-strong);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(38,37,30,0.06);
}

.cookie-text {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    flex: 1;
}

.cookie-text a {
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background-color: var(--ink);
    color: var(--canvas);
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s;
}

.btn-cookie-accept:hover {
    opacity: 0.85;
}

.btn-cookie-reject {
    background-color: transparent;
    color: var(--body);
    border: 1px solid var(--hairline-strong);
    border-radius: 8px;
    padding: 10px 16px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s;
}

.btn-cookie-reject:hover {
    border-color: var(--ink);
}

.breadcrumb {
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline-soft);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    flex-wrap: wrap;
}

.breadcrumb ol li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--hairline-strong);
}

.breadcrumb ol a {
    color: var(--muted);
}

.breadcrumb ol a:hover {
    color: var(--ink);
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 56px;
        letter-spacing: -1.5px;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .about-band .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        align-items: flex-start;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -0.72px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-image img {
        height: 240px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        font-size: 28px;
    }

    .article-hero h1 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .article-cover img {
        height: 240px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        bottom: 16px;
    }

    .cookie-buttons {
        width: 100%;
    }

    .btn-cookie-accept,
    .btn-cookie-reject {
        flex: 1;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
