/* Wellora Journal: plain CSS, no framework.
   Palette: night #172A46, porcelain #F2F5F7, lagoon #0B7A75, mint #D4EEE7, rose #F1B8C6.
   Type: Bricolage Grotesque (headings, interface), Newsreader (reading text).
   Signature: the two-tone capsule (logo, topic links, topic pages). Everything else stays quiet. */

:root {
  --night: #172A46;
  --night-2: #22395C;
  --porcelain: #F2F5F7;
  --paper: #FFFFFF;
  --lagoon: #0B7A75;
  --lagoon-dark: #08605C;
  --mint: #D4EEE7;
  --rose: #F1B8C6;
  --rose-soft: #FBE7EC;
  --text: #2E3E57;
  --muted: #5E6D84;
  --line: #DCE3EA;
  --sans: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --r-lg: 24px;
  --r-md: 14px;
  --r-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--porcelain); color: var(--text); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon); text-underline-offset: 3px; }
a:hover { color: var(--lagoon-dark); }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--night); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 4px; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--night); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.site-header.scrolled { box-shadow: 0 6px 24px -18px rgba(23, 42, 70, .45); }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--night); flex-shrink: 0; }
.logo .mark { flex-shrink: 0; }
.logo-word { display: grid; line-height: 1; }
.logo-word b { font: 800 25px/1 var(--sans); letter-spacing: -.035em; color: var(--night); }
.logo-word span { font: 600 12.5px/1 var(--sans); color: var(--lagoon); letter-spacing: .14em; margin-top: 4px; padding-left: 1px; }
.logo-light .logo-word b { color: #fff; }
.logo-light .logo-word span { color: #7FD6CB; }
.logo:hover { color: var(--night); }
.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a { position: relative; padding: 9px 12px; color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 999px; white-space: nowrap; }
.main-nav a:hover { color: var(--night); background: var(--porcelain); }
.main-nav a.on { color: var(--night); background: var(--mint); }
.header-actions { display: flex; gap: 8px; }
.header-search { display: flex; align-items: center; width: 230px; flex-shrink: 0; background: var(--porcelain); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; }
.header-search:focus-within { border-color: var(--lagoon); background: var(--paper); box-shadow: 0 0 0 4px rgba(11, 122, 117, .12); }
.header-search input { flex: 1; min-width: 0; border: 0; background: none; font: 500 14.5px var(--sans); color: var(--night); padding: 8px 0; }
.header-search input:focus { outline: none; }
.header-search input::placeholder { color: #8A97AA; }
.header-search button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--lagoon); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.header-search button:hover { background: var(--night); }
.header-search button svg { width: 17px; height: 17px; }
.search-toggle { display: none; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--porcelain); color: var(--night); display: grid; place-items: center; cursor: pointer; }
.round-btn:hover { background: var(--mint); border-color: var(--mint); }
.menu-toggle { display: none; }
.search-panel { border-top: 1px solid var(--line); background: var(--paper); padding: 12px 0 14px; }
.search-panel .search { max-width: none; }

/* ---------- search ---------- */
.search { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; max-width: 640px; }
.search:focus-within { border-color: var(--lagoon); box-shadow: 0 0 0 4px rgba(11, 122, 117, .14); }
.search svg { color: var(--muted); flex-shrink: 0; }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: 500 16px var(--sans); color: var(--night); padding: 10px 0; }
.search input:focus { outline: none; }
.search input::placeholder { color: #8A97AA; }
.search button, .btn { border: 0; border-radius: 999px; background: var(--night); color: #fff; font: 600 15px var(--sans); padding: 12px 22px; cursor: pointer; text-decoration: none; display: inline-block; white-space: nowrap; }
.search button:hover, .btn:hover { background: var(--lagoon); color: #fff; }

/* ---------- mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 80; background: var(--paper); padding: 18px 24px 32px; overflow-y: auto; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mobile-menu .search { margin-bottom: 18px; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--night); font-weight: 600; font-size: 19px; text-decoration: none; }
.mobile-menu nav a.on { color: var(--lagoon); }
.mobile-menu-foot { display: flex; gap: 18px; margin-top: 22px; }
body.menu-open { overflow: hidden; }

/* ---------- capsule pieces ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 6px; border-radius: 999px; background: var(--soft); color: var(--deep); font: 600 13.5px/1.2 var(--sans); text-decoration: none; }
.pill i { width: 22px; height: 11px; border-radius: 999px; background: linear-gradient(90deg, var(--deep) 50%, #fff 50%); box-shadow: inset 0 0 0 1.5px var(--deep); }
.pill:hover { color: var(--deep); filter: saturate(1.2) brightness(.97); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.caps { display: inline-flex; gap: 5px; }
.caps i { width: 24px; height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--deep) 50%, var(--soft) 50%); }
.big-capsule { display: inline-flex; width: 112px; height: 56px; border-radius: 999px; overflow: hidden; flex-shrink: 0; box-shadow: inset 0 0 0 2px var(--deep, var(--night)); }
.big-capsule span { flex: 1; display: grid; place-items: center; }
.big-capsule span:first-child { background: var(--deep, var(--night)); color: #fff; }
.big-capsule span:last-child { background: var(--soft, var(--mint)); }

/* ---------- sections ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 34px); margin: 0; display: flex; align-items: center; gap: 12px; }
.sec-head p { margin: 0; color: var(--muted); flex-basis: 100%; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-rose { background: var(--rose); color: var(--night); }
.btn-rose:hover { background: #F7CBD6; color: var(--night); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-line { background: transparent; color: var(--night); box-shadow: inset 0 0 0 1.5px var(--night); }
.btn-line:hover { background: var(--night); color: #fff; }
.btn-night { background: var(--night); color: #fff; }
.btn-block { display: flex; width: 100%; margin-bottom: 10px; }
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center h2 { justify-content: center; flex-basis: 100%; }

/* ---------- top note ---------- */
.topnote { background: var(--night); color: #C3D0E0; font-size: 14px; }
.topnote .wrap { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 38px; text-align: center; flex-wrap: wrap; }
.topnote a { color: var(--rose); font-weight: 600; }
.topnote a:hover { color: #fff; }

/* ---------- home: hero ---------- */
.hero { background: radial-gradient(120% 90% at 85% 40%, #22395C 0, var(--night) 60%); color: #DCE5F0; border-bottom: 0; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 70px 0 120px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; color: var(--mint); font-weight: 600; font-size: 15px; margin-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(40px, 5.4vw, 70px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin-bottom: 22px; max-width: 13ch; }
.hero-lede { font: 400 20px/1.55 var(--serif); color: #C9D6E6; max-width: 33em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-actions .btn { padding: 14px 24px; font-size: 16px; }
.search-hero { border-color: transparent; max-width: 560px; }
.hero-stats { list-style: none; margin: 34px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 18px 44px; }
.hero-stats strong { display: block; color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hero-stats span { font-size: 14px; color: #A9B8CB; }
.hero-visual { position: relative; padding: 20px 10px 30px 40px; }
.hero-photo { margin: 0; border-radius: 30px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7); outline: 8px solid rgba(255, 255, 255, .08); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-float { position: absolute; background: var(--paper); color: var(--text); border-radius: 18px; box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .55); }
.hero-float.f1 { left: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; }
.hero-float .f-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--lagoon); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.hero-float strong { display: block; color: var(--night); font-size: 15px; line-height: 1.2; }
.hero-float small { font-size: 13px; color: var(--muted); }
.hero-float.f2 { right: -6px; top: 0; padding: 14px 16px 12px; }
.hero-float.f2 strong { font-size: 13.5px; margin-bottom: 8px; }
.week { display: flex; gap: 6px; }
.week i { display: grid; justify-items: center; gap: 4px; font: 600 10.5px var(--sans); font-style: normal; color: var(--muted); }
.week b { width: 14px; height: 30px; border-radius: 999px; background: var(--porcelain); box-shadow: inset 0 0 0 1.5px var(--line); }
.week i.on b { background: linear-gradient(180deg, var(--rose) 50%, #A23B62 50%); box-shadow: none; }

/* ---------- home: trust strip (overlaps the hero) ---------- */
.trust { position: relative; margin-top: -58px; }
.trust-in { list-style: none; margin: 0; padding: 26px 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 24px 50px -30px rgba(23, 42, 70, .45); }
.trust-in li { display: flex; gap: 14px; align-items: flex-start; }
.trust-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--mint); color: var(--lagoon); display: grid; place-items: center; flex-shrink: 0; }
.trust-in strong { display: block; color: var(--night); font-size: 16px; margin-bottom: 2px; }
.trust-in span { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---------- home: topic cards ---------- */
.topics { padding: 84px 0 70px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.topic-card { display: flex; flex-direction: column; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 24px 24px 22px; transition: border-color .2s ease, box-shadow .2s ease; }
.topic-card:hover { border-color: var(--deep); box-shadow: 0 18px 40px -30px var(--deep); }
.topic-card { overflow: hidden; }
.topic-photo { position: relative; display: block; margin: -24px -24px 18px; aspect-ratio: 16 / 9; background: var(--soft); }
.topic-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.topic-card:hover .topic-photo img { transform: scale(1.04); }
.topic-ic { position: absolute; left: 18px; bottom: -20px; width: 46px; height: 46px; border-radius: 14px; background: var(--deep); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--paper); }
.topic-count { position: absolute; right: 14px; top: 14px; font: 600 12.5px var(--sans); color: var(--deep); background: var(--paper); padding: 5px 11px; border-radius: 999px; }
.topic-card h3 { margin-top: 14px; }
.topic-cap { display: inline-flex; width: 84px; height: 42px; border-radius: 999px; overflow: hidden; flex-shrink: 0; box-shadow: inset 0 0 0 2px var(--deep); }
.topic-cap span { flex: 1; display: grid; place-items: center; }
.topic-cap span:first-child { background: var(--deep); color: #fff; }
.topic-cap span:last-child { background: var(--soft); }
.topic-card h3 { font-size: 23px; margin-bottom: 6px; }
.topic-card h3 a { color: var(--night); text-decoration: none; }
.topic-card h3 a:hover { color: var(--deep); }
.topic-card > p { color: var(--muted); font-size: 15.5px; line-height: 1.5; margin-bottom: 14px; }
.topic-links { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--line); }
.topic-links li { border-bottom: 1px solid var(--line); }
.topic-links a { display: block; padding: 10px 0; color: var(--text); font-size: 15px; font-weight: 500; line-height: 1.35; text-decoration: none; }
.topic-links a:hover { color: var(--deep); }
.topic-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--deep); font-weight: 700; font-size: 15px; text-decoration: none; }
.topic-more:hover { color: var(--deep); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- home: goal picker ---------- */
.goals { background: var(--paper); padding: 76px 0; border-block: 1px solid var(--line); }
.goal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.goal-tabs button { display: inline-flex; align-items: center; gap: 9px; border: 1.5px solid var(--line); background: var(--paper); color: var(--night); font: 600 15px var(--sans); padding: 11px 18px; border-radius: 999px; cursor: pointer; }
.goal-tabs button svg { color: var(--deep); }
.goal-tabs button:hover { border-color: var(--deep); }
.goal-tabs button[aria-selected="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.goal-tabs button[aria-selected="true"] svg { color: #fff; }
.goal-panel { background: var(--soft); border-radius: var(--r-lg); padding: 30px; }
.goal-intro { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.goal-intro p { margin: 0; font: 500 21px/1.4 var(--serif); color: var(--night); max-width: 46em; }
.goal-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.goal-cols > div { background: var(--paper); border-radius: var(--r-md); padding: 20px 22px; }
.goal-cols h3 { font-size: 15px; color: var(--deep); margin-bottom: 10px; }
.goal-qs { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15.5px; color: var(--text); }
.goal-qs li::marker { color: var(--deep); }
.goal-arts { list-style: none; margin: 0; padding: 0; }
.goal-arts li + li { border-top: 1px solid var(--line); }
.goal-arts a { display: grid; gap: 3px; padding: 9px 0; text-decoration: none; }
.goal-arts strong { color: var(--night); font-size: 15.5px; line-height: 1.35; }
.goal-arts a:hover strong { color: var(--deep); }
.goal-arts time { font-size: 13px; color: var(--muted); }
.goal-empty { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- home: latest ---------- */
.latest { padding: 76px 0 60px; }
.latest-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.latest-in.solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.lead { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 480px; display: flex; align-items: flex-end; background: var(--night); box-shadow: 0 30px 60px -40px rgba(23, 42, 70, .7); }
.lead-img { position: absolute; inset: 0; background: var(--mint); }
.lead-img img, .lead-img .no-img { width: 100%; height: 100%; object-fit: cover; }
.lead-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 42, 70, 0) 25%, rgba(23, 42, 70, .55) 55%, rgba(15, 28, 48, .95) 100%); }
.lead-text { position: relative; padding: 30px; color: #DCE5F0; width: 100%; }
.lead-tags { display: flex; gap: 8px; margin: 0 0 12px; }
.tag-new, .tag-cat { font: 700 12.5px var(--sans); padding: 5px 11px; border-radius: 999px; text-decoration: none; }
.tag-new { background: var(--rose); color: var(--night); }
.tag-cat { background: rgba(255, 255, 255, .16); color: #fff; }
.tag-cat:hover { color: #fff; background: rgba(255, 255, 255, .26); }
.lead .lead-text h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 10px; }
.lead .lead-text h3 a { color: #fff; }
.lead .lead-ex { font: 400 17px/1.55 var(--serif); color: #C9D6E6; margin-bottom: 18px; }
.lead-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: #A9B8CB; }
.btn-white { background: #fff; color: var(--night); padding: 10px 18px; font-size: 14.5px; }
.btn-white:hover { background: var(--mint); color: var(--night); }
.lead h3 a, .row h3 a, .mini h3 a { color: var(--night); text-decoration: none; }
.lead h3 a:hover, .row h3 a:hover, .mini h3 a:hover { text-decoration: underline; text-decoration-color: var(--lagoon); }
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.stack a { display: grid; grid-template-columns: 116px minmax(0, 1fr) 36px; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 16px 10px 10px; text-decoration: none; }
.stack a:hover { border-color: var(--lagoon); }
.stack-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--mint); }
.stack-img img, .stack-img .no-img { width: 100%; height: 100%; object-fit: cover; }
.stack-text { display: grid; gap: 4px; }
.stack strong { color: var(--night); font-size: 16.5px; line-height: 1.3; }
.stack a:hover strong { color: var(--lagoon); }
.stack time { color: var(--muted); font-size: 13px; }
.stack-cat { color: var(--deep); font-size: 13px; font-weight: 700; }
.no-img { display: grid; place-items: center; background: var(--soft); color: var(--deep); width: 100%; height: 100%; }

/* ---------- home: glossary ---------- */
.glossary { padding: 70px 0; }
.gloss-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0 0 24px; }
.gloss-grid div { --g: var(--lagoon); background: var(--paper); border-radius: var(--r-md); padding: 20px; border: 1px solid var(--line); }
.gloss-grid div:nth-child(2) { --g: #2D4F8B; }
.gloss-grid div:nth-child(3) { --g: #5B4B8A; }
.gloss-grid div:nth-child(4) { --g: #A23B62; }
.gloss-grid div:nth-child(5) { --g: #9A5B12; }
.gloss-grid dt { font-weight: 800; color: var(--g); font-size: 18px; margin-bottom: 8px; }
.gloss-grid dd { margin: 0; font: 400 16px/1.5 var(--serif); color: var(--text); }

/* ---------- home: how we write (three steps) ---------- */
.how { background: var(--mint); color: var(--text); padding: 70px 0; }
.how h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 34px; }
.how-cols { list-style: none; margin: 0 0 30px; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.how-cols li { counter-increment: step; background: rgba(255, 255, 255, .6); border-radius: var(--r-md); padding: 22px 22px 24px; }
.how-cols li::before { content: counter(step); display: grid; place-items: center; width: 48px; height: 26px; border-radius: 999px; background: linear-gradient(90deg, var(--lagoon) 50%, #fff 50%); box-shadow: inset 0 0 0 1.5px var(--lagoon); color: #fff; font: 800 13px var(--sans); padding-right: 22px; margin-bottom: 14px; }
.how h3 { font-size: 19px; }
.how p { margin: 0; font-family: var(--serif); font-size: 17px; }
.how .text-link { color: var(--lagoon-dark); }

/* ---------- home: closing band ---------- */
.cta-band { padding: 70px 0 80px; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--rose-soft); border-radius: 32px; padding: 44px 48px; position: relative; overflow: hidden; }
.cta-in h2 { font-size: clamp(26px, 3vw, 38px); max-width: 18ch; }
.cta-in p { margin: 0; font: 400 18px/1.5 var(--serif); max-width: 36em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; flex-shrink: 0; }

/* ---------- home: topic blocks ---------- */
.topic-block { padding: 48px 0; border-top: 1px solid var(--line); }
.dot { width: 30px; height: 15px; border-radius: 999px; background: linear-gradient(90deg, var(--deep) 50%, var(--soft) 50%); box-shadow: inset 0 0 0 1.5px var(--deep); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.mini-img { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 14px; background: var(--mint); }
.mini-img img, .mini-img .no-img { width: 100%; height: 100%; object-fit: cover; }
.mini .pill { margin-bottom: 8px; }
.mini h3 { font-size: 20px; margin-bottom: 8px; }

/* ---------- list pages ---------- */
.list-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.list-head[style] { background: linear-gradient(180deg, var(--soft) 0, var(--paper) 100%); }
.list-head-in { padding: 40px 0 46px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.list-title { display: flex; align-items: center; gap: 22px; margin-bottom: 12px; }
.list-head h1 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -.03em; margin: 0; }
.list-head p { font: 400 20px/1.5 var(--serif); max-width: 40em; margin: 0; }
.list-head .search { margin-top: 24px; }
.list-head .list-count { font: 600 14px var(--sans); color: var(--deep, var(--muted)); margin-top: 14px; }
.list-body { padding: 44px 0 70px; }
.rows { display: grid; gap: 0; max-width: 980px; }
.row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row:first-child { padding-top: 0; }
.row-img { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 2; background: var(--mint); }
.row-img img, .row-img .no-img { width: 100%; height: 100%; object-fit: cover; }
.row h3 { font-size: 24px; margin: 10px 0 8px; }
.row p { font-family: var(--serif); font-size: 17.5px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; max-width: 980px; font-weight: 600; }
.pager span { color: var(--muted); }
.other-topics { padding: 0 0 70px; }
.other-topics h2 { font-size: 20px; }
.empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 54px 28px 48px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--soft, var(--mint)) 0, var(--paper) 75%); border: 1px solid var(--line); }
.empty-ico { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: var(--deep, var(--lagoon)); margin-bottom: 12px; box-shadow: 0 16px 30px -16px var(--deep, var(--lagoon)); }
.empty h2 { font-size: 27px; margin: 0; }
.empty p { color: var(--muted); font-size: 16.5px; max-width: 34em; margin: 0 0 14px; }
.empty-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; }
.empty-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--text); }

/* ---------- article ---------- */
.preview-bar { background: var(--rose); color: var(--night); text-align: center; padding: 10px 16px; font-weight: 600; }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--lagoon); transform: scaleX(var(--p, 0)); transform-origin: left; }
.post { background: var(--paper); padding-bottom: 60px; }
.post-head { padding: 40px 0 30px; max-width: 900px; }
.post-head h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.07; letter-spacing: -.03em; margin: 16px 0 18px; }
.post-lede { font: 400 22px/1.5 var(--serif); color: var(--text); max-width: 38em; }
.post-meta { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 15px; color: var(--muted); }
.post-meta > span:last-child { display: grid; }
.post-meta strong { color: var(--night); }
.post-meta .sep { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
.initial { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: #fff; font-weight: 700; font-size: 19px; flex-shrink: 0; }
.post-cover { margin-block: 0 40px; }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--r-lg); }
.post-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 56px; justify-content: center; }
.post-side .toc { position: sticky; top: 112px; }
.toc h2 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.toc li a:hover { color: var(--night); }
.toc li a.on { color: var(--deep, var(--lagoon)); border-left-color: var(--deep, var(--lagoon)); font-weight: 600; }
.toc-mobile { display: none; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--soft, var(--mint)); border-radius: var(--r-md); padding: 20px 24px; margin-bottom: 34px; }
.cta-box strong { display: block; color: var(--night); font-size: 18px; }
.cta-box span { color: var(--text); font-size: 15px; }
.cta-box .btn { background: var(--deep, var(--night)); }
.cta-box .btn:hover { background: var(--night); }
.cta-mid { margin: 40px 0 34px; }

/* reading text */
.prose { font: 400 19.5px/1.72 var(--serif); color: #24324A; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: 31px; margin: 54px 0 16px; padding-top: 6px; }
.prose h3 { font-size: 23px; margin: 34px 0 10px; }
.prose p { margin-bottom: 1.15em; }
.prose a { color: var(--lagoon); text-decoration-thickness: 1.5px; }
.prose strong { color: var(--night); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; padding-left: .2em; }
.prose ul li::marker { color: var(--deep, var(--lagoon)); }
.prose ol { list-style: none; padding: 0; counter-reset: step; }
.prose ol > li { counter-increment: step; position: relative; padding: 4px 0 4px 54px; margin-bottom: 14px; }
.prose ol > li::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%; background: var(--soft, var(--mint)); color: var(--deep, var(--lagoon)); font: 700 16px/36px var(--sans); text-align: center; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--rose); font-style: italic; font-size: 22px; color: var(--night); }
.prose figure { margin: 34px 0; }
.prose figure img { border-radius: var(--r-md); border: 1px solid var(--line); }
.prose figcaption { font: 400 15px/1.5 var(--sans); color: var(--muted); margin-top: 10px; }
.fig-zoom { display: block; cursor: zoom-in; }
.table-wrap { overflow-x: auto; margin: 26px 0 30px; border: 1px solid var(--line); border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font: 400 15.5px/1.5 var(--sans); min-width: 560px; }
.prose th { background: var(--night); color: #fff; text-align: left; padding: 13px 16px; font-weight: 600; }
.prose td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: #F8FAFC; }
.prose td:first-child { font-weight: 600; color: var(--night); }
.prose p.tip, .prose p.note, .prose p.warning { font: 400 16.5px/1.6 var(--sans); padding: 18px 20px 18px 22px; border-radius: var(--r-md); margin: 26px 0; }
.prose p.tip { background: var(--mint); color: #134A46; }
.prose p.note { background: #E6ECF4; color: var(--night); }
.prose p.warning { background: var(--rose-soft); color: #7A2440; }
.prose p.tip::before, .prose p.note::before, .prose p.warning::before { display: block; font-weight: 700; margin-bottom: 4px; }
.prose p.tip::before { content: "Tip"; }
.prose p.note::before { content: "Good to know"; }
.prose p.warning::before { content: "Please note"; }

/* article blocks made by lib/article-html.js */
.sum-box { background: var(--porcelain); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px 10px; margin: 0 0 40px; }
.sum-box h2 { margin-top: 6px !important; font-size: 25px !important; }
.sum-label { display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--sans); color: var(--deep, var(--lagoon)); }
.sum-box ul { list-style: none; padding: 0; }
.sum-box ul li { position: relative; padding-left: 30px; }
.sum-box ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 18px; height: 9px; border-radius: 999px; background: linear-gradient(90deg, var(--deep, var(--lagoon)) 50%, var(--soft, var(--mint)) 50%); }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0 30px; }
.pc-card { border-radius: var(--r-md); padding: 20px 22px; }
.pc-pros { background: var(--mint); }
.pc-cons { background: var(--rose-soft); }
.pc-title { display: flex; align-items: center; gap: 10px; font: 700 18px var(--sans); color: var(--night); margin-bottom: 10px !important; }
.pc-badge { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.pc-pros .pc-badge { color: var(--lagoon); }
.pc-cons .pc-badge { color: #B03A61; }
.pc-list { list-style: none !important; padding: 0 !important; margin: 0 !important; font: 400 16px/1.5 var(--sans); }
.pc-list li { display: flex; gap: 10px; padding-left: 0 !important; }
.pc-tick { flex-shrink: 0; margin-top: 3px; }
.pc-pros .pc-tick { color: var(--lagoon); }
.pc-cons .pc-tick { color: #B03A61; }
.ex-box { background: #FFF8E8; border-radius: var(--r-lg); padding: 24px 28px 8px; margin: 40px 0; }
.ex-box h2 { margin-top: 6px !important; font-size: 25px !important; }
.ex-label { display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--sans); color: #8A5A0A; }
.prose ul.list-q, .prose ul.list-x { list-style: none; padding: 0; }
.list-q li, .list-x li { position: relative; padding-left: 36px !important; }
.list-q li::before, .list-x li::before { position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--sans); }
.list-q li::before { content: "?"; background: #E6ECF4; color: var(--night); }
.list-x li::before { content: "×"; background: var(--rose-soft); color: #B03A61; font-size: 18px; }
.concl-box { border-top: 3px solid var(--night); padding-top: 8px; margin-top: 50px; }
.concl-box h2 { margin-top: 14px !important; }

/* faq, tags, share */
.faq { margin-top: 56px; }
.faq h2 { font-size: 31px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font: 600 19px/1.35 var(--sans); color: var(--night); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 22px; width: 22px; height: 11px; border-radius: 999px; background: linear-gradient(90deg, var(--deep, var(--lagoon)) 50%, var(--soft, var(--mint)) 50%); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(90deg); }
.faq details p { font: 400 18px/1.65 var(--serif); margin: 0 0 20px; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; }
.tags span { font-weight: 600; color: var(--muted); margin-right: 4px; }
.tags a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 14.5px; }
.tags a:hover { border-color: var(--lagoon); color: var(--lagoon); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.share span { font-weight: 600; color: var(--night); }
.share a { font-weight: 600; }
.post-note { margin-top: 28px; background: var(--porcelain); border-radius: var(--r-md); padding: 16px 20px; font-size: 15px; color: var(--muted); }
.post-note strong { color: var(--night); }
.related { padding: 60px 0 70px; }
.post-grid.info { padding: 46px 0 70px; }

/* ---------- 404 ---------- */
.notfound { padding: 80px 0 100px; max-width: 760px; }
.notfound h1 { font-size: clamp(36px, 5vw, 54px); margin: 26px 0 12px; }
.notfound p { font: 400 20px/1.5 var(--serif); }
.notfound .search { margin: 26px 0 22px; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #B9C5D6; font-size: 14.5px; padding-top: 44px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 30px; }
.site-footer h2 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #DCE4EF; text-decoration: none; }
.site-footer a:hover { color: var(--rose); text-decoration: underline; }
.logo-light, .logo-light:hover { color: #fff; }
.footer-about p { margin: 14px 0 0; max-width: 30em; line-height: 1.55; }
.footer-latest li { display: grid; gap: 2px; }
.footer-latest time { font-size: 13.5px; color: #8E9DB3; }
.footer-quiet { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0 20px; font-size: 13.5px; }
.footer-bottom p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .gloss-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: 0; }
  .header-search { margin-left: auto; width: 280px; }
}
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 56px; }
  .latest-in { grid-template-columns: 1fr; gap: 34px; }
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .post-side { display: none; }
  .toc-mobile { display: block; background: var(--porcelain); border-radius: var(--r-md); padding: 4px 18px; margin-bottom: 30px; }
  .toc-mobile summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: var(--night); }
  .toc-mobile ol { padding-left: 20px; margin: 0 0 14px; font-size: 15.5px; }
  .toc-mobile li { padding: 4px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .how-cols { grid-template-columns: 1fr; gap: 16px; }
  .hero-visual { max-width: 560px; }
  .trust-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goal-cols { grid-template-columns: 1fr 1fr; }
  .goal-cols > div:last-child { grid-column: 1 / -1; }
  .gloss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-search { display: none; }
  .search-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .site-footer { padding-top: 34px; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .header-in { min-height: 70px; }
  .logo-word b { font-size: 22px; }
  .logo-word span { font-size: 11.5px; }
  .topic-grid, .goal-cols, .gloss-grid, .trust-in { grid-template-columns: 1fr; }
  .hero-in { padding: 40px 0 90px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 16px 28px; }
  .hero-stats strong { font-size: 23px; }
  .goal-panel { padding: 20px; }
  .goal-intro { flex-direction: column; align-items: flex-start; }
  .goal-intro p { font-size: 18.5px; }
  .goal-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; }
  .goal-tabs button { flex-shrink: 0; }
  .stack a { grid-template-columns: 88px minmax(0, 1fr); }
  .cta-in { padding: 32px 24px 36px; }
    .topnote { font-size: 12.5px; }
  .topnote a { display: none; }
  .hero-visual { padding: 14px 0 24px 0; }
  .hero-float.f1 { left: 10px; }
  .hero-float.f2 { right: 6px; }
  .hero-in { gap: 28px; }
  .trio { grid-template-columns: 1fr; gap: 28px; }
  .row { grid-template-columns: 1fr; gap: 14px; }
  .pc-grid { grid-template-columns: 1fr; }
  .prose { font-size: 18px; }
  .prose h2 { font-size: 26px; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .first-note { flex-direction: column; padding: 24px; }
  .search button { padding: 11px 16px; }
  .hero-lede, .list-head p { font-size: 18.5px; }
  .post-meta .sep { margin-left: 0; padding-left: 0; border: 0; display: block; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* contact card on the contact page */
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--mint); border-radius: var(--r-md); padding: 22px 26px; margin: 10px 0 34px; font-family: var(--sans); }
.contact-card span { display: block; font-size: 15px; color: var(--muted); }
.contact-card strong { font-size: 21px; color: var(--night); }
@media (max-width: 760px) { .contact-card { flex-direction: column; align-items: flex-start; } }

.cta-in .caps { margin-bottom: 16px; }

/* ---------- topic pages ---------- */
.list-facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; }
.list-facts span { font: 600 13.5px var(--sans); color: var(--deep, var(--night)); background: var(--paper); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.list-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.list-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; }
.side-card h2 { font-size: 17px; margin-bottom: 10px; }
.side-card p { font-size: 15px; color: var(--muted); margin: 0 0 10px; }
.side-topics { list-style: none; margin: 0; padding: 0; }
.side-topics li + li { border-top: 1px solid var(--line); }
.side-topics a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--night); font-weight: 600; font-size: 15.5px; text-decoration: none; }
.side-topics a:hover { color: var(--deep); }
.side-topics .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--soft); color: var(--deep); display: grid; place-items: center; flex-shrink: 0; }
.side-topics small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 13px; }
.side-note { background: var(--night); color: #C9D6E6; border-color: var(--night); }
.side-note h2 { color: #fff; }
.side-note p { color: #C9D6E6; }
.side-note a { color: var(--rose); font-weight: 600; font-size: 15px; }
@media (max-width: 960px) {
  .list-head-grid, .list-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .list-side { position: static; }
}

.list-head-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.list-head:not(.has-photo) .list-head-grid { grid-template-columns: minmax(0, 1fr); }
.list-ico { width: 60px; height: 60px; border-radius: 18px; background: var(--deep); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 14px 28px -16px var(--deep); }
.list-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 26px 50px -32px rgba(23, 42, 70, .6); outline: 6px solid var(--paper); }
.list-photo img { width: 100%; height: 100%; object-fit: cover; }
.side-covers { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: 15px; }
.side-covers li::marker { color: var(--deep); }
@media (max-width: 760px) { .list-photo { aspect-ratio: 16 / 9; outline-width: 4px; } .list-ico { width: 50px; height: 50px; border-radius: 15px; } }
@media (max-width: 960px) { .list-head-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.stack-img em { position: absolute; left: -6px; top: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--night); color: #fff; font: 700 11.5px var(--sans); font-style: normal; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--paper); }
.stack-img { overflow: visible; }
.stack-img img, .stack-img .no-img { border-radius: 10px; }
.stack-go { width: 36px; height: 36px; border-radius: 50%; background: var(--mint); color: var(--lagoon); display: grid; place-items: center; }
.stack a:hover .stack-go { background: var(--lagoon); color: #fff; }
.stack { gap: 12px; }

/* topic rows on the home page */
.topic-block { background: var(--porcelain); }
.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mini { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.mini .mini-img { margin: 0; border-radius: 0; }
.mini-text { padding: 18px 20px 20px; }
.mini-text .pill { margin-bottom: 10px; }
.mini-ex { font: 400 15.5px/1.5 var(--serif); color: var(--text); margin: 0 0 10px; }

/* article page: content left, sidebar right (search, latest, topics, on this page) */
.post-grid { grid-template-columns: minmax(0, 760px) 340px; gap: 52px; justify-content: center; align-items: start; }
.post-side { display: grid; gap: 18px; }
.post-side .toc { position: sticky; top: 100px; }
.post-side .side-card h2 { font-size: 14px; color: var(--lagoon); margin-bottom: 12px; }
.search-side { padding: 4px 4px 4px 14px; }
.search-side svg { display: none; }
.search-side input { font-size: 14.5px; padding: 8px 0; }
.search-side button { padding: 9px 16px; font-size: 14px; }
.side-latest { list-style: none; margin: 0; padding: 0; }
.side-latest li + li { border-top: 1px solid var(--line); }
.side-latest a { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; padding: 11px 0; text-decoration: none; align-items: start; }
.sl-img { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--mint); }
.sl-img img, .sl-img .no-img { width: 100%; height: 100%; object-fit: cover; }
.side-latest em { display: block; font: 700 11.5px var(--sans); font-style: normal; color: var(--deep); margin-bottom: 3px; }
.side-latest strong { display: block; color: var(--night); font-size: 14.5px; line-height: 1.3; margin-bottom: 4px; }
.side-latest a:hover strong { color: var(--lagoon); }
.side-latest time { font-size: 12.5px; color: var(--muted); }
.toc-list { list-style: decimal; margin: 0; padding-left: 22px; border: 0; max-height: 60vh; overflow: auto; }
.toc-list li a { padding: 5px 0; margin: 0; border: 0; font-size: 14px; }
.toc-list li::marker { color: var(--muted); font-size: 13px; }
.toc-list li a.on { color: var(--lagoon); }
@media (max-width: 960px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .post-side { display: grid; }
  .post-side .toc { display: none; }
  .lead { min-height: 400px; }
}
@media (max-width: 760px) {
  .lead-text { padding: 22px; }
  .lead-foot { flex-direction: column; align-items: flex-start; }
  .stack a { grid-template-columns: 84px minmax(0, 1fr); padding-right: 12px; }
  .stack-go { display: none; }
  .trio { grid-template-columns: 1fr; }
}

/* Info pages (About, Editorial policy, Contact, Disclaimer, Privacy, Terms) */
.info-head .list-photo { aspect-ratio: 16 / 9; }
.prose p.page-lead { font: 400 21px/1.6 var(--serif); color: var(--night); margin: 0 0 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.prose p.page-lead::first-letter { font-weight: 600; color: var(--lagoon); }
.post-grid.info .prose h2 { padding-top: 6px; }
.side-pages { list-style: none; margin: 0; padding: 0; }
.side-pages li + li { border-top: 1px solid var(--line); }
.side-pages a { display: block; padding: 10px 0; color: var(--night); font-weight: 600; font-size: 15.5px; text-decoration: none; }
.side-pages a:hover { color: var(--lagoon); }
.side-contact { background: var(--mint); border-color: transparent; }
.side-contact p { margin: 0 0 14px; font-size: 15px; color: var(--night); }
@media (max-width: 960px) { .prose p.page-lead { font-size: 19px; } }

/* ---------- compact home (round 3) ---------- */
.hero-in { padding: 40px 0 92px; gap: 48px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 58px); margin-bottom: 16px; }
.hero-kicker { margin-bottom: 14px; }
.hero-lede { font-size: 18.5px; margin-bottom: 22px; }
.hero-stats { margin-top: 22px; padding-top: 18px; }
.hero-stats strong { font-size: 24px; }
.hero-visual { padding: 14px 10px 22px 34px; }
.hero-photo { aspect-ratio: 16 / 11; max-height: 400px; width: 100%; }
.trust { margin-top: -54px; }
.trust-in { padding: 18px 22px; gap: 18px; }
.trust-in li { align-items: center; }
.trust-ic { width: 40px; height: 40px; border-radius: 12px; }
.trust-in strong { font-size: 15.5px; }
.trust-in span { font-size: 13.5px; line-height: 1.4; }
.cta-band { padding: 36px 0 52px; }
.cta-in { padding: 28px 36px; border-radius: 26px; }
.cta-in h2 { font-size: clamp(23px, 2.4vw, 30px); margin-bottom: 8px; max-width: 24ch; }
.cta-in p { font-size: 16.5px; }

/* ---------- list pages: 4 articles per row, no sidebar ---------- */
.g-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; }
.g-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.g-img { display: block; aspect-ratio: 3 / 2; background: var(--mint); overflow: hidden; }
.g-img img, .g-img .no-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.g-card:hover .g-img img { transform: scale(1.04); }
.g-text { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.g-text .pill { align-self: flex-start; }
.g-text h3 { font-size: 18px; line-height: 1.3; margin: 0; }
.g-text h3 a { color: var(--night); text-decoration: none; }
.g-text h3 a:hover { color: var(--lagoon); }
.g-text p { margin: 0; font: 400 15.5px/1.5 var(--serif); color: var(--text); }
.g-text .byline { margin-top: auto; padding-top: 6px; font-family: var(--sans); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .g-img img { transition: none; } .g-card:hover .g-img img { transform: none; } }
@media (max-width: 1180px) { .g-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-in { padding: 36px 0 84px; gap: 30px; }
  .hero-visual { max-width: 520px; }
}
@media (max-width: 760px) {
  .hero-in { padding: 28px 0 80px; }
  .hero-lede { font-size: 17px; }
  .hero-visual { padding: 10px 0 20px; }
  .trust-in { padding: 16px; gap: 14px; }
  .cta-band { padding: 28px 0 40px; }
  .cta-in { padding: 24px 20px 26px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .list-body { padding: 30px 0 50px; }
}
@media (max-width: 560px) { .g-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
@media (max-width: 960px) { .hero-in { grid-template-columns: minmax(0, 1fr); } }
.hero-copy, .hero-visual { min-width: 0; }
.hero-kicker { flex-wrap: wrap; row-gap: 8px; }

/* ---------- topic cards: more text (round 4) ---------- */
.topic-card { padding: 0; }
.topic-photo { margin: 0; aspect-ratio: 16 / 8.5; }
.tc-body { display: flex; flex-direction: column; flex: 1; padding: 30px 24px 22px; }
.tc-body h3 { margin: 0 0 6px; font-size: 22px; }
.tc-body > p { color: var(--muted); font-size: 15.5px; line-height: 1.5; margin: 0 0 16px; }
.tc-covers { list-style: none; margin: 0 0 18px; padding: 14px 16px; display: grid; gap: 8px; background: var(--soft); border-radius: var(--r-md); }
.tc-covers li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; color: var(--night); }
.ck { flex-shrink: 0; margin-top: 2px; color: var(--deep); }
.tc-body .topic-links { margin-bottom: 16px; }
.tc-body .topic-more { padding-top: 14px; border-top: 1px solid var(--line); width: 100%; }

/* ---------- goal picker (round 4): side list + photo panel ---------- */
.goals { padding: 64px 0; }
.goal-wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.goal-tabs { flex-direction: column; flex-wrap: nowrap; gap: 8px; margin: 0; }
.goal-tabs button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 14px 10px 10px; border-radius: 16px; border: 1.5px solid var(--line); }
.gt-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); color: var(--deep); display: grid; place-items: center; flex-shrink: 0; }
.gt-text { display: grid; gap: 1px; }
.gt-text strong { font-size: 15.5px; font-weight: 700; }
.gt-text small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.goal-tabs button[aria-selected="true"] { background: var(--soft); border-color: var(--deep); color: var(--night); box-shadow: 0 14px 30px -24px var(--deep); }
.goal-tabs button[aria-selected="true"] svg { color: #fff; }
.goal-tabs button[aria-selected="true"] .gt-ic { background: var(--deep); color: #fff; }
.goal-tabs button[aria-selected="true"] small { color: var(--deep); }
.goal-panel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); padding: 0; overflow: hidden; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-lg); }
.goal-panel[hidden] { display: none; }
.goal-photo { margin: 0; min-height: 100%; background: var(--soft); }
.goal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.goal-main { padding: 28px 30px 30px; }
.goal-title { font-size: 25px; margin: 0 0 8px; }
.goal-line { margin: 0 0 20px; font: 400 18px/1.5 var(--serif); color: var(--text); }
.goal-main h4 { font: 700 14px var(--sans); color: var(--deep); margin: 0 0 10px; }
.goal-qs { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.goal-qs li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--night); }
.goal-arts { margin-bottom: 18px; }
.goal-empty { margin: 0 0 20px; padding: 12px 14px; background: var(--porcelain); border-radius: var(--r-md); font-size: 14.5px; }
.goal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.goal-actions .btn { padding: 11px 20px; font-size: 15px; }
@media (max-width: 1180px) { .goal-wrap { grid-template-columns: 250px minmax(0, 1fr); } .goal-panel { grid-template-columns: minmax(0, 1fr); } .goal-photo { aspect-ratio: 16 / 6; min-height: 0; } }
@media (max-width: 960px) {
  .goal-wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .goal-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .goal-tabs button { width: auto; flex-shrink: 0; }
}
@media (max-width: 760px) {
  .goals { padding: 44px 0; }
  .goal-tabs { margin-inline: -16px; padding-inline: 16px; }
  .goal-tabs button small { display: none; }
  .goal-main { padding: 20px 18px 22px; }
  .goal-title { font-size: 22px; }
  .goal-line { font-size: 16.5px; }
  .goal-actions .btn { flex: 1 1 100%; }
  .tc-body { padding: 28px 20px 20px; }
}
.topic-photo { flex-shrink: 0; }

/* ---------- hero: shorter (round 5) ---------- */
.hero-in { padding: 30px 0 84px; gap: 40px; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.hero h1 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.06; max-width: 17ch; margin-bottom: 14px; }
.hero-kicker { margin-bottom: 12px; font-size: 14px; }
.hero-lede { font-size: 17.5px; line-height: 1.5; margin-bottom: 20px; max-width: 34em; }
.hero-actions { margin-bottom: 0; }
.hero-actions .btn { padding: 12px 22px; font-size: 15.5px; }
.hero-stats { margin-top: 18px; padding-top: 14px; }
.hero-stats strong { font-size: 21px; }
.hero-stats span { font-size: 13px; }
.hero-visual { padding: 12px 8px 18px 28px; }
.hero-photo { aspect-ratio: 16 / 10; max-height: 320px; }
.hero-float.f2 { padding: 10px 12px 8px; }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); padding: 26px 0 78px; gap: 22px; }
  .hero-visual { max-width: 480px; }
}
@media (max-width: 760px) {
  .hero-in { padding: 22px 0 74px; }
  .hero-photo { max-height: 220px; }
  .hero-lede { font-size: 16.5px; }
}
@media (max-width: 760px) {
  .hero-stats, .hero-float.f1 { display: none; }
  .hero-photo { max-height: 190px; }
  .hero-actions .btn { flex: 1 1 calc(50% - 6px); padding: 11px 14px; font-size: 15px; }
}
@media (max-width: 400px) { .hero-actions .btn { flex-basis: 100%; } }

/* ---------- topic cards: shorter, same photo size (round 6) ---------- */
.topics { padding: 56px 0 50px; }
.topic-grid { gap: 18px; align-items: stretch; }
.topic-photo { aspect-ratio: auto; height: 160px; flex: 0 0 160px; }
.topic-photo img { height: 160px; }
.topic-ic { width: 40px; height: 40px; border-radius: 12px; bottom: -18px; }
.tc-body { padding: 24px 20px 16px; }
.tc-body h3 { font-size: 20px; margin-bottom: 4px; }
.tc-body > p { font-size: 14.5px; margin-bottom: 12px; }
.tc-covers { padding: 10px 12px; gap: 5px; margin-bottom: 12px; }
.tc-covers li { font-size: 13.5px; line-height: 1.35; }
.tc-covers .ck { width: 14px; height: 14px; }
.tc-body .topic-links { margin-bottom: 10px; }
.tc-body .topic-links a { padding: 7px 0; font-size: 14px; }
.tc-body .topic-more { padding-top: 10px; font-size: 14.5px; }
@media (max-width: 760px) { .topic-photo, .topic-photo img { height: 150px; } .topic-photo { flex-basis: 150px; } }

/* ---------- category / info header: shorter (round 7) ---------- */
.list-head-in { padding: 26px 0 30px; }
.list-head-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
.list-title { gap: 16px; margin-bottom: 8px; }
.list-head h1 { font-size: clamp(30px, 3.4vw, 44px); }
.list-head p { font-size: 18px; }
.list-ico { width: 50px; height: 50px; border-radius: 15px; }
.list-head .crumbs { margin-bottom: 12px; }
.list-photo, .info-head .list-photo { aspect-ratio: auto; height: 230px; outline-width: 5px; }
@media (max-width: 960px) { .list-photo, .info-head .list-photo { height: 200px; } .list-head-grid { gap: 22px; } }
@media (max-width: 760px) {
  .list-head-in { padding: 20px 0 24px; }
  .list-photo, .info-head .list-photo { height: 160px; }
  .list-head p { font-size: 16.5px; }
  .list-ico { width: 42px; height: 42px; border-radius: 12px; }
}
.tc-body { padding-top: 18px; }

/* ---------- hero fix (round 8): header already has search on desktop ---------- */
@media (min-width: 761px) { .hero .search-hero { display: none; } }
.hero .search-hero { margin-top: 16px; }
.hero-actions { margin-bottom: 0; }
.hero-stats { margin-top: 26px; max-width: 520px; gap: 14px 40px; }
.hero-stats li { min-width: 0; }
.hero-float.f1 { left: 4px; bottom: 2px; padding: 11px 16px 11px 11px; }
.hero-float.f1 .f-ic { width: 34px; height: 34px; border-radius: 10px; }
.hero-float strong { font-size: 14px; }
.hero-float small { font-size: 12.5px; }
.hero-float.f2 { right: -4px; top: 0; }

/* ---------- goal picker (round 9): dark band, tab row, content + photo ---------- */
.gx { background: radial-gradient(90% 120% at 100% 0, #22395C 0, var(--night) 60%); color: #C9D6E6; padding: 60px 0 64px; }
.gx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.gx-head h2 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); margin: 0; }
.gx-head p { margin: 0; color: #A9B8CB; font-size: 16px; max-width: 30em; }
.gx-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.gx-tabs button { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #E4EBF4; font: 600 15px var(--sans); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.gx-tabs button:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.gx-tabs button:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.gx-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.gx-tabs button[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--night); }
.gx-tabs button[aria-selected="true"] .gx-ic { background: var(--deep); }
.gx-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); background: var(--paper); border-radius: 26px; overflow: hidden; box-shadow: 0 40px 70px -46px rgba(0, 0, 0, .8); }
.gx-panel[hidden] { display: none; }
.gx-main { padding: 32px 34px 32px; color: var(--text); }
.gx-cat { display: inline-block; font: 700 13px var(--sans); color: var(--deep); background: var(--soft); padding: 5px 12px; border-radius: 999px; text-decoration: none; margin-bottom: 12px; }
.gx-cat:hover { text-decoration: underline; }
.gx-main h3 { font-size: clamp(24px, 2.4vw, 30px); margin: 0 0 8px; color: var(--night); }
.gx-line { font: 400 18px/1.5 var(--serif); margin: 0 0 22px; max-width: 34em; }
.gx-qs { list-style: none; counter-reset: q; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gx-qs li { counter-increment: q; background: var(--porcelain); border-radius: 16px; padding: 14px 14px 16px; font: 600 14.5px/1.4 var(--sans); color: var(--night); }
.gx-qs li::before { content: counter(q); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--deep); color: #fff; font-size: 13px; margin-bottom: 10px; }
.gx-arts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; }
.gx-arts a { color: var(--night); font-weight: 600; text-decoration: underline; text-decoration-color: var(--soft); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gx-arts a:hover { color: var(--deep); text-decoration-color: var(--deep); }
.gx-soon { margin: 0 0 20px; font-size: 14.5px; color: var(--muted); }
.gx-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gx-actions .btn { padding: 12px 20px; font-size: 15px; }
.gx-ghost { border: 1.5px solid var(--line); color: var(--night); background: transparent; }
.gx-ghost:hover { border-color: var(--night); }
.gx-photo { margin: 0; position: relative; min-height: 100%; background: var(--soft); }
.gx-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) { .gx-qs { grid-template-columns: minmax(0, 1fr); gap: 8px; } .gx-qs li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; } .gx-qs li::before { margin: 0; flex-shrink: 0; } }
@media (max-width: 860px) {
  .gx-panel { grid-template-columns: minmax(0, 1fr); }
  .gx-photo { order: -1; min-height: 0; height: 200px; }
}
@media (max-width: 760px) {
  .gx { padding: 42px 0 46px; }
  .gx-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .gx-tabs button { flex-shrink: 0; }
  .gx-main { padding: 22px 18px 24px; }
  .gx-line { font-size: 16.5px; }
  .gx-photo { height: 160px; }
  .gx-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .gx-tabs button { transition: none; } }
.gx-head { display: block; }
.gx-head p { margin-top: 8px; max-width: none; }
@media (min-width: 1101px) {
  .gx-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
  .gx-tabs button { padding: 7px 12px 7px 7px; font-size: 14.5px; text-align: left; line-height: 1.2; }
  .gx-ic { flex-shrink: 0; }
}
@media (min-width: 761px) and (max-width: 1100px) { .gx-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- glossary (round 10): photo + term list ---------- */
.gl { padding: 56px 0; }
.gl-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--paper); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -44px rgba(23, 42, 70, .55); border: 1px solid var(--line); }
.gl-photo { position: relative; margin: 0; min-height: 100%; background: var(--night); }
.gl-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gl-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 42, 70, .05) 20%, rgba(23, 42, 70, .9) 78%); }
.gl-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 30px 32px 32px; color: #DCE5F0; }
.gl-photo h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); margin: 0 0 8px; }
.gl-photo p { margin: 0 0 18px; font: 400 17px/1.5 var(--serif); max-width: 28em; }
.gl-list { margin: 0; padding: 14px 32px; }
.gl-row { --g: var(--lagoon); display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.gl-row:last-child { border-bottom: 0; }
.gl-row.g2 { --g: #2D4F8B; } .gl-row.g3 { --g: #5B4B8A; } .gl-row.g4 { --g: #A23B62; } .gl-row.g5 { --g: #9A5B12; }
.gl-row dt { font: 800 16px/1.3 var(--sans); color: var(--g); display: flex; align-items: center; gap: 9px; }
.gl-row dt::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--g); flex-shrink: 0; }
.gl-row dd { margin: 0; font: 400 16px/1.55 var(--serif); color: var(--text); }
@media (max-width: 960px) {
  .gl-card { grid-template-columns: minmax(0, 1fr); }
  .gl-photo { min-height: 300px; }
}
@media (max-width: 760px) {
  .gl { padding: 40px 0; }
  .gl-photo { min-height: 280px; }
  .gl-photo figcaption { padding: 22px 20px 22px; }
  .gl-list { padding: 6px 20px; }
  .gl-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; }
}

/* ---------- how we write + closing band: shorter (round 10) ---------- */
.how { padding: 44px 0 40px; }
.how h2 { margin-bottom: 20px; font-size: clamp(24px, 2.4vw, 30px); }
.how-cols { gap: 18px; margin-bottom: 18px; }
.how-cols li { padding: 16px 18px 18px; }
.how-cols li::before { margin-bottom: 10px; }
.how h3 { font-size: 17px; margin-bottom: 6px; }
.how p { font-size: 15.5px; line-height: 1.5; }
.cta-band { padding: 28px 0 40px; }
.cta-in { padding: 22px 30px; }
.cta-in h2 { font-size: clamp(21px, 2vw, 26px); margin-bottom: 6px; }
.cta-in p { font-size: 15.5px; }
.cta-in .capsule-row, .cta-in .caps { margin-bottom: 10px; }

/* ---------- goals (round 11): light section, tinted cards, all visible ---------- */
.gy { background: var(--paper); padding: 56px 0 60px; border-block: 1px solid var(--line); }
.gy .sec-head { margin-bottom: 26px; }
.gy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gy-card { position: relative; display: flex; flex-direction: column; background: var(--soft); border-radius: 22px; padding: 22px 22px 20px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.gy-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--deep); opacity: .08; pointer-events: none; }
.gy-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px var(--deep); }
.gy-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.gy-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--deep); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 10px 20px -12px var(--deep); }
.gy-top h3 { font-size: 19px; margin: 0; line-height: 1.2; }
.gy-top h3 a { color: var(--night); text-decoration: none; }
.gy-top h3 a::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.gy-cat { font: 600 12.5px var(--sans); color: var(--deep); }
.gy-line { margin: 0 0 14px; font: 400 15.5px/1.5 var(--serif); color: var(--text); }
.gy-qs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.gy-qs li { background: rgba(255, 255, 255, .75); border-radius: 12px; padding: 8px 12px; font: 600 13.5px/1.35 var(--sans); color: var(--night); }
.gy-first { position: relative; z-index: 1; margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.gy-first a { color: var(--night); font-weight: 600; }
.gy-go { position: relative; z-index: 1; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font: 700 14.5px var(--sans); color: var(--deep); text-decoration: none; }
.gy-go:hover { text-decoration: underline; text-underline-offset: 4px; }
.gy-card:focus-within { box-shadow: 0 0 0 3px var(--deep); }
@media (prefers-reduced-motion: reduce) { .gy-card { transition: none; } .gy-card:hover { transform: none; } }
@media (max-width: 1024px) { .gy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gy { padding: 40px 0 44px; } .gy-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } .gy-card { padding: 18px; } }

/* ---------- glossary: shorter (round 12) ---------- */
.gl { padding: 40px 0; }
.gl-card { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.gl-list { padding: 6px 28px; }
.gl-row { grid-template-columns: 140px minmax(0, 1fr); gap: 14px; padding: 11px 0; }
.gl-row dt { font-size: 15px; }
.gl-row dd { font-size: 15px; line-height: 1.45; }
.gl-photo figcaption { padding: 22px 26px 24px; }
.gl-photo h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 6px; }
.gl-photo p { font-size: 15.5px; margin-bottom: 14px; }
@media (max-width: 960px) { .gl-card { grid-template-columns: minmax(0, 1fr); } .gl-photo { min-height: 240px; } }
@media (max-width: 760px) { .gl-photo { min-height: 230px; } .gl-row { grid-template-columns: minmax(0, 1fr); gap: 3px; } .gl-list { padding: 4px 18px; } }

/* ---------- goals: calmer colours (round 13) ---------- */
.gy { background: var(--porcelain); }
.gy-card { background: var(--paper); border: 1px solid var(--line); }
.gy-card::after { display: none; }
.gy-card:hover { box-shadow: 0 20px 36px -28px rgba(23, 42, 70, .45); border-color: #D3DBE5; }
.gy-ic { background: var(--soft); color: var(--deep); box-shadow: none; }
.gy-cat { color: var(--muted); }
.gy-qs li { background: var(--porcelain); font-weight: 500; color: var(--text); }
.gy-go { color: var(--lagoon); }

/* ---------- info pages (round 14): one centred reading card, like a printed policy sheet ---------- */
.ipage { background: var(--porcelain); padding: 34px 0 64px; }
.ipage-in { width: min(900px, 100% - 40px); margin: 0 auto; }
.ipage .crumbs { margin-bottom: 14px; }
.ipage-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 44px 52px 40px; box-shadow: 0 24px 50px -40px rgba(23, 42, 70, .35); }
.ipage-card h1 { font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.025em; margin: 0 0 14px; }
.ipage-prose { font-size: 17px; line-height: 1.7; }
.ipage-prose > :first-child { margin-top: 0; }
.ipage-prose p.page-lead { font-size: 18.5px; line-height: 1.6; color: var(--text); border-bottom: 0; padding-bottom: 0; margin-bottom: 26px; }
.ipage-prose p.page-lead::first-letter { color: inherit; font-weight: inherit; }
.ipage-prose h2 { font-size: 23px; margin: 34px 0 10px; padding-top: 0; }
.ipage-prose ul { margin: 0 0 18px; }
.ipage-prose li { margin-bottom: 6px; }
.ipage-prose p.note, .ipage-prose p.tip, .ipage-prose p.warning { font-size: 15.5px; }
.ipage-prose p.note { background: #FFF6E5; color: #5A3C0C; }
.ipage-prose p.note::before { color: #7A4F0E; }
.ipage-more { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.ipage-more h2 { font-size: 15px; color: var(--muted); font-weight: 600; margin: 0 0 12px; }
.ipage-more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ipage-more a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--porcelain); color: var(--night); font: 600 14px var(--sans); text-decoration: none; }
.ipage-more a:hover { border-color: var(--lagoon); color: var(--lagoon); background: var(--paper); }
@media (max-width: 760px) {
  .ipage { padding: 20px 0 40px; }
  .ipage-in { width: calc(100% - 24px); }
  .ipage-card { padding: 26px 20px 24px; border-radius: 18px; }
  .ipage-prose { font-size: 16.5px; }
  .ipage-prose p.page-lead { font-size: 17px; }
  .ipage-prose h2 { font-size: 21px; margin-top: 28px; }
  .contact-card { flex-direction: column; align-items: flex-start; }
}
.prose .contact-card a.btn, .prose .contact-card a.btn:hover { color: #fff; text-decoration: none; }
.contact-card > * { min-width: 0; max-width: 100%; }
.contact-card strong { overflow-wrap: anywhere; }
@media (max-width: 760px) { .contact-card strong { font-size: 18px; } .contact-card .btn { width: 100%; } }

/* ---------- latest (round 15) ---------- */
.latest-more { margin-top: 30px; }
.latest-empty { display: grid; gap: 4px; background: var(--paper); border: 1px dashed #C9D3DF; border-radius: var(--r-lg); padding: 24px 26px; }
.latest-empty strong { color: var(--night); font-size: 17px; }
.latest-empty span { color: var(--muted); font-size: 15.5px; }

/* Topic cards: one more step shorter (round 17) */
.topic-photo, .topic-photo img { height: 130px; }
.topic-photo { flex-basis: 130px; }
.tc-body { padding: 16px 20px 14px; }
.tc-body h3 { font-size: 19px; margin-bottom: 3px; }
.tc-body > p { margin-bottom: 10px; line-height: 1.45; }
.tc-covers { padding: 9px 12px; gap: 4px; margin-bottom: 10px; }
.tc-covers li { font-size: 13px; }
.tc-body .topic-more { padding-top: 9px; }
@media (max-width: 760px) { .topic-photo, .topic-photo img { height: 130px; } .topic-photo { flex-basis: 130px; } }

/* Hero v2: navy on the left fading into a food photo on the right (round 18) */
.hero.hero-v2 { position: relative; overflow: hidden; background: linear-gradient(100deg, #0F2140 0%, #123056 45%, #16406B 100%); }
.hero-v2 .hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; margin: 0; }
.hero-v2 .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }
.hero-v2 .hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #123056 0%, rgba(18, 48, 86, .82) 18%, rgba(18, 48, 86, .25) 42%, rgba(18, 48, 86, 0) 62%); }
.hero-v2 .hero-bg::after { content: ""; position: absolute; left: -12%; bottom: -46%; width: 70%; height: 80%; z-index: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22, 167, 158, .22), rgba(22, 167, 158, 0)); }
.hero-v2 .hero-in { display: block; position: relative; z-index: 2; padding: 58px 0 96px; }
.hero-v2 .hero-copy { max-width: 600px; }
.hero-v2 h1 { max-width: 14ch; font-size: clamp(34px, 3.8vw, 52px); margin-bottom: 18px; }
.hero-v2 h1 span { color: var(--mint); }
.hero-v2 .hero-lede { font-size: 18px; color: #D7E1EE; max-width: 31em; margin-bottom: 24px; }
.hero-v2 .hero-stats { border-top: 0; padding-top: 6px; margin-top: 26px; gap: 0; }
.hero-v2 .hero-stats li { padding: 0 32px; border-left: 1px solid rgba(255, 255, 255, .2); }
.hero-v2 .hero-stats li:first-child { padding-left: 0; border-left: 0; }
.hero-v2 .hero-stats strong { font-size: 22px; }
@media (max-width: 960px) {
  .hero-v2 .hero-bg { width: 100%; }
  .hero-v2 .hero-bg::before { background: linear-gradient(90deg, rgba(18, 48, 86, .94) 0%, rgba(18, 48, 86, .82) 60%, rgba(18, 48, 86, .6) 100%); }
}
@media (max-width: 760px) {
  .hero-v2 .hero-in { padding: 40px 0 80px; }
  .hero-v2 .hero-bg::before { background: rgba(18, 48, 86, .86); }
  .hero-v2 .hero-stats li { padding: 0 16px; }
}
/* Hero v2 fixes */
.trust { position: relative; z-index: 3; }
.hero-v2 h1 { max-width: 15ch; font-size: clamp(34px, 4.2vw, 58px); }
.hero-v2 .hero-copy { max-width: 640px; }
.hero-v2 .hero-bg { width: 60%; }
.hero-v2 .hero-bg::before { background: linear-gradient(90deg, #123056 0%, rgba(18, 48, 86, .9) 14%, rgba(18, 48, 86, .55) 32%, rgba(18, 48, 86, .15) 52%, rgba(18, 48, 86, 0) 70%); }
@media (max-width: 960px) { .hero-v2 .hero-bg { width: 100%; } .hero-v2 .hero-bg::before { background: linear-gradient(90deg, rgba(18, 48, 86, .94) 0%, rgba(18, 48, 86, .82) 60%, rgba(18, 48, 86, .6) 100%); } }
@media (max-width: 760px) { .hero-v2 .hero-bg::before { background: rgba(18, 48, 86, .84); } }

/* Hero v3: user's own photo, its blue sky blends into the hero (round 19) */
.hero.hero-v2 { background: linear-gradient(100deg, #0C2148 0%, #0E2D60 40%, #0B3C80 100%); }
.hero-v2 .hero-bg { width: 64%; }
.hero-v2 .hero-bg img { object-position: 85% 62%; }
.hero-v2 .hero-bg::before { background: linear-gradient(90deg, #0E2D60 0%, rgba(14, 45, 96, .85) 12%, rgba(14, 45, 96, .35) 30%, rgba(14, 45, 96, 0) 48%); }
.hero-v2 .hero-bg::after { left: auto; right: 0; bottom: 0; width: 100%; height: 22%; border-radius: 0;
  background: linear-gradient(180deg, rgba(14, 45, 96, 0), rgba(12, 33, 72, .35)); }
@media (max-width: 960px) {
  .hero-v2 .hero-bg { width: 100%; }
  .hero-v2 .hero-bg img { object-position: 75% 60%; }
  .hero-v2 .hero-bg::before { background: linear-gradient(90deg, rgba(14, 45, 96, .95) 0%, rgba(14, 45, 96, .8) 55%, rgba(14, 45, 96, .45) 100%); }
}
@media (max-width: 760px) { .hero-v2 .hero-bg::before { background: linear-gradient(180deg, rgba(14, 45, 96, .9) 0%, rgba(14, 45, 96, .82) 70%, rgba(14, 45, 96, .7) 100%); } }
/* Hero v3 framing: less zoom, full table and tomatoes visible */
@media (min-width: 961px) {
  .hero-v2 .hero-bg { width: 54%; bottom: 0; }
  .hero-v2 .hero-bg img { object-position: 100% 88%; }
  .hero-v2 .hero-bg::before { background: linear-gradient(90deg, #0E2D60 0%, rgba(14, 45, 96, .7) 10%, rgba(14, 45, 96, .2) 24%, rgba(14, 45, 96, 0) 36%); }
}
@media (min-width: 961px) {
  .hero-v2 .hero-bg::before { background:
    linear-gradient(90deg, #0E2D60 0%, rgba(14, 45, 96, .92) 8%, rgba(14, 45, 96, .6) 20%, rgba(14, 45, 96, .22) 32%, rgba(14, 45, 96, 0) 44%),
    linear-gradient(0deg, rgba(12, 33, 72, .55) 0%, rgba(12, 33, 72, 0) 30%); }
}
/* Hero v3: shorter (round 20) */
@media (min-width: 961px) {
  .hero-v2 .hero-in { padding: 40px 0 78px; }
  .hero-v2 .hero-kicker { margin-bottom: 14px; }
  .hero-v2 h1 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 14px; }
  .hero-v2 .hero-lede { font-size: 17px; margin-bottom: 20px; }
  .hero-v2 .hero-actions { margin-bottom: 0; }
  .hero-v2 .hero-actions .btn { padding: 12px 22px; font-size: 15px; }
  .hero-v2 .hero-stats { margin-top: 22px; padding-top: 0; }
  .hero-v2 .hero-stats strong { font-size: 20px; }
  .hero-v2 .hero-stats span { font-size: 13px; }
}
/* Hero v3: photo shifted a little left, blurred copy fills the right edge (round 21) */
@media (min-width: 961px) {
  .hero-v2 .hero-bg { width: 58%; isolation: isolate; }
  .hero-v2 .hero-bg img { position: relative; z-index: 1; width: 91%; margin-left: 0;
    -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, #000 86%, transparent 100%); }
  .hero-v2 .hero-bg::before { z-index: 2; }
  .hero-v2 .hero-bg::after { z-index: 0; left: auto; right: 0; top: -40px; bottom: -40px; width: 30%; height: auto; border-radius: 0;
    background: url(/image/hero-bowl.webp) 100% 88% / cover no-repeat; filter: blur(22px) saturate(1.05); opacity: .9; }
}
/* Hero v3: no blur on the right (round 22) */
@media (min-width: 961px) {
  .hero-v2 .hero-bg::after { content: none; }
  .hero-v2 .hero-bg img { width: 93%;
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, #000 90%, transparent 100%); }
}
/* Hero v3: photo runs crisp to the right edge, like the reference (round 23) */
@media (min-width: 961px) {
  .hero-v2 .hero-bg { width: 60%; }
  .hero-v2 .hero-bg::after { content: none; }
  .hero-v2 .hero-bg img { width: 100%; -webkit-mask-image: none; mask-image: none; object-position: 100% 80%; }
  .hero-v2 .hero-bg::before { background: linear-gradient(90deg, #0E2D60 0%, rgba(14, 45, 96, .85) 8%, rgba(14, 45, 96, .4) 20%, rgba(14, 45, 96, 0) 34%); }
}

/* Article page laid out like InfoHub (round 24): main column + sidebar from the top */
.post-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; padding: 34px 0 70px; }
.post-main { min-width: 0; }
.post-main .crumbs { margin-bottom: 14px; }
.post-title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.025em; margin: 14px 0 14px; color: var(--night); }
.post-main .post-lede { font: 400 18.5px/1.6 var(--sans, inherit); color: var(--muted); max-width: 760px; margin: 0; }
.post-main .post-meta { margin: 20px 0 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.post-main .initial { width: 40px; height: 40px; font-size: 16px; }
.post-main .post-cover { margin: 0 0 30px; }
.post-main .post-cover img { max-height: 480px; border-radius: 18px; }
.article-prose > p:first-child::first-letter { float: left; font-size: 3.4em; line-height: .9; font-weight: 800; color: var(--deep); margin: 6px 10px 0 0; }
.post-side { display: grid; gap: 22px; }
.post-side .side-card { padding: 20px; }
.post-side .toc { position: sticky; top: 96px; }
.post-related { margin-top: 44px; padding: 0; background: none; }
.post-related .rel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-main .faq h2 { font-size: 26px; }
@media (max-width: 1100px) { .post-wrap { grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; } }
@media (max-width: 960px) {
  .post-wrap { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .post-side .toc { display: none; }
  .post-related .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .post-related .rel-grid { grid-template-columns: minmax(0, 1fr); } .post-title { font-size: 28px; } }
.article-prose { font: 400 18px/1.75 var(--sans); color: #2A3850; }
.post-main .faq details p { font-family: var(--sans); }
/* InfoHub-style article details: numbered H2s, drop cap, conclusion box */
.article-prose { counter-reset: sec; }
.article-prose > p:first-child::first-letter { float: left; font-family: var(--sans); font-weight: 800; font-size: 3.4em; line-height: .82; margin: .08em .12em 0 0; color: var(--deep); }
.article-prose > h2 { display: flex; align-items: flex-start; gap: 14px; font-size: 28px; margin: 2.1em 0 .7em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.article-prose > h2::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); flex-shrink: 0; display: grid; place-items: center; min-width: 40px; height: 40px; margin-top: -2px; border-radius: 12px; background: var(--soft); color: var(--deep); font-family: var(--sans); font-size: 15px; font-weight: 800; }
.article-prose > .sum-box + h2, .article-prose > h2:first-child { border-top: 0; padding-top: 0; }
.article-prose .concl-box { margin: 2.4em 0 0; padding: 24px 26px 8px; border: 1px solid #CFE9E5; border-top: 1px solid #CFE9E5; border-radius: 20px; background: #EAF6F4; font-size: 16.5px; line-height: 1.75; }
.article-prose .concl-box h2 { display: flex; align-items: center; gap: 10px; font-size: 23px; margin: 0 0 .5em !important; padding: 0; border: 0; }
.article-prose .concl-box h2::before { content: '✓'; counter-increment: none; display: grid; place-items: center; min-width: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--lagoon, #0A6A65); color: #fff; font-size: 15px; font-weight: 800; margin: 0; }
.article-prose .concl-box p { margin-bottom: 1em; }
@media (max-width: 560px) { .article-prose > h2 { font-size: 23px; gap: 10px; } .article-prose > h2::before { min-width: 34px; height: 34px; font-size: 13px; } .article-prose .concl-box { padding: 20px 18px 6px; } }
/* "On this page": stays sticky and scrolls, but the scrollbar is hidden */
.post-side .toc-list { scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior: contain; }
.post-side .toc-list::-webkit-scrollbar { display: none; width: 0; height: 0; }
/* sidebar runs the full height of the article so "On this page" can stay sticky */
.post-wrap > .post-side { align-self: stretch; align-content: start; }
/* Article tables: shorter rows */
.article-prose table { font: 400 15px/1.4 var(--sans); }
.article-prose th { padding: 10px 14px; font-size: 15px; }
.article-prose td { padding: 8px 14px; }
.article-prose .table-wrap { margin: 20px 0 24px; }
/* On this page: no grey line on the left */
.post-side .toc .toc-list { border-left: 0 !important; }
/* Logo v2: one joined wordmark on a single line */
.logo { gap: 9px; }
.logo-word { display: inline-flex; align-items: baseline; gap: 0; line-height: 1; white-space: nowrap; }
.logo-word b { font: 800 24px/1 var(--sans); letter-spacing: -.035em; color: var(--night); }
.logo-word span { font: 500 24px/1 var(--sans); letter-spacing: -.035em; color: var(--lagoon); margin: 0; padding: 0; text-transform: none; }
.logo-light .logo-word span { color: #7FD6CB; }
@media (max-width: 560px) {
  .logo-word b, .logo-word span { font-size: 20px; }
  .logo .mark { width: 34px; height: 34px; }
}
/* Logo v3: bold sans "Wellora" + editorial serif italic "Journal" */
.logo { gap: 10px; }
.logo-word span { font: italic 400 27px/1 var(--serif); letter-spacing: -.01em; color: var(--lagoon); margin-left: .2em; }
@media (max-width: 560px) {
  .logo-word b { font-size: 21px; }
  .logo-word span { font-size: 23px; }
}
