@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --canvas: #f5f1ec;
    --surface-1: #ffffff;
    --surface-2: #ede9e3;
    --hairline: #d3cec6;
    --hairline-soft: #e4dfd8;
    --ink: #111111;
    --ink-muted: #626260;
    --ink-subtle: #7b7b78;
    --ink-tertiary: #9c9fa5;
    --inverse-canvas: #000000;
    --accent: #ff5600;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-xxl: 24px;
    --sp-xxs: 4px;
    --sp-xs: 8px;
    --sp-sm: 12px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 32px;
    --sp-xxl: 48px;
    --sp-section: 96px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    background-color: var(--canvas);
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--ink-muted); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--sp-xl);
}

.container-sm {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--sp-xl);
}

/* NAV */
.site-nav {
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 56px;
    display: flex;
    align-items: center;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--sp-xl);
}

.nav-brand {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--sp-lg);
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.nav-links a:hover { color: var(--ink); }

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--sp-xs);
    flex-direction: column;
    gap: 5px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.2s;
}

/* HERO */
.hero {
    padding: var(--sp-section) 0 calc(var(--sp-section) * 0.75);
    border-bottom: 1px solid var(--hairline);
}

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: var(--sp-md);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--ink);
    max-width: 820px;
    margin-bottom: var(--sp-lg);
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--ink-muted);
    max-width: 560px;
    line-height: 1.5;
}

/* SECTIONS */
.section {
    padding: var(--sp-section) 0;
    border-bottom: 1px solid var(--hairline-soft);
}

.section-eyebrow {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: var(--sp-sm);
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: var(--ink);
    margin-bottom: var(--sp-md);
}

.section-lead {
    font-size: 1.125rem;
    color: var(--ink-muted);
    line-height: 1.5;
    max-width: 640px;
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
    margin-top: var(--sp-xxl);
}

.card {
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg);
    display: flex;
    flex-direction: column;
}

.card-img-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--sp-lg);
    aspect-ratio: 16/9;
    background: var(--surface-2);
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-meta {
    font-size: 0.75rem;
    color: var(--ink-tertiary);
    margin-bottom: var(--sp-xs);
}

.card-title {
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin-bottom: var(--sp-sm);
}

.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--ink-muted); }

.card-body {
    font-size: 0.875rem;
    color: var(--ink-muted);
    line-height: 1.5;
    flex: 1;
    margin-bottom: var(--sp-md);
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink-muted);
    background: var(--surface-2);
    border-radius: var(--radius-xs);
    padding: 3px 8px;
}

/* ARTICLE PAGE */
.article-header {
    padding: var(--sp-xxl) 0 var(--sp-xl);
    border-bottom: 1px solid var(--hairline);
}

.article-eyebrow {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: var(--sp-sm);
}

.article-title {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: var(--sp-md);
    max-width: 760px;
}

.article-meta {
    font-size: 0.875rem;
    color: var(--ink-tertiary);
}

.article-hero-img {
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin: var(--sp-xxl) 0;
    max-height: 420px;
}

.article-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 420px;
}

.article-body {
    padding: var(--sp-xl) 0 var(--sp-section);
}

.article-body h2 {
    font-size: 1.625rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin: var(--sp-xxl) 0 var(--sp-md);
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin: var(--sp-xl) 0 var(--sp-sm);
}

.article-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: var(--sp-md);
}

.article-body ul, .article-body ol {
    padding-left: var(--sp-xl);
    margin-bottom: var(--sp-md);
}

.article-body li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: var(--sp-xs);
}

.article-body a { color: var(--ink); }

.article-body blockquote {
    border-left: 3px solid var(--hairline);
    padding: var(--sp-md) var(--sp-lg);
    margin: var(--sp-xl) 0;
    background: var(--surface-1);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-body blockquote p {
    color: var(--ink-muted);
    font-size: 1.0625rem;
    margin-bottom: 0;
}

.info-box {
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: var(--sp-xl);
    margin: var(--sp-xl) 0;
}

.info-box h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--sp-sm);
}

.info-box p, .info-box li {
    font-size: 0.9375rem;
    color: var(--ink-muted);
}

.info-box ul { padding-left: var(--sp-lg); }

.image-card {
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin: var(--sp-xl) 0;
}

.image-card img { width: 100%; height: auto; }

.image-card figcaption {
    font-size: 0.8125rem;
    color: var(--ink-subtle);
    padding: var(--sp-md) var(--sp-lg);
    border-top: 1px solid var(--hairline);
}

/* CTA BANNER */
.cta-banner {
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: var(--sp-xxl);
    text-align: center;
    margin: var(--sp-section) 0;
}

.cta-banner h2 {
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: var(--sp-sm);
}

.cta-banner p {
    font-size: 1rem;
    color: var(--ink-muted);
}

/* FORM */
.contact-section {
    padding: var(--sp-section) 0;
}

.form-card {
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: var(--sp-xxl);
    max-width: 640px;
    margin: var(--sp-xxl) auto 0;
}

.form-group {
    margin-bottom: var(--sp-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--sp-xs);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    transition: border-color 0.15s;
    min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ink);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.btn-primary {
    background: var(--ink);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    padding: 10px 18px;
    cursor: pointer;
    transition: opacity 0.15s;
    min-height: 40px;
}

.btn-primary:hover { opacity: 0.85; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.form-status {
    display: none;
    margin-top: var(--sp-md);
    padding: var(--sp-md) var(--sp-lg);
    background: var(--surface-2);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--ink);
}

.form-status.visible { display: block; }

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: var(--sp-xl);
    left: 50%;
    transform: translateX(-50%);
    background: var(--inverse-canvas);
    color: #ffffff;
    padding: var(--sp-lg) var(--sp-xl);
    border-radius: var(--radius-xl);
    max-width: 640px;
    width: calc(100% - var(--sp-xl) * 2);
    display: flex;
    align-items: center;
    gap: var(--sp-lg);
    z-index: 999;
    box-shadow: 0 4px 32px rgba(0,0,0,0.2);
}

.cookie-banner p {
    font-size: 0.875rem;
    color: #d4d4d4;
    flex: 1;
    line-height: 1.5;
}

.cookie-banner p a { color: #ffffff; }

.cookie-buttons {
    display: flex;
    gap: var(--sp-xs);
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: #ffffff;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    padding: 8px 14px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-cookie-reject {
    background: transparent;
    color: #aaaaaa;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 400;
    border: 1px solid #444444;
    border-radius: var(--radius-md);
    padding: 8px 14px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-cookie-reject:hover { color: #ffffff; border-color: #888888; }

/* FOOTER */
.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px var(--sp-xl);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-xxl);
}

.footer-brand-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    display: block;
    margin-bottom: var(--sp-sm);
}

.footer-tagline {
    font-size: 0.8125rem;
    color: var(--ink-subtle);
    line-height: 1.5;
    max-width: 260px;
}

.footer-col-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--sp-md);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover { color: var(--ink); }

.footer-bottom {
    max-width: 1280px;
    margin: var(--sp-xxl) auto 0;
    padding-top: var(--sp-xl);
    border-top: 1px solid var(--hairline-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--ink-tertiary);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--ink-tertiary);
    max-width: 560px;
    text-align: right;
}

/* PAGE SECTIONS */
.page-header {
    padding: var(--sp-xxl) 0 var(--sp-xl);
    border-bottom: 1px solid var(--hairline);
}

.page-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.8px;
    line-height: 1.15;
    color: var(--ink);
}

.page-lead {
    font-size: 1.125rem;
    color: var(--ink-muted);
    margin-top: var(--sp-md);
    max-width: 640px;
    line-height: 1.5;
}

.page-body {
    padding: var(--sp-xxl) 0 var(--sp-section);
}

.page-body h2 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin: var(--sp-xxl) 0 var(--sp-md);
}

.page-body h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--ink);
    margin: var(--sp-xl) 0 var(--sp-sm);
}

.page-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: var(--sp-md);
}

.page-body ul, .page-body ol {
    padding-left: var(--sp-xl);
    margin-bottom: var(--sp-md);
}

.page-body li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: var(--sp-xs);
}

.page-body a { color: var(--ink); }

.page-updated {
    font-size: 0.8125rem;
    color: var(--ink-tertiary);
    margin-top: var(--sp-md);
}

/* BREADCRUMB */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    font-size: 0.8125rem;
    color: var(--ink-tertiary);
    padding: var(--sp-md) 0;
}

.breadcrumb a {
    color: var(--ink-muted);
    text-decoration: none;
}

.breadcrumb a:hover { color: var(--ink); }

.breadcrumb-sep { color: var(--ink-tertiary); }

/* RELATED */
.related-section {
    padding: var(--sp-xxl) 0;
    border-top: 1px solid var(--hairline-soft);
}

.related-title {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.3px;
    margin-bottom: var(--sp-lg);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
}

@media (max-width: 768px) {
    .container, .container-sm { padding: 0 var(--sp-md); }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: var(--sp-md) var(--sp-xl);
        gap: var(--sp-md);
        z-index: 99;
    }
    .nav-hamburger { display: flex; }
    .hero { padding: var(--sp-xxl) 0; }
    .hero-title { letter-spacing: -1px; }
    .section { padding: var(--sp-xxl) 0; }
    .card-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: var(--sp-sm); text-align: center; }
    .footer-disclaimer { text-align: center; }
    .cookie-banner { flex-direction: column; gap: var(--sp-md); }
    .form-card { padding: var(--sp-xl); }
    .cta-banner { padding: var(--sp-xl); }
}

@media (max-width: 480px) {
    .card-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; letter-spacing: -0.5px; }
    .cookie-buttons { flex-direction: column; width: 100%; }
    .btn-cookie-accept, .btn-cookie-reject { text-align: center; }
}
