/* =========================================================
   SeasonQi — Stylesheet v2 (2026-06-01)
   Redesigned per frontend-design skill + strategy doc
   ========================================================= */

/* ── Design Tokens ───────────────────────────────────── */
:root {
  --paper:      #FDF8EF;
  --paper-2:     #FBF8EF;
  --sage:       #EEF4E5;
  --sage-2:     #EEF4EA;
  --moss:       #6F8F72;
  --pine:       #1F4238;
  --cedar:      #365F4B;
  --earth:      #8B6F4E;
  --clay:       #C5965E;
  --gold:       #C9973F;
  --ink:        #26352F;
  --muted:      #5D6B63;
  --line:       rgba(38, 53, 47, 0.11);
  --surface:    rgba(255, 253, 246, 0.88);
  --surface-solid: #FFFDF7;
  --shadow:     0 22px 70px rgba(31, 66, 56, 0.10);
  --soft-shadow:0 12px 34px rgba(31, 66, 56, 0.08);
  --radius-sm:  14px;
  --radius-md:  24px;
  --radius-lg:  38px;
  --radius-xl:  52px;
  --radius-pill: 999px;
}

/* ── Reset & Base ──────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at 8% -6%, rgba(223,231,214,.92) 0 18%, transparent 40%),
    radial-gradient(circle at 94% 8%,  rgba(201,151,63,.12) 0 16%, transparent 38%),
    linear-gradient(180deg, var(--paper) 0%, #EDF3E8 48%, #F7F0E3 100%);
  overflow-x: hidden;
}

/* Subtle grid texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(54,95,75,.033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54,95,75,.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 70%);
}
.grain { display: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(46px, 6.8vw, 82px); }
h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 14px; line-height: 1.15; }
h3 { font-size: 20px; line-height: 1.25; color: var(--pine); font-family: "Manrope", sans-serif; font-weight: 800; }
p  { color: var(--muted); }

.eyebrow, .section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 900; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cedar);
  margin-bottom: 18px;
  line-height: 1;
}
.eyebrow::before, .section-kicker::before {
  content: ""; width: 26px; height: 1px; background: var(--cedar);
  flex: 0 0 26px;
  align-self: center;
  margin-top: 0;
}
.section-kicker--light { color: rgba(255,253,246,.7); }
.section-kicker--light::before { background: rgba(255,253,246,.6); }

.section-intro {
  font-size: 18px; max-width: 600px; line-height: 1.7;
  color: var(--muted); margin-top: -8px;
}

a { color: inherit; text-decoration: none; }

/* ── Global SVG icon baseline + flex behavior ─────────────── */
svg { display: block; flex-shrink: 0; }

/* ── Layout Helpers ─────────────────────────────────────── */
.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section-header {
  margin-bottom: 44px;
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 20px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(253, 248, 239, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--pine);
  font-weight: 800; white-space: nowrap;
  line-height: 1;
}
.brand-logo { width: 36px; height: 36px; display: block; flex: 0 0 36px; }
.brand-name { font-size: 19px; letter-spacing: 0.01em; line-height: 1; display: inline-block; }

.nav-links {
  display: flex; justify-content: center;
  align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 14px; font-weight: 750;
  text-decoration: none; color: var(--muted);
  transition: color 0.18s ease;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--pine); }

.nav-cta {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--pine); color: var(--surface-solid);
  font-size: 14px; font-weight: 850;
  box-shadow: var(--soft-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  line-height: 1;
  display: inline-flex; align-items: center;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(31,66,56,.14);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 13px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none; font-weight: 850;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap; cursor: pointer;
  line-height: 1.2;
  box-sizing: border-box;
}
.btn.primary {
  background: var(--pine); color: var(--surface-solid);
  box-shadow: var(--soft-shadow);
}
.btn.secondary {
  background: rgba(255,253,246,.70);
  border-color: var(--line); color: var(--pine);
}
.btn.ghost {
  background: transparent; color: rgba(255,253,246,.85);
  border-color: rgba(255,253,246,.3);
  font-size: 20px; font-weight: 850;
}
.btn--large { min-height: 60px; padding: 16px 32px; font-size: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 3px solid rgba(54,95,75,.22);
  outline-offset: 2px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: 48px; align-items: center;
  padding: 80px 0 68px;
}

.hero-copy { animation: fadeUp 0.65s ease-out both; }
.hero-copy > * { animation: fadeUp 0.65s ease-out both; }
.hero-copy > *:nth-child(1) { animation-delay: 0ms; }
.hero-copy > *:nth-child(2) { animation-delay: 80ms; }
.hero-copy > *:nth-child(3) { animation-delay: 150ms; }
.hero-copy > *:nth-child(4) { animation-delay: 220ms; }
.hero-copy > *:nth-child(5) { animation-delay: 290ms; }

.hero h1 em {
  font-style: italic;
  color: var(--cedar);
}

.hero-lede {
  font-size: 19px; max-width: 640px;
  color: #4E5D53; line-height: 1.72;
  margin-bottom: 0;
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin: 30px 0 22px;
}

.trust-row { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-row span {
  font-size: 12.5px; color: var(--cedar);
  background: rgba(255,253,246,.68);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
}

.season-wheel {
  position: relative; min-height: 460px;
  display: flex; align-items: center; justify-content: center;
  animation: fadeUp 0.65s 0.3s ease-out both;
}

.hero-svg {
  width: 100%; height: auto; max-width: 520px;
  display: block;
  filter: drop-shadow(0 18px 52px rgba(31,66,56,.11));
  border-radius: 50%;
  aspect-ratio: 1;
}

/* ── How It Works — Bento Grid ────────────────────────────── */
.how-it-works {
  position: relative;
  padding: clamp(72px, 8vw, 118px) 0;
  isolation: isolate;
}

.how-it-works::before {
  content: "";
  position: absolute;
  inset: 34px -34px 28px;
  z-index: -1;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 18%, rgba(201,151,63,.14), transparent 32%),
    radial-gradient(circle at 94% 80%, rgba(111,143,114,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,253,247,.58), rgba(238,244,229,.38));
  border: 1px solid rgba(38,53,47,.07);
  box-shadow: 0 28px 80px rgba(31,66,56,.075);
}

.how-it-works .section-header {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.how-it-works .section-kicker {
  justify-content: center;
}

.how-it-works .section-intro {
  margin-inline: auto;
  max-width: 660px;
}

.how-it-works .section-header,
.hiw-card {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  transition:
    opacity 0.78s cubic-bezier(.22, 1, .36, 1),
    transform 0.78s cubic-bezier(.22, 1, .36, 1),
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
  will-change: opacity, transform;
}

.how-it-works.is-visible .section-header,
.how-it-works.is-visible .hiw-card {
  opacity: 1;
  transform: translateY(0);
}

.how-it-works.is-visible .hiw-card:nth-child(1) { transition-delay: 90ms; }
.how-it-works.is-visible .hiw-card:nth-child(2) { transition-delay: 180ms; }
.how-it-works.is-visible .hiw-card:nth-child(3) { transition-delay: 270ms; }
.how-it-works.is-visible .hiw-card:nth-child(4) { transition-delay: 360ms; }

.hiw-icon svg * {
  stroke-dasharray: 96;
  stroke-dashoffset: 96;
}

.how-it-works.is-visible .hiw-icon svg * {
  animation: drawStroke 0.85s ease-out forwards;
}

.how-it-works.is-visible .hiw-card:nth-child(1) .hiw-icon svg * { animation-delay: 280ms; }
.how-it-works.is-visible .hiw-card:nth-child(2) .hiw-icon svg * { animation-delay: 380ms; }
.how-it-works.is-visible .hiw-card:nth-child(3) .hiw-icon svg * { animation-delay: 480ms; }
.how-it-works.is-visible .hiw-card:nth-child(4) .hiw-icon svg * { animation-delay: 580ms; }

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 18px;
  margin-top: 0;
  align-items: stretch;
}

.hiw-card {
  position: relative;
  min-height: 200px;
  background:
    linear-gradient(180deg, rgba(255,253,247,.96), rgba(255,253,247,.86));
  border: 1px solid rgba(38,53,47,.095);
  border-radius: 30px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(31,66,56,.055);
}

.hiw-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(201,151,63,.16), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(111,143,114,.12), transparent 30%);
  opacity: 0;
  transition: opacity .24s ease;
  pointer-events: none;
}

.hiw-card:hover {
  border-color: rgba(54,95,75,.2);
  box-shadow: 0 24px 64px rgba(31,66,56,.13);
}

.hiw-card:hover::before {
  opacity: 1;
}

.how-it-works.is-visible .hiw-card:hover {
  transform: translateY(-6px) scale(1.006);
}

.hiw-card--large {
  min-height: 240px;
  padding: 32px 30px 28px;
  background:
    linear-gradient(180deg, rgba(255,253,247,.96), rgba(255,253,247,.86));
  border-color: rgba(38,53,47,.095);
}

.hiw-card--large::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(201,151,63,.16), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(111,143,114,.12), transparent 30%);
  opacity: 0;
  transition: opacity .24s ease;
  pointer-events: none;
  border-radius: inherit;
}

.hiw-card--large:hover {
  border-color: rgba(54,95,75,.2);
  box-shadow: 0 24px 64px rgba(31,66,56,.13);
}

.hiw-card--large:hover::before {
  opacity: 1;
}

.hiw-card--large .hiw-num {
  font-size: 56px;
  color: rgba(54,95,75,.18);
  margin-bottom: 18px;
}

.hiw-card--large .hiw-icon {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  margin-bottom: 18px;
  background: rgba(255,253,247,.74);
}

.hiw-card--large h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 650;
  letter-spacing: -.025em;
  margin-bottom: 12px;
}
.hiw-card--large p {
  font-size: 15px;
  line-height: 1.68;
}

/* ── Benefit Strip — 3-Card Row ──────────────────────────── */
.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: clamp(48px, 5vw, 72px) 0;
}

.benefit-strip article {
  position: relative;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.benefit-strip article:hover {
  box-shadow: var(--shadow);
  border-color: rgba(38, 53, 47, 0.22);
  transform: translateY(-2px);
}

.benefit-strip article::before {
  content: "";
  position: absolute;
  top: 0; left: 26px;
  width: 36px; height: 3px;
  background: var(--clay);
  border-radius: 0 0 4px 4px;
}

.benefit-strip span {
  display: block;
  font-family: 'DM Mono', 'Roboto Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--clay);
  margin-bottom: 14px;
}

.benefit-strip strong {
  display: block;
  font-family: 'Lora', 'Georgia', serif;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--pine);
  line-height: 1.4;
  margin-bottom: 10px;
}

.benefit-strip p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 700px) {
  .benefit-strip { grid-template-columns: 1fr; gap: 14px; }
  .benefit-strip article { padding: 22px 20px 26px; }
}


.hiw-num {
  display: block;
  position: relative;
  z-index: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 56px; font-weight: 700;
  color: rgba(54,95,75,.20);
  line-height: .9;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hiw-icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgba(238,244,229,.9);
  border: 1px solid rgba(54,95,75,.12);
  flex-shrink: 0;
}

.hiw-icon svg {
  width: 30px;
  height: 30px;
}

.hiw-card h3 {
  position: relative;
  z-index: 1;
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--pine);
  flex-shrink: 0;
}
.hiw-card p {
  position: relative;
  z-index: 1;
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--muted);
  margin-bottom: 18px;
  flex-grow: 1;
}
.hiw-link {
  position: relative;
  z-index: 1;
  width: max-content;
  font-size: 13px; font-weight: 850;
  color: var(--cedar);
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255,253,247,.72);
  border: 1px solid rgba(54,95,75,.10);
  transition: gap 0.18s ease, color 0.18s ease, background .18s ease;
  flex-shrink: 0;
  margin-top: auto;
}
.hiw-link:hover { gap: 8px; color: var(--pine); background: rgba(238,244,229,.82); }

/* ── Current Solar Term ──────────────────────────────────── */
.current-season { padding: 80px 0; }

.term-badge-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.element-pill {
  font-size: 12px; font-weight: 900; letter-spacing: 0.06em;
  padding: 5px 12px; border-radius: var(--radius-pill);
}
.element-pill--fire { background: rgba(201,150,63,.15); color: var(--earth); }
.element-pill--wood { background: rgba(94,140,88,.15); color: #4a6e44; }
.element-pill--earth { background: rgba(184,134,72,.18); color: #7a4f1f; }
.element-pill--metal { background: rgba(165,165,165,.22); color: #555; }
.element-pill--water { background: rgba(80,118,160,.16); color: #2c4a73; }
.term-dates { font-size: 13px; color: var(--muted); font-weight: 600; }

.season-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 0;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.season-photo {
  margin: 0; position: relative;
  min-height: 100%;
  background: var(--sage);
}
.season-photo img {
  width: 100%; height: 100%; min-height: 620px;
  object-fit: cover; display: block;
}
.photo-credit {
  position: absolute; left: 18px; bottom: 18px;
  right: 18px; width: max-content;
  max-width: calc(100% - 36px);
  font-size: 11.5px; text-decoration: none;
  color: #fff;
  background: rgba(31,66,56,.6);
  backdrop-filter: blur(8px);
  padding: 8px 11px; border-radius: var(--radius-pill);
}

.season-content {
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column;
}
.season-content h2 { font-size: clamp(30px, 3.8vw, 48px); }
.season-content > p { font-size: 17px; line-height: 1.7; margin-bottom: 18px; }

.guidance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 24px;
}

.guide-card {
  min-height: 180px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--soft-shadow); }

.guide-icon {
  width: max-content;
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 900;
  padding: 5px 11px; margin-bottom: 14px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.guide-icon--eat  { background: rgba(201,150,63,.15); color: var(--earth); }
.guide-icon--move  { background: rgba(54,95,75,.15); color: var(--cedar); }
.guide-icon--ritual { background: rgba(139,111,78,.15); color: var(--earth); }
.guide-icon--mood  { background: rgba(111,143,114,.15); color: var(--moss); }

.guide-card p { font-size: 13.5px; line-height: 1.58; margin: 0; }

.season-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }

/* ── Four Categories — Bento Mosaic ─────────────────────── */
.categories { padding: 80px 0; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex; align-items: flex-end;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.cat-card-inner {
  position: relative; z-index: 2;
  padding: 28px 26px;
  display: flex; flex-direction: column;
  gap: 0; width: 100%;
}

.cat-card--large,
.cat-card--move,
.cat-card--eat,
.cat-card--ritual,
.cat-card--learn {
  grid-column: auto;
}

.cat-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px; font-weight: 600;
  color: #EEF4E5; margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cat-card p {
  font-size: 14px; line-height: 1.6;
  color: rgba(238,244,229,.75); flex: 1; margin-bottom: 16px;
}
.cat-cta {
  font-size: 13px; font-weight: 850;
  color: rgba(238,244,229,.85);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.18s ease;
}
.cat-card:hover .cat-cta { gap: 8px; }

/* Category backgrounds */
.cat-card--move .cat-bg {
  background: linear-gradient(160deg, #2D5A3D 0%, #1F4238 60%, #3D6B52 100%);
}
.cat-card--eat .cat-bg {
  background: linear-gradient(160deg, #5A4A2A 0%, #8B6F4E 60%, #6B5338 100%);
}
.cat-card--ritual .cat-bg {
  background: linear-gradient(160deg, #3D4F38 0%, #5F7F62 60%, #3D5A3D 100%);
}
.cat-card--learn .cat-bg {
  background: linear-gradient(160deg, #4A4A38 0%, #6B6F5A 60%, #3D3D2A 100%);
}
.cat-bg {
  position: absolute; inset: 0;
  z-index: 1;
}

/* ── Purple Star Tool ─────────────────────────────────────── */
.tool { padding: 80px 0; }

.tool-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow);
  align-items: start;
}

.tool-copy p { font-size: 17px; line-height: 1.72; }

.tool-note {
  font-size: 14px;
  background: rgba(223,231,214,.6);
  border-left: 3px solid var(--cedar);
  padding: 12px 14px; border-radius: var(--radius-sm);
  color: #56645C;
  margin-top: 16px;
}

.element-legend {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 24px;
}
.el-dot {
  font-size: 13px; font-weight: 800;
  padding: 6px 13px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 5px;
}
.el-dot--wood  { background: rgba(54,95,75,.14); color: var(--pine); }
.el-dot--fire  { background: rgba(201,150,63,.18); color: var(--earth); }
.el-dot--earth { background: rgba(139,111,78,.18); color: var(--earth); }
.el-dot--metal { background: rgba(186,186,180,.2); color: #6B6B63; }
.el-dot--water { background: rgba(31,66,100,.14); color: #2A4F6B; }

.element-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid; gap: 16px;
  box-shadow: var(--soft-shadow);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; font-weight: 800; color: var(--pine); font-size: 13px; }
input, select {
  width: 100%; height: 48px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--surface-solid);
  padding: 0 14px;
  font: 600 15px "Manrope", sans-serif; color: var(--ink);
  transition: border-color 0.18s ease;
}
input:focus, select:focus {
  outline: 3px solid rgba(54,95,75,.18);
  border-color: var(--cedar);
}
.form-btn { width: 100%; border: 0; cursor: pointer; margin-top: 4px; }

/* ── Reading Result Card ─────────────────────────────────── */
.result-card {
  border-radius: var(--radius-md);
  background: rgba(239,244,234,.9);
  border: 1px solid var(--line);
  padding: 20px;
  display: grid; gap: 14px;
  animation: fadeUp 0.4s ease-out both;
}
.result-card h3 { margin-bottom: 8px; }

.reading-header { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 4px; }
.element-badge, .palace-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 900;
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.element-badge { background: rgba(54,95,75,.14); color: var(--pine); border: 1px solid rgba(54,95,75,.22); }
.palace-badge  { background: rgba(201,150,94,.18); color: var(--earth); border: 1px solid rgba(201,150,94,.28); }

.reading-intro { font-size: 15px; color: #37443A; line-height: 1.65; margin-bottom: 4px; }
.reading-section {
  background: rgba(255,253,246,.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px;
}
.reading-section h4 {
  font-size: 12.5px; font-weight: 900;
  color: var(--pine); letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 8px;
  font-family: "Manrope", sans-serif;
}
.reading-section p { font-size: 14px; color: #445548; margin: 3px 0; }

.note { font-size: 14px; }
.note.principle { font-weight: 800; border-left: 3px solid var(--cedar); padding: 10px 12px; color: var(--pine); }
.note.error { border-left-color: #c55a4a; color: #8a3224; }
.disclaimer { font-size: 12.5px; color: #7A8A80; line-height: 1.55; border-top: 1px solid var(--line); padding-top: 12px; }

/* ZWDS details toggle (collapsible advanced chart) */
.zwds-details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,253,246,.55);
  padding: 0;
}
.zwds-details > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-size: 12.5px;
  font-weight: 900;
  color: var(--pine);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "Manrope", sans-serif;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.zwds-details > summary:hover { background: rgba(54,95,75,.06); }
.zwds-details > summary::-webkit-details-marker { display: none; }
.zwds-details[open] > summary { border-bottom: 1px solid var(--line); }
.zwds-details[open] > .reading-section:first-of-type { margin-top: 14px; }

/* ── Tool: Free vs Premium tier compare ─────────────────────── */
.tier-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.tier-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  position: relative;
  display: grid; gap: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tier-card:hover { transform: translateY(-2px); box-shadow: var(--soft-shadow); }
.tier-card--premium {
  background: linear-gradient(160deg, rgba(54,95,75,.06) 0%, rgba(201,151,63,.07) 100%);
  border: 1px solid rgba(54,95,75,.28);
  box-shadow: 0 8px 24px rgba(54,95,75,.08);
}
.tier-card-pill {
  position: absolute; top: 14px; right: 14px;
  font-size: 11px; font-weight: 900; letter-spacing: 0.08em;
  padding: 5px 10px; border-radius: var(--radius-pill);
  background: rgba(54,95,75,.14); color: var(--pine);
  text-transform: uppercase;
}
.tier-card--premium .tier-card-pill {
  background: linear-gradient(120deg, var(--pine) 0%, var(--cedar) 100%);
  color: var(--surface-solid);
}
.tier-card h3 { font-size: 20px; margin: 18px 0 0; color: var(--pine); }
.tier-card-tag { font-size: 13px; color: var(--earth); margin: 0; font-weight: 700; }
.tier-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.tier-features li {
  font-size: 14px; color: #37443A; line-height: 1.55;
  padding-left: 0;
}
.tier-card-cta { margin: 6px 0 0; }
.tier-card-cta .btn { width: 100%; box-sizing: border-box; }
.tier-card-note { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ── Tool: form 2-button row ────────────────────────────────── */
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.form-actions .btn { width: 100%; box-sizing: border-box; }
.btn.premium-btn {
  background: linear-gradient(120deg, var(--earth) 0%, var(--cedar) 100%);
  color: var(--surface-solid);
  position: relative;
  box-shadow: 0 4px 14px rgba(201,151,63,.25);
}
.btn.premium-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201,151,63,.32); }
.form-tier-note { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ── Tool: tier badge in reading header ─────────────────────── */
.tier-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 900; letter-spacing: 0.08em;
  padding: 6px 12px; border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.tier-badge--free {
  background: rgba(186,186,180,.18); color: #4A4A38; border: 1px solid rgba(186,186,180,.32);
}
.tier-badge--premium {
  background: linear-gradient(120deg, var(--pine) 0%, var(--cedar) 100%);
  color: var(--surface-solid);
}

/* ── Tool: lucky direction section ──────────────────────────── */
.reading-section--lucky {
  background: linear-gradient(135deg, rgba(54,95,75,.08) 0%, rgba(201,151,63,.08) 100%);
  border: 1px solid rgba(54,95,75,.22);
}
.reading-section--lucky h4 { color: var(--pine); }

/* ── Tool: Premium unlocked sections ────────────────────────── */
.reading-section--premium {
  background: linear-gradient(160deg, rgba(54,95,75,.04) 0%, rgba(201,151,63,.05) 100%);
  border: 1px solid rgba(201,151,63,.28);
  position: relative;
}
.reading-section--premium::before {
  content: "★ Premium";
  position: absolute; top: 12px; right: 12px;
  font-size: 10px; font-weight: 900; letter-spacing: 0.1em;
  padding: 4px 9px; border-radius: var(--radius-pill);
  background: linear-gradient(120deg, var(--pine) 0%, var(--cedar) 100%);
  color: var(--surface-solid);
}
.reading-section--premium ol, .reading-section--premium ul { padding-left: 18px; margin: 6px 0; }
.reading-section--premium li { font-size: 14px; color: #445548; line-height: 1.6; margin: 3px 0; }
.jewelry-list, .yearly-list { list-style: disc; }
.yearly-list { list-style: decimal; }
.yearly-list li { margin: 8px 0; }
.reading-section--premium-cta { text-align: center; }
.reading-section--premium-cta::before { content: ""; }
.premium-cta-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.premium-cta-row .btn { flex: 1; min-width: 180px; }

/* ── Tool: locked / premium teaser (free tier preview) ─────── */
.reading-section--locked {
  position: relative;
  background: linear-gradient(160deg, rgba(201,151,63,.05) 0%, rgba(54,95,75,.06) 100%);
  border: 1px dashed rgba(201,151,63,.4);
  padding: 28px 24px;
}
.lock-overlay { display: grid; gap: 12px; }
.lock-pill {
  align-self: start;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 900; letter-spacing: 0.08em;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: linear-gradient(120deg, var(--pine) 0%, var(--cedar) 100%);
  color: var(--surface-solid);
  text-transform: uppercase;
}
.locked-list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; counter-reset: lockstep; }
.locked-list li {
  position: relative; padding-left: 32px; counter-increment: lockstep;
  font-size: 14px; color: #37443A; line-height: 1.6;
}
.locked-list li::before {
  content: counter(lockstep);
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px;
  background: var(--pine); color: var(--surface-solid);
  font-size: 12px; font-weight: 900;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.locked-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.locked-cta .btn { flex: 1; min-width: 180px; }

/* ── Tool: FAQ section ──────────────────────────────────────── */
.tool-faq { padding: 60px 0 0; }
.tool-faq .section-header { text-align: center; margin-bottom: 32px; }
.tool-faq .section-header h2 { max-width: 640px; margin: 0 auto; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.faq-item {
  background: rgba(255,253,246,.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  transition: box-shadow 0.18s ease;
}
.faq-item:hover { box-shadow: var(--soft-shadow); }
.faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-size: 15px; font-weight: 800; color: var(--pine);
  font-family: "Manrope", sans-serif;
  position: relative;
  border-radius: var(--radius-md);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 700; color: var(--earth);
  transition: transform 0.2s ease;
}
.faq-item[open] > summary::after { content: "−"; }
.faq-item > summary:hover { background: rgba(54,95,75,.04); }
.faq-item > p {
  padding: 0 22px 20px;
  font-size: 14px; color: #445548; line-height: 1.65; margin: 0;
}

/* ── Philosophy ───────────────────────────────────────────── */
.philosophy {
  padding: 80px 0;
  text-align: center;
}
.philosophy h2 { max-width: 680px; margin-inline: auto; }

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  text-align: left;
}

.philosophy-card {
  background: rgba(255,253,246,.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  min-height: 220px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.philosophy-card:hover { transform: translateY(-2px); box-shadow: var(--soft-shadow); }

.phil-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 44px; font-weight: 700;
  color: rgba(54,95,75,.3);
  line-height: 1; margin-bottom: 14px;
}
.philosophy-card h3 { font-size: 17px; margin-bottom: 10px; }
.philosophy-card p { font-size: 14px; line-height: 1.65; margin: 0; }

/* ── Final CTA ─────────────────────────────────────────────── */
.final-cta {
  padding: 0 0 90px;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, var(--pine) 0%, #2C5A43 50%, #1F4238 100%);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: 0 30px 80px rgba(31,66,56,.18);
  position: relative; overflow: hidden;
}

/* Decorative element */
.final-cta-inner::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,253,246,.08) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner::after {
  content: "";
  position: absolute;
  bottom: -40px; left: 20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,151,63,.10) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-text { position: relative; z-index: 1; }
.final-cta-text h2, .final-cta-text p { color: var(--surface-solid); }
.final-cta-text p { opacity: 0.78; max-width: 600px; font-size: 17px; line-height: 1.7; }

.final-cta-actions {
  display: flex; flex-direction: column; gap: 12px;
  align-items: stretch; position: relative; z-index: 1;
}

.final-cta-actions .btn { max-width: 100%; justify-content: center; box-sizing: border-box; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 28px clamp(20px, 4vw, 56px);
  color: var(--muted);
}
footer p { margin: 0; font-size: 13px; max-width: 600px; text-align: right; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}

/* Scroll-driven progressive reveal */
.reveal {
  animation: fadeUp 0.6s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% entry 100%;
}

@media (prefers-reduced-motion: reduce) {
  .how-it-works .section-header,
  .hiw-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hiw-icon svg * {
    stroke-dashoffset: 0;
    animation: none !important;
  }
}

/* ── Responsive: Tablet ──────────────────────────────────────── */
@media (max-width: 960px) {
  .nav { grid-template-columns: auto auto; }
  .nav-links { display: none; }

  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .season-wheel { min-height: 380px; }

  .how-it-works::before { inset-inline: -18px; }
  .hiw-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hiw-card,
  .hiw-card--large {
    min-height: auto;
    padding: 22px 20px;
  }
  .hiw-card--large { padding: 24px 22px; }

  .tool-panel { grid-template-columns: 1fr; }
  .tool-copy { order: -1; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card--large { grid-column: auto; min-height: 340px; }
  .cat-card--move, .cat-card--eat,
  .cat-card--ritual, .cat-card--learn { grid-column: auto; }

  .philosophy-grid { grid-template-columns: 1fr; }
  .final-cta-inner { grid-template-columns: 1fr; }
  .final-cta-actions { flex-direction: row; flex-wrap: wrap; }
  footer { flex-direction: column; text-align: center; }
  footer p { text-align: center; }
}

/* ── Responsive: Mobile ─────────────────────────────────────── */
@media (max-width: 640px) {
  .section-shell { width: min(100% - 28px, 1120px); }
  .nav { padding: 12px 14px; }
  .nav-cta { display: none; }
  .brand-logo { width: 30px; height: 30px; }

  .hero { padding: 48px 0 52px; }
  .hero h1 { font-size: 42px; }
  .hero-actions { flex-direction: column; }
  .trust-row span { width: 100%; text-align: center; }

  .hiw-grid { grid-template-columns: 1fr; gap: 12px; }
  .hiw-card,
  .hiw-card--large {
    min-height: auto;
    padding: 20px 18px;
  }

  .season-card { grid-template-columns: 1fr; }
  .season-photo img { min-height: 300px; }
  .guidance-grid { grid-template-columns: 1fr; }
  .season-actions { flex-direction: column; }

  .cat-grid { grid-template-columns: 1fr; }
  .cat-card--large { grid-column: auto; min-height: 300px; }
  .cat-card--eat, .cat-card--ritual, .cat-card--learn { min-height: 220px; }

  .form-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .final-cta-actions { flex-direction: column; width: 100%; }
  footer { padding: 24px 14px; }

  /* Tool tier cards + form actions + FAQ stack on mobile */
  .tier-compare { grid-template-columns: 1fr; }
  .form-actions { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .tool-faq .section-header h2 { font-size: 28px; }
  .faq-item > summary { font-size: 14px; padding: 16px 18px; }
  .faq-item > p { padding: 0 18px 18px; }
}
/* ── Articles Library Page (articles-index) ─────────────── */
.articles-main { padding: 0 0 80px; }

.articles-hero {
  padding: 72px 0 56px;
  max-width: 920px;
}
.articles-hero h1 {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-wrap: balance;
  max-width: 720px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-right: 16px;
}
.articles-hero-lede {
  font-size: 18px; line-height: 1.7;
  max-width: 720px;
  color: var(--muted);
  margin: 0 0 36px;
}

.articles-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding: 22px 28px;
  background: rgba(255,253,247,.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  width: fit-content;
  min-width: 360px;
  backdrop-filter: blur(8px);
}
.articles-stats .stat {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.articles-stats .stat-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px; font-weight: 700;
  color: var(--pine);
  line-height: 1;
  letter-spacing: -0.02em;
}
.articles-stats .stat-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.articles-section { padding: 32px 0 32px; }
.articles-section .section-header { margin-bottom: 32px; }
.articles-section h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 8px;
}
.articles-section .section-intro {
  font-size: 16px; line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 640px;
}

/* ── Article card grid (3-col desktop, 2 tablet, 1 mobile) ── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(31,66,56,.10);
  border-color: rgba(54,95,75,.22);
}
.article-card a {
  display: flex; flex-direction: row;
  align-items: stretch;
  gap: 0;
  padding: 0;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.article-card-icon {
  flex: 0 0 88px;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
  line-height: 1;
  background: linear-gradient(160deg, rgba(238,244,229,.85), rgba(255,253,247,.4));
  border-right: 1px solid var(--line);
}
.article-card[data-cat="move"] .article-card-icon { background: linear-gradient(160deg, rgba(255,235,210,.85), rgba(255,253,247,.4)); }
.article-card[data-cat="eat-drink"] .article-card-icon { background: linear-gradient(160deg, rgba(255,222,200,.7), rgba(255,253,247,.4)); }
.article-card[data-cat="rituals"] .article-card-icon { background: linear-gradient(160deg, rgba(232,210,222,.6), rgba(255,253,247,.4)); }

.article-card-body {
  flex: 1;
  padding: 18px 20px 18px;
  display: flex; flex-direction: column;
  min-width: 0;
}

.article-card-meta {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  line-height: 1.2;
}
.read-time {
  font-size: 11.5px; font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.cat-pill {
  display: inline-flex; align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  white-space: nowrap;
}
.cat-pill--learn { background: rgba(54,95,75,.10); color: #2f5440; }
.cat-pill--move { background: rgba(201,151,63,.14); color: #8a5d28; }
.cat-pill--eat-drink { background: rgba(201,108,80,.13); color: #8a4628; }
.cat-pill--rituals { background: rgba(168,114,135,.14); color: #7a4458; }

.article-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px; font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--pine);
  margin: 0 0 8px;
}
.article-card p {
  font-size: 14.5px; line-height: 1.55;
  color: var(--muted);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 800;
  color: var(--pine);
  letter-spacing: 0.01em;
}
.article-card:hover .read-more .arrow { transform: translateX(3px); }
.read-more .arrow {
  display: inline-block;
  transition: transform .22s ease;
}

/* ── Category cards (browse by collection) ─────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.category-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 26px 28px;
  min-height: 203px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(31,66,56,.10);
  border-color: rgba(54,95,75,.22);
}
.category-card-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; line-height: 1;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(238,244,229,.85), rgba(255,253,247,.5));
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.category-card[data-cat="move"] .category-card-icon { background: linear-gradient(160deg, rgba(255,235,210,.85), rgba(255,253,247,.5)); }
.category-card[data-cat="eat-drink"] .category-card-icon { background: linear-gradient(160deg, rgba(255,222,200,.7), rgba(255,253,247,.5)); }
.category-card[data-cat="rituals"] .category-card-icon { background: linear-gradient(160deg, rgba(232,210,222,.6), rgba(255,253,247,.5)); }

.category-card-body h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px; font-weight: 700;
  line-height: 1.15;
  color: var(--pine);
  margin: 0 0 4px;
  letter-spacing: -0.015em;
}
.category-card-body p {
  font-size: 14.5px; line-height: 1.55;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 45px;
  max-height: 45px;
}
.category-card-foot {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.article-count {
  font-size: 12px; font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.category-card .arrow {
  font-size: 18px;
  color: var(--pine);
  transition: transform .22s ease;
}
.category-card:hover .arrow { transform: translateX(4px); }

/* ── Articles CTA block ────────────────────────────────── */
.articles-cta {
  margin-top: 56px;
  padding: 48px clamp(20px, 4vw, 56px);
  background: linear-gradient(160deg, rgba(54,95,75,.08), rgba(201,151,63,.06));
  border: 1px solid var(--line);
  border-radius: 28px;
}
.articles-cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px; align-items: center;
}
.articles-cta-text h2 {
  font-size: clamp(26px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--pine);
  margin: 0 0 10px;
}
.articles-cta-text p {
  font-size: 16px; line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.articles-cta-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: flex-end;
}

/* ── Articles footer ──────────────────────────────────── */
.site-footer {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  padding: 36px 20px 44px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: rgba(255,253,247,.4);
  margin-top: 24px;
}
.site-footer .brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--pine);
  font-weight: 800;
}
.site-footer p {
  font-size: 12.5px; color: var(--muted);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── Mobile responsive for articles page ─────────────── */
@media (max-width: 960px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: 1fr; }
  .articles-cta-inner { grid-template-columns: 1fr; }
  .articles-cta-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .article-grid { grid-template-columns: 1fr; }
  .category-card { grid-template-columns: auto 1fr; gap: 16px; }
  .category-card-foot { grid-column: 1 / -1; padding-left: 80px; }
  .articles-stats { gap: 22px; padding: 18px 20px; }
}
