/* ============================================================
   The Lovely Meds Journal — Design System
   Brand tokens extracted from lovelymeds.com (live site).
   See README.md for the palette/typography rationale.
   ============================================================ */

:root {
  /* --- Colour — official Lovely Meds Brand Guidelines (Feb 2026) --- */
  --navy:        #0F1D37;   /* primary/neutral navy — header, headings, buttons */
  --navy-deep:   #0A1526;   /* footer / deep sections (darker navy) */
  --steel:       #3F6785;   /* primary brand blue (secondary accent) */
  --ink:         #1E2536;   /* body copy */
  --cream:       #F3EFE6;   /* primary cream — page background */
  --cream-gold:  #FFF7D7;   /* soft warning panel (ISI) */
  --tan:         #3F6785;   /* eyebrow/accent — brand steel-blue */
  --coral:       #34BAAD;   /* secondary/details — CTA accent */
  --coral-ink:   #D23A28;   /* coral hover/darker */
  --muted:       #6E7583;   /* muted grey */
  --line:        #E4DECF;   /* hairline borders on cream */
  --white:       #FFFFFF;

  /* --- Type --- */
  --display: "Poppins", Georgia, "Times New Roman", serif;
  --body:    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* --- Layout --- */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(21,43,78,.04), 0 12px 32px rgba(21,43,78,.07);
  --shadow-lift: 0 2px 6px rgba(21,43,78,.06), 0 24px 60px rgba(21,43,78,.12);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--tan);
}
.lede { font-size: 1.2rem; color: #40465B; max-width: 60ch; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--body); font-weight: 600; font-size: .95rem;
  padding: .82em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-coral   { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-ink); color: #fff; box-shadow: 0 10px 24px rgba(241,78,58,.35); }
.btn-navy    { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); box-shadow: 0 10px 24px rgba(21,43,78,.25); }
.btn-ghost   { background: transparent; color: var(--navy); border-color: rgba(21,43,78,.22); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(21,43,78,.04); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,239,230,.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 20px;
  min-height: 74px;
}
.nav__logo img { height: 30px; width: auto; }
.nav__logo { display: inline-flex; align-items: center; }
.nav__tag {
  font-family: var(--display); font-style: italic; color: var(--tan);
  font-size: .95rem; margin-left: 10px; padding-left: 12px;
  border-left: 1px solid var(--line); white-space: nowrap;
}
.nav__links {
  display: flex; align-items: center; gap: 4px; margin-left: auto;
  list-style: none; padding: 0; margin-block: 0; flex-wrap: wrap;
}
.nav__links a {
  font-size: .875rem; font-weight: 500; color: #2B3350;
  padding: .5em .7em; border-radius: 8px; transition: background .15s, color .15s;
}
.nav__links a:hover { background: rgba(21,43,78,.06); text-decoration: none; color: var(--navy); }
.nav__cta { margin-left: 8px; }
.nav__toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  padding: 8px; color: var(--navy);
}

@media (max-width: 1080px) {
  .nav__tag { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 22px; box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: .8em .4em; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 12px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-top: .15em; }
.hero__art {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 20% 15%, #FFF7D7 0%, transparent 55%),
    radial-gradient(120% 120% at 90% 90%, rgba(202,157,125,.5) 0%, transparent 50%),
    linear-gradient(150deg, #E9EEF6 0%, #DDE6F1 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-lift);
  display: grid; place-items: center; color: var(--navy); position: relative; overflow: hidden;
}
.hero__art span { font-family: var(--display); font-style: italic; opacity: .55; font-size: 1.05rem; }
@media (max-width: 820px) { .hero__grid { grid-template-columns: 1fr; } .hero__art { order: -1; } }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section--cream { background: var(--white); border-block: 1px solid var(--line); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section__head p { margin: .4em 0 0; }

/* ---------- Category pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-family: var(--body); font-size: .85rem; font-weight: 500;
  padding: .5em 1em; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); color: #2B3350; cursor: pointer; transition: all .15s var(--ease);
}
.pill:hover { border-color: var(--tan); text-decoration: none; color: var(--navy); }
.pill[aria-pressed="true"], .pill.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Featured post ---------- */
.featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 44px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.featured__media {
  min-height: 320px;
  background:
    radial-gradient(120% 120% at 80% 20%, rgba(255,247,215,.9), transparent 55%),
    linear-gradient(160deg, #3F6785 0%, #0F1D37 100%);
  display: grid; place-items: center; color: rgba(255,255,255,.5); font-family: var(--display); font-style: italic;
}
.featured__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.featured__body h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
@media (max-width: 760px) { .featured { grid-template-columns: 1fr; } }

/* ---------- Post grid (placeholder cards) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card__media { aspect-ratio: 3/2; background: linear-gradient(155deg, #EAF0F7, #DCE6F1); position: relative; }
.card__media::after {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(21,43,78,.28); font-family: var(--display); font-style: italic; font-size: .95rem;
}
.card__body { padding: 18px 20px 22px; }
.card__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--tan); font-weight: 600; }
.card__body h3 { font-size: 1.18rem; margin: .5em 0 .3em; }
.card--empty { border-style: dashed; background: transparent; }
.card--empty .card__media { background: repeating-linear-gradient(45deg, #F3EFE8, #F3EFE8 12px, #EFEAE1 12px, #EFEAE1 24px); }

/* ---------- Subscribe ---------- */
.subscribe {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #EAF0F7; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 60px);
  position: relative; overflow: hidden;
}
.subscribe::before {
  content: ""; position: absolute; width: 340px; height: 340px; right: -80px; top: -120px;
  background: radial-gradient(circle, rgba(255,247,215,.22), transparent 70%);
}
.subscribe h2 { color: #fff; position: relative; }
.subscribe p { color: rgba(234,240,247,.82); position: relative; }
.subscribe__form { display: flex; gap: 12px; max-width: 480px; margin-top: 20px; position: relative; flex-wrap: wrap; }
.subscribe__form input {
  flex: 1 1 220px; padding: .85em 1.1em; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08); color: #fff; font-family: var(--body); font-size: .95rem;
}
.subscribe__form input::placeholder { color: rgba(234,240,247,.6); }
.subscribe__form input:focus { outline: none; border-color: var(--coral); background: rgba(255,255,255,.14); }
.subscribe__note { font-size: .78rem; color: rgba(234,240,247,.6); margin-top: 12px; position: relative; }
.subscribe__success {
  display: none; margin-top: 18px; padding: 14px 18px; border-radius: var(--radius);
  background: rgba(255,247,215,.14); border: 1px solid rgba(255,247,215,.3); color: #FFF7D7;
  position: relative; font-size: .95rem;
}
.subscribe.is-done .subscribe__form { display: none; }
.subscribe.is-done .subscribe__success { display: block; }

/* ---------- Trust badges ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 720px) { .trust { grid-template-columns: repeat(2, 1fr); } }
.trust__item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; text-align: center;
}
.trust__item .ico {
  width: 38px; height: 38px; margin: 0 auto 12px; color: var(--navy);
}
.trust__item strong { display: block; font-family: var(--display); font-size: 1.02rem; color: var(--navy); font-weight: 500; }
.trust__item span { font-size: .8rem; color: var(--muted); }

/* ---------- Important Safety Information (ISI) ---------- */
.isi {
  background: var(--cream-gold); border: 1px solid #EFE2AE; border-radius: var(--radius);
  padding: 22px 24px; margin: 28px 0; font-size: .9rem; color: #4A421F;
}
.isi h4 { color: #6B5A17; font-family: var(--body); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin-bottom: .6em; }
.isi p { margin-bottom: .7em; }
.isi p:last-child { margin-bottom: 0; }
.isi strong { color: #5A4E14; }

/* ---------- Simple content pages ---------- */
.page { padding: clamp(40px, 6vw, 80px) 0; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.callout {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--tan);
  border-radius: var(--radius); padding: 20px 24px; margin: 24px 0;
}
.placeholder-box {
  border: 1.5px dashed var(--tan); border-radius: var(--radius); padding: 22px 24px;
  background: rgba(202,157,125,.06); color: #6A5A45; font-size: .92rem;
}
.placeholder-box strong { color: var(--navy); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 8px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-card .eyebrow { color: var(--tan); }
.contact-card a { font-family: var(--display); font-size: 1.25rem; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #C6D0E0; margin-top: clamp(48px, 8vw, 90px); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: clamp(44px, 6vw, 72px) 0 40px; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand img { height: 26px; filter: brightness(0) invert(1); opacity: .95; }
.footer__brand p { margin-top: 14px; font-size: .88rem; color: #9DAAC0; max-width: 34ch; }
.site-footer h5 { font-family: var(--body); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: #8595B0; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #C6D0E0; font-size: .9rem; }
.site-footer a:hover { color: #fff; }

.footer__badges { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.09); }
.legitscript-badge {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; padding: 8px 14px;
}
.legitscript-badge:hover { background: rgba(255,255,255,.12); }
.legitscript-badge img { height: 34px; width: auto; }
.legitscript-badge .ls-txt { line-height: 1.15; }
.legitscript-badge .ls-txt b { display: block; color: #fff; font-size: .82rem; font-weight: 700; }
.legitscript-badge .ls-txt small { color: #9DAAC0; font-size: .68rem; letter-spacing: .04em; }

.footer__disclaimer {
  border-top: 1px solid rgba(255,255,255,.09); padding: 26px 0 14px;
  font-size: .76rem; line-height: 1.65; color: #8FA0BC; max-width: 92ch;
}
.footer__legal { padding: 12px 0 40px; font-size: .76rem; color: #7C8CA8; display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { color: #8FA0BC; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ============================================================
   Article / blog post (Session 2)
   ============================================================ */
.article { padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); }
.article__inner { max-width: 720px; margin-inline: auto; }
.breadcrumbs { max-width: 720px; margin: 0 auto 22px; font-size: .8rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs span[aria-current] { color: var(--navy); }

.article__eyebrow { color: var(--coral); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; }
.article h1.article__title { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 600; margin: .28em 0 .5em; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .86rem; color: var(--muted); margin-bottom: 26px; }
.byline b { color: var(--navy); font-weight: 600; }
.byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); opacity: .5; }
.share { display: inline-flex; gap: 8px; margin-left: auto; }
.share a {
  width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: var(--navy); background: var(--white); transition: all .15s var(--ease);
}
.share a:hover { border-color: var(--coral); color: var(--coral); text-decoration: none; transform: translateY(-1px); }
.share svg { width: 16px; height: 16px; }

/* Hero image */
.article__hero {
  max-width: 960px; margin: 4px auto 30px; aspect-ratio: 16 / 9;
  max-height: 40vh; border-radius: 18px; overflow: hidden; background: linear-gradient(155deg, #E9EEF6, #DCE6F1);
}
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .article__hero { max-height: 30vh; } }

/* Quick Answer (Speakable target) */
.quick-answer {
  max-width: 720px; margin: 0 auto 32px; padding: 40px;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--coral);
  border-radius: 14px; box-shadow: var(--shadow);
}
.quick-answer h2 { font-family: var(--body); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--coral); margin-bottom: .5em; }
.quick-answer p { font-size: 1.08rem; color: var(--ink); margin-bottom: 0; line-height: 1.6; }

/* Prose body */
.article__body { max-width: 720px; margin-inline: auto; line-height: 1.7; }
.article__body > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 1.5em 0 .5em; }
.article__body > h3 { font-size: 1.3rem; margin: 1.4em 0 .4em; }
.article__body p, .article__body li { font-size: 1.05rem; }
.article__body ul, .article__body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article__body li { margin-bottom: .5em; }
.article__body a { color: var(--steel); text-decoration: underline; text-underline-offset: 2px; }
.article__body a:hover { color: var(--coral); }

/* Clinical note callout (coral left border) */
.a-callout {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--coral);
  border-radius: 12px; padding: 22px 26px; margin: 28px 0;
}
.a-callout h4 { font-family: var(--body); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--coral); margin-bottom: .5em; }
.a-callout p:last-child { margin-bottom: 0; }

/* End-of-article CTA card (coral gradient) */
.cta-card {
  max-width: 720px; margin: 40px auto; border-radius: 20px; padding: clamp(30px, 4vw, 46px);
  background: linear-gradient(145deg, var(--coral) 0%, var(--coral-ink) 100%);
  color: #fff; text-align: center; box-shadow: 0 18px 44px rgba(241,78,58,.28);
}
.cta-card h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .4em; }
.cta-card p { color: rgba(255,255,255,.92); max-width: 48ch; margin: 0 auto 22px; }
.cta-card .btn { background: #fff; color: var(--coral-ink); }
.cta-card .btn:hover { background: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.18); }

/* Related posts */
.related { max-width: var(--maxw); margin-inline: auto; }
.related h2 { text-align: center; margin-bottom: 26px; }

/* ============================================================
   Category landing pages + FAQ (Session 2)
   ============================================================ */
.cat-hero { padding: clamp(40px, 6vw, 76px) 0 clamp(24px, 3vw, 40px); }
.cat-hero .eyebrow { color: var(--coral); }
.cat-hero h1 { margin: .18em 0 .3em; }
.cat-hero .lede { margin-bottom: 0; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 18px 0; border-block: 1px solid var(--line); margin: 8px 0 4px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; color: var(--navy); }
.trust-strip svg { width: 17px; height: 17px; color: var(--coral); }

.faq-list { max-width: 780px; margin: 8px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--display);
  font-size: 1.18rem; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--coral); font-size: 1.5rem; line-height: 1; transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 22px; margin: 0; color: var(--ink); line-height: 1.7; max-width: 68ch; }

/* ============================================================
   REDESIGN v2 (overrides) — premium header, clean image system,
   tighter rhythm, HTML trust. Palette per client brief.
   ============================================================ */
:root{
  --navy:#344857; --navy-deep:#122140; --cream:#F9F9F9; --coral:#34BAAD;
  --ink:#1E2536; --line:#E5E1D6; --muted:#6E7583; --steel:#3F6785;
}
body{ background:var(--cream); }

/* ---- Header ---- */
.site-header{ position:sticky; top:0; z-index:60; background:transparent; border-bottom:1px solid transparent;
  transition:background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.is-stuck{ background:rgba(245,243,238,.82); backdrop-filter:saturate(150%) blur(14px);
  border-bottom:1px solid var(--line); box-shadow:0 1px 0 rgba(27,45,91,.03); }
.site-header .nav{ min-height:64px; gap:22px; }
@media (max-width:900px){ .site-header .nav{ min-height:56px; } }
.brand{ display:inline-flex; align-items:center; gap:11px; text-decoration:none; }
.brand:hover{ text-decoration:none; }
.brand__mark{ height:24px; width:auto; display:block; }
.brand__rule{ width:1px; height:20px; background:var(--line); display:inline-block; }
.brand__sub{ font-family:var(--display); font-style:italic; font-weight:400; font-size:.98rem;
  color:var(--muted); letter-spacing:.01em; }
.nav__links{ display:flex; align-items:center; gap:2px; margin-left:auto; list-style:none; padding:0; margin:0; }
.nav__links a{ font-size:.83rem; font-weight:500; color:#2A3350; padding:.5em .62em; border-radius:8px;
  white-space:nowrap; transition:background .15s,color .15s; }
.nav__links a:hover{ background:rgba(27,45,91,.06); color:var(--navy); text-decoration:none; }
.nav__cta{ margin-left:12px; }
.btn-navy{ background:var(--navy); color:#fff; border-color:var(--navy); }
.btn-navy:hover{ background:var(--navy-deep); color:#fff; box-shadow:0 8px 20px rgba(27,45,91,.22); }
.nav__toggle{ display:none; margin-left:auto; background:none; border:0; padding:8px; cursor:pointer; color:var(--navy); }
@media (max-width:900px){
  .nav__links, .site-header .nav__cta{ display:none; }
  .nav__toggle{ display:inline-flex; }
}
/* Mobile menu: full-height panel */
.mobile-menu{ position:fixed; inset:0; z-index:80; background:var(--cream); display:flex; flex-direction:column;
  padding:20px var(--gutter) 32px; transform:translateY(-8px); opacity:0; pointer-events:none;
  transition:opacity .2s ease, transform .2s ease; }
.mobile-menu.open{ opacity:1; transform:none; pointer-events:auto; }
.mobile-menu__head{ display:flex; align-items:center; justify-content:space-between; min-height:56px; }
.mobile-menu__close{ background:none; border:0; font-size:1.5rem; color:var(--navy); cursor:pointer; line-height:1; padding:8px; }
.mobile-menu__links{ display:flex; flex-direction:column; margin-top:14px; overflow-y:auto; }
.mobile-menu__links a{ font-family:var(--display); font-size:1.5rem; color:var(--navy); padding:14px 0;
  border-bottom:1px solid var(--line); }
.mobile-menu__links a:hover{ text-decoration:none; color:var(--coral); }
.mobile-menu .btn{ margin-top:22px; justify-content:center; }
body.menu-open{ overflow:hidden; }

/* ---- Tighter vertical rhythm (~40% cut) ---- */
.section{ padding:clamp(26px,3.6vw,44px) 0; }
.hero{ padding:clamp(34px,5vw,60px) 0 clamp(24px,3vw,40px); }
.section__head{ margin-bottom:20px; }
.site-footer{ margin-top:clamp(30px,5vw,56px); }
.grid-3{ gap:clamp(16px,2vw,24px); }

/* ---- Cards with real images, title below ---- */
.card{ border-radius:16px; }
.card__media{ aspect-ratio:16/9; background:#E8EEF5; overflow:hidden; }
.card__media::after{ content:none !important; }
.card__img{ width:100%; height:100%; object-fit:cover; display:block; }
.card__body{ padding:16px 18px 20px; }
.card__cat{ color:var(--coral); }
.card__body h3{ font-size:1.12rem; line-height:1.25; margin:.45em 0 .3em; }
.card--empty{ display:none; }

/* ---- Featured: 21:9 image with HTML overlay ---- */
.featured{ display:block; position:relative; border:0; border-radius:20px; overflow:hidden; box-shadow:var(--shadow); }
.featured__media{ aspect-ratio:21/9; min-height:0; background:#E8EEF5; }
.featured__media img{ width:100%; height:100%; object-fit:cover; display:block; }
.featured__overlay{ position:absolute; inset:auto 0 0 0; padding:clamp(22px,3vw,40px);
  background:linear-gradient(to top, rgba(18,33,64,.82) 0%, rgba(18,33,64,.35) 45%, rgba(18,33,64,0) 100%);
  color:#fff; }
.featured__overlay .card__cat{ color:#FFC7BB; }
.featured__overlay h2{ color:#fff; font-size:clamp(1.5rem,3vw,2.4rem); max-width:22ch; margin:.2em 0 .1em; }
.featured__overlay .fp-link{ color:#fff; font-weight:600; font-size:.9rem; }
@media (max-width:600px){ .featured__media{ aspect-ratio:16/9; } .featured__overlay h2{ font-size:1.4rem; } }

/* ---- Article byline block ---- */
.byline{ align-items:center; }
.byline__who b{ color:var(--navy); }

/* ---- Trust strip (text + inline SVG, never an image) ---- */
.trust-inline{ display:flex; flex-wrap:wrap; gap:10px 24px; padding:16px 0; margin:6px 0 2px;
  border-block:1px solid var(--line); }
.trust-inline span{ display:inline-flex; align-items:center; gap:8px; font-size:.82rem; font-weight:500; color:var(--navy); }
.trust-inline svg{ width:17px; height:17px; color:var(--coral); flex:none; }

/* ---- Article safety/disclaimer note ---- */
.article-disclaimer{ max-width:720px; margin:28px auto 0; font-size:.82rem; line-height:1.6; color:var(--muted);
  border-top:1px solid var(--line); padding-top:18px; }

.trust{ grid-template-columns:repeat(3,1fr); }
@media (max-width:720px){ .trust{ grid-template-columns:1fr; } }

.trust-inline{ max-width:720px; margin-inline:auto; }
.article-disclaimer picture,.trust-inline{ }

/* Numan-style card meta: filled pill + read time + read-more */
.card__meta{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.card__pill{ display:inline-block; background:var(--navy); color:#fff; padding:.32em .72em; border-radius:999px;
  font-family:var(--body); font-size:.62rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
.card__read{ color:var(--muted); font-size:.78rem; }
.card__more{ display:inline-flex; align-items:center; gap:6px; margin-top:14px; color:var(--navy); font-weight:600; font-size:.86rem; }
.card__more:hover{ color:var(--coral); }
.card a:hover{ text-decoration:none; }

/* ---- Numan-style dark hero band (tag + headline + subtitle + category pills) ---- */
.hero-band{ background:var(--navy); color:var(--cream); padding:clamp(44px,6vw,76px) 0 clamp(30px,4vw,46px); }
.hero-band .wrap{ max-width:1120px; }
.hero-tag{ display:inline-block; background:rgba(255,255,255,.09); color:var(--cream);
  border:1px solid rgba(255,255,255,.16); padding:.36em .85em; border-radius:999px;
  font-family:var(--body); font-size:.66rem; font-weight:600; letter-spacing:.15em; text-transform:uppercase; }
.hero-band h1{ color:#fff; margin:.42em 0 .28em; max-width:18ch; line-height:1.05; }
.hero-sub{ color:rgba(245,243,238,.74); font-size:1.14rem; line-height:1.55; max-width:62ch; margin:0 0 28px; }
.hero-band .pills{ margin:0; }
.hero-band .pills .pill{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16); color:var(--cream); }
.hero-band .pills .pill:hover{ background:rgba(255,255,255,.13); color:#fff; border-color:rgba(255,255,255,.3); }
.hero-band .pills .pill[aria-pressed="true"]{ background:var(--cream); color:var(--navy); border-color:var(--cream); }

/* ---- Guides footer (markup: .footer__grid / h4 / .footer__legal / .footer__bottom) ---- */
.footer__grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:34px; padding:clamp(40px,6vw,64px) 0 26px; }
@media (max-width:860px){ .footer__grid{ grid-template-columns:1fr 1fr; gap:26px; } }
@media (max-width:520px){ .footer__grid{ grid-template-columns:1fr; gap:22px; } }
.site-footer h4{ font-family:var(--body); text-transform:uppercase; letter-spacing:.12em; font-size:.72rem; color:#9DB4C4; margin:0 0 12px; }
.footer__grid img{ max-width:100%; height:34px; width:auto; }
.footer__legal{ display:block; padding:18px 0 6px; border-top:1px solid rgba(255,255,255,.12); font-size:.76rem; line-height:1.7; color:#93A7B5; }
.footer__bottom{ padding:12px 0 34px; font-size:.78rem; color:#9DB4C4; }

/* ---- Trust items (markup: svg + h3 + p) ---- */
.trust__item svg{ width:26px; height:26px; color:var(--coral); margin-bottom:10px; flex:none; }
.trust__item h3{ font-size:1rem; margin:.2em 0 .35em; color:var(--navy); }
.trust__item p{ font-size:.85rem; color:var(--muted); margin:0; line-height:1.55; }
@media (max-width:720px){ .trust__item{ text-align:left; } }

/* ---- Header logo: SD stacked logo needs more height than a wordmark ---- */
.brand__mark{ height:38px; }
@media (max-width:900px){ .brand__mark{ height:32px; } }
