/* ==========================================================================
   Culture Competence & Care — design system
   Display: Zodiak (Fontshare) · Body: Work Sans (Google)
   ========================================================================== */

:root {
  --font-display: 'Zodiak', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 76rem;
  --container-narrow: 46rem;
}

/* ---------- Light (default) ---------- */
:root,
[data-theme='light'] {
  --color-bg: #fbf8f3;
  --color-surface: #ffffff;
  --color-surface-2: #f6f2ea;
  --color-surface-offset: #efeadf;
  --color-border: rgba(31, 58, 40, 0.16);
  --color-divider: rgba(31, 58, 40, 0.1);

  --color-text: #1b2119;
  --color-text-muted: #545c4f;
  --color-text-faint: #8b9184;
  --color-text-inverse: #fbf8f3;

  --color-primary: #1f5132;        /* deep Caribbean green (logo + book cover) */
  --color-primary-hover: #163b25;
  --color-primary-soft: #e4ece3;

  --color-accent: #b8551a;         /* mango / ackee — highlights only */
  --color-accent-soft: #f6e7d9;

  --shadow-sm: 0 1px 2px rgba(27, 33, 25, 0.08);
  --shadow-md: 0 6px 20px rgba(27, 33, 25, 0.09);
  --shadow-lg: 0 18px 44px rgba(27, 33, 25, 0.14);
}

/* ---------- Dark ---------- */
[data-theme='dark'] {
  --color-bg: #14170f;
  --color-surface: #1b1f17;
  --color-surface-2: #21261c;
  --color-surface-offset: #272d21;
  --color-border: rgba(226, 236, 219, 0.16);
  --color-divider: rgba(226, 236, 219, 0.1);

  --color-text: #e7ebe1;
  --color-text-muted: #a6ae9c;
  --color-text-faint: #79806f;
  --color-text-inverse: #14170f;

  --color-primary: #86bb92;
  --color-primary-hover: #a3d0ad;
  --color-primary-soft: #24301f;

  --color-accent: #e2a06a;
  --color-accent-soft: #33251a;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #14170f; --color-surface: #1b1f17; --color-surface-2: #21261c;
    --color-surface-offset: #272d21; --color-border: rgba(226, 236, 219, 0.16);
    --color-divider: rgba(226, 236, 219, 0.1); --color-text: #e7ebe1;
    --color-text-muted: #a6ae9c; --color-text-faint: #79806f; --color-text-inverse: #14170f;
    --color-primary: #86bb92; --color-primary-hover: #a3d0ad; --color-primary-soft: #24301f;
    --color-accent: #e2a06a; --color-accent-soft: #33251a;
  }
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-6); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }
.section--tight { padding-block: clamp(var(--space-12), 5vw, var(--space-20)); }
.section--offset { background: var(--color-surface-2); }

.skip-link {
  position: absolute; left: var(--space-4); top: var(--space-2);
  transform: translateY(-200%);
  background: var(--color-primary); color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm);
  z-index: 100; font-size: var(--text-sm);
}
.skip-link:focus { transform: translateY(0); }

/* ==========================================================================
   Type
   ========================================================================== */
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); letter-spacing: -0.02em; }
.page-title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); letter-spacing: -0.02em; }
.section-title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); letter-spacing: -0.015em; }
.sub-title { font-size: var(--text-lg); font-weight: 600; line-height: 1.3; }

.eyebrow {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-primary);
}
.hero .eyebrow { color: #cfe3cd; }

.lede { font-size: var(--text-lg); line-height: 1.5; color: var(--color-text-muted); max-width: 46ch; }
.prose p { color: var(--color-text-muted); max-width: 68ch; }
.prose p + p { margin-top: var(--space-4); }
.prose strong { color: var(--color-text); font-weight: 600; }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--text-sm); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 46px; padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.01em;
  border-radius: var(--radius-full); text-decoration: none; border: 1px solid transparent;
}
.btn--primary { background: var(--color-primary); color: var(--color-text-inverse); }
.btn--primary:hover { background: var(--color-primary-hover); }
[data-theme='dark'] .btn--primary { color: #10140c; }

.btn--outline { border-color: var(--color-border); color: var(--color-text); background: transparent; }
.btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn--onphoto { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.55); backdrop-filter: blur(6px); }
.btn--onphoto:hover { background: #fff; color: #14301c; border-color: #fff; }

.btn--light { background: #fff; color: #17361f; }
.btn--light:hover { background: #eef3ea; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; font-size: var(--text-sm); color: var(--color-primary); text-decoration: none;
}
.link-arrow::after { content: '→'; transition: transform var(--transition-interactive); }
.link-arrow:hover::after { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--space-6);
  min-height: 74px; padding-block: var(--space-2);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
[data-theme='dark'] .brand img { filter: brightness(0) invert(1) opacity(0.92); }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: var(--space-5); list-style: none; }
.nav a {
  font-size: var(--text-sm); font-weight: 500; text-decoration: none;
  color: var(--color-text-muted); padding-block: var(--space-2);
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--color-text); }
.nav a[aria-current='page'] { color: var(--color-primary); border-bottom-color: var(--color-primary); }

.header__actions { display: flex; align-items: center; gap: var(--space-2); }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--radius-full); color: var(--color-text-muted);
}
.icon-btn:hover { background: var(--color-surface-2); color: var(--color-text); }

.nav-toggle { display: none; }

@media (max-width: 1000px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; margin: 0;
    background: var(--color-bg); border-bottom: 1px solid var(--color-divider);
    padding: var(--space-4) var(--space-6) var(--space-8);
    clip-path: inset(0 0 100% 0); pointer-events: none;
    transition: clip-path 320ms var(--ease-out);
  }
  .nav[data-open='true'] { clip-path: inset(0 0 0 0); pointer-events: auto; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { display: block; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-divider); font-size: var(--text-base); }
  .nav a[aria-current='page'] { border-bottom-color: var(--color-divider); }
  .nav-toggle { display: grid; }
  .brand img { height: 44px; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 420px) {
  .site-header__inner { gap: var(--space-3); }
  .header__actions { gap: 0; }
  .icon-btn { width: 40px; height: 40px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(78vh, 680px); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(78deg, rgba(11, 24, 14, 0.9) 0%, rgba(11, 24, 14, 0.66) 42%, rgba(11, 24, 14, 0.18) 100%);
}
.hero__inner { padding-block: clamp(var(--space-16), 10vw, var(--space-32)); color: #fff; }
.hero__inner p { color: rgba(255, 255, 255, 0.88); }
.hero__title { color: #fff; max-width: 22ch; }
.hero__sub { margin-top: var(--space-5); font-size: var(--text-base); max-width: 56ch; }
.hero__sub em { font-style: normal; color: #fff; font-weight: 600; }
.hero .btn-row { margin-top: var(--space-8); }

.hero--compact { min-height: min(46vh, 420px); }
.hero--compact .hero__title { font-size: var(--text-xl); max-width: 28ch; }
.hero--compact .hero__inner { padding-block: clamp(var(--space-12), 7vw, var(--space-20)); }

.hero__pillars { margin-top: var(--space-6); display: grid; gap: var(--space-2); list-style: none; }
.hero__pillars li { position: relative; padding-left: var(--space-5); color: rgba(255, 255, 255, 0.9); font-size: var(--text-sm); }
.hero__pillars li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 8px; height: 2px; background: #cfe3cd; }

/* ==========================================================================
   Featured book — asymmetric split
   ========================================================================== */
.book-feature { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
@media (min-width: 900px) { .book-feature { grid-template-columns: 0.85fr 1.15fr; } }

.book-cover-frame {
  position: relative; padding: var(--space-6);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.book-cover-frame img { width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.book-cover-frame--sticky { position: sticky; top: 100px; }

.badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-accent); background: var(--color-accent-soft);
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
}

.book-title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); margin-top: var(--space-4); }
.book-title span { display: block; font-size: var(--text-base); font-family: var(--font-body); font-weight: 400; color: var(--color-text-muted); margin-top: var(--space-3); line-height: 1.5; }

/* ==========================================================================
   Checklists
   ========================================================================== */
.check-list { list-style: none; display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.check-list li { position: relative; padding-left: var(--space-8); color: var(--color-text-muted); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 0.45em;
  width: 18px; height: 10px; border-left: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary); transform: rotate(-45deg);
}
.check-list--tight li { padding-left: var(--space-6); }

.rule { border: 0; border-top: 1px solid var(--color-divider); margin-block: var(--space-12); }

/* ==========================================================================
   Offer list — narrative rows, not a 3-up icon grid
   ========================================================================== */
.offer-list { display: grid; gap: 0; margin-top: var(--space-12); border-top: 1px solid var(--color-divider); }
.offer {
  display: grid; gap: var(--space-3) var(--space-10);
  padding-block: var(--space-8); border-bottom: 1px solid var(--color-divider);
}
@media (min-width: 820px) { .offer { grid-template-columns: 0.42fr 0.58fr; align-items: baseline; } }
.offer__num { font-size: var(--text-xs); font-weight: 600; color: var(--color-text-faint); letter-spacing: 0.14em; }
.offer h3 { font-size: var(--text-lg); font-weight: 600; }
.offer p { color: var(--color-text-muted); }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: var(--text-lg); font-weight: 600; }
.card p { margin-top: var(--space-3); color: var(--color-text-muted); font-size: var(--text-sm); }

.card-grid { display: grid; gap: var(--space-6); margin-top: var(--space-10); }
@media (min-width: 700px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.media-card { overflow: hidden; padding: 0; }
.media-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.media-card__body { padding: var(--space-6); }

/* Split feature (image + text, alternating) */
.split { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; object-fit: cover; }

/* Author intro */
.author-card {
  display: grid; gap: clamp(var(--space-6), 4vw, var(--space-10)); align-items: center;
  background: var(--color-surface-2); border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg); padding: clamp(var(--space-8), 4vw, var(--space-12));
}
@media (min-width: 760px) { .author-card { grid-template-columns: auto minmax(0, 1fr); } }
.author-photo {
  width: 140px; height: 140px; border-radius: var(--radius-full); object-fit: cover;
  border: 4px solid var(--color-surface); box-shadow: var(--shadow-md);
}
.credential-line { font-size: var(--text-sm); color: var(--color-text-muted); letter-spacing: 0.02em; }

/* Article / brief list */
.post-list { list-style: none; margin-top: var(--space-8); border-top: 1px solid var(--color-divider); }
.post-list li { border-bottom: 1px solid var(--color-divider); }
.post-list a { display: grid; gap: var(--space-1); padding-block: var(--space-5); text-decoration: none; }
.post-list a:hover .post-list__title { color: var(--color-primary); }
.post-list__title { font-size: var(--text-base); font-weight: 600; }
.post-list__meta { font-size: var(--text-xs); color: var(--color-text-faint); letter-spacing: 0.04em; }

.topic-block + .topic-block { margin-top: var(--space-12); }
.topic-block h3 { font-size: var(--text-lg); font-weight: 600; }

/* Pull quote */
.pullquote {
  margin-block: var(--space-12);
  padding-left: var(--space-8);
  border-left: 2px solid var(--color-primary);
  font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.4;
  color: var(--color-text);
}
.pullquote cite { display: block; margin-top: var(--space-4); font-family: var(--font-body); font-size: var(--text-sm); font-style: normal; color: var(--color-text-muted); }

/* Fact table (CPE details) */
.spec-table { margin-top: var(--space-6); font-size: var(--text-sm); }
.spec-table th, .spec-table td { text-align: left; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-divider); vertical-align: top; }
.spec-table th { width: 40%; font-weight: 600; color: var(--color-text); }
.spec-table td { color: var(--color-text-muted); }

/* Buy panel */
.buy-panel { background: var(--color-primary-soft); border-radius: var(--radius-lg); padding: var(--space-8); }
.buy-panel .price { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-text); }
.buy-panel p { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-2); }
.buy-panel .btn { margin-top: var(--space-5); }

/* Notice */
.notice {
  display: flex; gap: var(--space-3); align-items: flex-start;
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm); color: var(--color-text-muted);
}

/* ==========================================================================
   Contact band
   ========================================================================== */
.contact-band { position: relative; isolation: isolate; color: #fff; }
.contact-band__media { position: absolute; inset: 0; z-index: -2; }
.contact-band__media img { width: 100%; height: 100%; object-fit: cover; }
.contact-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(78deg, rgba(10, 22, 13, 0.96) 0%, rgba(10, 22, 13, 0.9) 45%, rgba(10, 22, 13, 0.84) 100%);
}
.contact-band .section-title { color: #fff; }
.contact-band p { color: rgba(255, 255, 255, 0.85); }

.contact-grid { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.8fr 1.2fr; } }

.form-grid { display: grid; gap: var(--space-4); }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-field--full { grid-column: 1 / -1; } }

.form-field { display: grid; gap: var(--space-2); }
.form-field label { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.form-field input, .form-field textarea {
  width: 100%; padding: var(--space-3) var(--space-4);
  background: rgba(8, 18, 11, 0.55); border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md); color: #fff; font-size: var(--text-sm);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255, 255, 255, 0.55); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: #fff; background: rgba(8, 18, 11, 0.75); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18); }
.form-status { font-size: var(--text-sm); color: #d9e8d6; min-height: 1.2em; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-surface-2); border-top: 1px solid var(--color-divider); }
.footer-grid { display: grid; gap: var(--space-10); padding-block: var(--space-16) var(--space-10); }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; display: grid; gap: var(--space-2); }
.site-footer a { font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--color-primary); }
.site-footer img.footer-logo { height: 56px; width: auto; }
[data-theme='dark'] .site-footer img.footer-logo { filter: brightness(0) invert(1) opacity(0.9); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between;
  padding-block: var(--space-5); border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs); color: var(--color-text-faint);
}
.footer-bottom p { max-width: none; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* Resources — commentary topic lists */
.topic-grid { display: grid; gap: var(--space-10) clamp(var(--space-8), 5vw, var(--space-16)); }
@media (min-width: 900px) { .topic-grid { grid-template-columns: 1fr 1fr; } .topic-block + .topic-block { margin-top: 0; } }
.topic-block .post-list { margin-top: var(--space-5); }

.form-field input.is-invalid, .form-field textarea.is-invalid { border-color: #f0a58a; box-shadow: 0 0 0 3px rgba(240, 165, 138, 0.22); }
.form-status { color: #e9f2e6; }

/* On narrow screens lead with the copy, not the side panel */
@media (max-width: 899px) {
  .book-feature--text-first > :first-child { order: 2; }
}

/* Resource brief photos */
.card--media { overflow: hidden; }
.card__img { display: block; width: calc(100% + 2 * var(--space-6)); max-width: none; margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-5); aspect-ratio: 16 / 9; object-fit: cover; }

/* Video */
.video-feature { margin-top: clamp(var(--space-10), 6vw, var(--space-16)); max-width: 900px; margin-inline: auto; }
.video-embed { position: relative; margin-top: var(--space-5); aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #000; }
.video-embed iframe, .video-embed__poster, .video-embed__poster img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-embed__play { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(0,0,0,.65); transition: background .2s, transform .2s; }
.video-embed__play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%); border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent #fff; }
.video-embed__poster:hover .video-embed__play, .video-embed__poster:focus-visible .video-embed__play { background: var(--color-primary, #2f6b3a); transform: scale(1.06); }

/* Two-video row: 16:9 + vertical, equal heights on desktop */
.video-feature.video-row { max-width: 1040px; display: grid; gap: var(--space-8); align-items: end; }
@media (min-width: 760px) { .video-feature.video-row { grid-template-columns: 1.778fr 0.561fr; } }
.video-embed--vertical { aspect-ratio: 404 / 720; max-width: 340px; margin-inline: auto; }
@media (min-width: 760px) { .video-embed--vertical { max-width: none; } }
.video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }

/* Three-video layout: two 16:9 stacked left, vertical jackfruit right */
.video-feature.video-row { align-items: start; }
@media (min-width: 760px) {
  .video-feature.video-row { grid-template-columns: 1.43fr 1fr; grid-template-areas: "carbs jack" "yam jack"; }
  .video-item--carbs { grid-area: carbs; }
  .video-item--yam { grid-area: yam; }
  .video-item--vertical { grid-area: jack; }
}

/* Resources: clickable briefs + article list */
.card--media { position: relative; transition: box-shadow .2s, transform .2s; }
.card--media:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card--media:focus-within { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.card .card__more { margin-top: var(--space-4); font-weight: 600; color: var(--color-primary); font-size: var(--text-sm); }
.post-list__link { color: inherit; text-decoration: none; transition: color .15s; }
.post-list__link:hover, .post-list__link:focus-visible { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Article pages (briefs and commentaries)
   ========================================================================== */
.article__inner { max-width: 760px; }
.article__crumbs { color: var(--color-text-muted); margin-bottom: var(--space-6); }
.article__crumbs a { color: var(--color-primary); text-decoration: none; }
.article__crumbs a:hover { text-decoration: underline; }
.article__title { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.12; margin-top: var(--space-3); text-wrap: balance; }
.article__byline { margin-top: var(--space-4); font-size: var(--text-sm); }
.article__figure { margin-top: var(--space-8); border-radius: var(--radius-lg); overflow: hidden; }
.article__figure img { width: 100%; height: auto; display: block; }
.article__body { margin-top: var(--space-8); font-size: var(--text-base); line-height: 1.75; }
.article__body p { max-width: none; }
.article__body ul { margin: var(--space-4) 0 var(--space-4) var(--space-6); color: var(--color-text-muted); }
.article__body li + li { margin-top: var(--space-2); }
.article__body a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.article__body em { font-style: italic; }
.article__body figure { margin: var(--space-6) 0; }
.article__body figure img { border-radius: var(--radius-md); max-width: 100%; height: auto; }
.article__body p.verse { padding-left: var(--space-5); border-left: 2px solid var(--color-divider); }
.article__body * + p, .article__body ul + p { margin-top: var(--space-4); }
.article__note { margin-top: var(--space-10); padding: var(--space-6); background: var(--color-surface-2); border-radius: var(--radius-lg); display: grid; gap: var(--space-3); justify-items: start; }
.article__note p { color: var(--color-text-muted); }
.article__note .eyebrow { color: var(--color-primary); }
.article__more { margin-top: var(--space-12); }
.article__more-title { font-family: var(--font-display); font-size: var(--text-xl); }
