/* Birch — Timber's default theme. Tokens and shared content styles live in ../_base/base.css. */
:root {
    --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --header-h: 76px;
}
h1, h2, h3 { font-weight: 700; }
h1 em, h2 em { font-style: italic; color: var(--accent); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(42, 31, 22, .5); }
.site-header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none !important; color: var(--fg); }
.logo-text { font: 700 1.4rem var(--font-head); letter-spacing: -.02em; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.nav-menu .pf-menu-list { gap: 4px 6px; }
.nav-menu a, .site-nav .pf-menu a { color: var(--fg); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 550; font-size: 15px; }
.nav-menu a:hover, .nav-menu a.is-active { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: var(--fg); padding: 8px; border-radius: 10px; cursor: pointer; }
@media (max-width: 820px) {
    .nav-toggle { display: inline-flex; }
    .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 20px 22px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
    .site-nav.open { display: flex; }
    .nav-menu .pf-menu-list { flex-direction: column; align-items: stretch; }
    .nav-menu a { display: block; padding: 12px 8px; border-radius: 10px; }
    .site-nav .btn { align-self: flex-start; }
}

/* ---------- homepage ---------- */
section.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.04; letter-spacing: -.03em; margin-bottom: .4em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { border-radius: calc(var(--radius) + 10px); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; background: var(--surface); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; aspect-ratio: 16 / 9; } }

.section-head { max-width: 40rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p.muted { font-size: 1.1rem; margin: 0; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
section.features, section.about, section.latest { padding: clamp(40px, 7vw, 88px) 0; }
section.features { border-block: 1px solid var(--line); background: var(--surface); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.feature h3 { margin: 16px 0 6px; font-size: 1.3rem; }
.feature p { margin: 0; }
.feature-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); }

.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-grid.flip .about-art { order: 2; }
.about-art { border-radius: calc(var(--radius) + 8px); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.about-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ticks { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 550; }
.ticks .ic { color: var(--accent-2); flex: none; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-grid.flip .about-art { order: 0; } }

section.cta { padding: 0 0 clamp(56px, 8vw, 112px); }
.cta-box { text-align: center; padding: clamp(40px, 6vw, 72px) 24px; border-radius: calc(var(--radius) + 10px); background: var(--fg); color: var(--bg); position: relative; overflow: hidden; isolation: isolate; }
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../../img/placeholders/rings-dark.svg") center / cover; opacity: .55; }
.cta-box h2 { color: var(--bg); margin-bottom: .3em; }
.cta-box p { color: color-mix(in srgb, var(--bg) 78%, transparent); max-width: 34em; margin: 0 auto 1.6em; font-size: 1.1rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-top: clamp(40px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { max-width: 28em; margin: 14px 0; }
.footer-col h4 { font: 700 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; padding: 4px 0; color: var(--fg); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.social { display: flex; gap: 10px; }
.social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--fg); }
.social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 28px 0; margin-top: 36px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
