/* roboto-slab-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-slab-v36-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-slab-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-slab-v36-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-slab-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/roboto-slab-v36-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-slab-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-slab-v36-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
    /* Brand */
    --green: #004001;
    --green-700: #0a5a12;
    --green-500: #1e7a2a;
    --green-300: #6fae76;
    --gold: #d8ae0a;          /* Christbaum Center – do not deviate */
    --gold-dark: #b8920a;

    /* Neutrals / warmth */
    --cream: #f7f3ea;
    --cream-2: #efe8d8;
    --ink: #1f2a1f;
    --ink-soft: #455145;
    --white: #ffffff;
    --line: #e0d8c6;

    --maxw: 1140px;
    --radius: 10px;
    --shadow-sm: 0 2px 8px rgba(0, 32, 0, 0.06);
    --shadow-md: 0 10px 30px rgba(0, 32, 0, 0.10);
    --transition: 0.25s ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    margin: 0;
    font-family: "Roboto Slab", Georgia, serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a { color: var(--green-500); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-weight: 600; line-height: 1.2; color: var(--green); margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }

.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-alt { background: var(--cream-2); }

.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-intro { color: var(--ink-soft); font-size: 1.05rem; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-dark);
    margin: 0 0 0.6rem;
}

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.align-center { align-items: center; }

.prose p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform var(--transition), background var(--transition), color var(--transition);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-700); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-cc { background: var(--gold); color: #3a2e00; }
.btn-cc:hover { background: var(--gold-dark); color: #fff; }

.btn-tb { background: var(--green); color: var(--white); }
.btn-tb:hover { background: var(--green-700); }

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 243, 234, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--green); }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--green); display: inline-flex; }
.brand-name { font-weight: 700; font-size: 1.3rem; letter-spacing: 0.01em; }

.primary-nav { display: flex; gap: 1.6rem; }
.primary-nav a {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}
.primary-nav a:hover { color: var(--green); border-color: var(--gold); text-decoration: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: none; border: none; cursor: pointer;
    padding: 8px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--green); transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero-media {
    position: absolute; inset: 0;
    background: #0a1f0a;
    z-index: 0;
}
.hero-media video {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(rgba(0, 32, 0, 0.55), rgba(0, 32, 0, 0.72));
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: clamp(4rem, 12vw, 8rem) 24px;
    max-width: 820px;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--white); }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,0.92); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* ---------- Ticks list ---------- */
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.ticks li { position: relative; padding-left: 2rem; margin-bottom: 0.7rem; }
.ticks li::before {
    content: "";
    position: absolute; left: 0; top: 0.55em;
    width: 12px; height: 7px;
    border-left: 2.5px solid var(--gold);
    border-bottom: 2.5px solid var(--gold);
    transform: rotate(-45deg);
}

/* ---------- Media frames ---------- */
.media-frame {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; max-height: 480px; }
.media-frame figcaption {
    font-size: 0.85rem;
    color: var(--ink-soft);
    padding: 0.7rem 1rem;
    background: var(--white);
}

/* ---------- Timeline ---------- */
.timeline {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 820px;
    position: relative;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 100px; top: 10px; bottom: 10px;
    width: 2px;
    background: var(--green-300);
}
.timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 2.5rem;
    padding-bottom: 2.25rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline-year {
    font-weight: 700;
    color: var(--green);
    text-align: right;
    padding-right: 1.5rem;
    padding-top: 0.05rem;
    line-height: 1.4;
}
.timeline-body { position: relative; }
.timeline-body::before {
    content: "";
    position: absolute;
    left: -2.5rem;
    top: 0.55rem;
    transform: translateX(-50%);
    width: 15px; height: 15px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--cream-2);
    box-shadow: 0 0 0 2px var(--green-300);
}
.timeline-body h3 { margin-bottom: 0.3rem; }
.timeline-body p { margin: 0; color: var(--ink-soft); }

/* ---------- Cards ---------- */
.cards .card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.cards .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 0.3rem; }
.card p { margin: 0.5rem 0 0; color: var(--ink-soft); font-size: 0.98rem; }
.card.card-accent { background: var(--green); }
.card.card-accent h3 { color: var(--white); border-color: var(--gold); }
.card.card-accent p { color: rgba(255,255,255,0.9); }

/* ---------- Feature strip ---------- */
.feature-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 3.5rem;
}
.media-wide img { max-height: 360px; }

/* ---------- Brand cards ---------- */
.brand-cards .brand-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    border-top: 5px solid var(--green);
    display: flex;
    flex-direction: column;
}
.brand-card--cc { border-top-color: var(--gold); }
.brand-card-logo { min-height: 84px; display: flex; align-items: center; margin-bottom: 1rem; }
.brand-card-logo img { max-height: 80px; width: auto; }
.brand-card--cc .brand-card-logo img { max-height: 34px; }
.brand-card p { color: var(--ink-soft); }
.brand-card p:not(.brand-card-link) { flex: 1; }
.brand-card-link { margin: 1rem 0 0; font-size: 0.95rem; color: var(--ink); }
.brand-card-link a { font-weight: 600; }

/* ---------- Pull quote & timeline note (placeholders) ---------- */
.pull-quote {
    margin: 1.6rem 0 0;
    padding: 0.4rem 0 0.4rem 1.2rem;
    border-left: 3px solid var(--gold);
    font-style: italic;
    color: var(--ink-soft);
}
.timeline-note {
    margin: 0.6rem 0 0;
    font-style: italic;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.contact-card > p { color: var(--gold-dark); font-weight: 600; margin-top: -0.4rem; }
.contact-list { margin: 1.2rem 0 0; }
.contact-list > div { display: flex; gap: 0.5rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.contact-list > div:last-child { border-bottom: none; }
.contact-list dt { font-weight: 600; min-width: 90px; color: var(--green); }
.contact-list dd { margin: 0; }

/* ---------- Legal ---------- */
.section-legal { font-size: 0.98rem; }
.section-legal h3 { font-size: 1.05rem; margin-top: 1.8rem; }
.legal-note {
    display: inline-block;
    background: var(--cream-2);
    border-left: 3px solid var(--gold);
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
    border-radius: 4px;
}
.section-legal.section-alt .legal-note { background: var(--cream); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: rgba(255,255,255,0.85); }
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 3rem 24px 2rem;
}
.footer-brand .brand-name { color: var(--white); font-size: 1.4rem; font-weight: 700; }
.footer-brand p { margin: 0.4rem 0 0; max-width: 320px; font-size: 0.95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; align-content: flex-start; }
.footer-nav a { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); }
.footer-bottom .container { padding-top: 1.2rem; padding-bottom: 1.2rem; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
    .grid-2, .grid-3, .feature-strip { grid-template-columns: 1fr; }
    .feature-strip { gap: 1.5rem; }

    .nav-toggle { display: flex; }
    .primary-nav {
        position: absolute;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition);
    }
    .primary-nav.open { max-height: 400px; }
    .primary-nav a {
        padding: 0.9rem 24px;
        border-bottom: 1px solid var(--line);
    }
    .primary-nav a:hover { border-color: var(--line); background: var(--cream-2); }
}

@media (max-width: 540px) {
    body { font-size: 17px; }
    .timeline::before { left: 7px; top: 8px; }
    .timeline li { grid-template-columns: 1fr; column-gap: 0; gap: 0.35rem; padding-left: 2rem; }
    .timeline-year { text-align: left; padding-right: 0; }
    .timeline-body { position: static; padding-left: 0; }
    .timeline-body::before {
        left: 8px;
        top: -1.55rem;
        transform: translateX(-50%);
    }
    .hero-actions .btn { width: 100%; text-align: center; }
    .hero-media video { display: none; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
    .hero-media video { display: none; }
}
