/* ============================================
   Sustainable Living Focus — style.css
   Palette: ocean | Fonts: Lora + Barlow (self-hosted)
   Icons: Bootstrap Icons (self-hosted) | Date format: YYYY/MM/DD
   ============================================ */

/* --- Self-hosted fonts ------------------------ */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lora-400.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/lora-600.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/lora-700.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/barlow-400.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/barlow-500.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/barlow-600.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* --- Variables -------------------------------- */
:root {
  --c-primary:   #0e4d6e;
  --c-dark:      #0b3d5a;
  --c-teal:      #17b3a3;
  --c-teal-dk:   #0f8c80;
  --c-accent:    #e8f7f5;
  --c-bg:        #f7fcfb;
  --c-card:      #ffffff;
  --c-text:      #1a2e35;
  --c-muted:     #4e7480;
  --c-border:    #c8e6e3;
  --c-link:      #0a7f73;
  --radius-sm:   4px;
  --radius-md:   8px;
  --font-head:   'Lora', Georgia, serif;
  --font-body:   'Barlow', system-ui, sans-serif;
  --max-w:       1140px;
  --art-w:       740px;
}

/* --- Reset & Base ----------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); }
a:hover { color: var(--c-primary); }

/* --- Typography ------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--c-primary);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); font-weight: 700; }
h2 { font-size: clamp(1.3rem, 2.8vw, 1.7rem); font-weight: 600; margin-top: 2.5rem; margin-bottom: .85rem; }
h3 { font-size: 1.12rem; font-weight: 600; margin-top: 1.75rem; margin-bottom: .55rem; color: #1a4a5e; }
p  { margin-bottom: 1.1rem; }

/* --- Layout helpers --------------------------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.article-wrap {
  max-width: var(--art-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* --- Site Header / Nav ------------------------ */
.site-header {
  background: var(--c-primary);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(14,77,110,.28);
}
.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: .8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-size: .65rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: .05rem;
}
.site-nav { display: flex; align-items: center; gap: .1rem; }
.site-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  padding: .38rem .7rem;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.site-nav a:hover, .site-nav a.active {
  background: rgba(255,255,255,.13);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: .3rem .5rem;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

/* --- Homepage intro strip --------------------- */
.intro-strip {
  background: linear-gradient(130deg, #0b3d5a 0%, #0e4d6e 45%, #146b60 100%);
  color: #fff;
  padding: 3.75rem 0 3.25rem;
}
.intro-strip h1 { color: #fff; margin-bottom: .7rem; }
.intro-strip .tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin-bottom: 1.5rem;
}

.intro-strip .intro-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--c-teal);
  color: #fff;
  text-decoration: none;
  padding: .6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
  transition: background .15s;
}
.intro-strip .intro-cta:hover { background: var(--c-teal-dk); color: #fff; }

/* --- Section titles (homepage) ---------------- */
.home-section { padding: 2.5rem 0; }
.home-section + .home-section { border-top: 1px solid var(--c-border); }
.section-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 1.5rem;
  padding-bottom: .55rem;
  border-bottom: 2px solid var(--c-teal);
}

/* --- Cards ------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
}
.card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 4px 22px rgba(14,77,110,.12); transform: translateY(-2px); }
.card-tag {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--c-teal);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.card h3 {
  font-size: 1.05rem;
  margin-top: .25rem;
  margin-bottom: .5rem;
  line-height: 1.35;
  color: var(--c-primary);
}
.card p {
  font-size: .9rem;
  color: var(--c-muted);
  flex: 1;
  margin-bottom: 1.1rem;
}
.card-link {
  font-size: .87rem;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: auto;
}
.card-link:hover { color: var(--c-teal); }

/* --- About strip ------------------------------ */
.about-strip {
  background: var(--c-accent);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 2.25rem 0;
}
.about-strip h2 { margin-top: 0; font-size: 1.2rem; }
.about-strip p { max-width: 660px; color: var(--c-muted); margin-bottom: .6rem; }

/* --- Article page header ---------------------- */
.article-header {
  background: linear-gradient(130deg, #0b3d5a 0%, #0e4d6e 100%);
  padding: 2.5rem 0 2.25rem;
  color: #fff;
}
.article-header .breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: .3rem;
  flex-wrap: wrap;
  margin-bottom: .8rem;
}
.article-header .breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.article-header .breadcrumb a:hover { color: #fff; }
.article-header .breadcrumb .sep { color: rgba(255,255,255,.35); }
.article-header h1 { color: #fff; margin-bottom: .65rem; }
.article-meta {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
  font-size: .83rem;
  color: rgba(255,255,255,.68);
}
.article-meta .bi { color: rgba(255,255,255,.5); }
.article-meta a { color: rgba(255,255,255,.8); text-decoration: none; }

/* --- Article body ----------------------------- */
.article-body { padding: 2.5rem 0 3rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.article-body li { margin-bottom: .35rem; }
.article-body blockquote {
  border-left: 3px solid var(--c-teal);
  background: var(--c-accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--c-muted);
}

/* --- Tags ------------------------------------- */
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.4rem 0 0; }
.tag {
  background: var(--c-accent);
  border: 1px solid var(--c-border);
  color: var(--c-primary);
  font-size: .76rem;
  font-weight: 500;
  padding: .18rem .55rem;
  border-radius: 20px;
  text-decoration: none;
}

/* --- FAQ -------------------------------------- */
.faq-section { margin-top: 1rem; }
.faq-section > h2 { margin-top: 2.5rem; }
.faq-item {
  border-bottom: 1px solid var(--c-border);
}
.faq-item:first-of-type { border-top: 1px solid var(--c-border); }
.faq-item summary {
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 600;
  color: var(--c-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .85rem 0;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '\002B';
  font-size: 1.1rem;
  color: var(--c-teal);
  flex-shrink: 0;
  font-family: var(--font-body);
  font-weight: 400;
  margin-top: .05rem;
  width: 1rem;
  text-align: center;
}
details[open] > .faq-item > summary::before,
details[open] > summary.faq-sum::before { content: '\2212'; }
details[open] > summary.faq-sum::before { content: '\2212'; }

details .faq-ans {
  padding: 0 0 .9rem 1.55rem;
  font-size: .94rem;
  color: var(--c-muted);
}
details .faq-ans p { margin-bottom: .5rem; }

/* FAQ using direct summary child */
details > summary {
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 600;
  color: var(--c-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .85rem 0;
  user-select: none;
  border-top: 1px solid var(--c-border);
}
details > summary::-webkit-details-marker { display: none; }
details > summary::before {
  content: '\002B';
  font-size: 1.05rem;
  color: var(--c-teal);
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
}
details[open] > summary::before { content: '\2212'; }
details + details { border-top: none; }
details:last-of-type { border-bottom: 1px solid var(--c-border); }
.faq-body {
  padding: 0 0 .9rem 1.55rem;
  font-size: .94rem;
  color: var(--c-muted);
}
.faq-body p { margin-bottom: .5rem; }

/* --- Related articles ------------------------- */
.related-section {
  background: var(--c-accent);
  border-top: 1px solid var(--c-border);
  padding: 2rem 0 2.5rem;
}
.related-section .section-head { font-size: 1.05rem; margin-bottom: 1.1rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.related-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  text-decoration: none;
  transition: box-shadow .2s;
  display: block;
}
.related-card:hover { box-shadow: 0 3px 14px rgba(14,77,110,.1); }
.related-card .rc-tag {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-teal);
  margin-bottom: .3rem;
}
.related-card h4 {
  font-size: .9rem;
  color: var(--c-primary);
  margin-top: .25rem;
  line-height: 1.3;
}

/* --- Author box ------------------------------- */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--c-accent);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: .5rem;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.author-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.author-info h4 { font-size: .95rem; margin-top: 0; color: var(--c-primary); }
.author-info p { font-size: .85rem; color: var(--c-muted); margin: 0; }

/* --- Site Footer ------------------------------ */
.site-footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.75);
  padding: 2.75rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .brand-link { margin-bottom: .7rem; }
.footer-brand p {
  font-size: .85rem;
  line-height: 1.6;
  color: rgba(255,255,255,.55);
  max-width: 300px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.42);
  margin-bottom: .85rem;
  margin-top: 0;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul a { font-size: .875rem; color: rgba(255,255,255,.65); text-decoration: none; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.38);
}
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* --- Image placeholders ----------------------- */
.img-ph {
  background: linear-gradient(135deg, #ddf0ed 0%, #c5e8e3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.img-ph-icon {
  font-size: 2.2rem;
  color: rgba(14,77,110,.22);
}
.img-ph-16-9 { aspect-ratio: 16/9; }

/* Card with top image */
.card-with-img { padding: 0; overflow: hidden; }
.card-img { border-radius: 0; }
.card-body {
  padding: 1.1rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-lead.card-with-img .card-img { aspect-ratio: 16/9; }

/* Article hero placeholder */
.art-hero-ph {
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}
/* Section image placeholder (mid-article) */
.art-section-ph {
  border-radius: var(--radius-sm);
  margin: 2rem 0;
}
/* Real article images */
.art-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  display: block;
}
.art-section-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 2rem 0;
  display: block;
}

/* --- Intro SVG deco (idea 1) ------------------ */
.intro-strip { position: relative; overflow: hidden; }
.intro-deco {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .07;
  pointer-events: none;
  user-select: none;
}

/* --- Topic chips row (idea 5) ----------------- */
.topic-chips {
  background: var(--c-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: .6rem 0;
}
.chips-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.chips-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: rgba(255,255,255,.38);
  margin-right: .2rem;
  white-space: nowrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  padding: .25rem .7rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.12);
  transition: background .15s, color .15s;
}
.chip:hover { background: rgba(23,179,163,.25); color: #fff; }
.chip .bi { font-size: .8rem; }

/* --- Split featured grid (idea 2) ------------- */
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.4rem;
  margin-bottom: 0;
}
.card-lead { grid-row: 1 / 3; }
.card-lead h3 { font-size: 1.3rem; margin-bottom: .7rem; }
.card-lead p { font-size: .97rem; line-height: 1.75; }
.card-lead .card-link { font-size: .92rem; }

/* --- Card top-border accents (idea 4) --------- */
.card-acc-teal  { border-top: 3px solid #17b3a3; }
.card-acc-ocean { border-top: 3px solid #1a6b8a; }
.card-acc-mid   { border-top: 3px solid #1a9b8e; }
.card-acc-light { border-top: 3px solid #3ccfc4; }
.card-acc-deep  { border-top: 3px solid #0b3d5a; }
.card-acc-sage  { border-top: 3px solid #2a9d8f; }

/* --- Pull-quote strip (idea 6) ---------------- */
.quote-strip {
  background: var(--c-dark);
  padding: 2.75rem 0;
  position: relative;
  overflow: hidden;
}
.quote-deco {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-52%);
  font-family: var(--font-head);
  font-size: 12rem;
  color: rgba(255,255,255,.05);
  line-height: .85;
  pointer-events: none;
  user-select: none;
}
.quote-deco-r {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-52%);
  font-family: var(--font-head);
  font-size: 12rem;
  color: rgba(255,255,255,.05);
  line-height: .85;
  pointer-events: none;
  user-select: none;
}
.quote-inner { position: relative; z-index: 1; text-align: center; }
.quote-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  color: var(--c-teal);
  font-size: 1.5rem;
}
.quote-text {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: rgba(255,255,255,.88);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}
.quote-attr {
  font-size: .8rem;
  color: rgba(255,255,255,.42);
  margin-top: .85rem;
  font-family: var(--font-body);
  letter-spacing: .03em;
}

/* --- SVG wave divider (idea 2) ---------------- */
.wave-divider {
  background: linear-gradient(130deg, #0b3d5a 0%, #0e4d6e 45%, #146b60 100%);
  line-height: 0;
  margin-bottom: -1px;
}
.wave-divider svg { display: block; width: 100%; height: 52px; }

/* --- Key fact callout (idea 4) ---------------- */
.fact-callout {
  background: var(--c-accent);
  border-top: 3px solid var(--c-teal);
  border-bottom: 3px solid var(--c-teal);
  padding: 2.25rem 0;
}
.fact-callout-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.fact-num {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 4.75rem);
  font-weight: 700;
  color: var(--c-teal);
  line-height: 1;
  flex-shrink: 0;
}
.fact-text { flex: 1; min-width: 220px; }
.fact-text p {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--c-primary);
  line-height: 1.45;
  margin-bottom: .4rem;
}
.fact-text small {
  font-size: .77rem;
  color: var(--c-muted);
}

/* --- Scroll-reveal (CSS-only, view timeline) -- */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@supports (animation-timeline: view()) {
  .card {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 28%;
  }
  .card:nth-child(2) { animation-delay: .05s; }
  .card:nth-child(3) { animation-delay: .1s; }

  .section-head {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }

  .quote-inner {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  .about-strip {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 25%;
  }

  .author-box {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  .related-card {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }

  .img-ph.art-hero-ph {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 25%;
  }

  .faq-section details {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

/* --- Responsive ------------------------------- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-dark);
    padding: .75rem 1.25rem 1.1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,.28);
    z-index: 300;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .5rem .35rem; font-size: .95rem; width: 100%; }
  .site-header { position: relative; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-brand p { max-width: 100%; }
  .card-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .author-box { flex-direction: column; }
  .featured-grid { grid-template-columns: 1fr; }
  .card-lead { grid-row: auto; }
  .intro-deco { display: none; }
  .quote-deco, .quote-deco-r { display: none; }
}

@media (max-width: 480px) {
  .intro-strip { padding: 2.5rem 0 2.25rem; }
  .article-header { padding: 1.75rem 0 1.6rem; }
}
