@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 {
    --primary: #0a0a0a;
    --primary-active: #1f1f1f;
    --primary-disabled: #e5e5e5;
    --ink: #0a0a0a;
    --body: #3a3a3a;
    --body-strong: #1a1a1a;
    --muted: #6a6a6a;
    --muted-soft: #9a9a9a;
    --hairline: #e5e5e5;
    --hairline-soft: #f0f0f0;
    --canvas: #fffaf0;
    --surface-soft: #faf5e8;
    --surface-card: #f5f0e0;
    --surface-strong: #ebe6d6;
    --surface-dark: #0a1a1a;
    --on-primary: #ffffff;
    --on-dark: #ffffff;
    --brand-pink: #ff4d8b;
    --brand-teal: #1a3a3a;
    --brand-lavender: #b8a4ed;
    --brand-peach: #ffb084;
    --brand-ochre: #e8b94a;
    --brand-mint: #a4d4c5;
    --brand-coral: #ff6b5a;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--canvas);
    color: var(--body);
    line-height: 1.55;
    font-size: 16px;
}

a {
    color: var(--ink);
    text-decoration: underline;
}

a:hover {
    color: var(--brand-teal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAV */
.top-nav {
    background-color: var(--canvas);
    height: 64px;
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.nav-logo span {
    color: var(--brand-teal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.4;
}

.nav-links a:hover {
    color: var(--brand-teal);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.2s;
}

/* HERO */
.hero-band {
    background-color: var(--canvas);
    padding: 96px 0;
}

.hero-band .container {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: 72px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2.5px;
    color: var(--ink);
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--body-strong);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-pill {
    background-color: var(--surface-card);
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 9999px;
    padding: 4px 12px;
    display: inline-block;
}

.hero-illustration-card {
    background-color: var(--surface-soft);
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.hero-illustration-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SECTION LABEL */
.section-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

/* SECTION HEADINGS */
.section-head {
    font-family: 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-head-md {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 12px;
}

/* FEATURE CARDS */
.feature-cards-section {
    padding: 96px 0;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.feature-card {
    border-radius: 24px;
    padding: 32px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.feature-card-pink { background-color: var(--brand-pink); color: var(--on-primary); }
.feature-card-teal { background-color: var(--brand-teal); color: var(--on-dark); }
.feature-card-lavender { background-color: var(--brand-lavender); color: var(--ink); }
.feature-card-peach { background-color: var(--brand-peach); color: var(--ink); }
.feature-card-ochre { background-color: var(--brand-ochre); color: var(--ink); }
.feature-card-cream { background-color: var(--surface-card); color: var(--ink); }

/* ARTICLES SECTION */
.articles-section {
    padding: 96px 0;
    background-color: var(--surface-soft);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.article-card {
    background-color: var(--canvas);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--hairline);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s;
}

.article-card:hover {
    box-shadow: 0 4px 24px rgba(10,10,10,0.08);
    text-decoration: none;
    color: inherit;
}

.article-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-category {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.article-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 8px;
}

.article-card-body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
}

.article-card-date {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted-soft);
    margin-top: 16px;
}

/* TRAILS INFO SECTION */
.trails-section {
    padding: 96px 0;
}

.trails-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

.trail-info-card {
    background-color: var(--surface-card);
    border-radius: 16px;
    padding: 32px;
}

.trail-info-card h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin-bottom: 12px;
}

.trail-info-card p {
    font-size: 16px;
    line-height: 1.55;
    color: var(--body);
    margin-bottom: 16px;
}

.trail-stat {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin-top: 16px;
}

.trail-stat-value {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--ink);
}

.trail-stat-label {
    font-size: 14px;
    color: var(--muted);
}

/* CONTACT FORM SECTION */
.contact-section {
    padding: 96px 0;
    background-color: var(--surface-soft);
}

.contact-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 8px;
}

.contact-section > .container > p {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 48px;
    max-width: 480px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.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: 600;
    color: var(--body-strong);
}

.form-group input,
.form-group textarea {
    background-color: var(--canvas);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    border-radius: 12px;
    padding: 12px 16px;
    height: 44px;
    border: 1px solid var(--hairline);
    outline: none;
    width: 100%;
    transition: border-color 0.15s;
}

.form-group textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ink);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border-radius: 12px;
    padding: 12px 20px;
    height: 44px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    align-self: flex-start;
}

.btn-primary:hover {
    background-color: var(--primary-active);
    color: var(--on-primary);
    text-decoration: none;
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 20px;
}

.contact-info-item {
    margin-bottom: 16px;
}

.contact-info-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.contact-info-item span,
.contact-info-item a {
    font-size: 16px;
    color: var(--body-strong);
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    background-color: var(--surface-soft);
    padding: 80px 0 40px;
    border-top: 1px solid var(--hairline);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin-top: 12px;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 14px;
    color: var(--body);
    text-decoration: none;
}

.footer-col ul a:hover {
    color: var(--ink);
}

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--muted);
}

.footer-bottom a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom a:hover {
    color: var(--ink);
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 560px;
    background-color: var(--surface-dark);
    color: var(--on-dark);
    border-radius: 16px;
    padding: 24px;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.24);
    display: none;
}

#cookie-banner p {
    font-size: 14px;
    line-height: 1.55;
    color: #a0a0a0;
    margin-bottom: 16px;
}

#cookie-banner a {
    color: var(--on-dark);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn-accept {
    background-color: var(--on-primary);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.cookie-btn-reject {
    background-color: transparent;
    color: var(--on-dark);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 20px;
    border: 1px solid #444;
    cursor: pointer;
}

/* ARTICLE PAGE */
.article-hero {
    padding: 64px 0 48px;
}

.article-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--ink);
    margin-bottom: 16px;
    max-width: 800px;
}

.article-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.article-meta time,
.article-meta span {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted-soft);
}

.article-hero-img {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 48px;
    max-height: 480px;
}

.article-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    max-width: 720px;
    padding-bottom: 96px;
}

.article-body h2 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin: 48px 0 16px;
}

.article-body h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin: 32px 0 12px;
}

.article-body p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.article-body li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: 8px;
}

.article-body a {
    color: var(--brand-teal);
}

.article-infobox {
    background-color: var(--surface-card);
    border-radius: 16px;
    padding: 24px;
    margin: 32px 0;
}

.article-infobox h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.article-infobox ul {
    padding-left: 0;
    list-style: none;
}

.article-infobox li {
    font-size: 14px;
    color: var(--body);
    padding: 6px 0;
    border-bottom: 1px solid var(--hairline);
}

.article-infobox li:last-child {
    border-bottom: none;
}

.article-related {
    padding: 64px 0;
    background-color: var(--surface-soft);
}

.article-related h2 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin-bottom: 32px;
}

/* PAGE (about, privacy, terms) */
.page-hero {
    padding: 64px 0 48px;
}

.page-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--ink);
    margin-bottom: 16px;
    max-width: 800px;
}

.page-body {
    max-width: 720px;
    padding-bottom: 96px;
}

.page-body h2 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin: 48px 0 16px;
}

.page-body h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin: 24px 0 10px;
}

.page-body p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: 20px;
}

.page-body ul {
    padding-left: 24px;
    margin-bottom: 20px;
}

.page-body li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: 8px;
}

.disclaimer-box {
    background-color: var(--surface-card);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 32px 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 52px; }
    .section-head { font-size: 42px; }
    .feature-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-band { padding: 64px 0; }
    .hero-band .container { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 36px; letter-spacing: -1px; }
    .hero-illustration-card { display: none; }
    .section-head { font-size: 32px; letter-spacing: -1px; }
    .section-head-md { font-size: 28px; }
    .feature-cards-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .trails-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: 16px 24px 24px;
        gap: 16px;
        z-index: 99;
    }
    .article-hero h1 { font-size: 32px; letter-spacing: -0.5px; }
    .page-hero h1 { font-size: 32px; letter-spacing: -0.5px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    #cookie-banner { left: 12px; right: 12px; bottom: 12px; }
}
