/* ============================================================
   Aveho — The Curated Home
   Shared stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Surface hierarchy */
  --surface: #fbf9f4;
  --surface-low: #f5f3ee;
  --surface-lowest: #ffffff;

  /* Brand */
  --primary: #031632;
  --primary-container: #1a2b48;
  --teal: #3d7d78;
  --teal-soft: #c2e7e6;
  --periwinkle: #a7aed8;
  --accent: #f5c28f;

  /* Text */
  --on-surface: #1b1c19;
  --on-surface-variant: #44474d;
  --on-primary: #fbf9f4;

  /* System */
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  --shadow-ambient: 0 12px 32px -4px rgba(27, 28, 25, 0.06);
  --shadow-lift: 0 20px 48px -8px rgba(3, 22, 50, 0.12);
  --maxw: 1140px;

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--on-surface);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; color: var(--primary); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { color: var(--on-surface-variant); }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
  display: inline-block;
}

.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--on-surface-variant); line-height: 1.6; }

/* ---------- Layout primitives ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--low { background: var(--surface-low); }
.center { text-align: center; }
.measure { max-width: 640px; }
.measure-wide { max-width: 760px; }

/* ---------- Status pills ---------- */
.status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.74rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.34rem 0.85rem; border-radius: var(--radius-pill);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.status--now { background: var(--teal-soft); color: #1d5450; }
.status--now::before { background: var(--teal); }
.status--soon { background: #efe6da; color: #8a6a44; }
.status--soon::before { background: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.95rem 1.9rem; border-radius: var(--radius-pill);
  cursor: pointer; border: none; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--primary-container)); color: var(--on-primary); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn--ghost { background: var(--surface-lowest); color: var(--primary); box-shadow: inset 0 0 0 1px rgba(3,22,50,0.12); }
.btn--ghost:hover { transform: translateY(-2px); background: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 244, 0.82);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(3,22,50,0.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; color: var(--primary); }
.brand-mark { width: 38px; height: 38px; position: relative; top: 2px; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-weight: 500; font-size: 0.96rem; color: var(--on-surface-variant); transition: color 0.15s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; transition: 0.2s; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--surface); padding: 0.5rem 28px 1.5rem;
    border-bottom: 1px solid rgba(3,22,50,0.06);
    box-shadow: var(--shadow-ambient);
    transform: translateY(-120%); transition: transform 0.28s ease; visibility: hidden;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links li { border-top: 1px solid rgba(3,22,50,0.06); }
  .nav-links li:first-child { border-top: none; }
  .nav-links a { display: block; padding: 1rem 0; font-size: 1.05rem; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lede { margin-bottom: 2.2rem; max-width: 30ch; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
}

/* ---------- Phone frame ---------- */
.phone {
  position: relative; width: 100%; max-width: 300px; margin: 0 auto;
  border-radius: 42px; padding: 11px;
  background: linear-gradient(145deg, #20242b, #05080d);
  box-shadow: var(--shadow-lift), 0 4px 12px rgba(0,0,0,0.18);
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #05080d; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone img { width: 100%; display: block; border-radius: 32px; }
.phone--tilt { transform: rotate(-2.5deg); }

/* phone pair for feature pages */
.phone-pair { display: flex; gap: clamp(1rem, 3vw, 2.2rem); justify-content: center; align-items: flex-start; }
.phone-pair .phone { max-width: 250px; }
.phone-pair .phone:nth-child(2) { margin-top: 2.5rem; }

@media (max-width: 560px) {
  .phone-pair { flex-direction: column; align-items: center; }
  .phone-pair .phone:nth-child(2) { margin-top: 0; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface-lowest); border-radius: var(--radius-xl);
  padding: 2.2rem; box-shadow: var(--shadow-ambient);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-grid { display: grid; gap: 1.5rem; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; } }

.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); margin-bottom: 1.4rem; }
.card-icon svg { width: 24px; height: 24px; stroke: #1d5450; }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.98rem; }

/* ---------- Journey steps (home + roadmap) ---------- */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
@media (max-width: 1080px) { .journey { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } }
.step {
  background: var(--surface-lowest); border-radius: var(--radius-xl); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-ambient); position: relative; display: flex; flex-direction: column; gap: 0.9rem;
}
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--periwinkle); letter-spacing: 0.05em; }
.step h3 { font-size: 1.3rem; }
.step p { font-size: 0.95rem; flex-grow: 1; }

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--flip .split-text { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--flip .split-text { order: 0; }
}
.split-text h2 { margin-bottom: 1.2rem; }
.split-text p + p { margin-top: 1rem; }

/* ---------- Result callout (deliverable highlight) ---------- */
.result-list { list-style: none; margin-top: 1.8rem; display: grid; gap: 1rem; }
.result-list li { display: flex; gap: 0.9rem; align-items: flex-start; font-size: 1rem; color: var(--on-surface); }
.result-list svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; stroke: var(--teal); }

/* ---------- Stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
@media (max-width: 700px) { .statband { grid-template-columns: 1fr; gap: 2.5rem; } }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.8rem); color: var(--primary); line-height: 1; letter-spacing: -0.03em; }
.stat .label { margin-top: 0.7rem; font-size: 0.98rem; color: var(--on-surface-variant); }

/* ---------- Roadmap timeline ---------- */
.timeline { position: relative; max-width: 780px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--teal), var(--periwinkle)); }
.tl-item { position: relative; padding: 0 0 2.5rem 78px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-badge { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-lowest); box-shadow: var(--shadow-ambient); z-index: 2; }
.tl-badge svg { width: 26px; height: 26px; }
.tl-card { background: var(--surface-lowest); border-radius: var(--radius-xl); padding: 1.8rem 2rem; box-shadow: var(--shadow-ambient); }
.tl-card .status { margin-bottom: 0.9rem; }
.tl-card h3 { margin-bottom: 0.5rem; }
.tl-card p { font-size: 0.98rem; }

/* ---------- Vision split ---------- */
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 760px) { .mission { grid-template-columns: 1fr; } }
.mission-card { background: var(--surface-lowest); border-radius: var(--radius-xl); padding: 2.6rem; box-shadow: var(--shadow-ambient); }
.mission-card .card-icon { width: 56px; height: 56px; }
.mission-card .card-icon svg { width: 28px; height: 28px; }
.mission-card h3 { margin-bottom: 0.8rem; font-size: 1.5rem; }

/* ---------- CTA strip ---------- */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-container)); border-radius: var(--radius-xl); padding: clamp(2.8rem, 6vw, 4.5rem); text-align: center; color: var(--on-primary); }
.cta-band h2 { color: var(--on-primary); margin-bottom: 1rem; }
.cta-band p { color: rgba(251,249,244,0.78); max-width: 48ch; margin: 0 auto 2rem; }
.cta-band .badge-row { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(251,249,244,0.1); border: 1px solid rgba(251,249,244,0.22); color: var(--on-primary); padding: 0.85rem 1.5rem; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: rgba(251,249,244,0.92); padding: 3.5rem 0 2.5rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.footer-grid > div > p { color: rgba(251,249,244,0.88); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--on-primary); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { color: rgba(251,249,244,0.88); font-size: 0.92rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--on-primary); }
.footer-bottom { border-top: 1px solid rgba(251,249,244,0.16); padding-top: 1.8rem; font-size: 0.84rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: rgba(251,249,244,0.88); }
.footer-bottom a { color: rgba(251,249,244,0.92); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero .measure-wide { margin: 0 auto; text-align: center; }
.page-hero h1 { margin-bottom: 1.3rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Disclaimer note ---------- */
.note { font-size: 0.85rem; color: var(--on-surface-variant); opacity: 0.8; margin-top: 1.5rem; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- Legal / long-form pages ---------- */
.legal { padding: clamp(2rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 6rem); }
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 2.6rem 0 0.9rem; }
.legal-body h3 { font-size: 1.15rem; margin: 1.8rem 0 0.6rem; color: var(--primary); }
.legal-body p { margin-bottom: 1rem; color: var(--on-surface-variant); }
.legal-body ul { margin: 0 0 1.2rem 1.3rem; }
.legal-body li { margin-bottom: 0.5rem; color: var(--on-surface-variant); }
.legal-body a { color: var(--teal); font-weight: 500; word-break: break-word; }
.legal-body strong { color: var(--on-surface); }
.legal-meta { color: var(--on-surface-variant); font-size: 0.92rem; margin-bottom: 0.4rem; }
.legal-divider { border: none; border-top: 1px solid rgba(3,22,50,0.1); margin: 2.4rem 0; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.8rem; font-size: 0.9rem; }
.legal-body th, .legal-body td { text-align: left; padding: 0.7rem 0.85rem; border-bottom: 1px solid rgba(3,22,50,0.08); vertical-align: top; }
.legal-body th { font-family: var(--font-display); font-weight: 600; color: var(--primary); background: var(--surface-low); }
.legal-body code { background: var(--surface-low); padding: 0.15rem 0.45rem; border-radius: 6px; font-size: 0.92em; }
.legal-body pre { background: var(--primary); color: var(--on-primary); padding: 0.9rem 1.2rem; border-radius: var(--radius-lg); display: inline-block; margin: 0.3rem 0 1.2rem; font-weight: 600; letter-spacing: 0.05em; }

/* ============================================================
   About Us — grandmother-story page (scoped to .about-page)
   ============================================================ */
.about-page section { padding: clamp(64px,9vw,120px) 0; }

/* Story hero (navy gradient) */
.about-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--surface);
  padding: clamp(72px,10vw,120px) 0 clamp(64px,9vw,110px);
  position: relative; overflow: hidden;
}
.about-hero::after {
  content:""; position:absolute; right:-12%; top:-20%;
  width:520px; height:520px; border-radius:50%;
  background: radial-gradient(circle, rgba(194,231,230,0.12), transparent 70%);
}
.about-hero .eyebrow {
  font-family: var(--font-display); font-weight:600; font-size:14px; letter-spacing:0.14em;
  text-transform:uppercase; color: var(--teal-soft); margin-bottom:22px; display:inline-block;
}
.about-hero h1 { font-size: clamp(36px,5.5vw,62px); max-width:14ch; color: var(--surface); }
.about-hero p.lede { margin-top:26px; max-width:52ch; font-size: clamp(18px,2.2vw,21px); color: rgba(251,249,244,0.82); font-weight:400; }

/* Section label with rule */
.about-page .section-label {
  font-family: var(--font-display); font-weight:600; font-size:13px; letter-spacing:0.14em;
  text-transform:uppercase; color: var(--on-surface-variant); margin-bottom:18px;
  display:flex; align-items:center; gap:12px;
}
.about-page .section-label::before { content:""; width:32px; height:2px; background: var(--teal-soft); }

/* Story two-column */
.about-page .story-grid { display:grid; grid-template-columns:1.15fr 0.85fr; gap: clamp(40px,6vw,84px); align-items:start; }
.about-page .story p { color: var(--on-surface-variant); margin-bottom:22px; max-width:60ch; }
.about-page .story p.intro { font-size:19px; color: var(--on-surface); }
.about-page .closing-story { font-size:19px; color: var(--on-surface); font-weight:500; max-width:58ch; }

/* Question card */
.about-page .questions { background: var(--surface-lowest); border-radius: var(--radius-xl); box-shadow: var(--shadow-ambient); padding: clamp(28px,4vw,40px); margin:34px 0; }
.about-page .questions ul { list-style:none; display:grid; gap:14px; }
.about-page .questions li { position:relative; padding-left:30px; color: var(--on-surface-variant); font-size:16.5px; line-height:1.55; }
.about-page .questions li::before { content:""; position:absolute; left:0; top:10px; width:9px; height:9px; border-radius:50%; background: var(--teal-soft); }

/* Pull quote */
.about-page .pullquote { margin:44px 0; padding:8px 0 8px 30px; border-left:3px solid var(--teal-soft); }
.about-page .pullquote span { font-family: var(--font-display); font-weight:600; font-size: clamp(24px,3.4vw,34px); line-height:1.25; color: var(--primary); letter-spacing:-0.02em; display:block; max-width:22ch; }

/* Photo cards */
.about-page .story-photo { position:sticky; top:100px; }
.about-page .photo-card { background: var(--surface-lowest); border-radius: var(--radius-xl); box-shadow: var(--shadow-ambient); overflow:hidden; }
.about-page .photo-card img { width:100%; display:block; }
.about-page .photo-card .caption { padding:18px 22px 22px; font-size:14.5px; color: var(--on-surface-variant); font-style:italic; line-height:1.45; }

/* Ease section */
.about-page .ease { background: var(--surface-low); }
.about-page .ease-inner { max-width:760px; }
.about-page .ease h2 { font-size: clamp(28px,3.6vw,42px); margin-bottom:30px; max-width:16ch; }
.about-page .ease p { color: var(--on-surface-variant); margin-bottom:22px; font-size:18px; }
.about-page .ease p strong { color: var(--on-surface); font-weight:600; }

/* Credibility */
.about-page .cred-grid { display:grid; grid-template-columns:0.8fr 1.2fr; gap: clamp(40px,6vw,80px); align-items:center; }
.about-page .cred-photo .photo-card img { max-height:560px; object-fit:cover; object-position:center top; }
.about-page .cred-text h2 { font-size: clamp(28px,3.6vw,40px); margin-bottom:26px; max-width:18ch; }
.about-page .cred-text p { color: var(--on-surface-variant); margin-bottom:22px; max-width:54ch; }
.about-page .cred-text .emphasis { font-family: var(--font-display); font-weight:600; font-size: clamp(20px,2.6vw,26px); color: var(--primary); line-height:1.35; max-width:24ch; }

/* About CTA band */
.about-cta { background: linear-gradient(135deg, var(--primary), var(--primary-container)); color: var(--surface); text-align:center; }
.about-cta h2 { font-size: clamp(30px,4vw,46px); color: var(--surface); margin-bottom:18px; max-width:16ch; margin-inline:auto; }
.about-cta p { color: rgba(251,249,244,0.82); max-width:50ch; margin:0 auto 38px; font-size:18px; }
.about-cta .section-label { justify-content:center; color: var(--teal-soft); }
.about-cta .section-label::before { display:none; }

@media (max-width:860px){
  .about-page .story-grid, .about-page .cred-grid { grid-template-columns:1fr; }
  .about-page .story-photo { position:static; margin-top:8px; }
  .about-page .cred-grid { gap:36px; }
  .about-page .cred-photo { order:-1; }
}

/* ============================================================
   Blog index — card grid
   ============================================================ */
.blog-list { padding: clamp(2rem,4vw,3.5rem) 0 clamp(4rem,8vw,6rem); }

/* Featured lead post */
.blog-featured {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem,4vw,3rem);
  background: var(--surface-lowest); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-ambient); overflow: hidden; margin-bottom: clamp(2rem,4vw,3rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.blog-featured .cover { min-height: 300px; }
.blog-featured .cover img, .blog-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-featured .body { padding: clamp(1.8rem,3vw,2.8rem); display: flex; flex-direction: column; justify-content: center; }
.blog-featured h2 { font-size: clamp(1.6rem,2.8vw,2.3rem); margin: 0.6rem 0 0.9rem; }
.blog-featured .excerpt { color: var(--on-surface-variant); margin-bottom: 1.4rem; }

/* Grid of remaining posts */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem,3vw,2rem); }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--surface-lowest); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-ambient); overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.blog-card .cover { aspect-ratio: 8 / 5; }
.blog-card .body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card h3 { font-size: 1.3rem; line-height: 1.25; margin: 0.5rem 0 0.7rem; }
.blog-card .excerpt { color: var(--on-surface-variant); font-size: 0.96rem; margin-bottom: 1.2rem; flex-grow: 1; }

/* Shared card meta */
.blog-meta { display: flex; align-items: center; gap: 0.7rem; font-size: 0.8rem; color: var(--on-surface-variant); }
.blog-cat { font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.blog-readmore { font-weight: 600; font-size: 0.9rem; color: var(--primary); display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; }
.blog-card a.stretched, .blog-featured a.stretched { position: absolute; inset: 0; }
.blog-card, .blog-featured { position: relative; }

@media (max-width: 760px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .cover { min-height: 210px; aspect-ratio: 8/5; }
}

/* Post byline / meta on article pages */
.post-meta { display:flex; flex-wrap:wrap; gap:0.6rem 1rem; align-items:center; margin-top:1.4rem; font-size:0.9rem; color:var(--on-surface-variant); }
.post-hero-cover { width:100%; border-radius:var(--radius-xl); overflow:hidden; margin:2rem 0 0; box-shadow:var(--shadow-ambient); }
.post-hero-cover img, .post-hero-cover svg { width:100%; display:block; }
.back-to-blog { display:inline-flex; align-items:center; gap:0.4rem; font-weight:600; font-size:0.92rem; color:var(--teal); margin-bottom:0.5rem; }

/* Blog post hero: left-align title + lede, keep eyebrow and byline centered */
.blog-post-hero { text-align: center; }           /* eyebrow, back-link, byline stay centered */
.blog-post-hero h1,
.blog-post-hero .lede { text-align: left; }

/* Disabled/soon store badge (iOS) */
.store-badge.is-soon { opacity: 0.5; cursor: default; pointer-events: none; }
/* Live store badge hover affordance */
a.store-badge:not(.is-soon):hover { background: rgba(251,249,244,0.2); }
