/* CHANGENAIRE Store — brand system: Ink #111111, Paper #F7F5F0, Lavender #7C6BC0, Plum #5B2A86, Plum text #4A1D7A */
:root {
  --ink: #111111;
  --paper: #F7F5F0;
  --ember: #7C6BC0;
  --ember-text: #4A1D7A; /* Small text only: 11.03:1 on paper, 12.01:1 on white. Large display text keeps --ember. */
  --control-line: #8a8578; /* Interactive-control borders only: 3.68:1 on white, 3.38:1 on paper — passes 3:1 non-text on both. */
  --ink-soft: #2a2a2a;
  --line: #e4e0d6;
  --muted: #6f6a5e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: #0000ee; text-decoration: none; }
a:not(.btn):visited { color: #551a8b; }
/* Headings are headings, not links: an H1 self-permalink never goes blue or visited-purple */
h1 a:not(.btn), h1 a:not(.btn):visited { color: inherit; }
/* Site chrome keeps its designed styling — the blue/purple convention applies to links in page content */
.site-header a, .site-header a:visited,
footer a, footer a:visited { color: inherit; }
/* Nov 20, 2026 — height:auto on img is REQUIRED, not cosmetic: width/height
   attributes map to presentational-hint width/height, and max-width:100% alone
   overrides the width while the attribute height (e.g. 1280px) still applies —
   so a 1920x1280 illustration rendered 334px wide x 1280px tall on phones
   (Fitness #009-#013, plain <figure> imgs). .post-figure/.hero-banner imgs
   already carried height:auto and were immune. Later, more-specific rules
   (.card .art img, .product-art img height:100% + object-fit:cover) still win. */
img { display: block; max-width: 100%; height: auto; }
svg { display: block; max-width: 100%; }

/* Cross-browser form/tap normalization (Safari/iOS first) */
button, input, select, textarea { font: inherit; }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: rgba(124, 107, 192, 0.18); }
a, button { touch-action: manipulation; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-wordmark { height: 30px; width: auto; display: block; }
.brand-tm { font-size: 11px; color: var(--paper); margin-left: 3px; transform: translateY(-9px); }
.site-nav { display: flex; gap: 24px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.site-nav a { opacity: 0.85; padding: 11px 2px; }
.site-nav a:hover { opacity: 1; color: var(--ember); }
.site-nav .nav-short { display: none; }

/* ---------- header search ---------- */
.site-search-link {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; width: 44px; height: 44px;
  color: var(--paper); border-radius: 6px;
}
.site-search-link:hover { color: var(--ember); }
.site-search-link svg { width: 22px; height: 22px; }

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  .site-header { padding: 12px 14px 14px; column-gap: 12px; flex-wrap: wrap; row-gap: 10px; }
  .brand-wordmark { height: 24px; }
  .brand { flex-shrink: 0; }
  .site-nav { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 11px; letter-spacing: 0.5px; white-space: normal; overflow-x: visible; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav .nav-full { display: none; }
  .site-nav .nav-short { display: inline; }
  /* NOTE (spacing sweep, Nov 16, 2026): the 640px .hero/.section reductions
     used to live here, ABOVE their base rules, so they never won. They are
     re-declared at the end of this file, after the base rules. */
}

/* ---------- hamburger nav (tablet + phone) ---------- */
/* The toggle button — hidden on desktop, shown at tablet/phone widths. */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(247, 245, 240, 0.4);
  border-radius: 6px;
  color: var(--paper);
  font-size: 22px;
  line-height: 1;
  padding: 11px 14px;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--paper); }

@media (max-width: 1024px) {
  .site-header { flex-wrap: wrap; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav {
    display: none;
    flex: 1 1 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 6px 0 10px;
  }
  .site-header.nav-open .site-nav {
    display: flex;
    /* The open menu can be taller than a short landscape screen — let it scroll
       inside the viewport instead of pushing About/Contact out of reach. */
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
  }
  .site-nav a {
    padding: 12px 4px;
    border-top: 1px solid rgba(247, 245, 240, 0.15);
  }
  .site-nav a:first-child { border-top: none; }
  /* Keep the search link in the top row, immediately left of the hamburger,
     whether the menu is open or closed. */
  .site-search-link { order: 1; margin-left: auto; }
  .nav-toggle { order: 2; margin-left: 0; }
  .site-nav { order: 3; }
}

/* ---------- hero ---------- */
.hero {
  background: var(--ink); color: var(--paper);
  padding: 90px 28px 100px; text-align: center;
}
.hero .kicker {
  color: var(--ember); letter-spacing: 4px; font-size: 13px;
  text-transform: uppercase; margin-bottom: 18px; font-weight: 700;
}
.hero h1 { font-size: clamp(38px, 7vw, 76px); line-height: 1.05; letter-spacing: -1px; font-weight: 900; }
.hero h1 .ember { color: var(--ember); }
.hero p { max-width: 620px; margin: 22px auto 0; color: #cfc9bb; font-size: 18px; }
/* ---------- CTA button system: ink pills, lavender accents (Nov 2026) ----------
   Primary buttons are solid Ink with Paper text — quiet, confident, premium.
   Lavender appears only as the arrow accent and in hover moments, never as
   full-text color. Secondary text CTAs get a lavender underline sweep. */
.btn {
  display: inline-block; margin-top: 30px; margin-bottom: 20px; padding: 15px 40px;
  background: var(--ink); color: var(--paper); font-weight: 800;
  letter-spacing: .4px; font-size: 15px; text-transform: none;
  border: none; cursor: pointer; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn .arr { color: var(--ember); display: inline-block; transition: transform .18s ease; }
.btn:hover { background: #242424; color: var(--paper); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(17,17,17,.20); }
.btn:hover .arr { transform: translateX(5px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn.ghost { background: transparent; border: 2px solid var(--ink); color: var(--ink); }
.btn.ghost .arr { color: var(--ember); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 12px 26px rgba(17,17,17,.16); }

/* Doorway CTAs — primary pills, not naked text links */
.doorway { margin-top: 26px; }
.doorway .btn { margin-top: 0; }
.doorway.center { text-align: center; }

/* Secondary text CTAs — ink text, ember underline sweep on hover */
.read-more, a.read {
  color: var(--ink); font-weight: 700; font-size: 15px;
  background-image: linear-gradient(var(--ember), var(--ember));
  background-size: 0% 2px; background-repeat: no-repeat;
  background-position: left calc(100% - 2px); padding-bottom: 3px;
  transition: background-size .25s ease;
}
.read-more:visited, a.read:visited { color: var(--ink); }
.read-more:hover, a.read:hover { color: var(--ink); background-size: 100% 2px; }
.read-more .arr, a.read .arr { color: var(--ember); display: inline-block; transition: transform .18s ease; }
.read-more:hover .arr, a.read:hover .arr { transform: translateX(4px); }

/* ---------- sections ---------- */
.section { padding: 70px 28px; max-width: 1180px; margin: 0 auto; }
.section h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; letter-spacing: -0.5px; margin-bottom: 8px; }
.section .sub { color: var(--muted); margin-bottom: 36px; font-size: 17px; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(17,17,17,.10); }
.card .art { aspect-ratio: 1 / 1; background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 28px; overflow: hidden; }
.card .art svg { width: 100%; height: 100%; }
.card .art img { width: 100%; height: 100%; object-fit: cover; }
.card .info { padding: 18px 20px 22px; }
.card .info h3 { font-size: 17px; font-weight: 800; }
.card .info .price { color: var(--ember-text); font-weight: 800; margin-top: 6px; font-size: 17px; }
.card .info .tag { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

/* ---------- product page ---------- */
.product-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 1080px; margin: 0 auto; padding: 60px 28px; }
@media (max-width: 820px) { .product-wrap { grid-template-columns: 1fr; } }
.product-art { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 40px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-art svg { width: 100%; height: 100%; }
.product-art img { width: 100%; height: 100%; object-fit: cover; }
/* Book cover is portrait 2:3 — never crop it (Nov 8, 2026). Show the whole cover. */
.product-art img[src*="rebuilding-justice-cover"] { object-fit: contain; }
.card .art img[src*="rebuilding-justice-cover"] { object-fit: contain; }
/* Bottles are portrait photos — never crop them (Nov 16, 2026). The tall
   vertical wordmark was cut mid-word in the 1:1 tile and hero. Same
   treatment as the book cover above. */
.card .art img[src*="bottle"] { object-fit: contain; }
.product-art img[src*="bottle"] { object-fit: contain; }
.product-detail .tag { margin-bottom: 10px; }
.product-detail h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -0.5px; }
.product-detail .price { font-size: 26px; color: var(--ember); font-weight: 800; margin: 12px 0 20px; }
.product-detail .desc { color: var(--ink-soft); margin-bottom: 24px; }
.opt-label { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; font-weight: 700; }
.size-row { display: flex; gap: 10px; flex-wrap: wrap; }
.size-btn {
  min-width: 52px; padding: 10px 14px; border: 2px solid var(--control-line);
  background: #fff; cursor: pointer; font-weight: 700; border-radius: 2px;
}
.size-btn.active, .size-btn:hover { border-color: var(--ink); }
.color-row { display: flex; gap: 10px; flex-wrap: wrap; }
.color-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 2px solid var(--control-line);
  background: #fff; cursor: pointer; font-weight: 700; border-radius: 2px;
}
.color-btn .sw { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line); flex: none; }
.color-btn.active, .color-btn:hover { border-color: var(--ink); }
/* Selected size/color: a visible check as well as the border change, so the
   selected state is not conveyed by color/border alone (state is also in
   aria-checked; CSS-generated content is not announced, which is correct). */
.size-btn.active::before, .color-btn.active::before { content: "\2713 "; }
.color-shown { font-size: 13px; color: var(--muted); margin-top: 8px; }
.qty-row { display: flex; gap: 10px; align-items: stretch; }
.qty-btn {
  min-width: 52px; padding: 13px 14px; border: 2px solid var(--control-line);
  background: #fff; cursor: pointer; font-weight: 700; border-radius: 2px; font-size: 18px; line-height: 1;
}
.qty-btn:hover { border-color: var(--ink); }
.qty-input {
  width: 76px; padding: 10px; border: 2px solid var(--control-line); border-radius: 2px;
  font-weight: 700; font-size: 16px; text-align: center;
}
.subtotal-line { font-size: 17px; font-weight: 800; margin-top: 14px; }
.subtotal-line .muted { color: var(--muted); font-weight: 600; font-size: 14px; }
#paypal-button-container { margin-top: 26px; max-width: 420px; }
.order-note { font-size: 13px; color: var(--muted); margin-top: 18px; }
.thankyou { display: none; margin-top: 22px; padding: 18px; background: #eef7ee; border: 1px solid #bfe3bf; border-radius: 4px; font-weight: 600; }

/* ---------- brand strip ---------- */
.strip { background: var(--ink); color: var(--paper); padding: 60px 28px; text-align: center; }
.strip h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 900; }
.strip h2 .ember { color: var(--ember); }
.strip p { color: #cfc9bb; max-width: 640px; margin: 14px auto 0; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #a09a8c; padding: 46px 28px 34px; font-size: 14px; }
.foot-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-inner .social { display: flex; gap: 18px; }
.foot-inner .social a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.foot-inner .social a:hover { color: var(--ember); }
.foot-base { max-width: 1180px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid #2c2c2c; font-size: 12px; }

/* ---------- about ---------- */
.about-hero { background: var(--ink); color: var(--paper); padding: 80px 28px; text-align: center; }
.about-hero h1 { font-size: clamp(32px, 6vw, 60px); font-weight: 900; }
.about-body { max-width: 760px; margin: 0 auto; padding: 60px 28px; font-size: 18px; color: var(--ink-soft); }
.about-body p { margin-bottom: 22px; }
.about-body strong { color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto; padding: 0 28px 70px; }
.value-card { border: 1px solid var(--line); background: #fff; padding: 28px; border-radius: 4px; }
.value-card h3 { color: var(--ember-text); margin-bottom: 10px; font-size: 18px; }

/* ---------- blog ---------- */
.blog-list { display: grid; gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 30px 32px; transition: transform .15s ease, box-shadow .15s ease; }
.partner-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 34px 36px; margin-top: 28px; }
.partner-card h3 { font-size: 26px; font-weight: 900; margin: 14px 0 10px; letter-spacing: -0.5px; }
.partner-card p { color: var(--ink-soft); margin-bottom: 14px; }
.partner-logo { max-height: 64px; max-width: 260px; width: auto; height: auto; display: block; }
.partner-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(17,17,17,.08); }
.post-card .date { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.post-card h3 { font-size: 24px; font-weight: 900; margin: 8px 0 10px; letter-spacing: -0.5px; }
.post-card p { color: var(--ink-soft); }
.post-card .read { color: var(--ink); font-weight: 700; margin-top: 12px; display: inline-block; font-size: 15px;
  background-image: linear-gradient(var(--ember), var(--ember));
  background-size: 0% 2px; background-repeat: no-repeat;
  background-position: left calc(100% - 2px); padding-bottom: 3px;
  transition: background-size .25s ease; }
.post-card .read .arr { color: var(--ember); display: inline-block; transition: transform .18s ease; }
.post-card:hover .read { background-size: 100% 2px; }
.post-card:hover .read .arr { transform: translateX(4px); }
.article { max-width: 760px; margin: 0 auto; padding: 60px 28px 80px; }
/* Tier 3 #25 (Nov 12, 2026): overflow insurance for article text; `anywhere` is the in-tree precedent from Search. */
.article { overflow-wrap: anywhere; }
.article .date { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.article .byline { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.article h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 900; letter-spacing: -1px; line-height: 1.12; margin: 10px 0 8px; }
.article .lede { font-size: 20px; color: var(--ink-soft); margin: 18px 0 30px; }
.article h2 { font-size: 24px; font-weight: 800; margin: 38px 0 12px; }
.article p { margin-bottom: 20px; color: var(--ink-soft); font-size: 18px; }
.article strong { color: var(--ink); }
.article .cta-box { background: var(--ink); color: var(--paper); border-radius: 4px; padding: 34px; margin-top: 44px; text-align: center; }
.article .cta-box h3 { font-size: 22px; margin-bottom: 8px; }
.article .cta-box p { color: #cfc9bb; font-size: 16px; }
/* Tier 3 #20 (Nov 12, 2026): paper button inside the ink cta-box — the ink .btn was invisible on the ink box. */
.article .cta-box .btn { background: var(--paper); color: var(--ink); }
.article .cta-box .btn:hover { background: #ffffff; color: var(--ink); }
.article .cta-box .btn .arr { color: var(--ember); }
.article .back { display: inline-block; margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.article .back:hover { color: var(--ember-text); }

/* ---------- lead capture system (Oct 22, 2026) ---------- */
/* Top bar — injected by js/capture.js, scrolls away, header stays sticky. */
.cn-topbar {
  background: #4A1D7A; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 44px 10px 18px; font-size: 14px; position: relative; text-align: center;
}
.cn-topbar-btn {
  background: #fff; color: var(--ember-text); border: 0; border-radius: 3px;
  padding: 11px 16px; font-weight: 800; font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer; white-space: nowrap; min-height: 44px;
}
.cn-topbar-btn:hover { background: var(--ink); color: #fff; }
.cn-topbar-x {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer; padding: 11px 12px; opacity: .85;
}
.cn-topbar-x:hover { opacity: 1; }
@media (max-width: 640px) { .cn-topbar { font-size: 12.5px; flex-direction: column; gap: 8px; padding: 12px 44px 12px 14px; } .cn-topbar-btn { padding: 11px 12px; font-size: 11.5px; } }

/* Capture forms — one look everywhere, driven by js/capture.js */
.cap-free{font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:0 0 .55rem}
.cap-free strong{color:var(--ember-text)}
.cap-cover{display:block;width:148px;max-width:52%;height:auto;margin:2px auto 10px;border-radius:3px;box-shadow:0 8px 20px rgba(20,15,10,.22)}
.cn-cap .cn-capture { display: flex; flex-wrap: wrap; gap: 8px; }
.cn-cap input[type="text"], .cn-cap input[type="email"] {
  padding: 13px 14px; border: 1.5px solid var(--control-line); border-radius: 6px;
  font-size: 16px; background: #fff; color: var(--ink); min-width: 0;
  -webkit-appearance: none; appearance: none;
}
.cn-cap input[type="text"] { flex: 1 1 200px; }
.cn-cap input[type="email"] { flex: 2 1 200px; }
.cn-cap input:focus { outline: 2px solid var(--ember); outline-offset: 1px; border-color: var(--ember); }
.cn-cap button[type="submit"] {
  background: var(--ink); color: var(--paper); border: 0; border-radius: 999px;
  padding: 13px 28px; font-weight: 800; font-size: 15px; letter-spacing: .3px;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.cn-cap button[type="submit"]:hover { background: #242424; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(17,17,17,.18); }
.cn-cap button[type="submit"]:active { transform: translateY(0); box-shadow: none; }
.cn-cap button[type="submit"]:disabled { opacity: .65; cursor: wait; transform: none; box-shadow: none; }
/* Tier 3 #22 (Nov 12, 2026): full-width mobile submit. */
@media (max-width: 640px) { .cn-cap button[type="submit"] { flex: 1 1 100%; } }
/* On dark bands the submit flips to a paper pill so it stays visible */
.dark-band .cn-cap button[type="submit"], .cap-hero .cn-cap button[type="submit"] {
  background: var(--paper); color: var(--ink);
}
.dark-band .cn-cap button[type="submit"]:hover, .cap-hero .cn-cap button[type="submit"]:hover { background: #ffffff; }
.cn-cap .cn-msg { flex: 1 1 100%; font-size: 14px; font-weight: 700; color: #1d7a3a; min-height: 0; }
.cn-cap .cn-msg:empty { display: none; }
.cn-cap .cn-msg.err { color: #b3351f; }
.cn-cap .cn-done {
  font-size: 16px; font-weight: 700; color: #1d7a3a;
  background: #eef7ee; border: 1px solid #bfe3bf; border-radius: 6px; padding: 14px 16px;
}
.cn-cap .cap-fine { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* Hero capture (home, top fold, on Ink) */
.cap-hero { max-width: 560px; margin: 34px auto 0; text-align: left; }
.cap-hero h3 { font-size: 22px; font-weight: 900; letter-spacing: -0.3px; margin-bottom: 10px; line-height: 1.25; }
.cap-hero .cap-fine { color: #a49e8f; text-align: center; }
.cap-hero .cn-done { text-align: center; }

/* Guide band — light section with the offer, used inside pages */
.guide-band { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 38px 40px; margin: 44px 0; }
.guide-band .kicker { color: var(--ember-text); letter-spacing: 3px; font-size: 12px; text-transform: uppercase; font-weight: 800; margin-bottom: 10px; }
.guide-band h2, .guide-band h3 { font-size: clamp(23px, 3.4vw, 32px); font-weight: 900; letter-spacing: -0.5px; margin-bottom: 10px; }
.guide-band p { color: var(--ink-soft); margin-bottom: 18px; max-width: 640px; }
.guide-band .cn-cap { max-width: 640px; }
@media (max-width: 640px) { .guide-band { padding: 28px 22px; } }

/* Dark band — full-bleed Ember-tinted Ink section (home) */
.dark-band { background: var(--ink); color: var(--paper); padding: 70px 28px; text-align: center; }
.dark-band .kicker { color: var(--ember); letter-spacing: 4px; font-size: 12.5px; text-transform: uppercase; font-weight: 800; margin-bottom: 14px; }
.dark-band h2 { font-size: clamp(26px, 4.4vw, 42px); font-weight: 900; letter-spacing: -0.5px; }
.dark-band p { color: #cfc9bb; max-width: 620px; margin: 14px auto 0; }
.dark-band .cn-cap { max-width: 560px; margin: 28px auto 0; text-align: left; }
.dark-band .cap-fine { color: #a49e8f; text-align: center; }
.dark-band .cn-done { text-align: center; }

/* Article capture box — sits before the shop CTA in every post */
.cn-cap .cap-kicker { color: var(--ember-text); letter-spacing: 3px; font-size: 12px; text-transform: uppercase; font-weight: 800; margin-bottom: 10px; }
.cap-article { background: var(--paper); border: 2px solid var(--ember); border-radius: 6px; padding: 30px 32px; margin-top: 44px; }
.cap-article h2, .cap-article h3 { font-size: 23px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 8px; }
.cap-article p { font-size: 16px !important; margin-bottom: 16px !important; }

/* Footer subscribe block (every page) — kept compact: the full guide name
   already runs long on phones, so the footer block uses smaller type, tighter
   spacing, and no repeated paragraph under the heading. */
.foot-sub {
  max-width: 1180px; margin: 0 auto 34px; padding-bottom: 24px;
  border-bottom: 1px solid #2c2c2c;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center;
}
.foot-sub h3 { color: var(--paper); font-size: 19px; font-weight: 900; letter-spacing: -0.3px; margin-bottom: 6px; line-height: 1.25; }
.foot-sub p { color: #a09a8c; font-size: 14px; max-width: 420px; }
.foot-sub .cn-cap input[type="text"], .foot-sub .cn-cap input[type="email"] { padding: 11px 12px; }
.foot-sub .cn-cap button[type="submit"] { padding: 11px 18px; }
.foot-sub .cn-cap .cap-fine { color: #7d7769; margin-top: 8px; font-size: 12px; }
@media (max-width: 760px) { .foot-sub { grid-template-columns: 1fr; gap: 14px; } }


/* Start-here steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 30px 28px; }
.step-card .num { font-size: 15px; font-weight: 900; color: var(--ember-text); letter-spacing: 2px; margin-bottom: 12px; }
.step-card h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.3px; }
.step-card p { color: var(--ink-soft); font-size: 15.5px; }
.step-card a { color: var(--ember-text); font-weight: 800; }

/* Tally stats */
.tally { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px; max-width: 900px; margin: 40px auto 0; text-align: center; }
.tally .stat .n { font-size: clamp(38px, 5vw, 56px); font-weight: 900; color: var(--ember); line-height: 1; }
.tally .stat .l { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* FAQ */
.faq details { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 800; font-size: 17px; cursor: pointer; padding: 10px 0; }
.faq details p { color: var(--ink-soft); margin-top: 10px; }

/* Scroll reveal — only armed when fx.js adds .js-reveal */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }

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

/* ---------- cross-browser fallbacks (Oct 23, 2026 compat pass) ---------- */
/* iPhone notch in landscape: env() is 0 unless viewport-fit=cover is ever
   enabled, so max() keeps today's exact padding while future-proofing. */
.site-header { padding-left: max(28px, env(safe-area-inset-left)); padding-right: max(28px, env(safe-area-inset-right)); }
@media (max-width: 640px) {
  .site-header { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
}
/* Safari <15 has no aspect-ratio: fixed tile heights keep the grid/product
   layout (and prevent layout shift) on old iOS. */
@supports not (aspect-ratio: 1 / 1) {
  .card .art { height: 250px; }
  .product-art { height: 480px; }
  @media (max-width: 640px) { .product-art { height: 320px; } }
}


/* ---------- homepage redesign (Oct 23, 2026) — every rule scoped to
   body.home or .home-* classes that exist only in index.html, so no other
   page's rendering can change. Brighter: Paper leads, Ink is rhythm only.
   Brand colors unchanged: Ink / Paper / Lavender. ---------- */

/* Generous breathing room + pill buttons + rounder cards, home only */
body.home .section { padding-top: 88px; padding-bottom: 88px; }
body.home .card, body.home .post-card { border-radius: 12px; }
body.home .faq details { border-radius: 10px; }

/* Section kicker on light backgrounds */
.home-kicker {
  display: inline-block; max-width: 100%;
  color: var(--ember-text); letter-spacing: 3.5px; font-size: 12px;
  text-transform: uppercase; font-weight: 800; margin-bottom: 20px;
  border: 1px solid var(--ember); border-radius: 999px;
  padding: 10px 24px; background: rgba(124,107,192,.07);
}
/* Breadcrumbs above the Book Club hero kicker sat flush against the pill. */
.books-hero .crumbs { margin-bottom: 18px; }

/* Hero — light, bright, story first */
.home-hero { text-align: center; padding: 84px 28px 78px; max-width: 1180px; margin: 0 auto; }
.home-hero h1 { font-size: clamp(36px, 6.2vw, 66px); line-height: 1.08; letter-spacing: -1px; font-weight: 900; max-width: 900px; margin: 0 auto; }
.home-hero h1 .ember { color: var(--ember); }
.home-contrast { font-size: clamp(19px, 2.6vw, 26px); font-weight: 800; line-height: 1.4; margin-top: 26px; }
.home-lede { max-width: 640px; margin: 18px auto 0; color: var(--ink-soft); font-size: 18px; }
body.home .cap-hero .cap-fine { color: var(--muted); }
body.home .cap-hero input[type="text"], body.home .cap-hero input[type="email"] { box-shadow: 0 2px 8px rgba(17,17,17,.07); }

/* Explainer video slot — 16:9 frame, brand media inside */
.video-slot { max-width: 880px; margin: 44px auto 6px; }
.video-frame {
  aspect-ratio: 16 / 9; background: var(--ink); border-radius: 16px;
  overflow: hidden; box-shadow: 0 24px 50px rgba(17,17,17,.20);
  display: flex; align-items: center; justify-content: center;
}
.video-frame video { height: 100%; width: auto; max-width: 100%; display: block; background: var(--ink); }
.video-cap { color: var(--muted); font-size: 15px; margin-top: 14px; }
.video-cap strong { color: var(--ink); }
@supports not (aspect-ratio: 16 / 9) {
  .video-frame { height: 480px; }
  @media (max-width: 640px) { .video-frame { height: 300px; } }
}

/* The Idea — story strip */
.home-idea { text-align: center; }
.home-idea .pullquote {
  font-size: clamp(27px, 4.4vw, 44px); font-weight: 900; letter-spacing: -0.5px;
  line-height: 1.22; max-width: 820px; margin: 10px auto 30px;
}
.home-idea .pullquote .ember { color: var(--ember); }
.idea-copy { max-width: 700px; margin: 0 auto; }
.idea-copy p { font-size: 18px; color: var(--ink-soft); margin-bottom: 18px; }
.doorway { margin-top: 26px; }
.doorway .btn { margin-top: 0; }
.doorway.center { text-align: center; }

/* Journal cards — 3 across on home */
.home-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 26px; }

/* Rankings teaser card */
.rank-card {
  background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--ember);
  border-radius: 12px; padding: 36px 38px; margin-top: 38px;
  box-shadow: 0 16px 36px rgba(17,17,17,.07);
}
.rank-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.rank-badge { background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.rank-note { color: var(--muted); font-size: 13.5px; }
.rank-card h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; letter-spacing: -0.5px; }
.rank-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px; margin: 24px 0; }
.rank-stats .n { font-size: clamp(30px, 4vw, 42px); font-weight: 900; color: var(--ember); line-height: 1; }
.rank-stats .l { font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 7px; }
.rank-card p { color: var(--ink-soft); font-size: 17px; max-width: 680px; }

/* What the weekly email gives — four pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; box-shadow: 0 8px 20px rgba(17,17,17,.04); }
.pillar h3 { color: var(--ember-text); font-size: 18px; font-weight: 900; margin-bottom: 8px; letter-spacing: 0.2px; }
.pillar p { color: var(--ink-soft); font-size: 15.5px; }

/* The Book band */
.book-band {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(17,17,17,.07);
  display: grid; grid-template-columns: 230px 1fr; gap: 40px;
  padding: 42px 44px; align-items: center;
}
.book-cover { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 14px 30px rgba(17,17,17,.22); }

/* Pre-order hero cover: pinned proportions so Safari never stretches it */
.preorder-cover { display: block; width: 100%; max-width: 320px; height: auto; aspect-ratio: 2 / 3; object-fit: contain; margin: 0 auto; border-radius: 8px; box-shadow: 0 14px 30px rgba(17,17,17,.22); }
.book-copy h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; letter-spacing: -0.5px; margin-bottom: 10px; }
.book-copy p { color: var(--ink-soft); font-size: 17px; margin-bottom: 16px; max-width: 560px; }
.book-copy .book-price { color: var(--ink); font-size: 18px; }
.book-copy .book-price strong { color: var(--ember-text); }
@media (max-width: 720px) {
  .book-band { grid-template-columns: 1fr; padding: 32px 26px; gap: 26px; }
  .book-cover { max-width: 210px; margin: 0 auto; }
  .book-copy { text-align: center; }
  .book-copy p { margin-left: auto; margin-right: auto; }
}

/* Partners band */
.partner-band {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 40px 44px; box-shadow: 0 12px 28px rgba(17,17,17,.05);
}
.partner-band h2 { font-size: clamp(24px, 3.6vw, 36px); font-weight: 900; letter-spacing: -0.5px; margin-bottom: 12px; }
.partner-band p { color: var(--ink-soft); font-size: 17px; max-width: 700px; margin-bottom: 14px; }
.partner-band .partner-note { font-size: 13px; color: var(--muted); margin-top: 16px; margin-bottom: 0; }
@media (max-width: 640px) { .partner-band { padding: 30px 24px; } .rank-card { padding: 28px 24px; } }

/* Positioning line (Oct 24, 2026): the Forbes-for-impact association */
.home-position { font-size: clamp(17px, 2.2vw, 22px); font-weight: 700; line-height: 1.45; margin: 20px 0 0; }
.foot-tm { max-width: 1180px; margin: 16px auto 0; font-size: 11px; line-height: 1.5; color: #999; }

.section h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; letter-spacing: -0.5px; margin-bottom: 8px; }
.shop-intro { max-width: 720px; color: var(--muted); margin-bottom: 28px; }
.post-figure { margin: 20px 0 24px; }
.post-figure img { width: 100%; height: auto; border-radius: 12px; }
.post-figure figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
/* Plain figures (no .post-figure class) get the same spacing — the global
   reset zeroes margins, so an unclassed figure and its caption sat flush
   against the image and the text below. Class rules (.post-figure,
   .hero-banner) still win over this tag rule. */
figure { margin: 20px 0 24px; }
figure figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
/* Book Club shelf paragraphs and headings ran together — the reset zeroes
   them and .bookclub has no paragraph rules. The affil-note keeps its own
   top margin; its bottom margin (6px -> 18px) changes nothing visible
   because the grid below carries margin-top: 24px. */
.bookclub p { margin-bottom: 18px; }
.bookclub h2 { margin-bottom: 10px; }
.related { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; }
/* The reset zeroes hr margins, so a rule sat flush against the text below. */
hr { margin: 24px 0; }
.short-answer { background:#fff; border:1px solid var(--line); border-left:4px solid var(--ember); border-radius:6px; padding:16px 20px; margin:22px 0; font-size:16px; color:var(--ink-soft); }
.short-answer strong { color:var(--ink); }
.go-deeper { font-size:15px; margin:14px 0; color:var(--muted); }
.go-deeper a { font-weight:700; color:var(--ember-text); text-decoration:none; }
.featured-in { font-size:14px; color:var(--muted); margin-top:10px; }
.featured-in a { font-weight:600; }
.related h3 { font-size: 18px; margin-bottom: 10px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hero-banner { margin: 0; }
/* A hero banner inside an article sits directly above the first paragraph,
   so it needs the gap the top-of-page banners deliberately skip. */
.article figure.hero-banner { margin-bottom: 24px; }
.hero-banner img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: cover; object-position: center bottom; }

/* Linked titles: look like titles, behave like links */
h1 a.title-link, .rank-card h3 a { color: inherit; text-decoration: none; }
h1 a.title-link:hover, .rank-card h3 a:hover { text-decoration: underline; }

/* ---------- How-to template additions (Nov 9, 2026) ---------- */
/* Key takeaways box — new how-tos only (?v=20261109). Light summary box;
   not the dark .article .cta-box and not .short-answer (retired for new how-tos). */
.takeaways { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ember); border-radius: 6px; padding: 20px 24px; margin: 28px 0; }
.takeaways h2 { font-size: 20px; margin: 0 0 10px; }
.takeaways ul { padding-left: 22px; margin: 0; }
.takeaways li { color: var(--ink-soft); font-size: 17px; line-height: 1.55; margin-bottom: 8px; }
.takeaways li:last-child { margin-bottom: 0; }

/* At-a-glance table — new how-tos only. The wrapper scrolls sideways on narrow
   phones so the table can never push the page wider than 390px. */
.table-wrap { overflow-x: auto; margin: 24px 0; }
.article table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 0; }
.article table th, .article table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article table th { background: #ece8de; color: var(--ink); font-weight: 800; }
.article table td { color: var(--ink-soft); }
/* Spacing sweep (Nov 16, 2026): .article's overflow-wrap:anywhere (Tier 3
   #25) is inherited into table cells, so narrow phones broke ordinary words
   mid-word ("Weekl/y") instead of letting the wrapper scroll. Wrapped tables
   keep words intact; the .table-wrap scrolls sideways as designed. */
.table-wrap table th, .table-wrap table td { overflow-wrap: normal; }

/* Checked-date line — sits under the byline; same muted small-caps treatment. */
.checked-line { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- Accessibility: skip link, focus, placeholders (Nov 2026, WCAG 2.2 AA) ---------- */
/* Skip link — visually hidden until focused (keyboard users only). */
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 6px; font-weight: 800; transition: top .15s ease; }
.skip-link:focus { top: 12px; color: var(--paper); }
/* Visible keyboard focus, everywhere (mouse users unaffected — :focus-visible only). */
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; border-radius: 2px; }
.site-header :focus-visible, footer :focus-visible, .hero :focus-visible, .dark-band :focus-visible, .market-band :focus-visible {
  outline-color: #FF8A66; /* lighter Ember for dark backgrounds: 8.16:1 vs #111111, passes the 3:1 focus bar */
}
/* Keep the existing .cn-cap input:focus rule (2px Ember) — :focus-visible above also applies; no conflict. */
/* Never let the sticky header cover a focused/jumped-to element. */
html { scroll-padding-top: 76px; }
[id] { scroll-margin-top: 76px; }
/* Visually-hidden utility (also used by L-05, FM-01, TB-01). */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Briefing subscribe heading keeps its size when promoted to H2 (H-01). Mirrors the
   per-page .cap-brief h3 rule in the Briefing template. */
.cap-brief h2 { font-size: 20px; font-weight: 900; letter-spacing: -0.3px; margin-bottom: 10px; line-height: 1.3; }
/* Placeholder text: explicit color so contrast is deterministic in every browser. */
.cn-cap input::placeholder { color: #6f6a5e; opacity: 1; }
.contact-form input::placeholder, .contact-form textarea::placeholder, .release-form input::placeholder, .release-form textarea::placeholder { color: #6f6a5e; opacity: 1; }

/* Spacing sweep (Nov 12, 2026) */
/* R1 */ .section > p, .section-narrow > p { margin-bottom: 20px; }
/* R2 */ .section > ul:not([class]), .section > ol:not([class]),
       .section-narrow > ul:not([class]), .section-narrow > ol:not([class])
       { margin-bottom: 20px; padding-left: 22px; }
       .section > ul:not([class]) > li, .section > ol:not([class]) > li,
       .section-narrow > ul:not([class]) > li, .section-narrow > ol:not([class]) > li
       { margin-bottom: 8px; }
/* R3 */ .section > h2:not(:first-child) { margin-top: 32px; }
       .section > .home-kicker + h2 { margin-top: 0; }
/* R4 */ .section-narrow > h2 { margin-bottom: 8px; }
       .section-narrow > h2:not(:first-child) { margin-top: 32px; }
/* R5 */ .release-body h2 { margin-bottom: 8px; }
       .release-body p:not(.release-num) { margin-bottom: 20px; }
/* R6 */ .pillar p:not(:last-child) { margin-bottom: 12px; }
/* R7 */ .issue-feature-text p:not(:last-child) { margin-bottom: 20px; }
/* R8 */ .fc-note { margin-top: 32px; } .fc-note p { margin-bottom: 20px; }

/* Tier 3 #23 (Nov 12, 2026): shared thumbnail class for listing cards (4px = the current inline value). */
.card-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }

/* Spacing sweep (Nov 16, 2026): the 640px .hero/.section reductions used to
   sit in the early mobile block ABOVE their base rules (lines ~62-72), so at
   equal specificity the later base rules always won and every page's sections
   stayed 70px at phone width. Re-declared here, after the base rules, with
   the original values unchanged. body.home .section (higher specificity)
   still wins on the homepage, as before. */
@media (max-width: 640px) {
  .hero { padding: 60px 20px 70px; }
  .section { padding: 50px 20px; }
}

/* Spacing sweep (Nov 16, 2026; re-measured Nov 18, 2026, Fitness nav link):
   the 15-link nav row is ~1901px wide (measured live; the Fitness link adds
   ~95px to the 14-link row's ~1806px), so the full single row needs ~2139px
   (brand + nav + search + header padding). Between the 1024px hamburger
   breakpoint and ~2160px it overflowed the viewport, pushed links
   off-screen, and flex-crushed the nav labels — above 2060px the old band
   ended and the labels compressed (e.g. Professional Development 246px to
   221px at 2061px). In that band the header wraps: the nav drops to a
   centered second row ONLY when it genuinely does not fit beside the brand
   (shorter navs that fit keep their single row), and labels stay intact —
   wrapping happens between links, never inside one. Above ~2160px the full
   row fits and the single row returns. */
@media (min-width: 1025px) and (max-width: 2160px) {
  .site-header { flex-wrap: wrap; }
  .site-search-link { order: 1; }
  .site-nav { order: 2; flex-wrap: wrap; justify-content: center; }
  .site-nav a { white-space: nowrap; }
}

/* Audio player (First Change audio versions, Nov 29, 2026 — additive only) */
.audio-player{margin:26px 0;padding:18px 20px;border:1.5px solid var(--control-line);border-radius:12px;background:#fff}
.audio-player p{margin:0 0 12px;font-size:16px}
.audio-player audio{width:100%;display:block}
