/* ================================================================
   Natural Fiber Guide — Modern design system
   Previous stylesheet backed up in backups/pre-modern-redesign/
   ================================================================ */

:root {
    --bg: #f5f1e8;
    --bg-alt: #ede7d7;
    --bg-card: #ffffff;
    --ink: #1a1a19;
    --ink-soft: #5c5a53;
    --ink-mute: #8f8c82;
    --rule: #d9d3c2;
    --accent: #5a6b4e;
    --accent-hover: #6e7f5e;
    --accent-ink: #ffffff;
    --terra: #b5623f;
    --shadow: 0 1px 2px rgba(26,26,25,0.04), 0 6px 20px rgba(26,26,25,0.05);
    --shadow-lg: 0 1px 2px rgba(26,26,25,0.05), 0 12px 40px rgba(26,26,25,0.09);
}

[data-theme="dark"] {
    --bg: #14130f;
    --bg-alt: #1c1b16;
    --bg-card: #1f1e18;
    --ink: #f2efe6;
    --ink-soft: #b8b3a5;
    --ink-mute: #7a776d;
    --rule: #2e2c25;
    --accent: #9bb087;
    --accent-hover: #acc199;
    --accent-ink: #14130f;
    --terra: #d18969;
    --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 10px 30px rgba(0,0,0,0.35);
    --shadow-lg: 0 1px 2px rgba(0,0,0,0.4), 0 18px 50px rgba(0,0,0,0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 74px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.display {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.02;
    font-variation-settings: "opsz" 144, "SOFT" 50;
}
.eyebrow {
    font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.22em;
    color: var(--ink-mute);
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--ink); color: var(--bg);
    padding: 10px 16px; font-size: 13px;
    text-decoration: none; z-index: 3000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    padding: 20px 40px;
    background: color-mix(in oklab, var(--bg) 82%, transparent);
    backdrop-filter: saturate(1.2) blur(14px);
    -webkit-backdrop-filter: saturate(1.2) blur(14px);
    border-bottom: 1px solid transparent;
    transition: padding 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
    padding-top: 12px; padding-bottom: 12px;
    border-bottom-color: var(--rule);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: 40px;
}
.brand {
    font-family: 'Fraunces', serif; font-weight: 500;
    font-size: 20px; letter-spacing: -0.01em;
    color: var(--ink); text-decoration: none;
    font-variation-settings: "opsz" 24;
    justify-self: start;
}
.brand .brand-mark {
    display: inline-block; width: 7px; height: 7px;
    border-radius: 50%; background: var(--accent);
    margin-right: 9px; vertical-align: middle;
    transform: translateY(-2px);
}
.nav-links {
    display: flex; gap: 30px; justify-content: center;
    align-items: center; list-style: none;
}
.nav-links a, .nav-links button {
    font: 500 13px/1 'Inter', sans-serif; letter-spacing: 0.01em;
    color: var(--ink); background: none; border: 0;
    padding: 8px 0; text-decoration: none; cursor: pointer;
    position: relative;
}
.nav-links a::after, .nav-links button::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: var(--ink);
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.nav-links a:hover::after, .nav-links button:hover::after,
.nav-dd[aria-expanded="true"] > button::after {
    transform: scaleX(1); transform-origin: left;
}

.nav-dd { position: relative; list-style: none; }
.nav-dd > button i {
    margin-left: 6px; font-size: 9px;
    transition: transform 0.3s; display: inline-block; font-style: normal;
}
.nav-dd[aria-expanded="true"] > button i { transform: rotate(180deg); }
.nav-dd-menu {
    position: absolute; top: calc(100% + 20px); left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: var(--bg-card); border: 1px solid var(--rule);
    padding: 24px 28px; min-width: 480px; border-radius: 2px;
    box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px 36px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.nav-dd[aria-expanded="true"] .nav-dd-menu {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dd-col-head {
    font: 500 10px/1 'Inter'; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--ink-mute);
    padding: 6px 0 10px; border-bottom: 1px solid var(--rule);
    margin-bottom: 6px;
}
.nav-dd-menu .dd-link {
    font: 400 15px/1.4 'Fraunces', serif; letter-spacing: -0.005em;
    color: var(--ink); text-decoration: none;
    padding: 7px 0; display: flex; align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.nav-dd-menu .dd-link::after { display: none; }
.nav-dd-menu .dd-link:hover {
    color: var(--accent); border-bottom-color: var(--accent);
}
.nav-dd-menu .dd-link span {
    font: 500 10px/1 'Inter'; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--ink-mute);
}

.nav-actions {
    display: flex; justify-content: flex-end; align-items: center; gap: 14px;
}
.icon-btn {
    width: 34px; height: 34px;
    border: 1px solid var(--rule); background: transparent;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--ink);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.icon-btn:hover { background: var(--bg-alt); border-color: var(--ink-mute); }
.icon-btn svg { width: 14px; height: 14px; stroke-width: 1.6; fill: none; stroke: currentColor; }

.shop-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 100px;
    background: var(--ink); color: var(--bg);
    font: 500 11px/1 'Inter'; letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; border: 1px solid var(--ink);
    transition: background 0.25s, color 0.25s;
}
.shop-pill::after { display: none !important; }
.shop-pill:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.shop-pill svg { width: 12px; height: 12px; stroke-width: 2; fill: none; stroke: currentColor; }

.menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 22px; border-radius: 100px;
    font: 500 12px/1 'Inter'; letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; border: 1px solid var(--ink);
    transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
    cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover {
    background: var(--accent); border-color: var(--accent);
    transform: translateY(-1px); color: var(--accent-ink);
}
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- Scroll utils ---------- */
.scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 2px; width: 0;
    background: var(--accent); z-index: 901;
    transition: width 0.08s linear;
}
.to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 800;
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--rule); background: var(--bg);
    color: var(--ink); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
    box-shadow: var(--shadow);
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--bg-alt); }
.to-top svg { width: 13px; height: 13px; stroke-width: 1.8; fill: none; stroke: currentColor; }

/* ================================================================ HOMEPAGE ================================================================ */

.hero { padding: 80px 40px 60px; }
.hero-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr;
    gap: 80px; align-items: center;
}
.hero-text .eyebrow {
    margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
}
.hero-text .eyebrow::before {
    content: ""; width: 28px; height: 1px;
    background: var(--ink-mute); display: inline-block;
}
.hero h1 {
    font-family: 'Fraunces', serif; font-weight: 300;
    font-size: clamp(42px, 5.6vw, 84px); line-height: 0.98;
    letter-spacing: -0.03em;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    margin-bottom: 28px;
}
.hero h1 em {
    font-style: italic; font-weight: 300; color: var(--accent);
    font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-lede {
    font-size: 16px; line-height: 1.65; color: var(--ink-soft);
    max-width: 54ch; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-visual {
    position: relative; aspect-ratio: 4/5; overflow: hidden;
    border-radius: 2px; max-width: 360px; margin-left: auto;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
    position: absolute; top: 16px; right: 16px;
    padding: 6px 12px; background: rgba(245,241,232,0.9);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    font: 500 9px/1 'Inter'; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ink); border-radius: 100px;
}

.divider { max-width: 1200px; margin: 60px auto 0; padding: 0 40px; }
.divider-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; padding: 20px 0; border-top: 1px solid var(--rule);
    font: 500 11px/1.4 'Inter'; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-mute); flex-wrap: wrap;
}
.divider-inner span { display: inline-flex; align-items: center; gap: 8px; }
.divider-inner span::before {
    content: ""; width: 5px; height: 5px;
    background: var(--accent); border-radius: 50%;
}

.section-head {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: end;
    margin-bottom: 48px; padding-top: 90px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
    font-family: 'Fraunces', serif; font-weight: 300;
    font-size: clamp(32px, 4vw, 54px); line-height: 1;
    letter-spacing: -0.025em;
    font-variation-settings: "opsz" 144, "SOFT" 50;
}
.section-head h2 em {
    font-style: italic; color: var(--accent);
    font-variation-settings: "opsz" 144, "SOFT" 100;
}
.section-head .meta {
    font-size: 15px; color: var(--ink-soft); line-height: 1.6;
    max-width: 44ch; justify-self: end;
}

.filter-row {
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px; flex-wrap: wrap; margin-bottom: 32px;
    padding-bottom: 16px; border-bottom: 1px solid var(--rule);
}
.filter-pills { display: flex; gap: 4px; flex-wrap: wrap; }
.filter-pills button {
    font: 500 12px/1 'Inter'; letter-spacing: 0.04em;
    padding: 9px 16px; border-radius: 100px;
    border: 1px solid transparent; background: transparent;
    color: var(--ink-soft); cursor: pointer; transition: all 0.25s;
}
.filter-pills button:hover { color: var(--ink); }
.filter-pills button.active {
    background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.count-label { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.04em; }
.count-label b { color: var(--ink); font-weight: 600; }

.fiber-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 40px 36px;
}
.fiber { display: block; text-decoration: none; color: inherit; }
.fiber-img {
    position: relative; aspect-ratio: 4/3; overflow: hidden;
    border-radius: 2px; background: var(--bg-alt); margin-bottom: 18px;
}
.fiber-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.fiber:hover .fiber-img img { transform: scale(1.04); }
.fiber-tag {
    position: absolute; top: 12px; left: 12px;
    padding: 5px 10px; border-radius: 100px;
    font: 500 9px/1 'Inter'; letter-spacing: 0.18em; text-transform: uppercase;
    background: rgba(245,241,232,0.94);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: var(--ink);
}
.fiber-category {
    font: 500 10px/1 'Inter'; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px;
}
.fiber-title {
    font-family: 'Fraunces', serif; font-weight: 400;
    font-size: 24px; line-height: 1.1; letter-spacing: -0.015em;
    color: var(--ink); margin-bottom: 8px; transition: color 0.2s;
}
.fiber:hover .fiber-title { color: var(--accent); }
.fiber-desc {
    font-size: 14px; line-height: 1.55; color: var(--ink-soft);
    margin-bottom: 12px;
}
.fiber-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font: 500 11px/1 'Inter'; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px;
}
.fiber-cta svg {
    width: 11px; height: 11px; stroke-width: 2; fill: none; stroke: currentColor;
    transition: transform 0.3s;
}
.fiber:hover .fiber-cta svg { transform: translateX(4px); }

.pullquote { padding: 120px 40px; text-align: center; }
.pullquote blockquote {
    font-family: 'Fraunces', serif; font-weight: 300; font-style: italic;
    font-size: clamp(26px, 3.4vw, 44px); line-height: 1.2; letter-spacing: -0.015em;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    max-width: 26ch; margin: 0 auto;
}
.pullquote blockquote span { color: var(--accent); }
.pullquote cite {
    display: block; margin-top: 32px;
    font: 500 10px/1 'Inter'; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--ink-mute); font-style: normal;
}

.why { padding: 90px 40px; background: var(--bg-alt); }
.why-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: 80px; align-items: start;
}
.why h2 {
    font-family: 'Fraunces', serif; font-weight: 300;
    font-size: clamp(34px, 4vw, 56px); line-height: 1;
    letter-spacing: -0.025em;
    font-variation-settings: "opsz" 144, "SOFT" 50;
}
.why h2 em { font-style: italic; color: var(--accent); font-variation-settings: "opsz" 144, "SOFT" 100; }
.why p.lede { font-size: 15px; color: var(--ink-soft); margin-top: 20px; max-width: 42ch; }
.why-list {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
    border-top: 1px solid var(--rule);
}
.why-item {
    padding: 26px 0; border-bottom: 1px solid var(--rule);
    display: grid; grid-template-columns: 36px 1fr; gap: 18px; align-items: start;
}
.why-item:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--rule); }
.why-item:nth-child(even) { padding-left: 20px; }
.why-num { font: 500 11px/1 'Inter'; letter-spacing: 0.15em; color: var(--ink-mute); margin-top: 6px; }
.why-item h3 {
    font-family: 'Fraunces', serif; font-weight: 400; font-size: 19px;
    letter-spacing: -0.01em; margin-bottom: 6px; line-height: 1.15;
}
.why-item p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }

.boutique {
    margin: 0 40px; padding: 72px 40px; border-radius: 2px;
    background:
        linear-gradient(135deg, rgba(90,107,78,0.93), rgba(90,107,78,0.78)),
        url('images/textures/flax-fiber-texture.webp') center/cover;
    color: #fff; text-align: center;
}
.boutique .eyebrow { color: rgba(255,255,255,0.7); }
.boutique h2 {
    font-family: 'Fraunces', serif; font-weight: 300;
    font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.02em;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    margin: 16px 0 18px;
}
.boutique h2 em { font-style: italic; }
.boutique p { max-width: 48ch; margin: 0 auto 28px; color: rgba(255,255,255,0.85); font-size: 15px; }
.boutique .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.boutique .btn-primary:hover { background: transparent; color: #fff; border-color: #fff; }

/* Boutique CTA (legacy class on some guide pages) */
.boutique-cta {
    margin: 60px 40px; padding: 60px 40px; border-radius: 2px;
    background:
        linear-gradient(135deg, rgba(90,107,78,0.93), rgba(90,107,78,0.78)),
        url('images/textures/flax-fiber-texture.webp') center/cover;
    color: #fff; text-align: center;
}
.boutique-cta h3 {
    font-family: 'Fraunces', serif; font-weight: 300;
    font-size: clamp(26px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.boutique-cta p { max-width: 48ch; margin: 0 auto 24px; color: rgba(255,255,255,0.85); }
.boutique-cta a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 22px; border-radius: 100px;
    background: #fff; color: var(--ink); text-decoration: none;
    font: 500 12px/1 'Inter'; letter-spacing: 0.08em; text-transform: uppercase;
    transition: background 0.25s, color 0.25s;
}
.boutique-cta a:hover { background: transparent; color: #fff; border: 1px solid #fff; }

/* ================================================================ ARTICLE / GUIDE PAGES ================================================================ */

.article-container,
article.article-content {
    max-width: 760px; margin: 0 auto;
    padding: 60px 40px 40px;
}
/* Legacy pages: article-content is the <article> root with inner <section>s */
article.article-content > section { margin-bottom: 2.4em; }
article.article-content > section > h2:first-child { margin-top: 0; }
article.article-content .feature-image {
    margin: 2em -40px;
}
article.article-content .feature-image img {
    width: 100%; height: auto; display: block; border-radius: 2px;
}
article.article-content .image-caption {
    font-family: 'Fraunces', serif; font-style: italic; font-size: 14px;
    color: var(--ink-mute); text-align: center; margin-top: 10px;
}
/* Apply article-content prose typography to these pages too */
article.article-content {
    font-family: 'Inter', sans-serif;
    font-size: 17px; line-height: 1.75; color: var(--ink);
}
article.article-content > section > p { margin: 0 0 1.5em; }
article.article-content > section:first-of-type > p:first-of-type {
    font-size: 20px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 1.4em;
}
article.article-content h2 {
    font-family: 'Fraunces', serif; font-weight: 400;
    font-size: 32px; line-height: 1.15; letter-spacing: -0.015em;
    margin: 2.4em 0 0.8em;
}
article.article-content h2:first-child,
article.article-content > section:first-child h2 { margin-top: 0; }
article.article-content h3 {
    font-family: 'Fraunces', serif; font-weight: 400;
    font-size: 22px; line-height: 1.2; letter-spacing: -0.01em;
    margin: 2em 0 0.6em;
}
article.article-content ul, article.article-content ol {
    margin: 0 0 1.5em 1.2em; padding-left: 8px;
}
article.article-content li { margin-bottom: 0.6em; padding-left: 4px; }
article.article-content li::marker { color: var(--accent); }
article.article-content strong { color: var(--ink); font-weight: 600; }
article.article-content a {
    color: var(--accent); text-decoration: underline;
    text-decoration-thickness: 1px; text-underline-offset: 3px;
}
article.article-content a:hover { color: var(--accent-hover); }

.back-button {
    display: inline-flex; align-items: center; gap: 8px;
    font: 500 11px/1 'Inter'; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ink-mute); text-decoration: none;
    margin-bottom: 40px; transition: color 0.2s;
}
.back-button:hover { color: var(--accent); }
.back-button i { font-size: 10px; }

.article-header { margin-bottom: 40px; }
.article-breadcrumb {
    display: flex; gap: 10px; align-items: center;
    font-size: 12px; color: var(--ink-mute);
    margin-bottom: 24px; letter-spacing: 0.03em;
}
.article-breadcrumb a { color: var(--ink-mute); text-decoration: none; transition: color 0.2s; }
.article-breadcrumb a:hover { color: var(--accent); }

.article-category {
    display: inline-block;
    font: 500 10px/1 'Inter'; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--accent);
    padding: 8px 14px; border: 1px solid var(--accent); border-radius: 100px;
    margin-bottom: 28px;
}
.article-header h1 {
    font-family: 'Fraunces', serif; font-weight: 300;
    font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.025em;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    margin-bottom: 28px; color: var(--ink);
}
.article-meta {
    display: flex; gap: 24px; flex-wrap: wrap;
    font-size: 13px; color: var(--ink-mute);
    padding-bottom: 32px; border-bottom: 1px solid var(--rule);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta i { font-size: 12px; color: var(--ink-mute); }
.article-updated {
    color: var(--accent);
    font-weight: 500;
}

.article-featured-image {
    margin: 40px -40px 48px; overflow: hidden; border-radius: 2px;
}
.article-featured-image img { width: 100%; height: auto; display: block; }

.article-content {
    font-family: 'Inter', sans-serif;
    font-size: 17px; line-height: 1.75; color: var(--ink);
}
.article-content > p { margin: 0 0 1.5em; color: var(--ink); }
.article-content > p:first-of-type {
    font-size: 20px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 1.4em;
}
.article-content h2 {
    font-family: 'Fraunces', serif; font-weight: 400;
    font-size: 32px; line-height: 1.15; letter-spacing: -0.015em;
    margin: 2.4em 0 0.8em; color: var(--ink);
}
.article-content h3 {
    font-family: 'Fraunces', serif; font-weight: 400;
    font-size: 22px; line-height: 1.2; letter-spacing: -0.01em;
    margin: 2em 0 0.6em; color: var(--ink);
}
.article-content h4 {
    font: 500 13px/1.4 'Inter'; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink-mute); margin: 1.8em 0 0.8em;
}
.article-content ul, .article-content ol {
    margin: 0 0 1.5em 1.2em; padding-left: 8px;
}
.article-content li { margin-bottom: 0.6em; padding-left: 4px; }
.article-content li::marker { color: var(--accent); }
.article-content strong { color: var(--ink); font-weight: 600; }
.article-content em { font-style: italic; }
.article-content a {
    color: var(--accent); text-decoration: underline;
    text-decoration-thickness: 1px; text-underline-offset: 3px;
    transition: color 0.2s;
}
.article-content a:hover { color: var(--accent-hover); }
.article-content blockquote {
    font-family: 'Fraunces', serif; font-weight: 300; font-style: italic;
    font-size: 24px; line-height: 1.35; letter-spacing: -0.01em;
    color: var(--ink); border-left: 2px solid var(--accent);
    padding: 4px 0 4px 24px; margin: 2em 0;
}
.article-content img { border-radius: 2px; margin: 1.5em 0; }

.highlight-box {
    background: var(--bg-alt); border-left: 3px solid var(--accent);
    padding: 24px 28px; margin: 2em 0; border-radius: 0 2px 2px 0;
}
.highlight-box h4 {
    font-family: 'Fraunces', serif; font-weight: 400;
    font-size: 18px; letter-spacing: -0.01em; text-transform: none;
    color: var(--ink); margin: 0 0 8px;
}
.highlight-box p { font-size: 15px; color: var(--ink-soft); margin: 0; }

.article-content table {
    width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 14px;
}
.article-content th, .article-content td {
    padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--rule);
}
.article-content th {
    font-weight: 600; background: var(--bg-alt);
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--ink-mute);
}

.related-articles {
    max-width: 1200px; margin: 100px auto 0;
    padding: 60px 40px 0; border-top: 1px solid var(--rule);
}
.related-articles h3 {
    font-family: 'Fraunces', serif; font-weight: 300;
    font-size: 36px; line-height: 1; letter-spacing: -0.02em;
    margin-bottom: 40px; color: var(--ink);
}
.related-articles h3 em { font-style: italic; color: var(--accent); }
.related-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.related-card { display: block; text-decoration: none; color: inherit; }
.related-card-image {
    aspect-ratio: 4/3; overflow: hidden; border-radius: 2px;
    background: var(--bg-alt); margin-bottom: 16px;
}
.related-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.related-card:hover .related-card-image img { transform: scale(1.04); }
.related-card-category {
    font: 500 10px/1 'Inter'; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ink-mute); margin-bottom: 8px;
}
.related-card-title {
    font-family: 'Fraunces', serif; font-weight: 400;
    font-size: 20px; line-height: 1.2; letter-spacing: -0.01em;
    color: var(--ink); margin-bottom: 6px; transition: color 0.2s;
}
.related-card:hover .related-card-title { color: var(--accent); }
.related-card-excerpt { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ================================================================ FOOTER ================================================================ */

.site-footer {
    margin-top: 100px; padding: 70px 40px 36px;
    border-top: 1px solid var(--rule);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px; padding-bottom: 50px; border-bottom: 1px solid var(--rule);
}
.footer-brand h3 {
    font-family: 'Fraunces', serif; font-weight: 300; font-style: italic;
    font-size: 30px; line-height: 1; letter-spacing: -0.02em;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    margin-bottom: 16px; color: var(--ink);
}
.footer-brand p { color: var(--ink-soft); font-size: 14px; max-width: 38ch; }
.footer-col h4 {
    font: 500 11px/1 'Inter'; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ink-mute); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a {
    color: var(--ink); font-size: 14px; text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px; flex-wrap: wrap;
    font-size: 12px; color: var(--ink-mute); letter-spacing: 0.02em;
}
.footer-bottom a { color: var(--ink-mute); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ================================================================ ANIMATIONS ================================================================ */

.reveal {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ================================================================ MOBILE ================================================================ */

@media (max-width: 900px) {
    .site-header { padding: 14px 20px; }
    .nav-inner { grid-template-columns: auto 1fr auto; gap: 20px; }
    .nav-links {
        position: fixed; inset: 60px 0 0 0;
        background: var(--bg);
        flex-direction: column; align-items: flex-start; gap: 0;
        padding: 20px 24px 60px; overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links > li { width: 100%; border-bottom: 1px solid var(--rule); }
    .nav-links a, .nav-links button {
        font: 300 24px/1 'Fraunces', serif; letter-spacing: -0.015em;
        padding: 16px 0; width: 100%; text-align: left;
        justify-content: space-between;
    }
    .nav-links a::after, .nav-links button::after { display: none; }
    .nav-dd > button { display: flex; align-items: center; }
    .nav-dd-menu {
        position: static; transform: none;
        opacity: 1; visibility: visible;
        display: block; min-width: 0; padding: 0 0 14px; margin: 0;
        box-shadow: none; border: 0; background: transparent;
    }
    .nav-dd[aria-expanded="false"] .nav-dd-menu { display: none; }
    .nav-dd-menu .dd-link { font-size: 16px; padding: 9px 0; }
    .dd-col-head { font-size: 10px; margin-top: 8px; }
    .menu-toggle { display: inline-flex; }

    body { padding-top: 60px; }

    .hero { padding: 40px 20px 30px; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-visual { max-width: 280px; margin: 0 auto; }
    .divider { padding: 0 20px; margin-top: 40px; }
    .divider-inner { gap: 16px; }

    .section-head { grid-template-columns: 1fr; gap: 16px; padding-top: 60px; }
    .section-head .meta { justify-self: start; }

    .wrap { padding: 0 20px; }
    .fiber-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }

    .why { padding: 60px 20px; }
    .why-inner { grid-template-columns: 1fr; gap: 36px; }
    .why-list { grid-template-columns: 1fr; }
    .why-item:nth-child(odd) { padding-right: 0; border-right: 0; }
    .why-item:nth-child(even) { padding-left: 0; }

    .pullquote { padding: 70px 20px; }
    .boutique { margin: 0 20px; padding: 50px 24px; }
    .boutique-cta { margin: 40px 20px; padding: 40px 24px; }

    .site-footer { padding: 50px 20px 24px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }

    .shop-pill span { display: none; }
    .shop-pill { padding: 9px; }

    .article-container,
    article.article-content { padding: 30px 20px; }
    article.article-content .feature-image { margin: 1.5em -20px; }
    article.article-content h2 { font-size: 26px; }
    article.article-content h3 { font-size: 20px; }
    article.article-content,
    article.article-content > section > p { font-size: 16px; }
    article.article-content > section:first-of-type > p:first-of-type { font-size: 18px; }
    .article-header h1 { font-size: clamp(28px, 8vw, 42px); }
    .article-featured-image { margin: 28px -20px 32px; }
    .article-content { font-size: 16px; }
    .article-content > p:first-of-type { font-size: 18px; }
    .article-content h2 { font-size: 26px; }
    .article-content h3 { font-size: 20px; }
    .related-articles { padding: 40px 20px 0; margin-top: 60px; }
    .related-grid { grid-template-columns: 1fr; gap: 28px; }
}

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