/*
Theme Name: Zero 2026
Theme URI: https://zerolongevity.com/blog/
Author: Zero Longevity Science
Author URI: https://zerolongevity.com
Description: Zero blog theme matching the zerolongevity.com site: floating pill header, coral hero with search, featured post, category-coloured covers, All articles / search page, white reading sheet with contents list, and the main site's app CTA and footer. Customize → Zero blog has the hero text, quiz link and the "Most asked questions" switch.
Version: 1.0.3
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zero-2026
*/
:root {
  /* Brand — sampled from zerolongevity.com (Framer) */
  --coral: #FF4130;          /* hero + CTA surfaces, large type only on white */
  --coral-hover: #F84A39;
  --coral-ink: #C42B1C;      /* coral for small text/links on light surfaces (5.7:1 on white) */
  --maroon: #6E0033;
  --ink: #1A1A1A;            /* page background (dark) + text on light */
  --ink-2: #242424;          /* raised card on dark */
  --ink-3: #2E2E2E;          /* footer / hover */
  --line-dark: rgba(255,255,255,.10);
  --text-on-dark: #FFFFFF;
  --muted-on-dark: #C4C4C4;  /* main-site body copy colour */
  --faint-on-dark: #A7A7A7;
  --paper: #FAFAFA;          /* article reading sheet + floating nav */
  --paper-2: #F3F1F2;
  --text-on-paper: #1A1A1A;
  --muted-on-paper: #474747;
  --line-paper: #E4E1E2;
  --green: #3CC85A;          /* fasting-ring green from the app */

  --display: "Graphik Cond Web", "Graphik Cond Web Semibold", "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Graphik", "Graphik Regular", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-pill: 1000px;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --max: 1200px;
  --gutter: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text-on-dark);
  font-family: var(--body); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; line-height: .98; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Floating pill nav (mirrors the main site) ---------- */
/* Fixed like the main site: pill 24px from the top, coral hero runs to the top edge underneath.
   --nav-space = 24px offset + 72px pill; #content reserves it, the hero pulls back under it. */
:root { --nav-space: 96px; }
.nav-shell { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 24px var(--gutter) 0; pointer-events: none; }
.nav-shell > * { pointer-events: auto; }
#content { padding-top: var(--nav-space); }
.nav {
  max-width: 1200px; margin: 0 auto; background: var(--paper); color: var(--ink);
  border-radius: var(--r-pill); padding: 12px 16px 12px 32px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.28);
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { display: block; width: 78px; height: 26px; color: var(--ink); }
.nav-shell.on-coral .wordmark { color: #fff; }
.brand .tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-ink); border-left: 1px solid var(--line-paper); padding-left: 10px; }
.nav-links { display: flex; gap: 2px; margin: 0 auto; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 10px; border-radius: var(--r-pill); color: #333; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper-2); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.icon-btn.dark { background: var(--ink); color: #fff; }
.store-ico { background: rgba(26,26,26,.2); color: #fff; }
.nav .store-ico { width: 48px; height: 48px; background: none; padding: 0; overflow: hidden; }
.store-ico img { width: 48px; height: 48px; }
.nav-actions .store-ico + .store-ico { margin-left: 0; }
.nav-shell.on-coral .nav .store-ico { background: none; }
.quiz-btn { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 16px; border-radius: var(--r-pill); background: rgba(0,0,0,.05); border: 1px solid rgba(0,0,0,.12); white-space: nowrap; display: inline-flex; gap: 6px; margin-right: 10px; }
.quiz-btn .short { display: none; font-size: 14px; }
/* The blog header also carries category links, so the main site's "Is Zero right for you?" lead-in is dropped
   and the chip shortens when space runs out. */
@media (max-width: 1319px) { .quiz-btn .long { display: none; } .quiz-btn .short { display: inline; } }
.menu-btn { display: none; }
/* Over the coral hero the pill goes translucent, like the main site (rgba(0,0,0,.2) + blur).
   Once the hero scrolls out from under it, it switches to the white pill. */
.nav-shell.on-coral .nav { background: rgba(0,0,0,.2); color: #fff; box-shadow: none; -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px); }
.nav-shell.on-coral .brand .tag { color: #fff; border-left-color: rgba(255,255,255,.35); }
.nav-shell.on-coral .nav-links a { color: #fff; }
.nav-shell.on-coral .nav-links a:hover, .nav-shell.on-coral .nav-links a[aria-current="page"] { background: rgba(255,255,255,.16); color: #fff; }
.nav-shell.on-coral .icon-btn { background: rgba(255,255,255,.16); color: #fff; }
.nav-shell.on-coral .store-ico { background: rgba(0,0,0,.18); }
.nav-shell.on-coral .quiz-btn { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); color: #fff; }

/* Mobile menu: opens under the pill below 1180px. */
.menu-btn .i-close { display: none; }
.nav-shell.menu-open .menu-btn .i-open { display: none; }
.nav-shell.menu-open .menu-btn .i-close { display: block; }
.menu-panel { max-width: 1200px; margin: 8px auto 0; background: #fff; color: var(--ink); border-radius: 28px; padding: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.35); max-height: calc(100vh - 120px); overflow-y: auto; animation: menu-in .18s ease-out; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.menu-panel form.search { box-shadow: none; background: #F4F4F4; margin: 0 0 8px; max-width: none; }
.menu-panel form.search input { font-size: 16px; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li a { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px; font-size: 18px; font-weight: 500; text-decoration: none; color: var(--ink); border-radius: 16px; }
.menu-panel li a::after { content: "→"; color: #9A9A9A; }
.menu-panel li a:hover, .menu-panel li a:focus-visible { background: #F4F4F4; }
.menu-panel li + li a { border-top: 1px solid #F2F2F2; }
.menu-extra { display: none; padding: 12px 14px 6px; gap: 12px; flex-direction: column; align-items: flex-start; border-top: 1px solid #F2F2F2; margin-top: 4px; }
.menu-extra .quiz-btn { display: inline-flex; margin: 0; }
@media (max-width: 1180px) { .nav-shell.menu-open .nav { background: var(--paper); color: var(--ink); } }

/* ---------- All articles / search results ---------- */
main.archive { padding: 72px 0 0; }
.archive-head { display: grid; gap: 18px; margin-bottom: 28px; }
.archive-head h1 { font-size: clamp(44px, 6vw, 76px); margin: 0; }
.archive-head form.search { margin: 6px 0 0; box-shadow: none; }
.results-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: -8px 0 22px; color: var(--muted-on-dark); font-size: 15px; }
.results-bar strong { color: #fff; font-weight: 500; }
.results-bar button { background: none; border: 0; color: var(--coral); font: inherit; font-weight: 500; cursor: pointer; padding: 0; }
.chip { cursor: pointer; font-family: inherit; }
mark { background: rgba(255,65,48,.28); color: inherit; border-radius: 3px; padding: 0 2px; }
.load-more { display: flex; justify-content: center; margin-top: 40px; }
.btn-ghost { font: inherit; font-size: 15px; font-weight: 500; color: #fff; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-pill); padding: 12px 22px; cursor: pointer; }
.btn-ghost:hover { background: #2A2A2A; }
.empty { text-align: center; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-xl); padding: 56px 24px; }
.empty .cover { width: 96px; aspect-ratio: 1; margin: 0 auto 18px; padding: 0; border-radius: 50%; }
.empty .cover svg { position: static; width: 100%; }
.empty h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 8px; }
.empty p { color: var(--muted-on-dark); margin: 0 0 20px; }
.empty .quick a { background: rgba(255,255,255,.1); }
.sample-note { margin-top: 28px; font-size: 13px; color: var(--faint-on-dark); border: 1px dashed var(--line-dark); border-radius: 12px; padding: 10px 14px; }

/* ---------- Home: hero ---------- */
.hero { background: var(--coral); margin-top: calc(-1 * var(--nav-space)); padding: 168px 0 140px; text-align: center; }
.hero h1 { font-size: clamp(48px, 8vw, 96px); margin: 0 auto 18px; max-width: 900px; color: #fff; }
.hero p.lede { font-size: 20px; line-height: 1.35; max-width: 620px; margin: 0 auto 30px; color: #fff; }
form.search {
  max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink); border-radius: var(--r-pill); padding: 6px 6px 6px 20px;
  box-shadow: 0 10px 30px rgba(110,0,51,.25);
}
form.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; background: transparent; color: var(--ink); min-width: 0; }
form.search button { border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: var(--r-pill); cursor: pointer; }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; font-size: 14px; }
.quick span { color: #fff; font-weight: 500; padding: 6px 0; }
.quick a { text-decoration: none; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(26,26,26,.14); color: #fff; font-weight: 500; }
.quick a:hover { background: rgba(26,26,26,.24); }

/* ---------- Featured post ---------- */
.featured { margin-top: -90px; position: relative; }
.feature-card {
  display: grid; grid-template-columns: 1.25fr 1fr; background: var(--ink-2);
  border-radius: var(--r-xl); overflow: hidden; text-decoration: none;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
/* Image fills the whole card height next to the copy; falls back to 16:9 when stacked. */
.feature-card .media { background: #000; overflow: hidden; position: relative; min-height: 340px; }
.feature-card .media img { position: absolute; inset: 0; }
.feature-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-card:hover .media img { transform: scale(1.03); }
.feature-card .body { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }
.feature-card h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0; }
.feature-card p { margin: 0; color: var(--muted-on-dark); font-size: 17px; }
.byline { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--faint-on-dark); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--coral); color: var(--ink); flex: none; }
.avatar.lg { width: 56px; height: 56px; font-size: 18px; }
.byline strong { color: #fff; font-weight: 500; }

/* ---------- Sections ---------- */
section.block { padding: 72px 0 0; }
[hidden] { display: none !important; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin: 0; }
.section-head a { color: var(--muted-on-dark); font-size: 15px; text-decoration: none; }
.section-head a:hover { color: #fff; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-bottom: 28px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; text-decoration: none; font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: var(--r-pill); background: var(--ink-2); color: var(--muted-on-dark); border: 1px solid var(--line-dark); }
.chip small { color: var(--faint-on-dark); margin-left: 6px; font-weight: 400; }
.chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.chip[aria-pressed="true"] small { color: #666; }

/* ---------- Post cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1.02; margin: 0; letter-spacing: -0.005em; }
.card p { margin: 0; color: var(--muted-on-dark); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.meta { font-size: 13.5px; color: var(--faint-on-dark); }

/* Typographic covers: most posts have no featured image, so the theme renders a
   category-coloured cover with the fasting-ring motif instead of an empty box. */
.cover { position: relative; aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; background: var(--c-bg); color: var(--c-fg); display: flex; align-items: flex-end; padding: 18px; }
.cover svg { position: absolute; right: -14%; top: -22%; width: 78%; height: auto; transition: transform .6s ease; }
.card:hover .cover svg { transform: rotate(18deg); }
.cover .label { position: relative; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--c-pill); color: var(--c-pill-fg); padding: 6px 10px; border-radius: var(--r-pill); }
.cat-health    { --c-bg: var(--maroon); --c-fg: #fff; --c-ring: var(--coral); --c-track: rgba(255,255,255,.12); --c-pill: rgba(255,255,255,.14); --c-pill-fg: #fff; }
.cat-news      { --c-bg: var(--coral);  --c-fg: var(--ink); --c-ring: #fff; --c-track: rgba(26,26,26,.14); --c-pill: var(--ink); --c-pill-fg: #fff; }
.cat-qa        { --c-bg: #2E2E2E; --c-fg: #fff; --c-ring: var(--coral); --c-track: rgba(255,255,255,.08); --c-pill: rgba(255,255,255,.12); --c-pill-fg: #fff; }
.cat-spotlight { --c-bg: #F1E4D6; --c-fg: var(--ink); --c-ring: var(--coral); --c-track: rgba(110,0,51,.10); --c-pill: var(--ink); --c-pill-fg: #fff; }
.cat-dibmf     { --c-bg: #123B2A; --c-fg: #fff; --c-ring: var(--green); --c-track: rgba(255,255,255,.10); --c-pill: rgba(255,255,255,.14); --c-pill-fg: #fff; }
.cat-other     { --c-bg: #3A3A3A; --c-fg: #fff; --c-ring: #C4C4C4; --c-track: rgba(255,255,255,.08); --c-pill: rgba(255,255,255,.12); --c-pill-fg: #fff; }
.ring-track { stroke: var(--c-track); }
.ring-arc { stroke: var(--c-ring); }


/* ---------- White bands: most-asked questions ----------
   Same components as the main site's Framer "Testimonials Section" / "FAQ Section":
   white band, centred Heading 3 (52/54) + 22px subtitle, #FAFAFA cards with a 1px #F2F2F2 border and 24px radius. */
.band { background: #fff; color: var(--ink); padding: 100px 0; margin-top: 72px; overflow: hidden; }
section.block.band { padding: 100px 0; }
/* Consecutive bands read as one white area: no top padding, and overlap 1px so no seam shows. */
section.block.band:not([hidden]) + section.block.band { padding-top: 0; margin-top: -1px; }
.band-head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; margin: 0 auto 53px; max-width: 840px; }
.band-head h2 { font-size: clamp(36px, 4.4vw, 52px); line-height: 1.04; margin: 0; color: var(--ink); }
.band-head p { margin: 0; font-size: 22px; line-height: 1.4; color: #474747; max-width: 684px; }
.band-more { display: flex; justify-content: center; margin-top: 40px; }
.band-more a { font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 10px 20px; border-radius: var(--r-pill); border: 1px solid #E4E4E4; }
.band-more a:hover { background: #FAFAFA; }


/* FAQ: dark "FAQ" pill, then a 796px stack of accordion cards (native <details>). */
.pill-dark { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 1px solid rgba(255,255,255,.04); border-radius: 120px; padding: 4px 16px 4px 4px; font-size: 16px; line-height: 24px; letter-spacing: -0.01em; }
.pill-dark .ico { width: 30px; height: 28px; border-radius: 87px; background: rgba(255,255,255,.04); border: .7px solid rgba(255,255,255,.16); display: grid; place-items: center; }
.faq { max-width: 796px; margin: 0 auto; display: grid; gap: 16px; }
.faq details { background: #FAFAFA; border: 1px solid #F2F2F2; border-radius: 24px; padding: 8px 20px; }
.faq details[open] { padding-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 0 20px 40px; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; left: 0; top: 33px; width: 16px; height: 2px; border-radius: 10px; background: #000; opacity: .3; transition: transform .25s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
.faq .answer { padding: 0 20px 20px 40px; font-size: 17px; line-height: 1.5; color: #474747; animation: faq-in .25s ease; }
.faq .answer p { margin: 0 0 10px; }
.faq .answer a { color: var(--coral-ink); font-weight: 500; text-decoration: none; }
.faq .answer a:hover { text-decoration: underline; }
@keyframes faq-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Coral CTA + footer (same components as main site) ---------- */
.cta { margin-top: 88px; background: var(--coral); color: #fff; border-radius: 40px; padding: 44px; position: relative; overflow: hidden; overflow: clip; }
.cta-copy { position: relative; z-index: 1; max-width: 560px; }
.app-icon { width: 64px; height: 64px; border-radius: 13px; background: #fff; color: #FF321E; display: grid; place-items: center; margin-bottom: 26px; box-shadow: 0 6px 18px rgba(110,0,51,.18); }
.app-icon svg { width: 49px; height: 17px; }
.cta h2 { font-size: clamp(40px, 5vw, 64px); margin: 0 0 14px; }
.cta p { margin: 0 0 28px; font-size: 18px; color: #fff; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 8px; background: #1A1A1A; color: #fff; text-decoration: none; padding: 6px 14px 6px 12px; border: 0.55px solid #4F4F4F; border-radius: 124px; }
.store small { display: block; font-size: 9px; font-weight: 500; letter-spacing: -0.22px; line-height: 1.2; }
.store img { width: auto; height: 24px; flex: none; }
.store b { display: block; font-size: 15px; font-weight: 500; letter-spacing: -0.27px; line-height: 1.2; }
/* App-screen strip from the main site (Framer Footer CTA "image 18"): 494px wide, tilted -30deg,
   bleeding off the card's top, right and bottom. Tablet and mobile use 375px. */
.cta-collage { position: absolute; width: 494px; aspect-ratio: 2460 / 6542; top: -559.48px; right: -70.07px; transform: rotate(-30deg); pointer-events: none; }
.cta-collage img { display: block; width: 100%; height: 100%; }

footer.site { margin: 24px 0 24px; }
.foot { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.08); border-radius: 40px; padding: 40px; display: grid; grid-template-columns: 1fr 250px 230px; gap: 32px; color: #fff; font-size: 17px; }
.foot h4 { margin: 0 0 14px; font-size: 17px; letter-spacing: .01em; text-transform: uppercase; color: #fff; font-weight: 400; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; line-height: 1.4; }
.foot a { text-decoration: none; }
.foot ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot .tagline { margin: 0 0 12px; max-width: 290px; color: var(--muted-on-dark); font-size: 17px; line-height: 1.45; }
.foot .store-round { display: flex; gap: 8px; }
.foot .store-round a { width: 48px; height: 48px; border-radius: 50%; display: block; }
.foot .store-round a:hover { opacity: .85; }
.foot .store-round img { width: 48px; height: 48px; }
.foot .follow { margin: 28px 0 14px; font-size: 15px; color: var(--faint-on-dark); }
.foot .social { display: flex; align-items: center; gap: 22px; }
.foot .social a { display: grid; place-items: center; opacity: .95; }
.foot .social a:hover { opacity: .7; }
.foot .social img { height: 18px; width: auto; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); padding-top: 28px; margin-top: 12px; font-size: 17px; color: var(--muted-on-dark); }
.foot .mini-icon { width: 48px; height: 48px; border-radius: 8px; background: var(--coral); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.foot .mini-icon svg { width: 36px; height: 12px; }

/* ---------- Article view ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--coral); width: 0; z-index: 60; }
.article-head { padding: 64px 0 40px; }
.crumbs { font-size: 14px; color: var(--faint-on-dark); margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: var(--muted-on-dark); }
.crumbs a:hover { color: #fff; }
.article-head h1 { font-size: clamp(44px, 6.4vw, 80px); margin: 0 0 20px; max-width: 980px; }
.dek { font-size: clamp(19px, 2vw, 23px); line-height: 1.35; color: var(--muted-on-dark); max-width: 760px; margin: 0 0 32px; }
.head-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 15px; color: var(--faint-on-dark); }
.head-meta .person { display: flex; align-items: center; gap: 12px; }
.head-meta .person strong { color: #fff; font-weight: 500; display: block; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(60,200,90,.14); color: #8FE3A3; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: #555; }
.share { margin-left: auto; display: flex; gap: 6px; }
.share .icon-btn { background: var(--ink-2); color: #fff; border: 1px solid var(--line-dark); }

.sheet { background: var(--paper); color: var(--text-on-paper); border-radius: var(--r-xl); padding: 64px 48px 72px; display: grid; grid-template-columns: 220px minmax(0, 680px); gap: 64px; justify-content: center; }
.toc { position: sticky; top: 104px; align-self: start; font-size: 14px; }
.toc h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #777; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line-paper); }
.toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: #666; line-height: 1.3; }
.toc a.active { color: var(--ink); border-left-color: var(--coral); font-weight: 500; }

.prose { font-size: 19px; line-height: 1.7; color: #262626; }
.prose > p:first-child::first-letter { font-family: var(--display); font-weight: 700; float: left; font-size: 92px; line-height: .8; padding: 8px 12px 0 0; color: var(--coral); }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1.02; color: var(--ink); margin: 2em 0 .55em; letter-spacing: -0.01em; scroll-margin-top: 110px; }
.prose a { color: var(--coral-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.3em; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: .7em; }
/* Ring centred on the first line: half a line-height (lh), minus half the 14px ring. */
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .48em; top: calc(.5lh - 7px); width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; border: 2.5px solid var(--coral); }
.pull { margin: 1.6em 0; padding: 0 0 0 26px; border-left: 4px solid var(--coral); font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.08; color: var(--ink); }
.takeaways { background: var(--paper-2); border-radius: var(--r-lg); padding: 28px 30px; margin: 0 0 2em; }
.takeaways h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); font-weight: 600; }
.takeaways ul { margin: 0; }
.takeaways li { font-size: 17px; line-height: 1.5; }
.numbered { display: grid; gap: 14px; margin: 0 0 1.4em; counter-reset: n; }
.numbered div { counter-increment: n; background: #fff; border: 1px solid var(--line-paper); border-radius: var(--r-md); padding: 20px 22px 20px 70px; position: relative; font-size: 17px; line-height: 1.6; }
.numbered div::before { content: counter(n); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 20px; }
.numbered h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.05; color: var(--ink); }
.numbered p { margin: 0; }
.inline-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 22px 24px; margin: 2em 0; }
.inline-cta .mini-ring { width: 54px; height: 54px; }
.prose .inline-cta strong { display: block; font-size: 18px; font-weight: 600; color: #fff; }
.inline-cta span { color: var(--muted-on-dark); font-size: 15px; line-height: 1.4; display: block; }
.inline-cta a { text-decoration: none; background: var(--coral); color: var(--ink); font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: var(--r-pill); white-space: nowrap; }
.author-card { display: flex; gap: 18px; align-items: flex-start; border-top: 1px solid var(--line-paper); margin-top: 2.4em; padding-top: 28px; }
.author-card h4 { margin: 0 0 2px; font-size: 18px; color: var(--ink); }
.author-card .role { font-size: 14px; color: var(--coral-ink); font-weight: 500; margin-bottom: 8px; }
.author-card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted-on-paper); }
.author-card a { color: var(--ink); font-weight: 500; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags a { text-decoration: none; font-size: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--paper-2); color: #444; }


/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .sheet { grid-template-columns: minmax(0, 680px); }
  .toc { display: none; }
}
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .feature-card .media { min-height: 0; aspect-ratio: 16/9; }
  .cta-collage { width: 375px; top: -370.52px; right: -143.94px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot .brandcol { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  :root { --nav-space: 88px; }
  .nav { padding: 12px 12px 12px 20px; gap: 8px; }
  .menu-btn { width: 40px; height: 40px; }
  .nav-actions .quiz-btn, .nav-actions .store-ico, .nav-actions .search-btn { display: none; }
  .menu-extra { display: flex; }
  .hero { padding: 120px 0 120px; }
  .hero p.lede { font-size: 18px; }
  form.search { padding-left: 16px; }
  form.search button { padding: 10px 14px; }
  .grid { grid-template-columns: 1fr; }
  .band, section.block.band { padding: 64px 0; margin-top: 56px; }
  section.block.band:not([hidden]) + section.block.band { padding-top: 0; margin-top: -1px; }
  .band-head { margin-bottom: 36px; }
  .band-head p { font-size: 18px; }
  .faq summary { font-size: 18px; line-height: 26px; }
  .faq summary::before, .faq summary::after { top: 32px; }
  .faq details { padding: 4px 16px; }
  .faq .answer { padding: 0 4px 16px 40px; }
  /* Phone: the strip sits under the copy (as a bottom bleed) so it never covers the heading. */
  .cta { padding: 40px 26px 260px; }
  .cta-collage { top: auto; bottom: -500px; right: -100px; }
  .cta h2 { font-size: 36px; }
  .cta h2 br { display: none; }
  .foot { border-radius: var(--r-xl); }
  .sheet { padding: 32px 20px 44px; border-radius: var(--r-lg); }
  .prose { font-size: 18px; }
  .prose h2 { font-size: 32px; }
  .pull { font-size: 28px; }
  .inline-cta { grid-template-columns: 1fr; }
  .inline-cta .mini-ring { display: none; }
  .share { margin-left: 0; }
  .foot { grid-template-columns: 1fr; }
}

/* =====================================================================
   zero-2026 additions on top of the proposal styles (assets/base.css)
   ===================================================================== */

/* Self-hosted Graphik: @font-face rules are printed by functions.php so the URLs
   can fall back to zero-2024's copy while this theme ships without font files. */

/* Real fonts are narrower than the mockup's stand-ins: tighten the display face a touch. */
.display, .card h3, .prose h2, .pull { font-synthesis: none; }

/* WordPress admin bar pushes the sticky pill down. */
body.admin-bar .nav-shell { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav-shell { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .nav-shell { top: 0; } }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

/* Nav links come from a menu (or the category fallback): mark the current one. */
.nav-links a[aria-current="page"], .nav-links .current-menu-item > a, .nav-links .current-cat > a { background: var(--paper-2); color: var(--ink); }
.nav-shell.on-coral .nav-links .current-menu-item > a { background: rgba(255,255,255,.16); color: #fff; }
.nav-links ul { display: contents; list-style: none; margin: 0; padding: 0; }
.nav-links li { display: contents; }

/* Rules the mockup scoped to its demo-only views. */
@media (max-width: 860px) {
  .feature-card { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .feature-card .body { padding: 26px; }
  .foot { padding: 26px; }
}

/* Cards with a real featured image: same box as the typographic cover. */
.cover.has-image { padding: 18px; }
.cover.has-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .cover.has-image img { transform: scale(1.03); }
.cover.has-image .label { background: rgba(26,26,26,.72); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.feature-card .media .cover { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.feature-card .media .cover svg { width: 70%; right: -10%; top: -18%; }

/* Archive / search: pagination fallback when JS is off, and the load-more state. */
.load-more .btn-ghost { text-decoration: none; display: inline-block; }
.load-more .btn-ghost[aria-busy="true"] { opacity: .6; pointer-events: none; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border-radius: var(--r-pill); background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--muted-on-dark); text-decoration: none; font-size: 15px; }
.pagination .page-numbers.current { background: #fff; color: var(--ink); border-color: #fff; }
.js .pagination { display: none; }
.archive-desc { color: var(--muted-on-dark); font-size: 18px; max-width: 720px; margin: 0; }
.archive-desc p { margin: 0; }

/* ---------- Single post ---------- */
.article-hero-image { margin: 0 0 40px; border-radius: var(--r-xl); overflow: hidden; background: #000; }
.article-hero-image img { width: 100%; height: auto; max-height: 640px; object-fit: cover; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.head-meta .role { color: var(--faint-on-dark); font-size: 14px; }
.sheet.no-toc { grid-template-columns: minmax(0, 720px); }
.sheet.no-toc .toc { display: none; }
.share a.icon-btn { text-decoration: none; }
.share .icon-btn.copied { background: var(--green); color: var(--ink); border-color: var(--green); }
.author-tagline { font-size: 16px; color: var(--muted-on-paper); margin: 0 0 1.4em; padding-bottom: 1.2em; border-bottom: 1px solid var(--line-paper); }
.author-tagline p { margin: 0; }

/* Post content as WordPress outputs it (blocks + classic editor). */
.prose h3 { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.08; color: var(--ink); margin: 1.6em 0 .5em; scroll-margin-top: 110px; }
.prose h4, .prose h5, .prose h6 { font-size: 19px; color: var(--ink); margin: 1.4em 0 .4em; }
.prose ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.prose ol li { margin-bottom: .6em; padding-left: .2em; }
.prose ol li::marker { color: var(--coral-ink); font-weight: 600; }
.prose li > ul, .prose li > ol { margin: .6em 0 0; }
.prose img, .prose video, .prose iframe { max-width: 100%; height: auto; border-radius: var(--r-md); }
.prose figure { margin: 1.8em 0; }
.prose figure img { display: block; margin: 0 auto; }
.prose figcaption, .prose .wp-caption-text { font-size: 14px; color: #6B6B6B; text-align: center; margin-top: 10px; line-height: 1.45; }
.prose .wp-caption { max-width: 100%; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.prose .alignwide, .prose .alignfull { margin-left: 0; margin-right: 0; }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 26px; border-left: 4px solid var(--coral); font-size: 21px; line-height: 1.5; color: var(--ink); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote cite { display: block; margin-top: 10px; font-size: 15px; font-style: normal; color: #6B6B6B; }
.prose .wp-block-quote.is-style-zero-pull, .prose blockquote.pull { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.08; }
.prose hr { border: 0; border-top: 1px solid var(--line-paper); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1.6em 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-paper); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: var(--paper-2); }
.prose code { font-size: .88em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--ink); color: #fff; padding: 18px; border-radius: var(--r-md); overflow-x: auto; font-size: 15px; }
.prose pre code { background: none; padding: 0; }
.prose .wp-block-embed { margin: 1.8em 0; }
.prose .wp-block-embed__wrapper { position: relative; }
.prose .wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.prose .wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.prose .wp-block-button__link, .prose .wp-element-button { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: var(--r-pill); font-weight: 500; font-size: 16px; }
.prose .wp-block-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin: 1.4em 0; }
.prose .wp-block-group.is-style-zero-takeaways { background: var(--paper-2); border-radius: var(--r-lg); padding: 28px 30px; margin: 0 0 2em; }
.prose .wp-block-group.is-style-zero-takeaways > :first-child { margin-top: 0; }
.prose .wp-block-group.is-style-zero-takeaways > :last-child { margin-bottom: 0; }
.prose::after { content: ""; display: table; clear: both; }

/* Marketing-managed app ad (ACF "download_app_ad_images"), inserted before the first H2. */
.app-ad { display: block; margin: 2em 0; border-radius: var(--r-lg); overflow: hidden; }
.app-ad img { width: 100%; height: auto; border-radius: 0; }

/* Starbox author box (plugin output inside .prose). Restyled to match .author-card; the plugin's
   CSS is all !important, so overrides need !important plus the .prose .abh_box prefix. */
.prose .abh_box { margin: 2.4em 0 0 !important; padding: 28px 0 0 !important; border-top: 1px solid var(--line-paper); font-family: var(--body); }
.prose .abh_box ul li::before, .prose .abh_box ul li::after { content: none !important; display: none !important; }
.prose .abh_box .abh_tabs { display: inline-flex !important; width: auto !important; gap: 2px; padding: 3px !important; margin: 0 0 18px !important; border: 0 !important; border-radius: var(--r-pill); background: var(--paper-2); font: 500 14px/1 var(--body) !important; }
.prose .abh_box .abh_tabs li { display: block !important; padding: 0 !important; margin: 0 !important; }
.prose .abh_box .abh_tabs li a, .prose .abh_box .abh_tabs li a:hover { display: block; padding: 8px 14px !important; line-height: 1 !important; border-radius: var(--r-pill); color: var(--muted-on-paper) !important; background: transparent !important; }
.prose .abh_box .abh_tabs li a:hover { color: var(--ink) !important; }
.prose .abh_box .abh_tabs li.abh_active a, .prose .abh_box .abh_tabs li.abh_active a:hover { background: #fff !important; color: var(--ink) !important; padding: 8px 14px !important; box-shadow: 0 1px 3px rgba(0,0,0,.12) !important; }
.prose .abh_box .abh_tab_content { padding: 0 !important; min-height: 0 !important; border: 0 !important; }
.prose .abh_box .abh_tab_content .abh_image { width: 64px !important; margin: 2px 0 0 !important; }
.prose .abh_box .abh_tab_content .abh_image a { box-shadow: none !important; }
.prose .abh_box .abh_tab_content .abh_image img { width: 64px !important; height: 64px !important; max-width: 64px !important; object-fit: cover; box-shadow: none !important; }
.prose .abh_box .abh_tab_content .abh_text { margin-left: 84px !important; text-align: left !important; line-height: 1.55 !important; }
.prose .abh_box .abh_tab_content .abh_text .abh_name, .prose .abh_box .abh_tab_content .abh_text .fn { font: 600 18px/1.3 var(--body) !important; color: var(--ink) !important; text-transform: none !important; margin: 0 0 4px !important; }
.prose .abh_box .abh_tab_content .abh_text .abh_name a { color: var(--ink) !important; text-decoration: none !important; }
.prose .abh_box .abh_tab_content .abh_text .abh_name a:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.prose .abh_box .abh_tab_content .abh_text .abh_job:empty { display: none !important; }
.prose .abh_box .abh_tab_content .abh_text .abh_description { padding-top: 0 !important; font-size: 16px !important; line-height: 1.55 !important; color: var(--muted-on-paper); }
.prose .abh_box .abh_tab_content .abh_text .abh_allposts { font-size: 14px !important; font-weight: 500; }
.prose .abh_box .abh_tab_content .abh_text .abh_allposts a { color: var(--coral-ink) !important; }
.prose .abh_box .abh_tab_content .abh_text ul { margin: 6px 0 0 !important; padding: 0 !important; }
.prose .abh_box .abh_tab_content .abh_text ul li { padding: 10px 0 !important; margin: 0 !important; border-top: 1px solid var(--line-paper); font-size: 15px !important; line-height: 1.4 !important; }
.prose .abh_box .abh_tab_content .abh_text ul li:first-child { border-top: 0; padding-top: 4px !important; }
.prose .abh_box .abh_tab_content .abh_text ul li a { color: var(--ink) !important; font-weight: 500; }
.prose .abh_box .abh_tab_content .abh_text ul li span { font-size: 14px !important; line-height: 1.4 !important; color: #8A8A8A; }
.prose .abh_box .abh_social:empty, .prose .abh_box .abh_social:not(:has(a)) { display: none !important; }
@media (max-width: 620px) {
  .prose .abh_box .abh_tab_content .abh_image { width: 52px !important; margin-right: 14px !important; }
  .prose .abh_box .abh_tab_content .abh_image img { width: 52px !important; height: 52px !important; }
  .prose .abh_box .abh_tab_content .abh_text { margin-left: 66px !important; }
}

/* Comments (only shown where comments are open). */
.comments { background: var(--paper); color: var(--ink); border-radius: var(--r-xl); padding: 40px 48px; margin-top: 24px; }
.comments h2 { font-family: var(--display); font-size: 32px; margin: 0 0 18px; }
.comments ol { list-style: none; padding: 0; }
.comments .comment-body { border-bottom: 1px solid var(--line-paper); padding: 16px 0; }
.comments textarea, .comments input[type="text"], .comments input[type="email"], .comments input[type="url"] { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line-paper); border-radius: 12px; }
.comments .submit { font: inherit; background: var(--ink); color: #fff; border: 0; border-radius: var(--r-pill); padding: 11px 20px; cursor: pointer; }

/* Plain pages + 404. */
.page-sheet { grid-template-columns: minmax(0, 760px); }
.page-head h1 { font-size: clamp(44px, 6vw, 72px); margin: 0; }
.not-found { padding: 96px 0 24px; text-align: center; }
.not-found h1 { font-size: clamp(48px, 7vw, 88px); margin: 0 0 14px; }
.not-found p { color: var(--muted-on-dark); font-size: 19px; margin: 0 auto 28px; max-width: 560px; }
.not-found form.search { margin: 0 auto; }

@media (max-width: 620px) {
  .comments { padding: 26px 20px; border-radius: var(--r-lg); }
  .prose .alignleft, .prose .alignright { float: none; margin: 1em 0; max-width: 100%; }
  .article-hero-image { border-radius: var(--r-lg); margin-bottom: 28px; }
}

@media print {
  .nav-shell, .cta, footer.site, .toc, .share, .progress, .keep-reading { display: none !important; }
  body { background: #fff; color: #000; }
  .sheet { display: block; padding: 0; }
}

/* Header brand: two links (wordmark → main site, "Blog" → blog home). */
.brand .brand-logo { display: flex; align-items: center; text-decoration: none; }
.brand a.tag { text-decoration: none; padding-block: 6px; }
.brand a.tag:hover { text-decoration: underline; text-underline-offset: 3px; }

/* YARPP auto-display is replaced by "Keep reading". */
.prose .yarpp-related, .prose .yarpp { display: none; }
