*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background: #f7f7f4;
    color: #5a5852;
    font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: #26251e;
    font-weight: 400;
}

h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.625rem;
    line-height: 1.25;
    letter-spacing: -0.012em;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #26251e;
    text-decoration: none;
    transition: color 0.15s;
}

a:hover {
    color: #f54e00;
}

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

ul, ol {
    padding-left: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    background: #f7f7f4;
    border-bottom: 1px solid #e6e5e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-size: 1.125rem;
    font-weight: 600;
    color: #26251e;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.logo:hover {
    color: #f54e00;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #5a5852;
    line-height: 1.4;
}

.main-nav a:hover {
    color: #26251e;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #26251e;
    display: block;
    transition: 0.2s;
}

.hero-section {
    padding: 80px 0;
}

.hero-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: #807d72;
    margin-bottom: 20px;
    display: block;
}

.hero-section h1 {
    max-width: 820px;
    margin-bottom: 20px;
}

.hero-section .hero-sub {
    font-size: 1rem;
    color: #5a5852;
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 0;
}

.hero-meta {
    font-size: 14px;
    color: #807d72;
    margin-top: 20px;
}

.hero-image-wrap {
    margin-top: 48px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e6e5e0;
}

.hero-image-wrap img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

section {
    padding: 80px 0;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: #807d72;
    margin-bottom: 24px;
    display: block;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1rem;
    color: #5a5852;
    max-width: 560px;
    margin-bottom: 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: #fff;
    border: 1px solid #e6e5e0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.15s;
}

.article-card:hover {
    border-color: #cfcdc4;
}

.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-card .card-body {
    padding: 24px;
}

.article-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    background: #e6e5e0;
    color: #26251e;
    padding: 4px 10px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.article-card p {
    font-size: 14px;
    color: #5a5852;
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-card .card-footer {
    font-size: 13px;
    color: #a09c92;
    padding-top: 16px;
    border-top: 1px solid #efeee8;
}

.read-link {
    font-size: 14px;
    font-weight: 500;
    color: #26251e;
}

.read-link:hover {
    color: #f54e00;
}

.article-page-header {
    padding: 48px 0 40px;
    border-bottom: 1px solid #e6e5e0;
    margin-bottom: 48px;
}

.article-page-header .article-tag {
    margin-bottom: 16px;
}

.article-page-header h1 {
    max-width: 820px;
    margin-bottom: 16px;
}

.article-page-header .article-deck {
    font-size: 1.125rem;
    color: #5a5852;
    max-width: 720px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-page-header .article-byline {
    font-size: 13px;
    color: #a09c92;
}

.article-hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e6e5e0;
    margin-bottom: 48px;
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.015em;
}

.article-body h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.article-body p {
    font-size: 16px;
    line-height: 1.75;
    color: #5a5852;
    margin-bottom: 1.25rem;
}

.article-body a {
    color: #f54e00;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body ul, .article-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-body li {
    font-size: 16px;
    line-height: 1.75;
    color: #5a5852;
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    border-left: 3px solid #e6e5e0;
    margin: 2rem 0;
    padding: 0 0 0 24px;
    font-size: 1.125rem;
    color: #807d72;
    font-style: italic;
    line-height: 1.7;
}

.article-source {
    background: #fff;
    border: 1px solid #e6e5e0;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 2rem 0;
    font-size: 13px;
    color: #807d72;
}

.article-source a {
    color: #5a5852;
    font-weight: 500;
}

.article-updated {
    font-size: 13px;
    color: #a09c92;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #efeee8;
}

.related-articles {
    background: #fff;
    border-top: 1px solid #e6e5e0;
    border-bottom: 1px solid #e6e5e0;
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info p {
    color: #5a5852;
    margin-bottom: 0;
}

.contact-form-wrap {
    background: #fff;
    border: 1px solid #e6e5e0;
    border-radius: 12px;
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #26251e;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #f7f7f4;
    border: 1px solid #e6e5e0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    color: #26251e;
    height: 44px;
    transition: border-color 0.15s;
}

.form-group textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #26251e;
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a09c92;
}

.btn-submit {
    background: #26251e;
    color: #f7f7f4;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    height: 44px;
    cursor: pointer;
    transition: background 0.15s;
    width: 100%;
}

.btn-submit:hover {
    background: #3a3930;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 16px;
    display: none;
}

.form-message.success {
    background: #e6f6f0;
    color: #1f8a65;
    border: 1px solid #1f8a65;
    display: block;
}

.form-message.error {
    background: #fde8ed;
    color: #cf2d56;
    border: 1px solid #cf2d56;
    display: block;
}

#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #26251e;
    color: #f7f7f4;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 200;
}

#cookieBanner.hidden {
    display: none;
}

#cookieBanner p {
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
    color: #a09c92;
}

#cookieBanner p a {
    color: #f7f7f4;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: #f54e00;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-cookie-accept:hover {
    background: #d04200;
}

.btn-cookie-reject {
    background: transparent;
    color: #a09c92;
    border: 1px solid #3a3930;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-cookie-reject:hover {
    color: #f7f7f4;
    border-color: #807d72;
}

.site-footer {
    background: #f7f7f4;
    border-top: 1px solid #e6e5e0;
    padding: 64px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: #807d72;
    margin-top: 12px;
    max-width: 280px;
    line-height: 1.6;
}

.footer-nav h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: #807d72;
    margin-bottom: 16px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    font-size: 14px;
    color: #5a5852;
    line-height: 1.4;
}

.footer-nav ul li a:hover {
    color: #26251e;
}

.footer-bottom {
    border-top: 1px solid #e6e5e0;
    padding-top: 24px;
    font-size: 13px;
    color: #807d72;
}

.divider {
    border: none;
    border-top: 1px solid #e6e5e0;
    margin: 48px 0;
}

.page-header {
    padding: 48px 0;
    border-bottom: 1px solid #e6e5e0;
    margin-bottom: 48px;
}

.page-header h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    margin-bottom: 12px;
}

.page-header .page-sub {
    font-size: 1rem;
    color: #5a5852;
    max-width: 560px;
}

.page-body {
    max-width: 720px;
    padding-bottom: 80px;
}

.page-body h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}

.page-body h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.75rem 0 0.75rem;
}

.page-body p {
    font-size: 16px;
    line-height: 1.75;
    color: #5a5852;
    margin-bottom: 1.25rem;
}

.page-body ul, .page-body ol {
    margin-bottom: 1.25rem;
}

.page-body li {
    font-size: 16px;
    line-height: 1.75;
    color: #5a5852;
    margin-bottom: 0.4rem;
}

.page-body a {
    color: #f54e00;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-updated {
    font-size: 13px;
    color: #a09c92;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #efeee8;
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #f7f7f4;
        border-bottom: 1px solid #e6e5e0;
        flex-direction: column;
        padding: 8px 24px 16px;
        gap: 0;
        align-items: flex-start;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 0;
        border-bottom: 1px solid #efeee8;
        width: 100%;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .site-header {
        position: relative;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    #cookieBanner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    h2 {
        font-size: 1.75rem;
    }

    section {
        padding: 48px 0;
    }

    .hero-section {
        padding: 48px 0;
    }

    .contact-form-wrap {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    .article-page-header {
        padding: 32px 0 28px;
    }
}
