:root {
  --ws-forest: #1F6B4F;
  --ws-forest-deep: #164F3A;
  --ws-forest-ink: #123F2F;
  --ws-sage: #A7C3AE;
  --ws-sage-soft: #E3EBE4;
  --ws-terracotta: #C97B63;
  --ws-terracotta-text: #A65A43;
  --ws-cream: #F8F5EF;
  --ws-cream-deep: #EFE9DF;
  --ws-charcoal: #2D2D2D;
  --ws-muted: #5E5E5A;
  --ws-white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --radius: 20px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 30px 60px -36px rgba(18, 63, 47, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ws-cream); color: var(--ws-charcoal); font: 400 17px/1.72 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--ws-terracotta-text); text-underline-offset: 3px; }
a:hover { color: var(--ws-forest); }
:focus-visible { outline: 2px solid var(--ws-terracotta); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ws-forest); color: var(--ws-cream); padding: 8px 14px; z-index: 20; }
.skip:focus { left: 16px; }
.icon { flex: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ws-forest); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(44px, 6.2vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 46px); }
h3 { font-size: clamp(23px, 2.4vw, 29px); font-weight: 600; line-height: 1.16; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .13em; color: var(--ws-terracotta-text); margin-bottom: 20px; }
.lead p:first-child { font-size: clamp(18px, 1.9vw, 21px); color: var(--ws-charcoal); }
.lead p { color: var(--ws-muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(248, 245, 239, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--ws-sage-soft); box-shadow: 0 10px 30px -24px rgba(18, 63, 47, .4); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; transition: min-height .3s var(--ease); }
.site-header.scrolled .wrap { min-height: 68px; }
.brand img { width: 214px; transition: width .3s var(--ease); }
.scrolled .brand img { width: 184px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nav a { position: relative; font: 500 15px/1 var(--sans); color: var(--ws-charcoal); text-decoration: none; padding: 10px 0; display: inline-block; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--ws-terracotta); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ws-forest); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--ws-sage), var(--ws-terracotta)); transform: scaleX(0); transform-origin: left; }
.nav-toggle { display: none; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; font: 500 15px var(--sans); color: var(--ws-forest); background: none; border: 1px solid var(--ws-sage); border-radius: 999px; padding: 9px 18px; cursor: pointer; }
  .nav-toggle span { width: 16px; height: 8px; border-block: 1.5px solid currentColor; }
  .nav { position: absolute; left: calc(50% - 50vw); width: 100vw; top: 100%; height: calc(100dvh - 68px); background: var(--ws-cream); padding: 24px 24px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--ws-sage-soft); }
  .nav a { display: block; padding: 16px 0; font: 500 28px/1.2 var(--serif); color: var(--ws-forest); }
  .nav a::after { display: none; }
  .brand img, .scrolled .brand img { width: 172px; }
  .site-header .wrap, .site-header.scrolled .wrap { min-height: 68px; }
}

/* ---------- Buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 500 16px/1 var(--sans); background: var(--ws-forest); color: var(--ws-cream); text-decoration: none; padding: 16px 26px; border-radius: 999px; margin-top: 12px; transition: background .25s, transform .25s var(--ease), box-shadow .25s; box-shadow: 0 14px 28px -18px rgba(18, 63, 47, .8); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover { background: var(--ws-forest-deep); color: var(--ws-cream); transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(4px); }
.tone-forest .btn { background: var(--ws-cream); color: var(--ws-forest); }
.tone-forest .btn:hover { background: var(--ws-white); color: var(--ws-forest); }
.toggle { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { font: 500 14px var(--sans); color: var(--ws-forest); background: transparent; border: 1px solid var(--ws-sage); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip[aria-pressed="true"] { background: var(--ws-forest); color: var(--ws-cream); border-color: var(--ws-forest); }
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ws-sage-soft); color: var(--ws-forest); border: 1px solid rgba(167, 195, 174, .7); transition: background .3s, color .3s, transform .4s var(--ease); }
.icon-badge.on-image { position: absolute; left: 20px; bottom: -26px; background: var(--ws-cream); box-shadow: 0 10px 24px -14px rgba(18, 63, 47, .6); }

/* ---------- Hero ---------- */
.hero { padding: clamp(44px, 7vw, 96px) 0; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-figure { position: relative; }
.hero-figure::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--ws-sage); border-radius: var(--radius); }
.hero-figure img { position: relative; border-radius: var(--radius); aspect-ratio: 4 / 3.5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero-text { max-width: 620px; }
.hero.no-image .wrap { grid-template-columns: 1fr; }
.hero.no-image .hero-text { max-width: 780px; }
.hero.no-image .sprig { position: absolute; right: 4%; top: 10%; width: 180px; color: var(--ws-sage); opacity: .7; }
.updated { font: 500 14px var(--sans); color: var(--ws-forest); }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure::before { inset: 12px -10px -12px 12px; }
  .hero-figure img { aspect-ratio: 16 / 11; }
  .hero.no-image .sprig { display: none; }
}

.hero-full { padding: 0; min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-full .hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-full .hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
.hero-full .hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248, 245, 239, .92) 0%, rgba(248, 245, 239, .55) 42%, rgba(248, 245, 239, 0) 70%), linear-gradient(0deg, rgba(248, 245, 239, .9) 0%, rgba(248, 245, 239, 0) 30%); }
.hero-full .wrap { display: block; padding: clamp(80px, 14vh, 160px) 0 clamp(72px, 10vh, 120px); }
.hero-panel { max-width: 640px; animation: rise 1.1s .15s var(--ease) both; }
@keyframes settle { to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 880px) {
  .hero-full { min-height: 0; display: block; }
  .hero-full .hero-bg { position: relative; height: 46vh; min-height: 280px; }
  .hero-full .hero-bg::after { background: linear-gradient(0deg, var(--ws-cream) 0%, rgba(248, 245, 239, 0) 45%); }
  .hero-full .wrap { padding: 0 0 56px; margin-top: -40px; }
}

/* ---------- Facts band ---------- */
.facts-band { position: relative; z-index: 2; margin-top: -56px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; background: var(--ws-white); border: 1px solid var(--ws-sage-soft); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.facts div { padding: 30px 32px; display: flex; flex-direction: column-reverse; gap: 6px; }
.facts div + div { border-left: 1px solid var(--ws-sage-soft); }
.facts dd { margin: 0; font: 500 clamp(40px, 4.4vw, 56px)/1 var(--serif); color: var(--ws-forest); }
.facts dt { font-size: 15px; color: var(--ws-muted); }
.source { font-size: 13px; color: var(--ws-muted); margin: 12px 0 0; }
.source a { color: inherit; }
@media (max-width: 720px) {
  .facts-band { margin-top: 0; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--ws-sage-soft); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 116px) 0; position: relative; overflow: hidden; }
.tone-white { background: var(--ws-white); }
.tone-forest { background: radial-gradient(120% 140% at 100% 0%, #24785A 0%, var(--ws-forest) 45%, var(--ws-forest-ink) 100%); color: rgba(248, 245, 239, .9); }
.tone-forest h2, .tone-forest h3 { color: var(--ws-cream); }
.tone-forest .eyebrow { color: var(--ws-sage); }
.tone-forest a:not(.btn) { color: var(--ws-sage); }
.tone-forest > .sprig { position: absolute; right: -30px; bottom: -40px; width: 300px; color: var(--ws-sage); opacity: .22; }
.section-head { max-width: 780px; margin-bottom: 44px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.framed { position: relative; }
.framed::after { content: ''; position: absolute; inset: -16px 16px 16px -16px; border: 1px solid var(--ws-sage); border-radius: var(--radius); z-index: -1; }
.framed img { border-radius: var(--radius); aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.narrow { max-width: 780px; }
.media-band { overflow: hidden; border-radius: var(--radius); margin-bottom: 48px; box-shadow: var(--shadow); }
.media-band img { aspect-ratio: 21 / 8; object-fit: cover; width: 100%; transition: transform 1.6s var(--ease); }
.media-band.in img { transform: scale(1.03); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 20px; }
.card { position: relative; background: var(--ws-cream); border: 1px solid var(--ws-sage-soft); border-radius: var(--radius); padding: 32px 30px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; isolation: isolate; overflow: hidden; }
.tone-cream .card { background: var(--ws-white); }
.card::before, .cat::before, .step::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(167, 195, 174, .32), transparent 60%); }
.card:hover, .step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ws-sage); }
.card:hover::before, .cat:hover::before, .step:hover::before { opacity: 1; }
.card:hover .icon-badge { background: var(--ws-forest); color: var(--ws-cream); transform: rotate(-8deg); }
.card .icon-badge { margin-bottom: 22px; }
.card-num { display: block; font: 500 15px var(--sans); letter-spacing: .12em; color: var(--ws-terracotta-text); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--ws-sage-soft); }
.card h2, .card h3 { font-size: clamp(23px, 2.4vw, 28px); font-weight: 600; }
.card p { color: var(--ws-muted); font-size: 16px; }
.card p:last-child { margin-bottom: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.cat { position: relative; background: var(--ws-white); border: 1px solid var(--ws-sage-soft); border-radius: var(--radius); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); isolation: isolate; }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.cat-media { position: relative; display: block; }
.cat-media img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; border-radius: var(--radius) var(--radius) 0 0; filter: saturate(.92); transition: filter .5s; }
.cat:hover .cat-media img { filter: saturate(1.05); }
.cat:hover .icon-badge { background: var(--ws-forest); color: var(--ws-cream); }
.cat-body { display: flex; flex-direction: column; flex: 1; padding: 42px 26px 28px; }
.cat-num { font: 500 13px var(--sans); letter-spacing: .14em; color: var(--ws-terracotta-text); margin-bottom: 6px; }
.cat h3 { margin-bottom: .35em; }
.cat-text { font-size: 16px; color: var(--ws-muted); flex: 1; }
.cat .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font: 500 14px var(--sans); color: var(--ws-forest); letter-spacing: .04em; }
.cat .more .icon { transition: transform .3s var(--ease); }
.cat:hover .more .icon { transform: translateX(5px); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--ws-cream); border: 1px solid var(--ws-sage-soft); transition: transform .45s var(--ease), box-shadow .45s var(--ease); isolation: isolate; overflow: hidden; }
.step .icon-badge { margin-bottom: 18px; }
.step-num { position: absolute; right: 22px; top: 18px; font: 500 44px/1 var(--serif); color: var(--ws-sage); }
.step h3 { font-size: 26px; }
.step p { font-size: 16px; color: var(--ws-muted); margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
.compare { margin-top: 12px; background: rgba(248, 245, 239, .06); border: 1px solid rgba(167, 195, 174, .35); border-radius: var(--radius); }
.compare th { text-align: left; font: 500 13px var(--sans); text-transform: uppercase; letter-spacing: .13em; color: var(--ws-sage); padding: 20px 26px; border-bottom: 1px solid rgba(167, 195, 174, .35); }
.compare td { padding: 20px 26px; font: 500 clamp(21px, 2.2vw, 26px)/1.25 var(--serif); color: var(--ws-cream); border-bottom: 1px solid rgba(167, 195, 174, .2); transition: background .3s; }
.compare tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: rgba(167, 195, 174, .1); }
.compare .divider { width: 56px; color: var(--ws-terracotta); text-align: center; }
.compare td:last-child { color: rgba(248, 245, 239, .72); font-style: italic; }
.lens-table { background: var(--ws-white); border: 1px solid var(--ws-sage-soft); border-radius: var(--radius); box-shadow: var(--shadow); }
.lens-table th { text-align: left; font: 500 13px var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--ws-terracotta-text); padding: 20px 24px; background: var(--ws-cream-deep); }
.lens-table th:first-child { border-top-left-radius: var(--radius); }
.lens-table th:last-child { border-top-right-radius: var(--radius); }
.lens-table td { padding: 20px 24px; border-top: 1px solid var(--ws-sage-soft); vertical-align: top; font-size: 16px; }
.lens-table td:first-child { font: 600 20px/1.3 var(--serif); color: var(--ws-forest); width: 42%; }
.lens-table td:last-child { display: flex; gap: 10px; align-items: flex-start; }
.lens-table td .icon { color: var(--ws-terracotta); margin-top: 3px; }
.lens-table tbody tr { transition: background .3s; }
.lens-table tbody tr:hover { background: var(--ws-cream); }

/* ---------- Chart ---------- */
.chart { background: var(--ws-white); border: 1px solid var(--ws-sage-soft); border-radius: var(--radius); padding: 30px 30px 24px; box-shadow: var(--shadow); }
.chart figcaption { font: 600 15px var(--sans); color: var(--ws-charcoal); margin-bottom: 22px; }
.chart-plot { display: grid; grid-template-columns: 32px 1fr; gap: 12px; height: 300px; margin-bottom: 30px; }
.chart-axis { display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; color: var(--ws-muted); text-align: right; transform: translateY(-.5em); }
.chart-bars { position: relative; display: flex; align-items: flex-end; justify-content: space-around; gap: 24px; border-bottom: 1px solid var(--ws-charcoal); }
.gridline { position: absolute; left: 0; right: 0; height: 1px; background: var(--ws-sage-soft); }
.bar { position: relative; flex: 0 1 120px; height: calc(var(--h)); background: none; border: 0; padding: 0; cursor: pointer; font: inherit; transition: opacity .4s; }
.bar-fill { position: absolute; inset: 0; border-radius: 4px 4px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform 1.1s var(--ease), filter .2s; }
.bar.measured .bar-fill { background: var(--ws-forest); }
.bar.projected .bar-fill { background: repeating-linear-gradient(135deg, rgba(201, 123, 99, .28) 0 6px, rgba(201, 123, 99, .12) 6px 12px); border: 1.5px dashed var(--ws-terracotta); border-bottom: 0; transition-delay: .25s; }
.chart.in .bar-fill { transform: scaleY(1); }
.bar:hover .bar-fill, .bar:focus-visible .bar-fill { filter: brightness(1.08); }
.bar-value { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); font: 600 22px var(--serif); color: var(--ws-forest); opacity: 0; transition: opacity .4s .9s; white-space: nowrap; }
.chart.in .bar-value { opacity: 1; }
.bar.projected .bar-value { color: var(--ws-terracotta-text); }
.bar-label { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); font-size: 14px; color: var(--ws-muted); }
.tip { position: absolute; left: 50%; bottom: calc(100% + 44px); transform: translate(-50%, 6px); background: var(--ws-charcoal); color: var(--ws-cream); font-size: 13px; padding: 7px 11px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.bar:hover .tip, .bar:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
.chart.measured-only .bar.projected { opacity: 0; pointer-events: none; }
.legend { display: flex; gap: 22px; margin-top: 12px; font-size: 14px; color: var(--ws-muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 14px; height: 14px; border-radius: 3px; }
.key.measured { background: var(--ws-forest); }
.key.projected { border: 1.5px dashed var(--ws-terracotta); background: rgba(201, 123, 99, .18); }

/* ---------- Evidence ladder ---------- */
.ladder { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.ladder-steps { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ladder-steps [role="tab"] { width: var(--w); min-width: 260px; max-width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; font: 500 16px var(--sans); color: var(--ws-forest); background: var(--ws-white); border: 1px solid var(--ws-sage-soft); border-radius: 14px; padding: 15px 18px; cursor: pointer; transition: background .3s, color .3s, transform .35s var(--ease), border-color .3s; }
.ladder-steps [role="tab"]:hover { transform: translateX(6px); border-color: var(--ws-sage); }
.ladder-steps [role="tab"][aria-selected="true"] { background: var(--ws-forest); color: var(--ws-cream); border-color: var(--ws-forest); }
.rung { font: 500 20px var(--serif); color: var(--ws-terracotta); min-width: 26px; }
[aria-selected="true"] .rung { color: var(--ws-sage); }
.ladder-axis { display: flex; justify-content: space-between; width: 100%; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ws-muted); margin: 6px 0 0; flex-direction: row-reverse; }
.ladder-panels > div { height: 100%; background: var(--ws-white); border: 1px solid var(--ws-sage-soft); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); animation: rise .5s var(--ease); }
.ladder-panels p { color: var(--ws-muted); font-size: 18px; }
.meter { height: 6px; background: var(--ws-sage-soft); border-radius: 99px; overflow: hidden; margin-top: 28px; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--ws-sage), var(--ws-forest)); border-radius: 99px; }
@media (max-width: 880px) { .ladder { grid-template-columns: 1fr; } .ladder-steps [role="tab"] { width: 100%; min-width: 0; } }

/* ---------- Icon list (About) ---------- */
.icon-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.icon-list a { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 16px; border: 1px solid var(--ws-sage-soft); background: var(--ws-white); text-decoration: none; color: var(--ws-muted); font-size: 16px; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.icon-list a:hover { transform: translateY(-4px); border-color: var(--ws-sage); box-shadow: var(--shadow); }
.icon-list a:hover .icon-badge { background: var(--ws-forest); color: var(--ws-cream); }
.icon-list strong { display: block; font: 600 22px/1.2 var(--serif); color: var(--ws-forest); margin-bottom: 4px; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .72em; width: 9px; height: 9px; border-radius: 50%; background: var(--ws-sage); }

.empty { position: relative; overflow: hidden; border: 1px solid var(--ws-sage); border-radius: var(--radius); padding: 34px 36px; background: linear-gradient(120deg, var(--ws-white), var(--ws-cream)); max-width: 780px; }
.empty p { margin: 0; font: italic 500 24px/1.3 var(--serif); color: var(--ws-forest); }
.empty .sprig { position: absolute; right: 16px; top: -20px; width: 90px; color: var(--ws-sage); opacity: .8; }
.pending { display: inline-block; font: 500 13px/1.4 var(--sans); background: #FBEDE7; color: #8A4430; border: 1px solid var(--ws-terracotta); border-radius: 8px; padding: 6px 10px; }

/* ---------- Legal ---------- */
.legal .section { padding: 0 0 8px; overflow: visible; }
.legal main { padding-bottom: 96px; }
.legal h2 { font-size: clamp(27px, 3vw, 34px); margin-top: 1.4em; padding-top: .8em; border-top: 1px solid var(--ws-sage-soft); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ws-forest-ink); color: rgba(248, 245, 239, .85); padding: 80px 0 36px; font-size: 15px; }
.site-footer > .sprig { position: absolute; left: -40px; bottom: -60px; width: 280px; color: var(--ws-sage); opacity: .12; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { width: 240px; margin-bottom: 20px; }
.site-footer h2 { font: 500 13px var(--sans); text-transform: uppercase; letter-spacing: .13em; color: var(--ws-sage); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--ws-cream); text-decoration: none; }
.site-footer a:hover { color: var(--ws-sage); }
.foot-mail { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(167, 195, 174, .4); padding-bottom: 2px; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(167, 195, 174, .25); padding-top: 24px; margin-top: 16px; color: var(--ws-sage); font-size: 14px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 9; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ws-sage); background: var(--ws-cream); color: var(--ws-forest); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); box-shadow: var(--shadow); }
.to-top .icon { transform: rotate(-90deg); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .bar-fill { transform: none; }
  .bar-value { opacity: 1; }
}

/* ---------- Hero refinements ---------- */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }
.hero-actions .btn { margin-top: 0; }
.btn-ghost { display: inline-flex; align-items: center; font: 500 16px/1 var(--sans); color: var(--ws-forest); text-decoration: none; padding: 15px 4px; border-bottom: 1px solid var(--ws-sage); transition: border-color .25s, color .25s; }
.btn-ghost:hover { color: var(--ws-terracotta-text); border-color: var(--ws-terracotta); }
.hero .lead p { font-size: clamp(19px, 2vw, 22px); line-height: 1.6; color: var(--ws-charcoal); max-width: 34ch; }
.hero.no-image .lead p, .legal .hero .lead p { max-width: none; font-size: 18px; color: var(--ws-muted); }
.legal .hero .lead p:first-child { color: var(--ws-charcoal); }
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ws-sage-soft); }
.topics .chip { text-decoration: none; background: var(--ws-white); }
.topics .chip:hover { background: var(--ws-forest); color: var(--ws-cream); border-color: var(--ws-forest); }
.card:target { border-color: var(--ws-terracotta); box-shadow: var(--shadow); }
.card { scroll-margin-top: 110px; }

.hero-full-grid { display: grid !important; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; }
.hero-full h1 { font-size: clamp(48px, 6.6vw, 84px); }
.evidence-card { justify-self: end; width: min(380px, 100%); background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .8); border-radius: var(--radius); padding: 26px 26px 14px; box-shadow: var(--shadow); animation: rise 1.1s .45s var(--ease) both; }
.evidence-card .eyebrow { margin-bottom: 12px; }
.evidence-card ul { list-style: none; margin: 0; padding: 0; }
.evidence-card li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--ws-sage-soft); animation: rise .8s calc(.7s + var(--d) * .12s) var(--ease) both; }
.evidence-card li:first-child { border-top: 0; }
.evidence-card .icon-badge { width: 40px; height: 40px; }
.evidence-card strong { display: block; font: 600 20px/1.2 var(--serif); color: var(--ws-forest); }
.evidence-card li span span { font-size: 14px; line-height: 1.45; color: var(--ws-muted); display: block; }
@media (max-width: 980px) {
  .hero-full-grid { grid-template-columns: 1fr; }
  .evidence-card { display: none; }
}

/* ---------- Intro (moved hero copy) ---------- */
.intro { padding: clamp(56px, 7vw, 100px) 0; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pull { margin: 0; position: relative; font: italic 500 clamp(28px, 3.3vw, 42px)/1.22 var(--serif); color: var(--ws-forest); padding-left: 34px; border-left: 1px solid var(--ws-terracotta); }
.pull > span { position: absolute; left: -6px; top: -38px; font: 500 110px/1 var(--serif); color: var(--ws-sage); font-style: normal; }
.intro-body p { color: var(--ws-muted); font-size: 18px; }
.intro-body p:first-child::first-letter { float: left; font: 500 64px/.86 var(--serif); color: var(--ws-forest); padding: 6px 10px 0 0; }
.home .facts-band + .intro { margin-top: -56px; padding-top: clamp(120px, 12vw, 170px); }
@media (max-width: 720px) { .home .facts-band + .intro { margin-top: 0; padding-top: 64px; } }
@media (max-width: 880px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Bento coverage grid ---------- */
.bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(0, auto); }
.bento .cat:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento .cat:nth-child(2), .bento .cat:nth-child(7) { grid-column: span 2; }
.bento .cat:nth-child(1) .cat-media, .bento .cat:nth-child(1) .cat-media img { flex: 1; height: 100%; }
.bento .cat:nth-child(1) .cat-media img { aspect-ratio: auto; min-height: 340px; }
.bento .cat:nth-child(1) h3 { font-size: clamp(30px, 3vw, 40px); }
.bento .cat:nth-child(2), .bento .cat:nth-child(7) { flex-direction: row; }
.bento .cat:nth-child(2) .cat-media, .bento .cat:nth-child(7) .cat-media { width: 46%; flex: none; }
.bento .cat:nth-child(2) .cat-media img, .bento .cat:nth-child(7) .cat-media img { height: 100%; aspect-ratio: auto; border-radius: var(--radius) 0 0 var(--radius); }
.bento .cat:nth-child(2) .cat-body, .bento .cat:nth-child(7) .cat-body { padding-top: 30px; }
.bento .cat:nth-child(2) .icon-badge, .bento .cat:nth-child(7) .icon-badge { left: auto; right: -26px; bottom: 20px; }
@media (max-width: 1080px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .cat:nth-child(1) { grid-row: span 1; } }
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento .cat:nth-child(n) { grid-column: auto; grid-row: auto; flex-direction: column; }
  .bento .cat:nth-child(n) .cat-media { width: auto; }
  .bento .cat:nth-child(n) .cat-media img { aspect-ratio: 16 / 11; min-height: 0; border-radius: var(--radius) var(--radius) 0 0; }
  .bento .cat:nth-child(n) .icon-badge { left: 20px; right: auto; bottom: -26px; }
  .bento .cat:nth-child(n) .cat-body { padding-top: 42px; }
}

.statement { max-width: 900px; text-align: center; }
.statement .sprig { width: 54px; height: 78px; margin: 0 auto 18px; color: var(--ws-sage); display: block; }
.statement p { color: var(--ws-muted); font-size: 18px; max-width: 640px; margin-inline: auto; }
.statement .statement-main { font: 500 clamp(26px, 3vw, 38px)/1.3 var(--serif); color: var(--ws-forest); max-width: none; margin-top: 18px; }

/* Feature tile: text floats over the image */
.bento .cat:nth-child(1) { min-height: 620px; overflow: hidden; }
.bento .cat:nth-child(1) .cat-media { position: absolute; inset: 0; }
.bento .cat:nth-child(1) .cat-media img { position: absolute; inset: 0; height: 100%; min-height: 0; border-radius: var(--radius); transition: transform 1.2s var(--ease), filter .5s; }
.bento .cat:nth-child(1):hover .cat-media img { transform: scale(1.04); }
.bento .cat:nth-child(1) .icon-badge.on-image { left: 28px; top: 28px; bottom: auto; }
.bento .cat:nth-child(1) .cat-body { position: relative; flex: none; margin: auto 18px 18px; background: rgba(248, 245, 239, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 16px; padding: 26px 28px; }
.bento .cat:nth-child(1) .cat-text { flex: none; }
@media (max-width: 1080px) { .bento .cat:nth-child(1) { min-height: 480px; } }
@media (max-width: 640px) {
  .bento .cat:nth-child(1) { min-height: 0; }
  .bento .cat:nth-child(1) .cat-media { position: relative; }
  .bento .cat:nth-child(1) .cat-media img { position: static; }
  .bento .cat:nth-child(1) .icon-badge.on-image { top: auto; bottom: -26px; left: 20px; }
  .bento .cat:nth-child(1) .cat-body { margin: 0; background: none; backdrop-filter: none; padding: 42px 26px 28px; }
}
.intro.tone-white + .section.tone-white { padding-top: 0; }

/* ---------- Image-background sections ---------- */
.has-bg { isolation: isolate; padding: clamp(96px, 12vw, 168px) 0; }
.section-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.section-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.js .section-bg.reveal { opacity: 1; transform: none; }
.section-bg.in img { transform: scale(1); }
.section-bg::after { content: ''; position: absolute; inset: 0; }
.bg-dark .section-bg::after { background: linear-gradient(90deg, rgba(18, 63, 47, .94) 0%, rgba(18, 63, 47, .78) 48%, rgba(18, 63, 47, .3) 100%); }
.bg-light .section-bg::after { background: linear-gradient(90deg, rgba(248, 245, 239, .97) 0%, rgba(248, 245, 239, .88) 42%, rgba(248, 245, 239, .15) 100%); }
.bg-panel { max-width: 640px; }
.bg-panel .section-head { margin-bottom: 28px; }
.bg-dark, .bg-dark p { color: rgba(248, 245, 239, .88); }
.bg-dark h2 { color: var(--ws-cream); }
.bg-dark .btn { background: var(--ws-cream); color: var(--ws-forest); }
.bg-light .section-head p { color: var(--ws-charcoal); }
.has-bg .empty { background: rgba(255, 255, 255, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(167, 195, 174, .9); }
.bg-light + .site-footer, main > .section:last-child.bg-light { border-bottom: 0; }
@media (max-width: 760px) {
  .bg-dark .section-bg::after { background: rgba(18, 63, 47, .86); }
  .bg-light .section-bg::after { background: rgba(248, 245, 239, .9); }
}

/* ---------- Image backgrounds v2: full image, text on a panel above it ---------- */
.has-bg { padding: clamp(110px, 14vw, 190px) 0; }
.bg-dark .section-bg::after { background: linear-gradient(180deg, rgba(18, 63, 47, .35), rgba(18, 63, 47, .55)); }
.bg-light .section-bg::after { background: linear-gradient(180deg, rgba(248, 245, 239, .08), rgba(248, 245, 239, .28)); }
.bg-panel { max-width: 620px; border-radius: 24px; padding: clamp(30px, 4vw, 52px); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 40px 80px -40px rgba(18, 63, 47, .55); }
.bg-light .bg-panel { background: rgba(248, 245, 239, .86); border: 1px solid rgba(255, 255, 255, .7); }
.bg-dark .bg-panel { background: rgba(18, 63, 47, .78); border: 1px solid rgba(167, 195, 174, .3); }
.bg-panel .section-head { margin-bottom: 20px; }
.bg-panel .section-head p:last-child { margin-bottom: 0; }
.bg-panel .empty { background: rgba(255, 255, 255, .7); }
@media (max-width: 760px) {
  .has-bg { padding: 72px 0; }
  .bg-dark .section-bg::after { background: rgba(18, 63, 47, .4); }
  .bg-light .section-bg::after { background: rgba(248, 245, 239, .15); }
}

/* Homepage: tighten the gap between the facts band and the intro */
.home .facts-band + .intro { padding-top: clamp(96px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 80px); }
.home .facts-band .source { margin-bottom: 0; }

/* Partner table */
.partner-table td:first-child { font: 500 17px/1.4 var(--sans); color: var(--ws-charcoal); width: 50%; }
.partner-table td { display: table-cell; }
.partner-table td > * { vertical-align: middle; }
.partner-table td .icon { margin: 0 10px 0 0; display: inline-block; }
.partner-table .x { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 10px; border-radius: 50%; border: 1.5px solid var(--ws-muted); color: var(--ws-muted); font-size: 13px; line-height: 1; }
.partner-table td:last-child { color: var(--ws-muted); }
.partner-table th:first-child { color: var(--ws-forest); }

/* ---------- Image backgrounds v3: tint across the whole photo, translucent panel on top ---------- */
.has-bg { padding: clamp(110px, 12vw, 170px) 0; }
.bg-dark .section-bg::after { background: rgba(18, 63, 47, .5); }
.bg-light .section-bg::after { background: rgba(248, 245, 239, .32); }
.bg-panel { max-width: 640px; border-radius: 20px; padding: clamp(32px, 4.4vw, 60px); backdrop-filter: blur(10px) saturate(1.15); -webkit-backdrop-filter: blur(10px) saturate(1.15); box-shadow: 0 30px 70px -30px rgba(18, 63, 47, .55); }
.bg-dark .bg-panel { background: linear-gradient(135deg, rgba(31, 107, 79, .88), rgba(24, 87, 64, .78)); border: 1px solid rgba(167, 195, 174, .35); }
.bg-light .bg-panel { background: linear-gradient(135deg, rgba(248, 245, 239, .9), rgba(248, 245, 239, .74)); border: 1px solid rgba(255, 255, 255, .75); }
.bg-dark .bg-panel h2 { color: var(--ws-white); }
.bg-dark .bg-panel p { color: rgba(255, 255, 255, .9); }
.bg-dark .btn { background: var(--ws-white); color: var(--ws-forest); box-shadow: none; }
.bg-dark .btn:hover { background: var(--ws-cream); color: var(--ws-forest); }
.steps-band { padding-top: clamp(48px, 6vw, 72px); }
.steps-band .steps { margin-top: 0; }
@media (max-width: 760px) {
  .has-bg { padding: 56px 0; }
  .bg-dark .section-bg::after { background: rgba(18, 63, 47, .5); }
  .bg-light .section-bg::after { background: rgba(248, 245, 239, .3); }
}

.statement .statement-main { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.38; max-width: 860px; margin-inline: auto; }

/* ---------- Article cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: var(--ws-white); border: 1px solid var(--ws-sage-soft); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.post-media { display: block; overflow: hidden; }
.post-media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 28px; }
.post-meta { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--ws-terracotta-text); margin-bottom: 10px; }
.post-card h3 { font-size: clamp(23px, 2.2vw, 27px); margin-bottom: .4em; }
.post-excerpt { font-size: 16px; color: var(--ws-muted); flex: 1; }
.post-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font: 500 14px var(--sans); color: var(--ws-forest); }
.post-card .more .icon { transition: transform .3s var(--ease); }
.post-card:hover .more .icon { transform: translateX(5px); }
.post-card[hidden] { display: none; }

/* ---------- Article page ---------- */
.post-hero { padding: clamp(36px, 5vw, 64px) 0 0; }
.post-hero .wrap { max-width: 900px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ws-muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--ws-forest); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.post-hero h1 { font-size: clamp(40px, 5.4vw, 64px); }
.post-deck { font-size: clamp(19px, 2vw, 22px); line-height: 1.55; color: var(--ws-charcoal); max-width: 46ch; }
.post-byline { display: flex; flex-wrap: wrap; gap: 6px 20px; font: 500 14px var(--sans); color: var(--ws-muted); padding-top: 16px; border-top: 1px solid var(--ws-sage-soft); }
.post-byline span + span::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--ws-sage); margin-right: 20px; vertical-align: middle; }
.post-figure { max-width: var(--wrap) !important; margin-top: clamp(28px, 4vw, 44px); }
.post-figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.post-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); justify-content: center; gap: clamp(32px, 5vw, 72px); padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 100px); }
.toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.toc-title { font: 500 12px var(--sans); text-transform: uppercase; letter-spacing: .13em; color: var(--ws-terracotta-text); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--ws-sage-soft); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ws-muted); text-decoration: none; line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ws-forest); }
.toc a.active { color: var(--ws-forest); border-left-color: var(--ws-terracotta); font-weight: 500; }
@media (max-width: 1000px) { .post-layout { grid-template-columns: minmax(0, 720px); } .toc { display: none; } }

.prose { font-size: 18px; line-height: 1.75; }
.prose > section { scroll-margin-top: 100px; }
.prose h2 { font-size: clamp(30px, 3.4vw, 40px); margin: 1.6em 0 .55em; }
.prose h3 { font-size: clamp(23px, 2.4vw, 27px); margin: 1.5em 0 .5em; }
.prose p { margin: 0 0 1.15em; }
.post-intro p:first-child { font-size: 20px; color: var(--ws-charcoal); }
.post-intro p:first-child::first-letter { float: left; font: 500 72px/.82 var(--serif); color: var(--ws-forest); padding: 8px 12px 0 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--ws-terracotta); }
.prose strong { color: var(--ws-charcoal); font-weight: 600; }
.prose a { color: var(--ws-forest); text-decoration-color: var(--ws-terracotta); text-decoration-thickness: 1px; }

.takeaways { margin: 0 0 1em; background: var(--ws-white); border: 1px solid var(--ws-sage); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.takeaways h2 { margin-top: 0 !important; font-size: clamp(26px, 3vw, 32px); }
.takeaways ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.takeaways li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 17px; }
.takeaways li .icon { color: var(--ws-forest); margin-top: 4px; }

.data-table { font-size: 16px; background: var(--ws-white); border: 1px solid var(--ws-sage-soft); }
.prose .table-wrap { margin: 1.4em 0; border-radius: 16px; border: 1px solid var(--ws-sage-soft); box-shadow: 0 20px 40px -32px rgba(18, 63, 47, .45); }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ws-sage-soft); }
.data-table thead th { font: 500 12px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--ws-terracotta-text); background: var(--ws-cream-deep); }
.data-table tbody th { font-weight: 500; color: var(--ws-charcoal); }
.data-table tbody td { color: var(--ws-forest); font-weight: 600; white-space: nowrap; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--ws-cream); }
.table-note { font-size: 14px !important; color: var(--ws-muted); margin-top: -.6em !important; }
@media (max-width: 640px) { .data-table tbody td { white-space: normal; } .data-table { min-width: 480px; } }

.faq details { border-bottom: 1px solid var(--ws-sage-soft); }
.faq details:first-of-type { border-top: 1px solid var(--ws-sage-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font: 600 clamp(20px, 2.2vw, 24px)/1.3 var(--serif); color: var(--ws-forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ws-sage); position: relative; transition: background .25s, transform .35s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ws-forest); transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq details[open] .faq-icon { background: var(--ws-forest); }
.faq details[open] .faq-icon::before, .faq details[open] .faq-icon::after { background: var(--ws-cream); }
.faq details[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 0 18px; color: var(--ws-muted); }

.sources { margin-top: 2.4em; padding: clamp(24px, 3.5vw, 34px); border-radius: var(--radius); background: var(--ws-cream-deep); font-size: 15px; line-height: 1.6; }
.sources h2 { margin-top: 0 !important; font-size: 26px; }
.sources ol { margin: 0; padding-left: 1.2em; }
.sources li { margin-bottom: .8em; }
.note { margin: 1.6em 0 0; padding: 18px 22px; border-left: 3px solid var(--ws-terracotta); background: var(--ws-white); border-radius: 0 12px 12px 0; font-size: 15px; color: var(--ws-muted); }
.related .section-head { margin-bottom: 32px; }
.articles-hero { padding-bottom: clamp(32px, 4vw, 48px); }
@media (max-width: 640px) { .post-byline span + span::before { display: none; } .post-byline { gap: 4px 18px; } }

/* Article listings: three per row */
.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card h3 { font-size: clamp(21px, 1.9vw, 24px); }
.post-body { padding: 20px 22px 24px; }
.post-excerpt { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bg-posts { margin-top: 28px; }
.bg-posts .post-card { box-shadow: 0 30px 60px -36px rgba(18, 63, 47, .55); }

/* Latest sections: one wide panel holding the heading and the cards */
.bg-panel-wide { max-width: none; }
.panel-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 40px; }
.panel-top .section-head { max-width: 640px; margin-bottom: 0; }
.panel-top .btn { margin-top: 0; }
.bg-panel-wide .bg-posts { margin-top: 32px; }
.bg-panel-wide .post-card { box-shadow: none; }
/* Latest panels: button sits under the intro, not off to the right */
.panel-top { display: block; }
.panel-top .section-head { margin-bottom: 20px; }

/* ---------- Article bar charts ---------- */
.bar-chart { margin: 1.6em 0; padding: clamp(22px, 3vw, 32px); background: var(--ws-white); border: 1px solid var(--ws-sage-soft); border-radius: var(--radius); box-shadow: 0 24px 48px -36px rgba(18, 63, 47, .5); }
.bar-chart figcaption { font: 600 clamp(19px, 2vw, 22px)/1.3 var(--serif); color: var(--ws-forest); margin-bottom: 14px; }
.bc-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--ws-muted); margin-bottom: 18px; }
.bc-legend span { display: inline-flex; align-items: center; gap: 8px; }
.bc-key { width: 12px; height: 12px; border-radius: 3px; }
.bc-key.s0, .bc-bar.s0 .bc-fill { background: var(--ws-sage); }
.bc-key.s1, .bc-bar.s1 .bc-fill { background: var(--ws-forest); }
.bc-rows { display: grid; gap: 18px; }
.bc-row { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 16px; align-items: center; }
.bc-label { font-size: 15px; font-weight: 500; color: var(--ws-charcoal); line-height: 1.35; }
.bc-bars { display: grid; gap: 6px; }
.bc-bar { position: relative; display: flex; align-items: center; height: 26px; width: 100%; }
.bc-fill { height: 100%; width: var(--w); max-width: calc(100% - 64px); border-radius: 0 6px 6px 0; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.bc-bar:only-child .bc-fill { background: var(--ws-forest); }
.bc-bar.projected .bc-fill { background: repeating-linear-gradient(135deg, rgba(201, 123, 99, .35) 0 6px, rgba(201, 123, 99, .15) 6px 12px) !important; border: 1.5px dashed var(--ws-terracotta); border-left: 0; }
.bc-val { margin-left: 10px; font: 600 15px var(--sans); color: var(--ws-forest); opacity: 0; transition: opacity .5s .9s; white-space: nowrap; }
.bc-bar.projected .bc-val { color: var(--ws-terracotta-text); }
.bar-chart.in .bc-fill { transform: scaleX(1); }
.bar-chart.in .bc-val { opacity: 1; }
.bc-bars .bc-bar:nth-child(2) .bc-fill { transition-delay: .15s; }
.bc-row:nth-child(2) .bc-fill { transition-delay: .25s; }
.bc-row:nth-child(3) .bc-fill { transition-delay: .4s; }
.bc-row:nth-child(4) .bc-fill { transition-delay: .55s; }
.bc-source { font-size: 13px !important; color: var(--ws-muted); margin: 18px 0 0 !important; }
@media (max-width: 560px) { .bc-row { grid-template-columns: 1fr; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .bc-fill { transform: none; } .bc-val { opacity: 1; } }

/* Author profile */
.author-page { padding-top: clamp(40px, 6vw, 80px); }
.author-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 680px); gap: clamp(32px, 5vw, 72px); align-items: start; justify-content: center; }
.author-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.author-text h1 { margin: 8px 0 20px; }
.author-text p { margin-bottom: 1em; }
.post-byline a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .author-grid { grid-template-columns: 1fr; } .author-photo { max-width: 280px; } }

/* Calculators (icons: Tabler Icons, MIT) */
.ti { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.calc { position: relative; overflow: hidden; background: var(--ws-white); border: 1px solid var(--ws-sage-soft); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 36px); margin: 36px 0; }
.calc::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--ws-forest), var(--ws-sage), var(--ws-terracotta)); }
.calc-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.calc-badge { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(140deg, var(--ws-forest), var(--ws-forest-deep)); color: var(--ws-cream); box-shadow: 0 14px 28px -16px rgba(18, 63, 47, .8); }
.calc-badge .ti { width: 34px; height: 34px; }
.calc-kicker { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ws-terracotta-text); margin-bottom: 8px; }
.calc-title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
.calc-head p { color: var(--ws-muted); margin: 0; }
.calc-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.calc { container-type: inline-size; }
@container (min-width: 760px) { .calc-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } .calc-results { position: sticky; top: 96px; } }
.calc-example { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ws-forest); background: var(--ws-sage-soft); border-radius: 12px; padding: 10px 14px; margin: 0 0 18px; }
.calc-fields { display: grid; gap: 4px 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.calc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.calc-field label { font: 600 15px/1.3 var(--sans); color: var(--ws-forest-ink); }
.calc-opt, .calc-help { font-weight: 400; font-size: 13.5px; color: var(--ws-muted); }
.calc-input { display: flex; align-items: center; gap: 2px; border: 1.5px solid var(--ws-sage); border-radius: 14px; background: var(--ws-cream); padding-left: 12px; transition: border-color .2s, box-shadow .2s, background .2s; }
.calc-input:hover { border-color: var(--ws-forest); }
.calc-input:focus-within { border-color: var(--ws-forest); background: var(--ws-white); box-shadow: 0 0 0 4px rgba(31, 107, 79, .14); }
.calc-field-icon { color: var(--ws-forest); width: 20px; height: 20px; margin-right: 6px; }
.calc-prefix { color: var(--ws-muted); font-weight: 600; }
.calc input[type=number], .calc select { width: 100%; font: 500 17px/1.4 var(--sans); color: var(--ws-charcoal); background: transparent; border: 0; padding: 11px 12px 11px 4px; border-radius: 14px; min-height: 48px; font-variant-numeric: tabular-nums; }
.calc select { cursor: pointer; }
.calc input:focus-visible, .calc select:focus-visible { outline: none; }
.calc-input:has([aria-invalid="true"]) { border-color: var(--ws-terracotta-text); background: #FBF1EE; }
.calc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 6px 0 2px; border-radius: 999px; background: var(--ws-sage-soft); cursor: pointer; }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ws-forest); border: 3px solid var(--ws-white); box-shadow: 0 2px 8px rgba(18, 63, 47, .35); transition: transform .15s; }
.calc-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ws-forest); border: 3px solid var(--ws-white); box-shadow: 0 2px 8px rgba(18, 63, 47, .35); }
.calc-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-error { display: flex; gap: 6px; color: var(--ws-terracotta-text); font-size: 14px; font-weight: 500; }
.calc-error:empty { display: none; }
.calc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.calc-btn { border: 0; cursor: pointer; margin-top: 0; }
.calc-link { display: inline-flex; align-items: center; gap: 8px; background: var(--ws-white); border: 1.5px solid var(--ws-sage); border-radius: 999px; padding: 12px 18px; font: 500 15px/1 var(--sans); color: var(--ws-forest); cursor: pointer; min-height: 46px; transition: background .2s, border-color .2s; }
.calc-link:hover { background: var(--ws-sage-soft); border-color: var(--ws-forest); }
.calc-btn:focus-visible, .calc-link:focus-visible { outline: 2px solid var(--ws-terracotta); outline-offset: 3px; }
.calc-status { font-size: 14px; font-weight: 600; color: var(--ws-forest); }
.calc-results { background: var(--ws-cream); border: 1px solid var(--ws-sage-soft); border-radius: 18px; padding: 18px; align-self: start; }
.calc-empty { margin: 0; color: var(--ws-muted); }
.calc-hero { display: flex; gap: 14px; align-items: center; background: linear-gradient(140deg, var(--ws-forest), var(--ws-forest-ink)); color: var(--ws-cream); border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; animation: calc-pop .45s var(--ease); }
.calc-hero-icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .14); }
.calc-hero-label { display: block; font-size: 14px; opacity: .85; }
.calc-hero-val { display: block; font: 600 clamp(22px, 2.6vw, 30px)/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.calc-bars { margin: 0 0 16px; background: var(--ws-white); border-radius: 14px; padding: 14px 16px; }
.calc-bars figcaption { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ws-forest-ink); margin-bottom: 10px; }
.calc-bar { display: grid; grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr) auto; gap: 10px; align-items: center; margin: 8px 0; font-size: 14.5px; }
.calc-bar-label { display: inline-flex; gap: 4px; align-items: center; }
.calc-bar.is-best .calc-bar-label { color: var(--ws-forest); font-weight: 600; }
.calc-bar.is-best .ti { color: var(--ws-terracotta); }
.calc-bar-track { height: 12px; border-radius: 999px; background: var(--ws-sage-soft); overflow: hidden; }
.calc-bar-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--ws-sage); transition: width .7s var(--ease); }
.calc-bar.is-best .calc-bar-fill { background: var(--ws-forest); }
.calc-bar-fill.is-in { width: var(--w); }
.calc-bar-val { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ws-forest-ink); }
.calc-tiles { margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.calc-tile { position: relative; background: var(--ws-white); border-radius: 14px; padding: 12px 14px 12px 46px; animation: calc-pop .45s var(--ease) both; }
.calc-tile .ti { position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; color: var(--ws-forest); }
.calc-tile dt { font-size: 13.5px; color: var(--ws-muted); line-height: 1.35; }
.calc-tile dd { margin: 2px 0 0; font-weight: 600; color: var(--ws-forest-ink); font-variant-numeric: tabular-nums; line-height: 1.35; }
.calc-note { display: flex; gap: 8px; margin: 14px 0 0; font-size: 14.5px; color: var(--ws-muted); }
.calc-method { margin-top: 22px; border-top: 1px solid var(--ws-sage-soft); padding-top: 14px; }
.calc-method summary { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 600; color: var(--ws-forest); }
.calc-method ul { margin: 10px 0 0; font-size: 15px; }
.calc-disclaimer { font-size: 13.5px; color: var(--ws-muted); margin: 12px 0 0; }
@keyframes calc-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .calc-hero, .calc-tile { animation: none; } .calc-bar-fill { transition: none; } }
@media (max-width: 520px) { .calc-head { flex-direction: column; } .calc-badge { width: 54px; height: 54px; } .calc-actions .calc-btn { width: 100%; justify-content: center; } }
/* Calculator components: toggles, choice cards, steppers, visuals */
.calc-field[hidden] { display: none; }
.calc-field.is-wide, .calc-choice { grid-column: 1 / -1; }
.calc fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.calc legend { display: flex; align-items: center; gap: 6px; font: 600 15px/1.3 var(--sans); color: var(--ws-forest-ink); margin-bottom: 8px; padding: 0; }
.calc legend .calc-field-icon { width: 18px; height: 18px; margin: 0; }
.calc-unit-set { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--ws-sage-soft); border-radius: 999px; }
.calc-unit-opt, .calc-choice-opt { position: relative; cursor: pointer; }
.calc-unit-opt input, .calc-choice-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-unit-opt span { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 16px; border-radius: 999px; font: 500 15px/1.2 var(--sans); color: var(--ws-forest-ink); transition: background .2s, color .2s; }
.calc-unit-opt input:checked + span { background: var(--ws-forest); color: var(--ws-cream); box-shadow: 0 6px 14px -8px rgba(18, 63, 47, .8); }
.calc-unit-opt input:focus-visible + span, .calc-choice-opt input:focus-visible + .calc-choice-card { outline: 2px solid var(--ws-terracotta); outline-offset: 2px; }
.calc-choice-set { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr)); }
.calc-choice-card { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--ws-sage); border-radius: 14px; background: var(--ws-cream); transition: border-color .2s, background .2s, transform .2s; }
.calc-choice-card .ti { width: 24px; height: 24px; color: var(--ws-forest); margin-bottom: 4px; }
.calc-choice-card strong { font: 600 15px/1.25 var(--sans); color: var(--ws-forest-ink); }
.calc-choice-card small { font-size: 13px; color: var(--ws-muted); }
.calc-choice-opt:hover .calc-choice-card { border-color: var(--ws-forest); }
.calc-choice-opt input:checked + .calc-choice-card { border-color: var(--ws-forest); background: var(--ws-white); box-shadow: 0 0 0 3px rgba(31, 107, 79, .16); }
.calc-choice-opt input:checked + .calc-choice-card .ti { color: var(--ws-terracotta); }
.calc-stepper { padding-right: 4px; }
.calc-stepper input[type=number] { text-align: center; padding-left: 0; padding-right: 0; -moz-appearance: textfield; }
.calc-stepper input::-webkit-inner-spin-button, .calc-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc-step { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--ws-sage-soft); color: var(--ws-forest); cursor: pointer; transition: background .15s; }
.calc-step:hover { background: var(--ws-sage); }
.calc-step:focus-visible { outline: 2px solid var(--ws-terracotta); outline-offset: 2px; }
.calc-suffix { color: var(--ws-muted); font-size: 15px; padding: 0 8px 0 2px; white-space: nowrap; }
.calc-advanced { grid-column: 1 / -1; margin: 0 0 14px; border: 1px dashed var(--ws-sage); border-radius: 14px; padding: 10px 14px; }
.calc-advanced summary { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; font-weight: 600; color: var(--ws-forest); min-height: 32px; }
.calc-advanced[open] summary { margin-bottom: 12px; }
.calc-btn.is-done { background: var(--ws-forest-deep); }
.calc-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 12px; color: var(--ws-muted); }
.calc-empty p { margin: 0; }
.calc-empty-icon { width: 44px; height: 44px; color: var(--ws-sage); }
.calc-empty.is-error .calc-empty-icon { color: var(--ws-terracotta-text); }
.calc-error .ti { width: 16px; height: 16px; margin-top: 2px; }
.calc-hero-val { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; overflow-wrap: anywhere; }
.calc-hero-label { margin-top: 4px; }
.calc-insight { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: #F7F2E8; font-size: 15px; color: var(--ws-charcoal); animation: calc-pop .45s var(--ease); }
.calc-insight .ti { color: var(--ws-terracotta-text); width: 22px; height: 22px; margin-top: 1px; }
.calc-range-viz, .calc-route, .calc-timeline, .calc-zones, .calc-fill { margin: 0 0 16px; background: var(--ws-white); border-radius: 14px; padding: 14px 16px; }
.calc-range-viz figcaption, .calc-route figcaption, .calc-timeline figcaption, .calc-zones figcaption, .calc-fill figcaption { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ws-forest-ink); margin-bottom: 12px; }
.calc-scale { position: relative; height: 34px; margin: 26px 0 4px; border-radius: 999px; background: var(--ws-sage-soft); }
.calc-band { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 600; color: var(--ws-forest-ink); border-right: 2px solid var(--ws-white); }
.calc-band.b0 { background: #E8EFE9; border-radius: 999px 0 0 999px; }
.calc-band.b1 { background: #CFE0D3; }
.calc-band.b2 { background: #B5CFBB; border-radius: 0 999px 999px 0; border-right: 0; }
.calc-marker { position: absolute; top: -6px; bottom: -6px; left: var(--p); width: 4px; margin-left: -2px; border-radius: 4px; background: var(--ws-terracotta-text); transition: left .5s var(--ease); }
.calc-marker span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 4px; white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--ws-terracotta-text); }
.calc-scale-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--ws-muted); }
.calc-route-line { display: flex; align-items: center; gap: 8px; }
.calc-route-start, .calc-route-end { width: 26px; height: 26px; color: var(--ws-forest); }
.calc-route-track { position: relative; flex: 1; height: 8px; border-radius: 999px; background: repeating-linear-gradient(90deg, var(--ws-sage-soft) 0 8px, transparent 8px 14px); }
.calc-route-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ws-sage), var(--ws-forest)); transition: width .8s var(--ease); }
.calc-route-fill.is-in { width: var(--w); }
.calc-tick { position: absolute; top: -5px; width: 2px; height: 18px; background: var(--ws-sage); z-index: 1; }
.calc-timeline ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr)); }
.calc-timeline li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--ws-cream); border: 1.5px solid transparent; }
.calc-timeline li .ti { width: 20px; height: 20px; color: var(--ws-forest); }
.calc-timeline li strong { font-size: 16px; color: var(--ws-forest-ink); font-variant-numeric: tabular-nums; }
.calc-timeline li span { font-size: 13px; color: var(--ws-muted); }
.calc-timeline li.is-on { border-color: var(--ws-forest); background: var(--ws-white); }
.calc-zone { margin: 8px 0; }
.calc-zone-bar { display: flex; justify-content: space-between; gap: 8px; width: 0; min-width: 170px; max-width: 100%; padding: 8px 12px; border-radius: 10px; color: var(--ws-forest-ink); font-size: 14.5px; transition: width .7s var(--ease); }
.calc-zone-bar.is-in { width: var(--w); }
.calc-zone-bar span { font-variant-numeric: tabular-nums; font-weight: 600; }
.calc-zone small { display: block; font-size: 13px; color: var(--ws-muted); margin: 3px 0 0 2px; }
.calc-zone.z1 .calc-zone-bar { background: #E8EFE9; }
.calc-zone.z2 .calc-zone-bar { background: #D3E3D7; }
.calc-zone.z3 .calc-zone-bar { background: #B5CFBB; }
.calc-zone.z4 .calc-zone-bar { background: #EBC7B9; }
.calc-zone.z5 .calc-zone-bar { background: #D99A84; color: #3A1A10; }
.calc-fill-track { display: flex; height: 26px; border-radius: 999px; overflow: hidden; background: var(--ws-sage-soft); }
.calc-fill-part { width: 0; transition: width .7s var(--ease); }
.calc-fill-part.is-in { width: var(--w); }
.calc-fill-part.p0, .calc-fill-key i.p0 { background: #5E9FB8; }
.calc-fill-part.p1, .calc-fill-key i.p1 { background: var(--ws-sage); }
.calc-fill-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 14px; }
.calc-fill-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.calc-bar-track { position: relative; }
.calc-bar-target { position: absolute; top: -3px; bottom: -3px; left: var(--t); width: 2px; background: var(--ws-terracotta-text); z-index: 1; }
.calc-bar.is-under .calc-bar-fill { background: #E5B8A8; }
.calc-sources, .calc-reviewed { font-size: 14px; color: var(--ws-muted); margin: 10px 0 0; }
.tool-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ws-forest); }
.tool-trust li { display: inline-flex; gap: 6px; align-items: center; }
.tool-hero-title { display: flex; gap: 16px; align-items: center; }
.tool-hero-title .tool-icon { margin: 0; flex: none; }
.tool-related { padding: 8px 0 64px; }
.tool-related h2 { font-size: clamp(26px, 3vw, 34px); }
.calc-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .calc-insight { animation: none; } .calc-route-fill, .calc-zone-bar, .calc-fill-part, .calc-marker { transition: none; } }
.tool-layout { padding-bottom: 64px; }
.tool-layout .prose { max-width: 760px; margin: 0 auto; }
.tool-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ws-forest); color: var(--ws-cream); margin-bottom: 16px; }
.tool-icon .ti { width: 28px; height: 28px; }
.tool-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.tool-card { display: flex; flex-direction: column; height: 100%; padding: 28px; background: var(--ws-cream); border: 1px solid var(--ws-sage-soft); border-radius: var(--radius); text-decoration: none; color: var(--ws-charcoal); transition: transform .25s var(--ease), box-shadow .25s; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ws-charcoal); }
.tool-card h2 { font-size: 26px; }
.tool-card p { margin: 0 0 12px; color: var(--ws-muted); }
.tool-where { font-size: 14px; color: var(--ws-forest); margin-bottom: 14px; }
.tool-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ws-terracotta-text); font-weight: 500; }

/* FAQ hubs */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.faq-layout .prose { max-width: 820px; }
.faq-map { margin: 28px 0; padding: 22px; border-radius: var(--radius); background: var(--ws-white); border: 1px solid var(--ws-sage-soft); box-shadow: var(--shadow); }
.faq-map ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 128px), 1fr)); counter-reset: step; }
.faq-map li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; background: var(--ws-cream); counter-increment: step; }
.faq-map li::before { content: counter(step); position: absolute; top: 10px; right: 12px; font: 600 13px/1 var(--sans); color: var(--ws-terracotta-text); }
.faq-map li .ti { width: 28px; height: 28px; color: var(--ws-forest); margin-bottom: 4px; }
.faq-map li strong { font: 600 15.5px/1.3 var(--sans); color: var(--ws-forest-ink); }
.faq-map li span { font-size: 13.5px; line-height: 1.45; color: var(--ws-muted); }
.faq-map figcaption { margin-top: 14px; font-size: 14.5px; color: var(--ws-muted); }
.faq-tools { position: sticky; top: 72px; z-index: 5; margin: 8px 0 28px; padding: 14px; border-radius: 18px; background: rgba(248, 245, 239, .96); border: 1px solid var(--ws-sage-soft); backdrop-filter: blur(6px); }
.faq-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1.5px solid var(--ws-sage); border-radius: 14px; background: var(--ws-white); }
.faq-search:focus-within { border-color: var(--ws-forest); box-shadow: 0 0 0 4px rgba(31, 107, 79, .14); }
.faq-search .ti { width: 20px; height: 20px; color: var(--ws-forest); }
.faq-search input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; font: 400 16px/1.4 var(--sans); color: var(--ws-charcoal); }
.faq-search input:focus { outline: none; }
.faq-tools .topics { margin-top: 12px; }
.faq-none { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; color: var(--ws-terracotta-text); font-weight: 500; }
.faq-group { margin: 0 0 40px; scroll-margin-top: 180px; }
.faq-group[hidden], .faq-item[hidden] { display: none; }
.faq-group-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.faq-group-head .tool-icon { margin: 4px 0 0; width: 46px; height: 46px; border-radius: 14px; }
.faq-group-head h2 { margin-bottom: 6px; }
.faq-group-head p { margin: 0; color: var(--ws-muted); }
.faq-item { margin: 0 0 14px; padding: 18px 20px; border-radius: 16px; background: var(--ws-white); border: 1px solid var(--ws-sage-soft); scroll-margin-top: 180px; }
.faq-item h3 { display: flex; gap: 10px; align-items: flex-start; font-size: clamp(21px, 2.2vw, 25px); margin: 0 0 8px; }
.faq-item h3 .ti { flex: none; width: 22px; height: 22px; margin-top: 4px; color: var(--ws-terracotta-text); }
.faq-answer > :last-child { margin-bottom: 0; }
.faq-answer p:first-child { color: var(--ws-charcoal); }
.faq-answer ul { margin: 8px 0 12px; }
.faq-plain { margin: 0 0 36px; }
@media (max-width: 600px) { .faq-tools { position: static; } .faq-group-head .tool-icon { display: none; } .faq-item { padding: 16px; } }
.faq-none[hidden] { display: none; }
.faq-tools .chip { background: var(--ws-white); }
.faq-tools .chip[aria-pressed="true"] { background: var(--ws-forest); color: var(--ws-cream); border-color: var(--ws-forest); }
.faq-group-head { align-items: center; }
.faq-group-head h2 { margin-top: 0; }
.prose .faq-group-head .tool-icon { margin-top: 0; }

/* Product screenshots in articles */
.post-shot { margin: 22px 0 26px; }
.post-shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--ws-sage-soft); box-shadow: 0 18px 40px -30px rgba(18, 63, 47, .55); background: var(--ws-white); }
.post-shot figcaption { margin-top: 8px; font-size: 14px; color: var(--ws-muted); }

/* FAQ illustrations: sleep hours scale and night of cycles */
.sleep-ladder, .sleep-night { margin: 26px 0; padding: 20px; border-radius: var(--radius); background: var(--ws-white); border: 1px solid var(--ws-sage-soft); box-shadow: var(--shadow); }
.sl-bar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; }
.sl-zone + .sl-zone { margin-left: 4px; }
.sl-zone { grid-column: calc(var(--a) + 1) / calc(var(--b) + 1); display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 12px; min-width: 0; }
.sl-zone strong { font: 600 15px/1.2 var(--sans); }
.sl-zone small { font-size: 13px; line-height: 1.35; }
.z-short { background: #F3DED6; color: #6A2E1E; }
.z-ok { background: var(--ws-forest); color: var(--ws-cream); }
.z-long { background: var(--ws-sage-soft); color: var(--ws-forest-ink); }
.sl-ticks { position: relative; height: 18px; margin-top: 6px; font-size: 12.5px; color: var(--ws-muted); }
.sl-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.sl-ticks span:first-child { transform: none; }
.sl-ticks span:last-child { transform: translateX(-100%); }
.sl-zone strong { color: inherit; }
.sleep-ladder figcaption, .sleep-night figcaption { margin-top: 12px; font-size: 14px; color: var(--ws-muted); }
.sn-cycles { display: grid; gap: 8px; }
.sn-cycle { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center; }
.sn-label { font-size: 13.5px; color: var(--ws-muted); }
.sn-track { display: flex; height: 22px; border-radius: 999px; overflow: hidden; background: var(--ws-sage-soft); }
.sn-seg { width: var(--w); }
.s-light { background: #B5CFBB; }
.s-deep { background: var(--ws-forest-ink); }
.s-rem { background: #C97B63; }
.sn-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 14px; }
.sn-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 560px) { .sl-bar { grid-template-columns: 1fr; } .sl-zone { grid-column: auto; } .sl-ticks { display: none; } }
.faq-group-head > div { flex: 1; min-width: 0; }

/* Tall phone screenshots sit at phone width instead of filling the column */
.post-shot.is-portrait { text-align: center; }
.post-shot.is-portrait img { width: auto; max-width: min(340px, 90%); max-height: 640px; object-fit: contain; }
.post-shot.is-portrait figcaption { text-align: center; }
