:root {
  --ink: #10110f;
  --paper: #f1f1eb;
  --paper-2: #e5e6dd;
  --acid: #c8ff3d;
  --orange: #ff633a;
  --muted: #696b64;
  --line: rgba(16, 17, 15, 0.2);
  --radius: 22px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 28px; min-height: 78px; padding: 14px clamp(20px, 5vw, 74px); color: #fff; background: rgba(16, 17, 15, 0.95);
  border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-weight: 900; letter-spacing: -.04em; font-size: 1.08rem; }
.brand > span:last-child > span { color: var(--acid); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); background: var(--acid); border-radius: 9px; font-weight: 1000; }
nav { display: flex; gap: 30px; }
nav a { color: #dbddd3; text-decoration: none; font-size: .9rem; font-weight: 700; }
nav a:hover, nav a:focus-visible { color: var(--acid); }
.header-cta { justify-self: end; padding: 10px 17px; color: var(--ink); background: var(--acid); border-radius: 999px; text-decoration: none; font-weight: 900; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.header-menu { min-height: 42px; padding: 9px 13px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-weight: 900; cursor: pointer; }
.header-menu:hover, .header-menu:focus-visible { color: var(--ink); background: var(--acid); border-color: var(--acid); outline: 0; }
.site-drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(16,17,15,.64); backdrop-filter: blur(4px); }
.site-drawer { position: fixed; inset: 0 0 0 auto; z-index: 80; width: min(520px, 92vw); overflow-y: auto; color: var(--ink); background: #fff; box-shadow: -24px 0 70px rgba(0,0,0,.22); }
.drawer-head { min-height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.drawer-head strong { font-size: 1.55rem; text-transform: uppercase; letter-spacing: -.04em; }
.drawer-head button { width: 48px; height: 48px; color: var(--ink); background: transparent; border: 0; font-size: 2.3rem; line-height: 1; cursor: pointer; }
.drawer-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 18px; align-items: center; min-height: 128px; padding: 24px 28px; text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer-item:hover, .drawer-item:focus-visible { background: var(--paper); outline: 0; box-shadow: inset 6px 0 var(--acid); }
.drawer-icon { display: grid; place-items: center; width: 50px; height: 50px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; font-size: 1.7rem; }
.drawer-item span:nth-child(2) { display: grid; gap: 5px; }
.drawer-item strong { font-size: 1.12rem; }
.drawer-item small { color: var(--muted); }
.drawer-item > b { font-size: 2rem; }
body.drawer-open { overflow: hidden; }

main { overflow: hidden; }
.planner-shell {
  min-height: calc(100svh - 78px); display: grid; grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr); gap: clamp(34px, 7vw, 112px);
  align-items: center; padding: clamp(52px, 7vw, 96px) clamp(20px, 6vw, 92px); color: #fff; background-color: var(--ink);
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 38px 38px;
}
.planner-intro { max-width: 700px; }
.eyebrow { margin: 0 0 17px; color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: balance; }
h1 { margin: 0; max-width: 760px; font-size: clamp(3.2rem, 7vw, 7.25rem); line-height: .88; letter-spacing: -.075em; text-transform: uppercase; }
.lede { max-width: 670px; margin: 30px 0 0; color: #c7c9c1; font-size: clamp(1.08rem, 1.7vw, 1.38rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.hero-actions .primary-button { box-shadow: none; }
.quiet-link { color: #fff; font-weight: 850; text-underline-offset: 5px; }
.proof-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.proof-strip span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; color: #e6e8e0; font-size: .82rem; font-weight: 750; }

.planner-card { padding: clamp(24px, 3.2vw, 42px); color: var(--ink); background: var(--paper); border-radius: var(--radius); box-shadow: 16px 16px 0 var(--acid); }
fieldset { min-width: 0; margin: 0 0 26px; padding: 0; border: 0; }
legend { margin-bottom: 12px; font-weight: 900; letter-spacing: -.02em; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; min-height: 72px; flex-direction: column; justify-content: center; padding: 12px 14px; background: #fafaf5; border: 1px solid var(--line); border-radius: 13px; transition: .18s ease; }
.choice b { font-size: .92rem; }
.choice small { margin-top: 2px; color: var(--muted); font-size: .74rem; }
.choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: inset 0 -4px var(--acid); }
.choice input:checked + span small { color: #c8cac2; }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.legend-row { display: flex; align-items: center; justify-content: space-between; }
.legend-row legend { float: left; }
.legend-row output { font-size: 1.2rem; font-weight: 950; }
.budget-field input { width: 100%; accent-color: var(--ink); }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .76rem; font-weight: 700; }
.primary-button, .secondary-button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 20px; border: 0; border-radius: 12px; font-weight: 950; text-decoration: none; cursor: pointer;
}
.primary-button { width: 100%; color: var(--ink); background: var(--acid); box-shadow: inset 0 0 0 2px var(--ink); }
.primary-button:hover, .primary-button:focus-visible { background: #d8ff78; transform: translateY(-1px); }
.primary-button.inline { width: auto; }
.secondary-button { color: #fff; background: var(--ink); }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }

.result-section { padding: clamp(54px, 7vw, 96px) clamp(20px, 6vw, 92px); background: var(--acid); }
.result-head, .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.result-head h2, .section-heading h2, .principle-grid h2, .gear-copy h2, .download-section h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: .96; letter-spacing: -.06em; text-transform: uppercase; }
.result-actions { display: flex; align-items: center; gap: 16px; }
.text-link { font-weight: 900; text-underline-offset: 4px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.plan-column { min-height: 340px; padding: clamp(22px, 3vw, 34px); background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; }
.plan-column.build { background: var(--ink); color: #fff; }
.plan-label { display: inline-block; padding: 5px 8px; color: #fff; background: var(--orange); border-radius: 4px; font-size: .72rem; font-weight: 950; letter-spacing: .12em; }
.plan-column h3 { margin: 20px 0; font-size: 1.35rem; }
.plan-column ul { margin: 0; padding-left: 21px; }
.plan-column li { margin: 0 0 10px; }
.plan-column > p { margin-top: 28px; font-weight: 900; }
.plan-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 26px; padding-top: 22px; border-top: 2px solid var(--ink); }
.plan-footer p { max-width: 760px; margin: 0; font-weight: 720; }

.principle-section { padding: clamp(70px, 9vw, 132px) clamp(20px, 6vw, 92px); background: var(--paper); }
.principle-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: clamp(36px, 9vw, 150px); align-items: end; }
.principle-grid p { margin: 0; color: var(--muted); font-size: 1.12rem; }

.guides-section { padding: clamp(68px, 8vw, 116px) clamp(20px, 6vw, 92px); background: #dadbd3; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
.guide-card { overflow: hidden; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.guide-card:hover, .guide-card:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,17,15,.12); outline: 3px solid var(--orange); outline-offset: 3px; }
.guide-card img { display: block; width: 100%; height: 260px; object-fit: cover; filter: saturate(.78) contrast(1.06); }
.guide-copy { padding: 24px; }
.card-meta, .cost-row { display: flex; justify-content: space-between; gap: 14px; }
.card-meta { color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.guide-card h3 { margin: 14px 0 8px; font-size: 1.6rem; letter-spacing: -.04em; }
.guide-card p { min-height: 72px; margin: 0; color: var(--muted); }
.cost-row { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; }
.project-sampler { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.project-sampler a { min-height: 118px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; color: var(--ink); background: rgba(241,241,235,.62); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-weight: 900; letter-spacing: -.02em; }
.project-sampler a:hover, .project-sampler a:focus-visible { color: #fff; background: var(--ink); outline: 3px solid var(--orange); outline-offset: 2px; }
.project-sampler span { color: var(--muted); font-size: .68rem; letter-spacing: .1em; }
.project-sampler a:hover span, .project-sampler a:focus-visible span { color: var(--acid); }
.all-guides-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 22px; padding: 28px; color: #fff; background: var(--ink); border-radius: 16px; }
.all-guides-cta p { max-width: 620px; margin: 0; }

.library-hero { padding: clamp(70px, 9vw, 140px) clamp(20px, 6vw, 92px); color: #fff; background: var(--ink); }
.library-hero h1 { max-width: 1000px; }
.library-hero .lede { max-width: 880px; }
.source-note { max-width: 880px; margin-top: 30px; padding: 18px 20px; color: #c7c9c1; background: rgba(255,255,255,.06); border-left: 4px solid var(--acid); }
.source-note a { color: var(--acid); text-underline-offset: 4px; }
.library-controls { position: sticky; top: 78px; z-index: 10; padding: 24px clamp(20px, 6vw, 92px); background: rgba(241,241,235,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.library-controls label { display: grid; grid-template-columns: 150px minmax(200px, 560px); align-items: center; gap: 16px; font-weight: 900; }
.library-controls input { width: 100%; min-height: 48px; padding: 10px 14px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 10px; }
.library-controls input:focus { outline: 3px solid var(--orange); outline-offset: 2px; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; margin-top: 16px; padding-bottom: 4px; scrollbar-width: thin; }
.filter-row button { flex: 0 0 auto; padding: 8px 12px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; font-weight: 800; cursor: pointer; }
.filter-row button.active, .filter-row button:hover { color: var(--ink); background: var(--acid); border-color: var(--ink); }
#guide-count { margin: 12px 0 0; color: var(--muted); font-size: .82rem; font-weight: 800; }
.library-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; padding: 34px clamp(20px, 6vw, 92px) 80px; background: #dadbd3; }
.library-card { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.library-card[hidden] { display: none; }
.library-card { overflow: hidden; }
.library-card a { display: flex; min-height: 100%; flex-direction: column; color: inherit; text-decoration: none; border-radius: inherit; }
.library-card a:hover, .library-card a:focus-visible { color: #fff; background: var(--ink); outline: 3px solid var(--orange); outline-offset: 2px; }
.library-card-image { display: block; width: 100%; height: 190px; object-fit: cover; filter: saturate(.82) contrast(1.05); }
.library-card-content { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.library-card-top { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .68rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.library-card a:hover .library-card-top, .library-card a:focus-visible .library-card-top { color: var(--acid); }
.library-card h2 { margin: 32px 0 12px; font-size: 1.52rem; line-height: 1; letter-spacing: -.045em; text-transform: uppercase; }
.library-card p { flex: 1; margin: 0; color: var(--muted); font-size: .92rem; }
.library-card a:hover p, .library-card a:focus-visible p { color: #c7c9c1; }
.library-card dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin: 28px 0 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.library-card dl div { min-width: 0; }
.library-card dt { color: var(--muted); font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.library-card dd { overflow: hidden; margin: 3px 0 0; font-size: .76rem; font-weight: 850; text-overflow: ellipsis; }
.card-link { font-weight: 950; text-decoration: underline; text-underline-offset: 4px; }
.library-empty { padding: 70px clamp(20px,6vw,92px); text-align: center; background: #dadbd3; }
.library-empty h2 { margin: 0; font-size: 2.4rem; }
.library-method { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; padding: 80px clamp(20px, 6vw, 92px); color: #fff; background: var(--ink); }
.library-method h2 { margin: 0; font-size: clamp(2.2rem,5vw,4.6rem); line-height: .96; letter-spacing: -.06em; text-transform: uppercase; }
.library-method > p { margin: 0; color: #bcbfb6; font-size: 1.08rem; }

.guide-detail { background: var(--paper); }
.guide-hero { padding: clamp(64px,8vw,122px) clamp(20px,6vw,92px); color: #fff; background-color: var(--ink); background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size: 38px 38px; }
.crumb { display: inline-block; margin-bottom: 50px; color: var(--acid); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; }
.guide-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.72fr); gap: clamp(34px,6vw,90px); align-items: stretch; }
.guide-hero h1 { font-size: clamp(3rem,7vw,7rem); }
.guide-intro { display: flex; flex-direction: column; }
.guide-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin: auto 0 0; padding-top: 34px; background: transparent; }
.guide-stats div { min-height: 92px; padding: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.guide-stats dt { color: #aeb0a9; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.guide-stats dd { margin: 10px 0 0; font-size: 1.08rem; font-weight: 950; text-transform: capitalize; }
.guide-cover { position: relative; min-height: 500px; overflow: hidden; margin: 0; background: #222; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; }
.guide-cover img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.guide-cover figcaption { position: absolute; right: 14px; bottom: 14px; padding: 7px 10px; color: #fff; background: rgba(16,17,15,.82); border-radius: 6px; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.guide-body { display: grid; grid-template-columns: minmax(220px,.5fr) minmax(0,1.2fr) minmax(250px,.58fr); gap: clamp(28px,4vw,66px); align-items: start; padding: clamp(64px,8vw,116px) clamp(20px,5vw,78px); }
.guide-body article { max-width: 850px; }
.guide-body h2 { margin: 58px 0 18px; font-size: clamp(2rem,4vw,3.5rem); line-height: 1; letter-spacing: -.055em; text-transform: uppercase; }
.guide-body article > h2:first-of-type { margin-top: 0; }
.guide-body article > p { color: #484a45; font-size: 1.08rem; }
.callout { margin: 34px 0; padding: 22px; background: #e2e3db; border-left: 5px solid var(--acid); }
.callout.high { background: #ffe0d7; border-color: var(--orange); }
.callout strong { text-transform: uppercase; letter-spacing: .04em; }
.callout p { margin: 7px 0 0; }
.materials-list, .check-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; padding: 0; list-style: none; }
.materials-list li, .check-list li { min-height: 72px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.check-list li::before { content: '✓'; margin-right: 9px; color: #547800; font-weight: 950; }
.build-steps { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.build-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.build-steps li > span { color: var(--orange); font-weight: 950; }
.build-steps h3 { margin: 0 0 5px; font-size: 1.18rem; }
.build-steps p { margin: 0; color: var(--muted); }
.guide-body aside { position: sticky; top: 110px; display: grid; gap: 16px; }
.product-rail { padding: 0; }
.product-rail h2 { margin: 0 0 16px; font-size: 2rem; }
.product-slot { display: grid; grid-template-columns: 32px 1fr; gap: 4px 10px; padding: 15px 4px; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
.product-slot:last-of-type { border-bottom: 1px solid var(--line); }
.product-slot > span { grid-row: 1 / 3; color: var(--orange); font-size: .72rem; font-weight: 950; }
.product-slot strong { font-size: .92rem; text-transform: capitalize; }
.product-slot small { color: var(--muted); font-size: .72rem; }
.product-slot:hover, .product-slot:focus-visible { padding-left: 10px; background: #fff; outline: 3px solid var(--acid); outline-offset: -3px; }
.guide-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 54px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.guide-toc strong { flex-basis: 100%; margin-bottom: 5px; text-transform: uppercase; }
.guide-toc a { padding: 7px 10px; color: var(--ink); background: var(--paper-2); border-radius: 999px; font-size: .78rem; font-weight: 850; text-decoration: none; }
.guide-toc a:hover, .guide-toc a:focus-visible { background: var(--acid); outline: 0; }
.related-guides { padding: 74px clamp(20px,6vw,92px); color: #fff; background: #20211f; }
.related-guides h2 { margin: 0 0 28px; font-size: clamp(2.2rem,5vw,4.6rem); line-height: .95; letter-spacing: -.06em; text-transform: uppercase; }
.related-guides > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.related-guides a { overflow: hidden; color: #fff; background: #10110f; border: 1px solid rgba(255,255,255,.17); border-radius: 14px; text-decoration: none; }
.related-guides img { display: block; width: 100%; height: 190px; object-fit: cover; }
.related-guides span, .related-guides strong { display: block; margin: 0 18px; }
.related-guides span { margin-top: 16px; color: var(--acid); font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.related-guides strong { margin-top: 5px; margin-bottom: 20px; font-size: 1.18rem; }
.shop-panel, .video-panel { padding: 28px; border-radius: 16px; }
.shop-panel { color: #fff; background: var(--ink); }
.shop-panel h2, .video-panel h2 { margin: 0 0 16px; font-size: 2rem; line-height: 1; letter-spacing: -.05em; text-transform: uppercase; }
.shop-panel > p:not(.eyebrow) { color: #bcbfb6; }
.shop-panel .primary-button, .shop-panel .secondary-button { width: 100%; margin-top: 10px; }
.shop-panel .secondary-button { border: 1px solid rgba(255,255,255,.3); }
.tiny { font-size: .73rem; }
.video-panel { background: var(--acid); }
.video-panel .eyebrow { color: var(--ink); }
.video-panel ol { margin: 0; padding-left: 21px; }
.video-panel li { margin-bottom: 9px; }
.next-build { padding: 70px clamp(20px,6vw,92px); background: var(--orange); }
.next-build h2 { margin: 0 0 24px; font-size: clamp(2rem,5vw,4.6rem); line-height: .96; letter-spacing: -.06em; text-transform: uppercase; }

.gear-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(48px, 8vw, 130px); padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 92px); background: var(--ink); color: #fff; }
.gear-copy { align-self: start; position: sticky; top: 112px; }
.gear-copy > p:not(.eyebrow) { color: #bcbfb6; }
.disclosure { margin-top: 28px; font-size: .78rem; }
.disclosure a { color: var(--acid); text-underline-offset: 3px; }
.gear-list { border-top: 1px solid rgba(255,255,255,.2); }
.gear-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; gap: 20px; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.shopping-checklist { padding: clamp(36px, 6vw, 76px) clamp(20px, 6vw, 92px); background: #fff; }
.shopping-checklist h2 { max-width: 760px; margin: 0 0 20px; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.04em; }
.shopping-checklist > p { max-width: 760px; }
.shopping-checklist ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.shopping-checklist li { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.shopping-checklist strong { display: block; margin-bottom: 6px; }
.shopping-checklist .text-link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 640px) { .shopping-checklist ul { grid-template-columns: 1fr; } }
.gear-number { color: var(--acid); font-weight: 900; }
.gear-row h3 { margin: 0 0 4px; font-size: 1.25rem; }
.gear-row p { margin: 0; color: #aeb0a9; font-size: .9rem; }
.gear-tag { padding: 6px 9px; color: var(--ink); background: var(--acid); border-radius: 4px; font-size: .66rem; font-weight: 950; letter-spacing: .08em; }
.gear-row a { font-weight: 900; text-underline-offset: 4px; }

.download-section { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(58px, 7vw, 88px) clamp(20px, 6vw, 92px); background: var(--orange); }
.download-section > div { max-width: 780px; }
.download-section p:not(.eyebrow) { margin-bottom: 0; max-width: 640px; }
.download-section .eyebrow { color: var(--ink); }
.download-section .primary-button { width: auto; min-width: 240px; background: var(--ink); color: #fff; box-shadow: none; }
.download-actions { display: grid; gap: 10px; min-width: 260px; }
.download-actions .secondary-button { color: var(--ink); background: transparent; border: 2px solid var(--ink); }

footer { padding: 52px clamp(20px, 6vw, 92px); color: #d5d7cf; background: #080908; }
.footer-brand { margin-bottom: 22px; }
footer p { max-width: 650px; }
.footer-note { color: #868981; font-size: .78rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: .82rem; font-weight: 800; }
.footer-links a { color: var(--acid); text-underline-offset: 4px; }

.revenue-slot { display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 2px solid var(--ink); }
.revenue-slot-wide { margin: 28px clamp(20px, 6vw, 92px); padding: 22px 24px; background: var(--acid); border-radius: 14px; }
.revenue-slot div { display: grid; gap: 4px; }
.revenue-slot span { color: var(--muted); font-size: .68rem; font-weight: 950; letter-spacing: .12em; }
.revenue-slot strong { font-size: 1.1rem; }
.revenue-slot small { color: var(--muted); font-size: .72rem; line-height: 1.45; }
.revenue-slot a { flex: 0 0 auto; padding: 10px 14px; color: #fff; background: var(--ink); border-radius: 8px; text-decoration: none; font-weight: 900; }
.revenue-slot-sidebar { min-height: 180px; align-items: flex-start; flex-direction: column; padding: 24px; background: #fff; border-radius: 16px; }
.revenue-slot-sidebar a { width: 100%; text-align: center; }
.adsbygoogle { width: 100%; min-height: 100px; }

.policy-main { min-height: 70vh; padding: clamp(64px,8vw,116px) clamp(20px,6vw,92px); background: var(--paper); }
.policy-main article { max-width: 820px; }
.policy-main h1 { max-width: 900px; font-size: clamp(3rem,7vw,6.5rem); }
.policy-main h2 { margin: 42px 0 12px; font-size: 1.6rem; text-transform: uppercase; }
.policy-main p, .policy-main li { color: #484a45; }
.policy-main a { font-weight: 800; text-underline-offset: 4px; }

.tools-hero { padding: clamp(70px,9vw,130px) clamp(20px,6vw,92px); color: #fff; background: var(--ink); }
.tools-hero h1 { max-width: 980px; }
.tools-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; padding: 60px clamp(20px,6vw,92px) 90px; background: #dadbd3; }
.tool-card { display: flex; min-height: 330px; flex-direction: column; padding: 28px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; }
.tool-card:hover, .tool-card:focus-visible { color: #fff; background: var(--ink); outline: 3px solid var(--orange); outline-offset: 3px; }
.tool-card .drawer-icon { margin-bottom: 54px; }
.tool-card h2 { margin: 0 0 12px; font-size: 2rem; line-height: 1; text-transform: uppercase; }
.tool-card p { color: var(--muted); }
.tool-card:hover p { color: #c8cac2; }
.tool-card b { margin-top: auto; text-decoration: underline; text-underline-offset: 4px; }

.layout-page { min-height: 80vh; padding: clamp(52px,7vw,92px) clamp(20px,5vw,74px) 90px; background: #dadbd3; }
.layout-page > header { max-width: 980px; margin-bottom: 34px; }
.layout-page h1 { font-size: clamp(3rem,7vw,6.5rem); }
.layout-builder { display: grid; grid-template-columns: minmax(320px,.72fr) minmax(0,1.28fr); gap: 18px; align-items: start; }
.layout-form, .layout-result { padding: clamp(24px,3vw,38px); background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; }
.layout-form { position: sticky; top: 98px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.layout-form label { display: grid; gap: 6px; margin-bottom: 18px; font-weight: 850; }
.layout-form input, .layout-form select { width: 100%; min-height: 48px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.layout-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 22px; }
.layout-summary div { padding: 16px; color: #fff; background: var(--ink); border-radius: 10px; }
.layout-summary small, .layout-summary strong { display: block; }
.layout-summary small { color: #bcbfb6; text-transform: uppercase; }
.layout-summary strong { margin-top: 5px; font-size: 1.25rem; }
.floor-plan { display: grid; min-height: 420px; grid-template-columns: 1.3fr .7fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 12px; background: var(--ink); border-radius: 14px; }
.floor-zone { display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; background: var(--acid); border-radius: 8px; }
.floor-zone:nth-child(2) { color: #fff; background: var(--orange); }
.floor-zone:nth-child(3) { color: #fff; background: #3d4239; }
.floor-zone:first-child { grid-row: 1 / 3; }
.floor-zone strong { font-size: 1.2rem; text-transform: uppercase; }
.budget-bars { display: grid; gap: 12px; margin-top: 28px; }
.budget-bar { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center; }
.budget-bar i { display: block; height: 12px; background: var(--orange); border-radius: 999px; }
.planner-picks { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; padding: 0; list-style: none; }
.planner-picks li { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .planner-shell { min-height: auto; grid-template-columns: 1fr; }
  .plan-grid, .guide-grid { grid-template-columns: 1fr; }
  .plan-column { min-height: 0; }
  .principle-grid, .gear-section { grid-template-columns: 1fr; }
  .gear-copy { position: static; }
  .project-sampler, .library-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .guide-hero-grid, .guide-body, .library-method, .layout-builder { grid-template-columns: 1fr; }
  .guide-body aside, .layout-form { position: static; }
  .guide-side { grid-template-columns: repeat(2,1fr); }
  .product-rail { grid-template-columns: repeat(2,1fr); }
  .product-rail > .eyebrow, .product-rail > h2, .product-rail > .tiny { grid-column: 1 / -1; }
  .guide-stats { grid-template-columns: repeat(2,1fr); }
  .tools-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { min-height: 66px; padding: 10px 16px; }
  .brand { font-size: .92rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header-cta { padding: 9px 12px; font-size: .78rem; }
  .header-actions .header-cta { display: none; }
  .header-menu { padding: 8px 11px; font-size: .78rem; }
  .planner-shell { padding-top: 48px; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .planner-card { box-shadow: 8px 8px 0 var(--acid); }
  .choice-grid, .choice-grid.three { grid-template-columns: 1fr; }
  .choice span { min-height: 60px; }
  .result-head, .section-heading, .plan-footer, .download-section { align-items: stretch; flex-direction: column; display: flex; }
  .result-actions { align-items: flex-start; flex-direction: column; }
  .gear-row { grid-template-columns: 34px 1fr; }
  .gear-tag, .gear-row a { grid-column: 2; justify-self: start; }
  .download-section .primary-button { width: 100%; }
  .revenue-slot { align-items: stretch; flex-direction: column; }
  .revenue-slot a { text-align: center; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .project-sampler, .library-grid { grid-template-columns: 1fr; }
  .all-guides-cta { align-items: stretch; flex-direction: column; }
  .library-controls { top: 66px; }
  .library-controls label { grid-template-columns: 1fr; gap: 7px; }
  .guide-stats, .materials-list, .check-list, .guide-body aside, .product-rail { grid-template-columns: 1fr; }
  .guide-stats div { min-height: 88px; }
  .guide-hero .lede { margin-top: 22px; }
  .library-card-image { height: 210px; }
  .guide-cover, .guide-cover img { min-height: 320px; }
  .related-guides > div, .layout-summary, .planner-picks { grid-template-columns: 1fr; }
  .field-pair { grid-template-columns: 1fr; }
  .floor-plan { min-height: 340px; }
  .budget-bar { grid-template-columns: 94px 1fr auto; font-size: .78rem; }
}

@media print {
  .site-header, .planner-shell, .principle-section, .guides-section, .gear-section, .download-section, footer, .result-actions, .plan-footer .primary-button { display: none !important; }
  .result-section { display: block !important; padding: 20px; background: #fff; }
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-column { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Editorial navigation and article system */
.site-header.modern-header {
  min-height: 66px; padding: 0 clamp(18px, 4vw, 64px); color: var(--ink); background: rgba(255,255,255,.97);
  border-bottom: 1px solid #d8d8d2; backdrop-filter: blur(14px);
}
.site-header.modern-header .brand { color: var(--ink); font-size: 1.22rem; letter-spacing: -.045em; text-transform: none; }
.brand-dot { width: 13px; height: 13px; background: var(--orange); border-radius: 50%; box-shadow: 11px 0 0 var(--acid); }
.modern-header .main-nav { display: flex; justify-content: center; gap: clamp(18px,3vw,38px); }
.modern-header .main-nav a { padding: 22px 0 19px; color: #3e3f3b; font-size: .9rem; font-weight: 760; border-bottom: 3px solid transparent; }
.modern-header .main-nav a:hover, .modern-header .main-nav a:focus-visible, .modern-header .main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.modern-header .header-menu { justify-self: end; min-height: auto; padding: 8px 0; color: var(--ink); background: transparent; border: 0; border-radius: 0; font-size: .88rem; }
.modern-header .header-menu:hover, .modern-header .header-menu:focus-visible { color: var(--ink); background: transparent; border: 0; text-decoration: underline; text-underline-offset: 5px; }

.category-rail-wrap { position: relative; z-index: 15; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; min-height: 58px; padding: 0 clamp(12px,4vw,64px); background: #fff; border-bottom: 1px solid #d8d8d2; }
.category-strip { display: flex !important; gap: 8px; overflow-x: auto; padding: 10px 18px 10px 0; scrollbar-width: none; scroll-snap-type: x proximity; }
.category-strip::-webkit-scrollbar { display: none; }
.category-strip a { flex: 0 0 auto; padding: 8px 14px; color: #33342f; background: #fff; border: 1px solid #cfcfca; border-radius: 999px; font-size: .8rem; font-weight: 720; text-decoration: none; scroll-snap-align: start; }
.category-strip a:hover, .category-strip a:focus-visible, .category-strip a[aria-current="page"] { color: #fff; background: var(--ink); border-color: var(--ink); outline: 0; }
.category-arrow { width: 34px; height: 34px; margin-left: 5px; color: var(--ink); background: #fff; border: 1px solid #cfcfca; border-radius: 50%; cursor: pointer; }
.category-arrow:hover, .category-arrow:focus-visible { background: var(--paper); outline: 2px solid var(--ink); outline-offset: 2px; }

.site-drawer { width: min(580px, 94vw); }
.drawer-head { min-height: 78px; padding: 16px 26px; }
.drawer-head strong { font-size: 1.1rem; text-transform: none; letter-spacing: -.02em; }
.drawer-tree { display: grid; }
.drawer-tree section { display: grid; gap: 0; padding: 26px; border-bottom: 1px solid var(--line); }
.drawer-tree section > p { margin: 0 0 13px; color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.drawer-tree section > a { padding: 11px 0; color: var(--ink); border-bottom: 1px solid #ecece7; text-decoration: none; font-size: 1rem; font-weight: 760; }
.drawer-tree section > a:hover, .drawer-tree section > a:focus-visible, .drawer-link-grid a:hover, .drawer-link-grid a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.drawer-tree .drawer-feature { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 15px; padding: 16px; background: var(--paper); border: 0; }
.drawer-feature span { color: var(--muted); font-size: .8rem; font-weight: 650; }
.drawer-link-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
.drawer-link-grid a { padding: 8px 0; color: #454640; border-bottom: 1px solid #ecece7; text-decoration: none; font-size: .88rem; }

.article-kicker { margin: 0 0 14px; color: var(--orange); font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 52px; color: var(--muted); font-size: .8rem; }
.breadcrumb a { color: inherit; text-underline-offset: 3px; }
.editorial-guide { background: #fff; }
.editorial-guide > article { max-width: 1180px; margin: 0 auto; padding: clamp(42px,7vw,92px) clamp(18px,5vw,64px) 0; }
.article-header { max-width: 900px; }
.article-header h1, .story-header h1, .stories-index-header h1, .clean-library-hero h1 { margin: 0; font-size: clamp(2.7rem,6.5vw,6.3rem); line-height: .96; letter-spacing: -.065em; text-transform: none; }
.article-dek { max-width: 760px; margin: 22px 0 0; color: #51524c; font-size: clamp(1.08rem,2vw,1.38rem); line-height: 1.5; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0; margin: 34px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-meta div { min-width: 150px; padding: 14px 24px 14px 0; margin-right: 24px; }
.article-meta dt { color: var(--muted); font-size: .7rem; font-weight: 850; text-transform: uppercase; }
.article-meta dd { margin: 3px 0 0; font-weight: 800; text-transform: capitalize; }
.article-hero-image { margin: 42px 0 0; }
.article-hero-image img, .story-hero img { display: block; width: 100%; max-height: 640px; object-fit: cover; }
.article-hero-image figcaption, .story-hero figcaption { margin-top: 8px; color: var(--muted); font-size: .72rem; }
.article-layout { display: grid; grid-template-columns: 190px minmax(0,720px); gap: clamp(36px,7vw,92px); justify-content: center; align-items: start; padding: 66px 0 96px; }
.article-toc { position: sticky; top: 92px; display: grid; gap: 0; padding-top: 4px; }
.article-toc strong { padding-bottom: 12px; font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; }
.article-toc a { padding: 8px 0; color: var(--muted); border-top: 1px solid #e7e7e1; text-decoration: none; font-size: .8rem; }
.article-toc a:hover, .article-toc a:focus-visible { color: var(--ink); text-decoration: underline; }
.article-copy { min-width: 0; }
.article-copy > h2, .story-copy h2 { margin: 64px 0 16px; font-size: clamp(1.9rem,4vw,3.15rem); line-height: 1.05; letter-spacing: -.045em; text-transform: none; }
.article-copy > h2:first-of-type { margin-top: 38px; }
.article-copy > p, .story-copy p { color: #40413c; font-size: 1.06rem; line-height: 1.75; }
.article-intro { margin: 0; padding-bottom: 30px; border-bottom: 1px solid var(--line); color: var(--ink) !important; font-size: 1.25rem !important; line-height: 1.55 !important; }
.article-copy .callout { margin: 28px 0; padding: 22px 24px; border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: 0; background: #f7f7f3; }
.article-copy .callout p { margin-bottom: 0; }
.article-copy .materials-list, .article-copy .check-list { grid-template-columns: 1fr 1fr; }
.article-copy .materials-list li, .article-copy .check-list li { background: #f7f7f3; border-radius: 0; }
.article-copy .build-steps { border-top: 1px solid var(--ink); }
.article-copy .build-steps li { padding: 28px 0; }
.related-products { margin-top: 72px; padding-top: 34px; border-top: 2px solid var(--ink); }
.section-line { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-line h2 { margin: 0; font-size: 2rem; letter-spacing: -.04em; }
.section-line > p { max-width: 310px; margin: 0; color: var(--muted); font-size: .8rem; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 22px; margin-top: 22px; border-top: 1px solid var(--line); }
.product-grid .product-slot { padding: 18px 0; border-bottom: 1px solid var(--line); border-top: 0; }
.product-grid .product-slot:hover, .product-grid .product-slot:focus-visible { padding-left: 8px; background: #f7f7f3; }
.product-actions { display: grid; gap: 8px; margin-top: 24px; }
.product-actions a, .article-tool-callout a, .stories-newsletter a { color: var(--ink); font-weight: 850; text-underline-offset: 4px; }
.article-tool-callout { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-top: 54px; padding: 28px; background: var(--acid); }
.article-tool-callout h2 { max-width: 440px; margin: 0; font-size: 1.65rem; letter-spacing: -.035em; }
.related-guides { padding: 74px clamp(18px,5vw,64px); color: var(--ink); background: #f1f1ec; }
.related-guides > * { max-width: 1050px; margin-left: auto; margin-right: auto; }
.related-guides h2 { margin-bottom: 28px; font-size: clamp(2rem,4vw,3.5rem); text-transform: none; }
.related-guides a { color: var(--ink); background: #fff; border-color: var(--line); border-radius: 0; }
.related-guides span { color: var(--orange); }

.library-page { background: #f7f7f3; }
.clean-library-hero { padding: clamp(56px,8vw,108px) clamp(18px,5vw,72px) 48px; color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); }
.clean-library-hero .article-dek { max-width: 690px; }
.compact-library-controls { position: static; display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 24px clamp(18px,5vw,72px); background: #fff; border-bottom: 1px solid var(--line); }
.compact-library-controls label { display: grid; grid-template-columns: auto minmax(240px,440px); align-items: center; gap: 14px; margin: 0; }
.compact-library-controls label span { font-size: .8rem; font-weight: 850; }
.compact-library-controls input { min-height: 44px; padding: 9px 13px; background: #f7f7f3; border: 1px solid #cfcfca; border-radius: 0; }
.compact-library-controls p { margin: 0; color: var(--muted); font-size: .78rem; }
.library-page .library-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding: 38px clamp(18px,5vw,72px) 86px; background: #f7f7f3; }
.library-page .library-card { background: #fff; border-radius: 0; }
.library-page .library-card a:hover, .library-page .library-card a:focus-visible { color: var(--ink); background: #fff; outline: 2px solid var(--ink); transform: translateY(-2px); }
.library-page .library-card a:hover p, .library-page .library-card a:focus-visible p { color: var(--muted); }
.library-page .library-card a:hover .library-card-top, .library-page .library-card a:focus-visible .library-card-top { color: var(--muted); }
.library-page .library-card h2 { margin-top: 18px; text-transform: none; }
.library-page .library-card-image { height: 220px; }

.stories-page, .story-detail { background: #fff; }
.stories-index-header { max-width: 1180px; margin: 0 auto; padding: clamp(58px,8vw,112px) clamp(18px,5vw,64px) 54px; }
.stories-index-header h1 { max-width: 900px; }
.stories-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px 22px; max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px,5vw,64px) 100px; }
.story-card { display: grid; align-content: start; color: var(--ink); text-decoration: none; }
.story-card img { display: block; width: 100%; height: 280px; margin-bottom: 18px; object-fit: cover; filter: saturate(.78); }
.story-card span { color: var(--orange); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.story-card h2, .story-card h3 { margin: 10px 0; font-size: clamp(1.55rem,3vw,2.45rem); line-height: 1.05; letter-spacing: -.045em; }
.story-card p { margin: 0; color: var(--muted); }
.story-card b { margin-top: 16px; font-size: .85rem; text-decoration: underline; text-underline-offset: 4px; }
.story-card:hover h2, .story-card:focus-visible h2, .story-card:hover h3, .story-card:focus-visible h3 { text-decoration: underline; text-underline-offset: 5px; }
.story-card.featured { grid-column: 1 / -1; grid-template-columns: 1.25fr .75fr; column-gap: 34px; }
.story-card.featured img { grid-row: 1 / 6; height: 440px; margin: 0; }
.story-card.featured > *:not(img) { grid-column: 2; }
.stories-newsletter { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 50px clamp(18px,5vw,72px); background: var(--acid); }
.stories-newsletter h2 { max-width: 650px; margin: 0; font-size: clamp(2rem,5vw,4rem); line-height: .98; letter-spacing: -.055em; }
.story-detail article { max-width: 1080px; margin: 0 auto; padding: clamp(46px,7vw,92px) clamp(18px,5vw,64px) 96px; }
.story-header { max-width: 860px; }
.story-header .byline { margin-top: 28px; color: var(--muted); font-size: .8rem; }
.story-hero { margin: 42px 0 0; }
.story-copy { max-width: 700px; margin: 68px auto 0; }
.story-copy section:first-child h2 { margin-top: 0; }
.story-takeaway { margin-top: 64px; padding: 28px; background: var(--acid); }
.story-takeaway p:last-child { margin: 0; color: var(--ink); font-size: 1.22rem; font-weight: 760; line-height: 1.5; }
.more-stories { padding: 72px clamp(18px,5vw,72px) 94px; background: #f1f1ec; }
.more-stories > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.more-stories > h2 { margin-top: 0; font-size: clamp(2rem,4vw,3.5rem); letter-spacing: -.05em; }
.more-stories > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.more-stories .story-card img { height: 180px; }
.more-stories .story-card h3 { font-size: 1.35rem; }

.stories-teaser { padding: clamp(64px,8vw,112px) clamp(18px,6vw,92px); background: #fff; }
.stories-teaser-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.stories-teaser h2 { max-width: 730px; margin: 0; font-size: clamp(2.2rem,5vw,4.6rem); line-height: .98; letter-spacing: -.055em; text-transform: none; }
.stories-teaser-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.stories-teaser-grid .story-card img { height: 210px; }
.stories-teaser-grid .story-card h3 { font-size: 1.5rem; }

@media (max-width: 920px) {
  .library-page .library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; grid-template-columns: repeat(5,auto); overflow-x: auto; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
  .article-toc strong { display: none; }
  .article-toc a { padding: 8px 14px 8px 0; border: 0; white-space: nowrap; }
  .story-card.featured { display: grid; grid-template-columns: 1fr; }
  .story-card.featured img { grid-row: auto; grid-column: 1; height: 360px; margin-bottom: 18px; }
  .story-card.featured > *:not(img) { grid-column: 1; }
}

@media (max-width: 720px) {
  .site-header.modern-header { grid-template-columns: 1fr auto; min-height: 58px; padding: 0 16px; }
  .modern-header .main-nav { display: none; }
  .category-rail-wrap { min-height: 52px; padding: 0 8px 0 14px; }
  .category-arrow.prev { display: none; }
  .category-strip { padding: 8px 8px 8px 0; }
  .category-strip a { padding: 7px 12px; font-size: .75rem; }
  .breadcrumb { margin-bottom: 36px; }
  .article-meta div { width: 50%; min-width: 0; margin: 0; }
  .article-copy .materials-list, .article-copy .check-list, .product-grid { grid-template-columns: 1fr; }
  .section-line, .article-tool-callout, .stories-newsletter, .stories-teaser-head { align-items: flex-start; flex-direction: column; display: flex; }
  .related-guides > div, .stories-grid, .more-stories > div, .stories-teaser-grid, .library-page .library-grid { grid-template-columns: 1fr; }
  .compact-library-controls { align-items: stretch; flex-direction: column; }
  .compact-library-controls label { grid-template-columns: 1fr; }
  .story-card.featured img, .story-card img { height: 250px; }
  .drawer-link-grid { grid-template-columns: 1fr; }
}
