:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #566a61;
  --soft: #8aa097;
  --paper: #faf3e8;          /* warm cream */
  --surface: #ffffff;
  --line: #e6dccd;            /* warmer line tint to match cream */
  --sage: #4f8a6b;
  --sage-deep: #194d3a;
  --grass-soft: #dcefd3;
  --sky-pale: #eaf5fb;
  --sun-soft: #fff2cf;
  --coral-soft: #fde2dc;

  /* Category palette — for product library tiles, Papa's-List badges.
     All depths chosen to carry bold white text legibly. */
  --cat-food:  #4f8a6b;       /* sage (brand anchor) */
  --cat-skin:  #c97843;       /* deep peach */
  --cat-toy:   #c25745;       /* deep coral */
  --cat-kit:   #a37c2c;       /* warm gold */
  --cat-clean: #557593;       /* blue-grey */
  --cat-baby:  #80618c;       /* lavender */

  /* Article-type accents — eyebrow strips and section labels. */
  --accent-alert:     #d49230;   /* calm amber, not panic red */
  --accent-explainer: #194d3a;   /* sage-deep, brand default */
  --accent-share:     #3c8b96;   /* teal */

  --shadow-sm: 0 4px 14px rgba(58, 40, 18, 0.06);
  --shadow-md: 0 14px 36px rgba(58, 40, 18, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

a { color: var(--sage-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--sage); }

img { max-width: 100%; height: auto; display: block; }

/* ---------- Layout ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 56px 0; }

.section-eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 10px;
  font-weight: 700;
}

.section-eyebrow.eyebrow-alert     { color: var(--accent-alert); }
.section-eyebrow.eyebrow-explainer { color: var(--accent-explainer); }
.section-eyebrow.eyebrow-share     { color: var(--accent-share); }

h1, h2, h3 { color: var(--ink); margin: 0 0 14px; line-height: 1.25; }
h1 { font-size: clamp(28px, 6vw, 42px); }
h2 { font-size: clamp(22px, 4.4vw, 30px); }
h3 { font-size: 19px; }

p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.lead { font-size: 18px; color: var(--muted); }

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(8px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sage), var(--sage-deep));
  display: inline-block;
}

.nav-links { display: flex; gap: 18px; }
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.nav-links a:hover { color: var(--sage-deep); }

@media (max-width: 560px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 40px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%);
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage-deep);
  margin: 0 0 14px;
}

.hero h1 { margin-bottom: 18px; }
.hero .lead { max-width: 620px; margin-bottom: 24px; }

.founder-note {
  background: var(--sun-soft);
  border-left: 4px solid var(--accent-alert);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 8px 0 28px;
  max-width: 620px;
}
.founder-note .founder-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-alert);
  font-weight: 700;
  margin: 0 0 10px;
}
.founder-note p {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}
.founder-note p:last-child { margin-bottom: 0; }

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.evidence-grid h3.evidence-region {
  font-size: 14px;
  margin: 0 0 6px;
  color: var(--sage-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.evidence-grid p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button.primary {
  background: var(--sage-deep);
  color: var(--surface);
}
.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.button.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.button.ghost:hover { border-color: var(--sage); color: var(--sage-deep); }

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.card.feature {
  border-left: 4px solid var(--sage);
  background: linear-gradient(180deg, var(--surface), var(--paper));
}

.card-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grass-soft);
  color: var(--sage-deep);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0 0 10px; }
.card ul { margin: 0 0 10px; padding-left: 20px; color: var(--muted); }
.card ul li { margin-bottom: 6px; }

/* ---------- Category grid ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

.cat {
  background: var(--cat-food);  /* default; per-category classes override */
  border: none;
  border-radius: var(--radius-sm);
  padding: 22px 14px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.cat .emoji {
  display: block;
  font-size: 32px;
  margin-bottom: 8px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

/* Category colour modifiers */
.cat.cat-food  { background: var(--cat-food); }
.cat.cat-skin  { background: var(--cat-skin); }
.cat.cat-toy   { background: var(--cat-toy); }
.cat.cat-kit   { background: var(--cat-kit); }
.cat.cat-clean { background: var(--cat-clean); }
.cat.cat-baby  { background: var(--cat-baby); }

/* ---------- Papa's List ---------- */

.papa {
  background: var(--sun-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 8px;
}
.papa h3 { margin-top: 0; }
.papa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.papa-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
}
.papa-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.papa-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.papa-item span { font-size: 12px; color: var(--muted); }

/* ---------- Thumbnail strip (shareables) ---------- */

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin: 16px 0 4px;
}
.thumb-strip a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.thumb-strip a:hover { transform: translateY(-2px); border-color: var(--sage); }
.thumb-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

/* ---------- Forms ---------- */

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 16px;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  margin-bottom: 14px;
  resize: vertical;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--surface);
}
.form button {
  background: var(--sage-deep);
  color: var(--surface);
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.form button:hover { background: var(--sage); }

.form-ok {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--grass-soft);
  color: var(--sage-deep);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.form-ok.show { display: block; }

/* ---------- Newsletter accent ---------- */

.newsletter {
  background: var(--sky-pale);
  border-radius: var(--radius);
  padding: 24px;
}
.newsletter .form { background: var(--surface); }

/* ---------- About Us band (on landing) ---------- */

.about-band {
  background: var(--surface);
  padding: 52px 0 60px;
  border-bottom: 1px solid var(--line);
}

.about-band h2 {
  margin-bottom: 16px;
}

.about-band .about-copy {
  max-width: 680px;
}

.about-band .about-copy p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 14px;
}

.about-band .about-copy p:last-of-type { margin-bottom: 22px; }

.about-band .about-more {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--sage-deep);
  text-decoration: none;
}

.about-band .about-more:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 30px 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.site-footer p { margin: 0 0 6px; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 0 0 18px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.social-links a:hover { color: var(--sage-deep); }

.social-links svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* ---------- Small helpers ---------- */

.divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
  border: none;
}

/* ============================================================
   Portal landing — v3 (Papa's List redesign 2026-05-21)
   ============================================================ */

.hero-image {
  position: relative;
  min-height: 92vh;
  background-image: url('images/photos/index-hero-family-food-safety.webp');
  background-size: cover;
  background-position: center center;
  background-color: #b8d97a;
  overflow: hidden;
}

/* Sky→grass fallback layered behind image — visible if hero.jpg is missing. */
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #87ceeb 0%, #c2dff0 35%, #b8d97a 75%, #92b96a 100%);
  z-index: -1;
}

/* The wordmark is now baked into the watercolour — buttons sit on top */
/* of it as chip-style links in the lower-right area. */

/* Coming-soon card — used on /ask/ and /subscribe/ while their real flows
   aren't ready yet. A single calm panel saying what's coming, with IG/Threads
   CTAs for people who want to reach us in the meantime. */
.coming-soon {
  max-width: 720px;
  margin: 48px auto 64px;
  padding: 40px 36px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.coming-soon .section-eyebrow {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.coming-soon h1 {
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--ink);
}
.coming-soon-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 20px;
}
.coming-soon-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
}
.coming-soon-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.coming-soon-note {
  font-size: 14px;
  color: var(--muted);
  margin: 24px 0 0;
}
@media (max-width: 600px) {
  .coming-soon { margin: 24px 12px 40px; padding: 28px 22px 24px; }
}

/* Hero copy block — visible H1 + intro + CTAs over the photo.
   Lower-left placement so it coexists with the painted wordmark and the
   .hero-buttons stack in the lower-right (when both are present). */
.hero-copy {
  position: absolute;
  left: clamp(24px, 6vw, 96px);
  bottom: clamp(48px, 9vh, 110px);
  max-width: min(560px, 80vw);
  z-index: 3;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  padding: 22px 26px 24px;
  border-radius: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.10);
}
.hero-copy h1 {
  font-size: clamp(22px, 3.6vw, 30px);
  line-height: 1.3;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.hero-copy p {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.6;
  color: var(--ink-dim);
  margin: 0 0 16px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-cta {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sage-deep);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1.5px solid rgba(25, 77, 58, 0.18);
  transition: background 120ms ease, transform 120ms ease;
}
.hero-cta:hover { background: #fff; transform: translateY(-1px); }
.hero-cta.primary {
  background: var(--sage-deep);
  color: #fff;
  border-color: var(--sage-deep);
}
.hero-cta.primary:hover { background: #143d2d; }

@media (max-width: 700px) {
  .hero-copy {
    position: static;
    margin: 16px;
    max-width: none;
    background: rgba(255, 255, 255, 0.96);
  }
}

.hero-buttons {
  position: absolute;
  right: clamp(24px, 6vw, 110px);
  bottom: clamp(48px, 9vh, 110px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
  z-index: 3;
}

.hero-buttons .row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-btn {
  display: inline-block;
  padding: 18px 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--sage-deep);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.hero-btn:hover {
  background: var(--sage-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.hero-btn.primary {
  background: var(--sage-deep);
  color: #fff;
  border-color: var(--sage-deep);
  padding: 20px 38px;
  font-size: 20px;
}

.hero-btn.primary:hover {
  background: var(--sage);
  border-color: var(--sage);
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(44px, 9vw, 72px);
  margin: 0 0 14px;
  letter-spacing: -0.015em;
  line-height: 1.05;
  font-weight: 800;
}

.hero-content .hero-tag {
  font-size: clamp(15px, 2.6vw, 18px);
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.04em;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta .button.primary {
  background: var(--sage-deep);
  color: #fff;
  padding: 14px 30px;
  font-size: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.hero-cta .button.primary:hover {
  background: var(--sage);
  color: #fff;
}

.hero-cta .button.ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  backdrop-filter: blur(8px);
  padding: 14px 30px;
  font-size: 16px;
}

.hero-cta .button.ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: #fff;
  color: #fff;
}

/* ---------- CTA strip (3 tiles below hero) ---------- */

.cta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.cta-strip .tile {
  display: block;
  padding: 52px 28px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cta-strip .tile:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  color: #fff;
}

.cta-strip .tile .tile-icon {
  display: block;
  font-size: 42px;
  margin-bottom: 10px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.cta-strip .tile .tile-label {
  display: block;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.cta-strip .tile .tile-sub {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 8px;
}

.cta-strip .tile-alert     { background: var(--accent-alert); }
.cta-strip .tile-products  { background: var(--cat-food); }
.cta-strip .tile-chemicals { background: var(--accent-share); }

/* ---------- Trust band ---------- */

.trust-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 24px 20px;
  text-align: center;
}

.trust-band p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 auto;
  max-width: 760px;
  line-height: 1.6;
}

.trust-band a {
  color: var(--sage-deep);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Coming-soon / 研究中 badge ---------- */

.coming-soon {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--line);
  color: var(--muted);
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
  font-weight: 600;
  vertical-align: middle;
}

/* ---------- Generic index-grid (products list, chemicals list) ---------- */

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin: 22px 0 32px;
}

.index-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.index-item:hover {
  border-color: var(--sage);
  transform: translateY(-1px);
}

.index-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.index-item .index-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.index-item.is-soon {
  background: var(--paper);
  cursor: default;
}

.index-item.is-soon:hover {
  border-color: var(--line);
  transform: none;
}

/* ---------- Coming-soon callout (used on /ask/) ---------- */

.callout-soon {
  background: var(--sun-soft);
  border-left: 4px solid var(--accent-alert);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 18px 0 26px;
}

.callout-soon strong { color: var(--ink); }
.callout-soon p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.6; }

/* ============================================================
   Global nav band — chip row + ticker at top of every page
   (Added 2026-05-21 — supersedes per-page .site-header)
   ============================================================ */

.global-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.global-nav .nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 20px 0;
}

.global-nav .nav-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 14px;
}

.global-nav .nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  margin-right: 8px;
}

.global-nav .nav-brand .brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #6fb088, var(--sage-deep));
  display: inline-block;
  flex-shrink: 0;
}

.global-nav .nav-brand .brand-name {
  letter-spacing: -0.01em;
}

/* Chip overrides for the global nav — smaller + less puffy than hero chips */
.global-nav .hero-btn {
  padding: 10px 18px;
  font-size: 14px;
  background: var(--surface);
  color: var(--sage-deep);
  border-color: var(--line);
  box-shadow: none;
  letter-spacing: 0.02em;
}

.global-nav .hero-btn:hover {
  background: var(--sage-deep);
  color: #fff;
  border-color: var(--sage-deep);
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.global-nav .hero-btn.primary {
  background: var(--sage-deep);
  color: #fff;
  border-color: var(--sage-deep);
  padding: 11px 20px;
  font-size: 15px;
}

.global-nav .hero-btn.primary:hover {
  background: var(--sage);
  border-color: var(--sage);
}

.global-nav .hero-btn .soon {
  font-size: 11px;
  color: var(--muted);
  margin-left: 4px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.global-nav .hero-btn:hover .soon {
  color: rgba(255, 255, 255, 0.78);
}

/* Ticker inside global-nav: no longer absolute, sits in document flow.
   Extends slightly past the 20px inner padding so the dark band kisses the
   inner-wrap edges. */
.global-nav .ticker {
  position: static;
  height: 44px;
  margin: 0 -20px;
}

@media (max-width: 700px) {
  .global-nav .nav-inner { padding: 12px 16px 0; }
  .global-nav .nav-row { gap: 8px; padding-bottom: 12px; }
  .global-nav .nav-brand .brand-name { display: none; }  /* dot only on mobile */
  .global-nav .hero-btn { padding: 8px 14px; font-size: 13px; }
  .global-nav .hero-btn.primary { padding: 9px 16px; font-size: 13px; }
  .global-nav .hero-btn .soon { font-size: 10px; }
  .global-nav .ticker { height: 40px; margin: 0 -16px; }
}

/* ============================================================
   News ticker — Bloomberg-style scrolling marquee
   (Added 2026-05-21. Pure CSS, no JS.)
   ============================================================ */

.ticker {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: stretch;
  height: 54px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 17px;
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  background: var(--sage-deep);
  color: #fff;
  padding: 0 22px;
  display: flex;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.ticker-window {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding-left: 18px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-track a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ticker-track a:hover { text-decoration: underline; }

.ticker-tag {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  color: #fff;
}

.ticker-tag.tag-alert     { background: var(--accent-alert); }
.ticker-tag.tag-explainer { background: var(--accent-explainer); }

.ticker-sep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    transform: none;
  }
}

@media (max-width: 560px) {
  .ticker { height: 44px; font-size: 14px; }
  .ticker-label { padding: 0 14px; font-size: 11px; letter-spacing: 0.16em; }
  .ticker-tag { font-size: 10px; padding: 3px 8px; }
  .ticker-track { gap: 30px; animation-duration: 45s; }
}

/* Hero needs to keep its full bleed under the ticker — content already sits at flex-end, so no top padding needed. */

/* ---------- Headline strip (unused on landing as of 2026-05-21; retained for /alerts/ reuse) ---------- */

.headline-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 40px;
}

.headline-strip .headline-header {
  max-width: 760px;
  margin: 0 auto 16px;
  padding: 0 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.headline-strip .headline-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin: 0;
}

.headline-strip .headline-seeall {
  font-size: 13px;
  color: var(--sage-deep);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.headline-strip .headline-seeall:hover { text-decoration: underline; }

.headlines {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
}

.headlines li { border-top: 1px solid var(--line); }
.headlines li:last-child { border-bottom: 1px solid var(--line); }

.headlines a {
  display: block;
  padding: 16px 0;
  text-decoration: none;
  color: var(--ink);
}

.headlines a:hover .headline-title { color: var(--sage-deep); }

.headlines .headline-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 5px;
}

.headlines .headline-meta .tag-alert     { color: var(--accent-alert);     font-weight: 700; }
.headlines .headline-meta .tag-explainer { color: var(--accent-explainer); font-weight: 700; }

.headlines .headline-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
  transition: color 0.15s ease;
}

@media (max-width: 560px) {
  .headlines .headline-title { font-size: 16px; }
}

/* ---------- Article summary page (TL;DR + read-detailed button) ---------- */

.article-summary {
  max-width: var(--max-prose, 720px);
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.summary-box {
  background: var(--sun-soft);
  border-left: 4px solid var(--accent-alert);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 20px 0 28px;
}

.summary-box.explainer { border-left-color: var(--accent-explainer); background: #eef5ee; }

.summary-box .summary-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-alert);
  margin: 0 0 10px;
}

.summary-box.explainer .summary-label { color: var(--accent-explainer); }

.summary-box p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 10px;
}

.summary-box p:last-child { margin-bottom: 0; }

.summary-context {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.65;
  margin: 0 0 32px;
}

.read-more-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  text-align: center;
  margin: 8px 0 24px;
}

.read-more-cta .button.primary {
  padding: 16px 32px;
  font-size: 16px;
  display: inline-block;
}

.read-more-cta .read-more-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   Inner-page components — alerts / products / about
   (Added 2026-05-21 to reach production-ready mockup parity)
   ============================================================ */

/* ---------- Inner page layout wrap ---------- */

.page-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 24px 60px;
}

.page-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin: 0 0 8px;
}

.page-h1 {
  font-size: clamp(32px, 5.5vw, 44px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.page-lead {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 620px;
  line-height: 1.6;
}

/* ---------- Alerts page ---------- */

.alert-latest-strip {
  background: var(--sun-soft);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-alert);
  padding: 12px 18px;
  margin: 0 0 28px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}

.alert-latest-strip .latest-label {
  font-weight: 700;
  color: var(--accent-alert);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.alert-latest-strip a {
  color: var(--ink);
  text-decoration: none;
}

.alert-latest-strip a:hover { color: var(--sage-deep); }

.alert-latest-strip .latest-sep { color: var(--line); }

.alert-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

.alert-hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.alert-hero-card .hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, var(--sun-soft), #f4dca0) center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* Hero photo gradient for explainer-style stories (sage/grass) — mirrors the
   pattern on the secondary row where ``.alert-style`` swaps to alert orange. */
.alert-hero-card .hero-photo.explainer-style {
  background: linear-gradient(135deg, var(--grass-soft), #b8d97a) center / cover no-repeat;
}

.alert-hero-card .hero-photo img,
.alert-secondary-card .sec-photo img,
.product-card .pc-photo img,
.about-photo-placeholder img,
.compact-photo-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alert-hero-card .hero-photo::after,
.alert-secondary-card .sec-photo::after,
.product-card .pc-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.alert-hero-card .hero-photo .photo-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent-alert);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 1;
}

.alert-hero-card .hero-photo .photo-emoji {
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 180px;
  opacity: 0.18;
  line-height: 1;
}

.alert-hero-card .hero-body {
  padding: 24px 26px 26px;
}

.alert-hero-card .hero-date {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}

.alert-hero-card .hero-title {
  font-size: clamp(22px, 3.2vw, 28px);
  margin: 0 0 12px;
  line-height: 1.3;
}

.alert-hero-card .hero-summary {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.7;
}

.alert-hero-card .parent-callout {
  background: var(--sun-soft);
  border-left: 3px solid var(--accent-alert);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
}

.alert-hero-card .parent-callout strong {
  color: var(--accent-alert);
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.alert-hero-card .read-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--sage-deep);
  text-decoration: none;
}

.alert-hero-card .read-link:hover { text-decoration: underline; }

/* Sidebar */

.alert-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: 15px;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.sidebar-card .check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-card .check-list li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}

.sidebar-card .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.sidebar-card .source-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-card .source-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.sidebar-card .source-list li:last-child { border-bottom: none; }

.sidebar-card .source-list .src-name {
  color: var(--ink);
  font-weight: 600;
}

.sidebar-card .source-list .src-desc {
  color: var(--muted);
  font-size: 12px;
}

.sidebar-card .more-link {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-deep);
  text-decoration: none;
}

.sidebar-card .more-link:hover { text-decoration: underline; }

/* "More alerts" sidebar list — thumbnail + title + date rows */

.more-alerts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.more-alerts-list li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.more-alerts-list li:last-child { border-bottom: none; }

.more-alerts-list .ma-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--sun-soft), #f4dca0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  opacity: 0.7;
}

.more-alerts-list .ma-thumb.explainer {
  background: linear-gradient(135deg, var(--grass-soft), #b8d97a);
}

.more-alerts-list .ma-body a {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
  display: block;
  margin-bottom: 2px;
}

.more-alerts-list .ma-body a:hover { color: var(--sage-deep); }

.more-alerts-list .ma-body .ma-sub {
  font-size: 11px;
  color: var(--muted);
}

.more-alerts-list .ma-date {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* Row 2: secondary article cards */

.alert-secondary-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.alert-secondary-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.alert-secondary-card .sec-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--grass-soft), #b8d97a) center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.alert-secondary-card .sec-photo.alert-style {
  background: linear-gradient(135deg, var(--sun-soft), #f4dca0);
}

.alert-secondary-card .sec-photo .photo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent-explainer);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  z-index: 1;
}

.alert-secondary-card .sec-photo.alert-style .photo-badge { background: var(--accent-alert); }

/* Hero badge — defaults to alert orange (see rule above), this swaps it to sage
   for explainer-type hero stories so the eyebrow chip in the photo matches the
   article's 解讀新聞 tag colour. */
.alert-hero-card .hero-photo .photo-badge.tag-explainer { background: var(--accent-explainer); }

.alert-secondary-card .sec-photo .photo-emoji {
  position: absolute;
  right: -8px;
  bottom: -8px;
  font-size: 100px;
  opacity: 0.2;
  line-height: 1;
}

.alert-secondary-card .sec-body { padding: 22px 24px 24px; }

.alert-secondary-card .sec-date {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.alert-secondary-card .sec-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.alert-secondary-card .sec-summary {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}

.alert-secondary-card .sec-read {
  font-size: 13px;
  font-weight: 700;
  color: var(--sage-deep);
  text-decoration: none;
}

.alert-secondary-card .sec-read:hover { text-decoration: underline; }

/* Tablet alerts — drop secondary row from 3 to 2 columns before it gets cramped. */
@media (max-width: 1100px) {
  .alert-secondary-row { grid-template-columns: 1fr 1fr; }
}

/* Mobile alerts */
@media (max-width: 900px) {
  .alert-grid { grid-template-columns: 1fr; }
  .alert-secondary-row { grid-template-columns: 1fr; }
}

/* ---------- Briefs card (alerts-page sidebar) ----------
   Lives inside the right sidebar as a sibling to 來源 / 爸媽今日可以做.
   Compact list of single-incident alerts that link out to the original
   news source. Visually quieter than the editorial cards on the left. */
.briefs-card .briefs-sub {
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 13px;
}
.briefs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.brief-item + .brief-item {
  border-top: 1px solid var(--line);
}
.brief-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
}
.brief-link:hover .brief-headline { text-decoration: underline; }
.brief-tag {
  align-self: flex-start;
  display: inline-block;
  background: var(--accent-alert);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  margin-bottom: 2px;
}
.brief-headline {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.brief-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .alert-hero-card .hero-photo .photo-emoji { font-size: 120px; }
  .alert-hero-card .hero-body { padding: 18px 18px 20px; }
  .more-alerts-list .ma-thumb { width: 48px; height: 48px; font-size: 20px; }
}

/* ---------- Products page ---------- */

.product-search {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 4px 18px;
  margin: 0 0 24px;
  box-shadow: var(--shadow-sm);
}

.product-search .search-icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}

.product-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 0;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}

.product-search input::placeholder { color: var(--muted); }

.product-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 0 28px;
}

/* Category filter bar — pure CSS + vanilla JS, Cloudflare-safe */

.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 4px;
}

.cat-filter .cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cat-filter .cat-pill:hover {
  border-color: var(--sage);
  color: var(--sage-deep);
}

.cat-filter .cat-pill .count {
  font-size: 12px;
  font-weight: 600;
  background: var(--paper);
  color: var(--muted);
  padding: 1px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.cat-filter .cat-pill.is-active {
  background: var(--sage-deep);
  color: #fff;
  border-color: var(--sage-deep);
}

.cat-filter .cat-pill.is-active .count {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 540px) {
  .cat-filter { gap: 6px; padding: 2px; }
  .cat-filter .cat-pill { padding: 8px 14px; font-size: 13px; }
  .cat-filter .cat-pill .count { padding: 1px 6px; }
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.stat-card h3 {
  font-size: 14px;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
}

.stat-card .stat-big {
  font-size: 36px;
  font-weight: 800;
  color: var(--sage-deep);
  margin: 0 0 14px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-card .stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stat-card .stat-pills .stat-pill {
  background: var(--grass-soft);
  color: var(--sage-deep);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
}

.stat-card .next-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

.stat-card .next-list li {
  position: relative;
  padding: 4px 0 4px 18px;
  line-height: 1.6;
}

.stat-card .next-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--sage);
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 0 36px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-card .pc-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.product-card .pc-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--grass-soft), #b8d97a) center / cover no-repeat;
  overflow: hidden;
}

.product-card.pc-food .pc-photo  { background: linear-gradient(135deg, #d9eecf, #92b96a); }
.product-card.pc-skin .pc-photo  { background: linear-gradient(135deg, #fde2cc, #e8a978); }
.product-card.pc-kit  .pc-photo  { background: linear-gradient(135deg, #f5e3b8, #c79f4a); }

.product-card .pc-emoji {
  position: absolute;
  right: -8px;
  bottom: -10px;
  font-size: 130px;
  opacity: 0.22;
  line-height: 1;
}

.product-card .pc-name-overlay {
  position: absolute;
  bottom: 14px;
  left: 16px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 17px;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.product-card .pc-body {
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card .pc-titles strong {
  display: block;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 2px;
}

.product-card .pc-titles .pc-en {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.product-card .pc-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 4px;
}

.product-card .pc-row .pc-label {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.product-card .pc-row .pc-val {
  color: var(--ink);
}

.product-card .pc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto;
  font-size: 12px;
}

.product-card .pc-footer .pc-date { color: var(--muted); }

.product-card .pc-footer .pc-related {
  background: var(--sun-soft);
  color: var(--accent-alert);
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.product-card .pc-footer .pc-related:hover { background: var(--accent-alert); color: #fff; }

.product-card .pc-arrow {
  font-size: 16px;
  color: var(--sage);
}

/* Mobile products */
@media (max-width: 900px) {
  .product-stats { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .stat-card .stat-big { font-size: 28px; }
  .product-card .pc-emoji { font-size: 90px; }
}

/* ---------- Values strip (bottom of products page) ---------- */

.values-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 24px 0 0;
}

.values-strip .value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.values-strip .value-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grass-soft);
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
}

.values-strip .value-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--ink);
}

.values-strip .value-text span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .values-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .values-strip { grid-template-columns: 1fr; }
}

/* ---------- About page ---------- */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin: 0 0 48px;
}

.about-hero .ah-left h1 {
  font-size: clamp(36px, 5.5vw, 52px);
  line-height: 1.15;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.about-hero .ah-left p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 14px;
  color: var(--ink);
}

.about-hero .ah-signature {
  font-style: italic;
  color: var(--muted);
  margin-top: 18px;
  font-size: 15px;
}

.about-hero .ah-right {
  position: relative;
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-image: url('images/photos/about-family-reading-photo.webp');
  background-size: cover;
  background-position: center;
  background-color: var(--grass-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.about-photo-placeholder::after {
  content: "";
  inset: 0;
  position: absolute;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.compact-photo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 32px;
  align-items: center;
}

.compact-photo-hero .compact-copy {
  min-width: 0;
}

.compact-photo-hero .compact-image {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--grass-soft);
}

.compact-photo-hero + * {
  margin-top: 28px;
}

.article-hero-image {
  margin: 0 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--paper);
}

.article-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 780px) {
  .compact-photo-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.paper-note {
  position: absolute;
  top: 24px;
  right: -20px;
  width: 60%;
  background: #fef5d8;
  border-radius: 6px;
  padding: 22px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: rotate(2deg);
  font-family: "Kaiti SC", "STKaiti", "PingFang TC", serif;
}

.paper-note::before {
  content: "📎";
  position: absolute;
  top: -16px;
  right: 20px;
  font-size: 26px;
  filter: grayscale(1);
  opacity: 0.7;
}

.paper-note h4 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 700;
}

.paper-note p {
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.65;
}

.paper-note p:last-child { margin-bottom: 0; }

/* 3-value columns (About) */

.value-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 40px;
}

.value-column {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}

.value-column .vc-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grass-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 0 14px;
}

.value-column h3 {
  font-size: 18px;
  margin: 0 0 12px;
}

.value-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.value-column ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.value-column ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--sage);
  font-weight: 700;
}

.value-column.is-restraint ul li::before {
  content: "×";
  color: var(--accent-alert);
}

/* Source row (About) */

.source-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0 0 36px;
}

.source-section h3 {
  text-align: center;
  font-size: 16px;
  margin: 0 0 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.source-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.source-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--ink);
}

.source-tile .src-abbr {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grass-soft);
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.source-tile .src-abbr.cc   { background: #e8edf3; color: #557593; }
.source-tile .src-abbr.cfs  { background: #d9eecf; color: var(--sage-deep); }
.source-tile .src-abbr.fda  { background: #ddebf7; color: #1f3f7e; }
.source-tile .src-abbr.efsa { background: #def1e0; color: #006937; }
.source-tile .src-abbr.sg   { background: #ffe6cc; color: #b8631c; }
.source-tile .src-abbr.cr   { background: #ffe4dc; color: #b03b2f; }

.source-tile strong { color: var(--ink); font-size: 13px; font-weight: 700; }
.source-tile span { color: var(--muted); font-size: 11px; }

/* About CTAs */

.about-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 32px;
}

.about-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease;
}

.about-cta.primary {
  background: var(--sage-deep);
  color: #fff;
}

.about-cta.primary:hover { background: var(--sage); }

.about-cta.secondary {
  background: var(--sun-soft);
  color: var(--ink);
  border-color: rgba(212, 146, 48, 0.3);
}

.about-cta.secondary:hover { background: #fde6b8; }

.about-cta .cta-icon {
  font-size: 28px;
  width: 48px;
  text-align: center;
  flex-shrink: 0;
}

.about-cta .cta-text { flex: 1; }
.about-cta .cta-text strong { display: block; font-size: 17px; margin-bottom: 4px; }
.about-cta .cta-text span { font-size: 13px; opacity: 0.85; }

.about-cta .cta-arrow { font-size: 20px; }

/* Mobile about */
@media (max-width: 900px) {
  .about-hero { grid-template-columns: 1fr; gap: 24px; }
  .paper-note { position: static; width: 100%; transform: none; margin-top: -12px; }
  .paper-note::before { display: none; }
  .value-columns { grid-template-columns: 1fr; }
  .source-row { grid-template-columns: repeat(3, 1fr); }
  .about-ctas { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .source-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile breakpoint ---------- */

@media (max-width: 700px) {
  /* Mobile: watercolour banner at top (full width, natural aspect), buttons stack below it. */
  /* padding-top reserves space for the image; buttons live in the flow inside the padded box. */
  .hero-image {
    min-height: 0;
    aspect-ratio: auto;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #cfe5f5;
    padding: 56.25vw 0 28px;  /* 56.25vw = image height at 16:9-ish (936/1664) */
  }
  .hero-buttons {
    position: static;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    max-width: 480px;
    align-items: stretch;
  }
  .hero-buttons .row { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .hero-btn { font-size: 16px; padding: 15px 24px; }
  .hero-btn.primary { padding: 17px 30px; font-size: 18px; }

  .cta-strip { grid-template-columns: 1fr; }
  .cta-strip .tile { padding: 36px 22px; }
}
