/* ============================================================
   Compounded — Ghost theme
   Design system from Figma (2647:4479). Fraunces headings +
   Plus Jakarta Sans body, forest-green accents, dark editorial.
   ============================================================ */

:root {
    /* Palette */
    --green:      #273b00;   /* primary button / accent */
    --green-dark: #1a2800;   /* hover / darkest */
    --green-mid:  #3f5e01;   /* active nav */
    --pale:       #e1e6ca;   /* pale green band / light button hover */
    --cream:      #f9f7f2;   /* page background / button text */
    --overlay:    rgba(26, 40, 0, 0.7);
    --muted:      #b2b1b1;   /* meta text */
    --ink:        #1a2800;   /* text on light backgrounds */
    --line:       rgba(26, 40, 0, 0.12);
    --page-bg:    #f9f7f2;

    /* Type */
    --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
    --font-sans:  "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Layout */
    --container: 1440px;
    --container-pad: 72px;
    --radius: 6px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--page-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; margin: 0 0 .4em; color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--container-pad); padding-right: var(--container-pad); }

/* Koenig editor card widths */
.kg-width-wide { position: relative; width: 85vw; min-width: 100%; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

/* ============================================================
   Buttons (Figma 2647:3609)
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 20px; border: 0; border-radius: var(--radius);
    font-family: var(--font-sans); font-weight: 500; font-size: 18px; letter-spacing: 0.18px; line-height: 1.45;
    transition: background .15s ease, color .15s ease;
}
.btn--dark { background: var(--green); color: var(--cream); }
.btn--dark:hover { background: var(--green-dark); }
.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { background: var(--pale); }

/* ============================================================
   Text buttons / nav (Figma 2647:3620)
   ============================================================ */
.nav-link, .text-btn { font-family: var(--font-sans); font-weight: 500; font-size: 16px; letter-spacing: 0.16px; color: var(--green); transition: color .15s ease; }
.nav-link:hover, .text-btn:hover { color: var(--green-mid); }
.nav-current > .nav-link, .nav-current > a { color: var(--green-mid); }
.text-btn--sm { font-size: 15px; }

/* ============================================================
   News card (Figma 2647:4026 big / 2647:4028 small)
   Background photo + green overlay, centered content.
   ============================================================ */
.news-card {
    position: relative; display: flex; align-items: center; justify-content: center;
    min-height: 314px; padding: 48px 36px; border-radius: var(--radius);
    overflow: hidden; color: var(--cream); background: var(--green-dark) center / cover no-repeat; text-align: center;
    isolation: isolate;
}
.news-card__overlay { position: absolute; inset: 0; background: var(--overlay); z-index: 0; transition: background .2s ease; }
.news-card:hover .news-card__overlay { background: rgba(26, 40, 0, 0.75); }
.news-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.news-card__title { font-family: var(--font-serif); font-weight: 400; font-size: 24px; letter-spacing: 0.24px; line-height: 1.3; color: var(--cream); margin: 0; font-variation-settings: "SOFT" 0, "WONK" 1; transition: color .2s ease; }
.news-card__excerpt { font-family: var(--font-sans); font-weight: 400; font-size: 16px; letter-spacing: 0.16px; line-height: 1.4; color: var(--cream); margin: 0; transition: color .2s ease;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.news-card:hover .news-card__title, .news-card:hover .news-card__excerpt { color: #ffffff; }
.news-card__desc { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.news-card__meta { display: flex; align-items: center; justify-content: center; gap: 16px; font-family: var(--font-sans); font-weight: 300; font-size: 12px; color: var(--muted); }
.news-card__div { width: 1px; height: 12px; background: var(--muted); display: inline-block; }

/* Big variant */
.news-card--big { min-height: 314px; }
.news-card--big .news-card__body { gap: 16px; max-width: 1100px; }
.news-card--big .news-card__title { font-size: 34px; letter-spacing: 0.34px; }
.news-card--big .news-card__excerpt { font-size: 18px; letter-spacing: 0.18px; }

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

/* ============================================================
   Header (Figma 2632:2051)
   ============================================================ */
.site-header { background: var(--pale); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; padding: 0 var(--container-pad); max-width: var(--container); margin: 0 auto; }
.site-header__left { display: flex; align-items: center; gap: 36px; }
.site-header__right { display: flex; align-items: center; gap: 16px; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { width: 48px; height: 48px; object-fit: contain; display: block; }
.site-nav__list { display: flex; gap: 12px; align-items: center; list-style: none; margin: 0; padding: 0; }
.site-nav__list .nav-item > a { display: inline-flex; align-items: center; padding: 10px; }
.site-nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; border: 0; background: transparent; }
.site-nav__toggle span { display: block; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }

/* ============================================================
   Home hero (Figma 2632:2061)
   ============================================================ */
.hero { position: relative; }
/* Full-width green top block — height follows the article, so text never overflows */
.hero__top { background: var(--pale); }
.hero__article { max-width: 640px; display: flex; flex-direction: column; gap: 26px; padding: 88px 0 40px; color: var(--ink); }
/* Signup sits on the cream page background below the green */
.hero__lower { position: relative; z-index: 1; }
/* Image layered on the right, spanning from the green down onto the cream */
.hero__media { position: absolute; top: 40px; z-index: 3;
    right: max(var(--container-pad), calc((100vw - var(--container)) / 2 + var(--container-pad)));
    width: min(618px, 45vw); }
.hero__media img { width: 100%; aspect-ratio: 618 / 707; object-fit: cover; border-radius: var(--radius); display: block; }
.hero__head { display: flex; flex-direction: column; gap: 12px; }
.hero__eyebrow { font-family: var(--font-sans); font-weight: 400; font-size: 14px; letter-spacing: 0.14px; line-height: 1.4; text-transform: uppercase; margin: 0; color: var(--ink); }
.hero__title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(34px, 5vw, 50px); letter-spacing: 0.5px; line-height: 1.4; margin: 0; color: var(--ink); font-variation-settings: "SOFT" 0, "WONK" 1; }
.hero__sub { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 2.4vw, 22px); letter-spacing: 0.22px; line-height: 1.4; margin: 0; color: var(--ink); }

.hero__form { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 480px; padding: 40px 0 64px; }
.hero__input { width: 100%; border: 1px solid var(--green); border-radius: var(--radius); padding: 10px 16px; background: transparent; font-family: var(--font-sans); font-size: 16px; color: var(--green); }
.hero__input::placeholder { color: var(--green); opacity: .85; }
.hero__submit { width: 100%; }
.hero__success, .hero__error { display: none; margin: 4px 0 0; font-size: 14px; line-height: 1.4; }
.hero__success { color: var(--green-mid); font-weight: 500; }
.hero__error { color: #b42318; }
.hero__form.success .hero__input, .hero__form.success .hero__submit { display: none; }
.hero__form.success .hero__success { display: block; }
.hero__form .hero__error:not(:empty) { display: block; }

@media (min-width: 901px) { .hero { min-height: 786px; } }

/* ============================================================
   Featured Articles (Figma 2632:2074)
   ============================================================ */
.section-featured { padding: 40px 0 80px; }
.featured__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 44px; }
.featured__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 4vw, 36px); letter-spacing: 0.36px; line-height: 1.3; margin: 0; color: var(--ink); font-variation-settings: "SOFT" 0, "WONK" 1; }
.featured__rule { display: block; width: 140px; height: 1px; background: var(--green); }
.featured__list { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.featured__list .news-card--big { width: 100%; }
.featured__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.featured__more { margin-top: 0; }

@media (max-width: 980px) { .featured__row { grid-template-columns: 1fr; } }

/* ============================================================
   Biological Sovereignty Audit (Figma 2632:2119)
   ============================================================ */
.audit { position: relative; overflow: hidden; background: var(--pale); padding: 80px 0; }
.audit__video { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.audit__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.audit__overlay { position: absolute; inset: 0; z-index: 1; background: var(--overlay); }
.audit__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 44px; }

.audit__head { display: flex; flex-direction: column; gap: 16px; }
.audit__title-wrap { display: flex; flex-direction: column; gap: 10px; }
.audit__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 4vw, 36px); letter-spacing: 0.36px; line-height: 1.3; margin: 0; color: var(--cream); font-variation-settings: "SOFT" 0, "WONK" 1; }
.audit__rule { display: block; width: 140px; height: 1px; background: var(--cream); }
.audit__sub { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 2.4vw, 22px); letter-spacing: 0.22px; line-height: 1.4; margin: 0; max-width: 829px; color: var(--cream); }

.audit__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.metric { display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 32px 0; border: 1px solid var(--green); border-radius: var(--radius);
    backdrop-filter: blur(2.5px); -webkit-backdrop-filter: blur(2.5px); background: rgba(26, 40, 0, 0.05); }
.metric__title { display: flex; align-items: center; justify-content: center; min-height: 68px; font-family: var(--font-serif); font-weight: 400; font-size: 26px; letter-spacing: 0.26px; line-height: 1.3; margin: 0; padding: 0 32px; text-align: center; color: var(--cream); font-variation-settings: "SOFT" 0, "WONK" 1; }
.metric__content { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.metric__value { width: 100%; padding: 16px 0; text-align: center; border-left: 2px solid var(--cream); font-family: var(--font-sans); font-weight: 400; font-size: 34px; letter-spacing: 0.34px; line-height: 1.4; color: var(--cream); }
.metric__icon { width: 40px; height: 40px; }
.metric__icon svg { width: 100%; height: 100%; display: block; }
.metric__desc { max-width: 210px; padding: 0 32px; text-align: center; font-family: var(--font-sans); font-weight: 400; font-size: 18px; letter-spacing: 0.18px; line-height: 1.4; margin: 0; color: var(--cream); }

@media (max-width: 980px) { .audit__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    /* Video crops badly on tall mobile layouts — use a solid dark-green background instead */
    .audit { background: var(--green-dark); }
    .audit__video, .audit__overlay { display: none; }
}
@media (max-width: 560px) { .audit__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Bio-Security Estate (Figma 2632:2180)
   ============================================================ */
.firewall { padding: 80px 0; }
.firewall__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 44px; }
.firewall__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 4vw, 36px); letter-spacing: 0.36px; line-height: 1.3; margin: 0; color: var(--ink); font-variation-settings: "SOFT" 0, "WONK" 1; }
.firewall__rule { display: block; width: 140px; height: 1px; background: var(--green); }
.firewall__content { display: flex; flex-direction: column; gap: 36px; }
.firewall__media img { width: 100%; aspect-ratio: 1296 / 635; object-fit: cover; border-radius: var(--radius); display: block; }
.firewall__desc { display: flex; gap: 24px; align-items: center; color: var(--ink); }
.firewall__metric { flex: 0 0 306px; max-width: 306px; display: flex; flex-direction: column; gap: 8px; padding: 16px 32px; border: 1px solid var(--green); border-radius: var(--radius); }
.firewall__value { font-family: var(--font-sans); font-weight: 500; font-size: 34px; letter-spacing: 0.34px; line-height: 1.4; color: var(--ink); }
.firewall__label { font-family: var(--font-sans); font-weight: 400; font-size: 22px; letter-spacing: 0.22px; line-height: 1.4; color: var(--ink); }
.firewall__text { flex: 1; font-family: var(--font-sans); font-weight: 400; font-size: 16px; letter-spacing: 0.16px; line-height: 1.4; margin: 0; color: var(--ink); }

@media (max-width: 900px) {
    .firewall { padding: 56px 0; }
    .firewall__desc { flex-direction: column; align-items: stretch; gap: 20px; }
    .firewall__metric { flex-basis: auto; max-width: none; }
    .firewall__media img { aspect-ratio: 4 / 3; }
}

/* ============================================================
   Vitality Toolkit — static asset cards (Figma 2632:2191)
   ============================================================ */
.toolkit { padding: 80px 0; }
.toolkit__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; }
.toolkit__title-wrap { display: flex; flex-direction: column; gap: 10px; }
.toolkit__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 4vw, 36px); letter-spacing: 0.36px; line-height: 1.3; margin: 0; color: var(--ink); font-variation-settings: "SOFT" 0, "WONK" 1; }
.toolkit__rule { display: block; width: 140px; height: 1px; background: var(--green); }
.toolkit__sub { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 2.4vw, 22px); letter-spacing: 0.22px; line-height: 1.4; margin: 0; color: var(--ink); }

.toolkit__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.asset-card { position: relative; display: flex; align-items: center; justify-content: center; min-height: 377px; padding: 36px 16px;
    border: 1px solid #a9a9a9; border-radius: var(--radius); overflow: hidden; text-align: center;
    background: var(--green-dark) center / cover no-repeat; color: var(--cream); }
.asset-card__overlay { position: absolute; inset: 0; background: var(--overlay); z-index: 0; }
.asset-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; width: 100%; }
.asset-card__title { display: flex; align-items: center; justify-content: center; min-height: 96px; font-family: var(--font-serif); font-weight: 400; font-size: 34px; letter-spacing: 0.34px; line-height: 1.4; margin: 0; color: var(--cream); font-variation-settings: "SOFT" 0, "WONK" 1; }
.asset-card__text { font-family: var(--font-sans); font-weight: 400; font-size: 20px; letter-spacing: 0.2px; line-height: 1.4; margin: 0; color: var(--cream); }

@media (max-width: 980px) { .toolkit__grid { grid-template-columns: 1fr; } }

/* ============================================================
   News archive (Figma 2632:1772) — Featured Intelligence + The Feed
   ============================================================ */
.section-intel { padding: 60px 0 0; }
.section-feed { padding: 60px 0 80px; }
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 44px; }
.sec-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 4vw, 36px); letter-spacing: 0.36px; line-height: 1.3; margin: 0; color: var(--ink); font-variation-settings: "SOFT" 0, "WONK" 1; }
.sec-rule { display: block; width: 140px; height: 1px; background: var(--green); }
.section-intel .news-card--big { width: 100%; }
.feed__more { display: flex; width: max-content; margin: 36px auto 0; }

/* ============================================================
   Single post (Figma 2632:1939)
   ============================================================ */
.post { padding: 60px 0 0; }
.post-hero { display: flex; gap: 24px; align-items: center; margin-top: 44px; }
.post-hero__text { flex: 0 0 525px; max-width: 525px; display: flex; flex-direction: column; gap: 32px; }
.post-hero__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 34px); letter-spacing: 0.34px; line-height: 1.3; margin: 0; color: var(--ink); font-variation-settings: "SOFT" 0, "WONK" 1; }
.post-hero__desc { display: flex; flex-direction: column; gap: 16px; }
.post-hero__summary { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 2.4vw, 24px); letter-spacing: 0.24px; line-height: 1.4; margin: 0; color: var(--ink); }
.post-hero__meta { display: flex; align-items: center; gap: 16px; font-family: var(--font-sans); font-weight: 300; font-size: 12px; line-height: 1.4; color: #464646; flex-wrap: wrap; }
.post-hero__div { width: 1px; height: 12px; background: #464646; display: inline-block; }
.post-hero__media { flex: 1 1 0; min-width: 0; }
.post-hero__media img, .post-hero__ph { width: 100%; aspect-ratio: 748 / 420; object-fit: cover; border-radius: var(--radius); display: block; }
.post-hero__ph { background: #d9d9d9; }

/* Article body */
.post-content { max-width: 1076px; margin: 60px auto 0; padding-bottom: 80px; font-family: var(--font-sans); font-weight: 400; font-size: 18px; line-height: 1.7; color: var(--ink); }
.post-content > * { margin: 0 0 24px; }
.post-content > :last-child { margin-bottom: 0; }
.post-content h2 { font-family: var(--font-serif); font-weight: 400; font-size: 30px; line-height: 1.3; letter-spacing: 0.3px; margin: 40px 0 16px; font-variation-settings: "SOFT" 0, "WONK" 1; }
.post-content h3 { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 1.3; margin: 32px 0 12px; font-variation-settings: "SOFT" 0, "WONK" 1; }
.post-content h4 { font-family: var(--font-sans); font-weight: 600; font-size: 19px; margin: 28px 0 12px; }
.post-content a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.post-content a:hover { color: var(--green-mid); }
.post-content img, .post-content .kg-image { width: 100%; height: auto; border-radius: var(--radius); }
.post-content figure { margin: 32px 0; }
.post-content figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: #6a6a6a; }
.post-content ul, .post-content ol { padding-left: 24px; }
.post-content li { margin-bottom: 10px; }
.post-content blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--green); font-style: italic; }
.post-content hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }

.section-related { padding: 80px 0; }
.section-related .news-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
    .post-hero { flex-direction: column; align-items: stretch; gap: 24px; }
    .post-hero__text { flex-basis: auto; max-width: none; }
    .post-hero__media img, .post-hero__ph { aspect-ratio: 16 / 9; }
    .post-content { margin-top: 40px; }
}

/* ============================================================
   Enter the Biological Ledger — reusable CTA (Figma 2632:2216)
   ============================================================ */
.cta { padding: 80px 0; }
.cta__inner { display: flex; gap: 60px; align-items: center; }
.cta__content { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.cta__head { display: flex; flex-direction: column; gap: 16px; }
.cta__title-wrap { display: flex; flex-direction: column; gap: 10px; }
.cta__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 4vw, 36px); letter-spacing: 0.36px; line-height: 1.3; margin: 0; color: var(--ink); font-variation-settings: "SOFT" 0, "WONK" 1; }
.cta__rule { display: block; width: 140px; height: 1px; background: var(--green); }
.cta__sub { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 2.4vw, 22px); letter-spacing: 0.22px; line-height: 1.4; margin: 0; color: var(--ink); }

.cta__form { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.cta__input { width: 100%; border: 1px solid var(--green); border-radius: var(--radius); padding: 10px 16px; background: transparent; font-family: var(--font-sans); font-size: 16px; color: var(--green); }
.cta__input::placeholder { color: var(--green); opacity: .85; }
.cta__submit { width: 100%; }
.cta__success, .cta__error { display: none; margin: 4px 0 0; font-size: 14px; line-height: 1.4; }
.cta__success { color: var(--green-mid); font-weight: 500; }
.cta__error { color: #b42318; }
.cta__form.success .cta__input, .cta__form.success .cta__submit { display: none; }
.cta__form.success .cta__success { display: block; }
.cta__form .cta__error:not(:empty) { display: block; }

.cta__media { flex: 0 0 636px; max-width: 48%; }
.cta__media img { width: 100%; aspect-ratio: 636 / 445; object-fit: cover; border-radius: var(--radius); display: block; }

@media (max-width: 900px) {
    .cta { padding: 56px 0; }
    .cta__inner { flex-direction: column; align-items: stretch; gap: 32px; }
    .cta__media { flex-basis: auto; max-width: none; }
    .cta__media img { aspect-ratio: 16 / 10; }
}

/* ============================================================
   The Ledger — page hero (Figma 2632:1653)
   ============================================================ */
.ledger-hero { background: var(--pale); padding: 80px 0; }
.ledger-hero__inner { max-width: var(--container); margin: 0 auto; padding-left: var(--container-pad); padding-right: 8px; display: flex; gap: 60px; align-items: center; }
.ledger-hero__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 34px; }
.ledger-hero__title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(32px, 4.4vw, 44px); letter-spacing: 0.44px; line-height: 1.4; margin: 0; color: var(--ink); font-variation-settings: "SOFT" 0, "WONK" 1; }
.ledger-hero__sub { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 2.4vw, 22px); letter-spacing: 0.22px; line-height: 1.4; margin: 0; color: var(--ink); }
.ledger-hero__media { flex: 0 0 745px; max-width: 52%; position: relative; }
.ledger-hero__img { display: block; width: 618px; max-width: 84%; margin: 0 auto; aspect-ratio: 618 / 347; object-fit: cover; border-radius: var(--radius); }
.ledger-hero__stats { position: relative; z-index: 2; margin-top: -76px; display: flex; gap: 24px; justify-content: center; }
.stat-badge { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; text-align: center;
    border: 1px solid #ecf4c7; border-radius: var(--radius); background: rgba(225, 230, 202, 0.5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.stat-badge__value { font-family: var(--font-sans); font-weight: 600; font-size: 24px; letter-spacing: 0.24px; line-height: 1.4; color: var(--ink); }
.stat-badge__label { font-family: var(--font-sans); font-weight: 400; font-size: 18px; letter-spacing: 0.18px; line-height: 1.4; color: var(--ink); }

@media (max-width: 900px) {
    .ledger-hero { padding: 56px 0; }
    .ledger-hero__inner { flex-direction: column; align-items: stretch; gap: 32px; padding-right: var(--container-pad); }
    .ledger-hero__media { flex-basis: auto; max-width: none; }
    .ledger-hero__img { width: 100%; max-width: none; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
    .ledger-hero__stats { flex-direction: column; margin-top: -48px; }
}

/* ============================================================
   The Ledger — Biological Asset Analysis (Figma 2632:1660)
   ============================================================ */
.asset-analysis { padding: 80px 0 60px; }
.asset-analysis__head { max-width: 692px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; }
.asset-analysis__tw { display: flex; flex-direction: column; gap: 10px; }
.asset-analysis__sub { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 2.4vw, 22px); letter-spacing: 0.22px; line-height: 1.4; margin: 0; color: var(--ink); }
.asset-rows { display: flex; flex-direction: column; gap: 24px; }
.asset-row { display: flex; gap: 60px; align-items: center; border: 1px solid #ecf4c7; border-radius: var(--radius); overflow: hidden; }
.asset-row__media { flex: 0 0 526px; max-width: 45%; align-self: stretch; }
.asset-row__media img { width: 100%; height: 100%; min-height: 405px; object-fit: cover; display: block; }
.asset-row__body { flex: 1 1 0; min-width: 0; padding: 24px 36px 24px 0; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.asset-row__eyebrow { font-family: var(--font-sans); font-weight: 400; font-size: 14px; letter-spacing: 0.14px; line-height: 1.4; margin: 0; color: var(--ink); }
.asset-row__content { display: flex; flex-direction: column; gap: 24px; }
.asset-row__title { font-family: var(--font-serif); font-weight: 400; font-size: 26px; letter-spacing: 0.26px; line-height: 1.3; margin: 0; color: var(--ink); font-variation-settings: "SOFT" 0, "WONK" 1; }
.asset-row__text { font-family: var(--font-sans); font-weight: 400; font-size: 18px; letter-spacing: 0.18px; line-height: 1.4; margin: 0; color: var(--ink); }
.asset-row__metrics { display: flex; gap: 24px; flex-wrap: wrap; }
.mini-metric { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; border: 1px solid #c4d08c; border-radius: var(--radius); background: rgba(228, 228, 228, 0.05); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.mini-metric__label { font-family: var(--font-sans); font-weight: 400; font-size: 18px; letter-spacing: 0.18px; line-height: 1.4; color: var(--ink); }
.mini-metric__value { font-family: var(--font-sans); font-weight: 600; font-size: 24px; letter-spacing: 0.24px; line-height: 1.4; color: var(--ink); }

@media (max-width: 900px) {
    .asset-analysis { padding: 56px 0; }
    .asset-row { flex-direction: column; gap: 0; align-items: stretch; }
    .asset-row__media { flex-basis: auto; max-width: none; }
    .asset-row__media img { min-height: 0; aspect-ratio: 16 / 9; }
    .asset-row__body { padding: 24px; }
}

/* ============================================================
   The Ledger — Vitality Field Notes (Figma 2632:1695)
   ============================================================ */
.fieldnotes { position: relative; overflow: hidden; background: var(--pale); padding: 50px 0; }
.fieldnotes__video { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.fieldnotes__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.fieldnotes__overlay { position: absolute; inset: 0; z-index: 1; background: var(--overlay); }
.fieldnotes__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 44px; }
.fieldnotes__head { display: flex; flex-direction: column; gap: 16px; max-width: 692px; }
.fieldnotes__tw { display: flex; flex-direction: column; gap: 10px; }
.fieldnotes__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 4vw, 36px); letter-spacing: 0.36px; line-height: 1.3; margin: 0; color: var(--cream); font-variation-settings: "SOFT" 0, "WONK" 1; }
.fieldnotes__rule { display: block; width: 140px; height: 1px; background: var(--cream); }
.fieldnotes__sub { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 2.4vw, 22px); letter-spacing: 0.22px; line-height: 1.4; margin: 0; color: var(--cream); }

.fieldnotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.fieldnote { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding: 0 32px 32px; border: 1px solid var(--green); border-radius: var(--radius); }
.fieldnote__top { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.fieldnote__icon { border-top: 2px solid var(--cream); padding: 32px 10px 0; }
.fieldnote__icon svg { width: 60px; height: 60px; display: block; }
.fieldnote__content { display: flex; flex-direction: column; gap: 24px; text-align: center; }
.fieldnote__title { display: flex; align-items: center; justify-content: center; min-height: 68px; font-family: var(--font-serif); font-weight: 400; font-size: 26px; letter-spacing: 0.26px; line-height: 1.3; margin: 0; color: var(--cream); font-variation-settings: "SOFT" 0, "WONK" 1; }
.fieldnote__desc { font-family: var(--font-sans); font-weight: 400; font-size: 18px; letter-spacing: 0.18px; line-height: 1.4; margin: 0; color: var(--cream); }
.fieldnote__value { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--cream); }
.fieldnote__label { font-family: var(--font-sans); font-weight: 400; font-size: 20px; letter-spacing: 0.2px; line-height: 1.4; }
.fieldnote__number { font-family: var(--font-sans); font-weight: 500; font-size: 34px; letter-spacing: 0.34px; line-height: 1.4; }

@media (max-width: 900px) {
    .fieldnotes { background: var(--green-dark); }
    .fieldnotes__video, .fieldnotes__overlay { display: none; }
    .fieldnotes__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Legal pages (Figma 2647:3034)
   ============================================================ */
.section-legal { background: var(--cream); padding: 60px 0; border-radius: 12px 12px 0 0; }
.legal__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 4vw, 36px); letter-spacing: 0.36px; line-height: 1.4; margin: 0 0 36px; text-align: center; color: var(--ink); font-variation-settings: "SOFT" 0, "WONK" 1; }
.legal__updated { font-family: var(--font-sans); font-weight: 400; font-size: 12px; letter-spacing: 0.12px; line-height: 1.4; text-align: center; color: #7e7e7e; margin: 0 0 24px; }
.legal-content { display: flex; flex-direction: column; gap: 24px; font-family: var(--font-sans); font-weight: 300; font-size: 16px; letter-spacing: 0.16px; line-height: 1.4; color: var(--ink); }
.legal-content h2, .legal-content h3, .legal-content h4 {text-align: left !important; font-family: var(--font-sans); font-weight: 400; font-size: 18px; letter-spacing: 0.18px; line-height: 1.4; margin: 8px 0 0; text-align: center; color: var(--ink); }
.legal-content > :first-child { margin-top: 0; }
.legal-content p { margin: 0; }
.legal-content ul, .legal-content ol { margin: 0; padding-left: 24px; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong, .legal-content b { font-weight: 500; }
.legal-content a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--green-mid); }
.legal-content hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }

/* ============================================================
   Footer (Figma 2632:2229)
   ============================================================ */
.site-footer { background: var(--pale); padding: 80px 0 60px; }
.site-footer .container { display: flex; flex-direction: column; gap: 26px; }
.site-footer__brand { display: flex; align-items: center; gap: 16px; }
.site-footer__logo img { width: 48px; height: 48px; object-fit: contain; display: block; }
.site-footer__tagline { font-family: var(--font-sans); font-weight: 400; font-size: 22px; line-height: 1.4; margin: 0; color: var(--ink); max-width: 448px; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__copy { font-family: var(--font-sans); font-size: 12px; line-height: 1.4; margin: 0; color: var(--ink); }
.site-footer__links { display: flex; align-items: center; gap: 36px; }
.footer-link { padding: 10px; font-family: var(--font-sans); font-size: 12px; line-height: 1.4; color: var(--green); transition: color .15s ease; }
.footer-link:hover { color: var(--green-mid); }

@media (max-width: 640px) {
    .site-footer { padding: 56px 0 40px; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
    .site-footer__links { gap: 16px; margin-left: -10px; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
    :root { --container-pad: 24px; }
    .hero__media { position: static; width: auto; margin: 0 var(--container-pad) 40px; }
    .hero__media img { aspect-ratio: 4 / 3; }
    .hero__article { max-width: none; padding: 32px 0; }
    .hero__form { padding: 24px 0 40px; }
    .site-nav { display: none; }
    .site-header__cta { display: none; }
    .site-nav__toggle { display: flex; }
    .site-header.is-open .site-nav { display: block; position: absolute; top: 74px; left: 0; right: 0; background: var(--pale); padding: 12px var(--container-pad); z-index: 30; }
    .site-header.is-open .site-nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }
