/* ==========================================================================
   Public landing page (DashboardController#index, root "/").
   All presentation for the page lives here; the view (dashboard/index.html.erb)
   carries only semantic classes. Everything is scoped under `.lp`.
   ========================================================================== */

.lp {
  --ink: #1E2414;
  --ink-strong: #111608;
  --cream: #FFF6D9;
  --card: #FFFCEB;
  --green: #2D3620;
  --green-node: #3A4628;
  --accent: #B9763A;
  --sand: #D9A066;
  /* motion tokens shared by every animation/transition on the page */
  --lp-ease: cubic-bezier(.22, 1, .36, 1);          /* entrances, hovers */
  --lp-ease-inout: cubic-bezier(.45, .05, .55, .95); /* flights, ambient loops */

  font-family: 'Lexend', 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--green);
  overflow-x: hidden;
  /* `clip` hides horizontal overflow WITHOUT making <body> a scroll container.
     With `hidden`, body (not the viewport) became the sticky scroll root, so every
     position:sticky inside it (blog TOC sidebar, share rail) scrolled away. */
  overflow-x: clip;
}

.lp a { text-decoration: none; }
.lp a:hover { color: #F2C27E; }
.lp a:focus-visible { outline: 3px solid #F2C27E; outline-offset: 3px; }

/* ---------- Navbar ---------- */
.lp-header { background: var(--green); padding: 0 40px; }
.lp-nav {
  margin: 0 auto; padding: 18px 0;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 14px 32px;
}
.lp-brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--cream); font-weight: 500; font-size: 26px;
}
.lp-brand__logo { width: 46px; height: 46px; border-radius: 8px; }
.lp-burger {
  display: none; background: transparent; border: 0;
  color: var(--cream); padding: 6px; cursor: pointer;
}
.lp-navgroup { display: flex; align-items: center; }
.lp-nav-links { flex-wrap: wrap; gap: 8px 40px; font-size: 19px; font-weight: 300; }
.lp-nav-auth { gap: 18px; }
.lp-navlink { color: var(--cream); padding: 10px 0; }
.lp-btn-outline {
  color: var(--cream); font-size: 14px; padding: 9px 18px;
  border: 1.5px solid var(--sand); border-radius: 999px;
}

/* ---------- Sky (hero + features share one gradient, no seam) ---------- */
.lp-sky {
  background: linear-gradient(180deg,
    #B9DACB 0%, #B8DFB8 28%, #C9D5A2 38%, #E2CA90 44%, #F0C481 49%,
    #F5CC7E 57%, #F7D27F 66%, #F8DD7F 76%, #FBE580 87%, #FBEB95 100%);
}

/* ---------- Hero ---------- */
.lp-hero { position: relative; overflow: hidden; padding: 0 28px; }
.lp-sun {
  position: absolute; right: -6%; top: -120px;
  width: 620px; height: 620px; border-radius: 50%; background: #FCF2BE;
}
/* Invisible stage that holds the design's proportions so the cloud scales
   with the layout (not the raw screen width). Mirrors the source mockup. */
.lp-cloud-stage {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: min(100%, 1360px); aspect-ratio: 723 / 458;
  z-index: 0; pointer-events: none; user-select: none;
}
.lp-cloud { position: absolute; left: 25%; bottom: -3%; width: 123%; height: auto; }

@media (max-width: 640px) {
  .lp-cloud { left: -20%; width: 200%; bottom: -6%; }
}
.lp-hero__inner {
  position: relative; z-index: 1; max-width: 1360px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
  padding: 110px 0 150px;
}
.lp-hero__copy { flex: 1 1 520px; min-width: 0; text-align: left; }
.lp-hero__title {
  margin: 0; font-weight: 500; font-size: clamp(40px, 4.4vw, 62px);
  line-height: 1.08; letter-spacing: -0.015em; color: var(--ink-strong);
  max-width: 17ch;
}
.lp-hero__sub {
  margin: 22px 0 0; font-weight: 300; font-size: clamp(19px, 1.9vw, 27px);
  line-height: 1.12; color: var(--ink); max-width: 22em;
}
.lp-plane-wrap { margin: 42px 0 0; position: relative; max-width: 520px; height: 40px; }
/* moving group: plane + towed trail + fog puffs (see motion block below) */
.lp-flight { position: absolute; left: 0; top: 0; width: 60px; height: 40px; }
.lp-plane { position: absolute; left: 0; top: 0; width: 60px; height: 40px; }
.lp-cta-wrap { margin-top: 34px; max-width: 22em; font-size: clamp(19px, 1.9vw, 27px); text-align: center; }
.lp-btn-primary {
  display: inline-flex;
  background: linear-gradient(90deg, #1C2610 0%, #2D3A15 55%, #4A5B22 100%);
  color: var(--cream); font-size: 26px; font-weight: 400;
  padding: 12px 46px; border-radius: 999px;
}

.lp-hero__art {
  flex: 1 1 460px; min-width: 0; position: relative;
  height: 600px; max-width: 560px; margin: 0 auto;
}
.lp-polaroid {
  position: absolute; width: 62%; margin: 0; background: #F6F3E4;
  box-shadow: 0 10px 22px -10px rgba(40,40,20,0.35);
}
.lp-polaroid--1 { left: 0; top: 10px; padding: 22px 22px 70px; transform: rotate(-8deg); z-index: 2; }
.lp-polaroid--2 { right: 0; top: 270px; padding: 22px 22px 60px; transform: rotate(5deg); z-index: 1; }
.lp-polaroid__img { display: block; width: 100%; object-fit: cover; }
.lp-polaroid--1 .lp-polaroid__img { aspect-ratio: 1 / 0.95; }
.lp-polaroid--2 .lp-polaroid__img { aspect-ratio: 1 / 0.9; }
.lp-dot { position: absolute; width: 74px; height: 74px; border-radius: 50%; background: #D3A06A; }
.lp-dot--1 { top: -34px; left: 26%; }
.lp-dot--2 { top: -42px; left: 30%; z-index: -1; }

/* ---------- Section titles ---------- */
.lp-section-title {
  margin: 0; text-align: center; letter-spacing: -0.01em; color: var(--ink-strong);
}
.lp-features .lp-section-title { font-weight: 400; font-size: clamp(32px, 3.2vw, 46px); }
.lp-works .lp-section-title { font-weight: 300; font-size: clamp(34px, 3.4vw, 48px); color: var(--cream); }

/* ---------- Features ---------- */
.lp-features { position: relative; padding: 70px 28px 0; }
.lp-feat-plane { position: absolute; right: 3%; top: 40px; }
.lp-feat-grid {
  max-width: 1360px; margin: 50px auto 0;
  display: flex; flex-wrap: wrap; align-items: flex-start;
  justify-content: space-between; gap: 48px;
}
.lp-feat-list { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 52px; padding-top: 50px; }
.lp-feature { display: flex; gap: 34px; align-items: flex-start; }
.lp-feature__icon { flex: none; margin-top: 22px; }
.lp-feature__title { margin: 0; font-weight: 400; font-size: clamp(26px, 2.5vw, 36px); color: var(--ink-strong); }
.lp-feature__text { margin: 6px 0 0; font-weight: 300; font-size: clamp(18px, 1.8vw, 26px); line-height: 1.05; color: var(--ink); }

/* ---------- Itinerary timeline card ---------- */
.lp-timeline {
  flex: 0 0 auto; width: 380px; max-width: 100%; margin: 0 auto;
  position: relative; height: 610px; background: var(--card);
  border: 2px solid var(--green); border-radius: 22px; overflow: hidden;
  font-size: 15px; z-index: 1;
}
.lp-timeline__dashes { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-stop { position: absolute; width: 120px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lp-stop--salt     { left: 30px; top: 40px; width: 140px; }
.lp-stop--slc      { right: 22px; top: 140px; }
.lp-stop--checkin  { left: 40px; top: 250px; }
.lp-stop--fifa     { right: 22px; top: 352px; }
.lp-stop--checkout { left: 40px; top: 464px; }
.lp-node { display: flex; width: 62px; height: 62px; border-radius: 50%; background: var(--green-node); align-items: center; justify-content: center; }
.lp-date { position: absolute; margin: 0; color: var(--accent); font-size: 14px; }
.lp-date--1 { left: 70px; top: 14px; }
.lp-date--2 { right: 36px; top: 326px; }
.lp-date--3 { left: 72px; top: 438px; }
.lp-stub { position: absolute; right: 51px; top: 576px; width: 62px; height: 62px; border-radius: 50%; background: var(--green-node); }

/* ---------- How it works ---------- */
.lp-works {
  margin-top: 90px; background: var(--green);
  border-radius: 150px 150px 0 0; padding: 72px 28px 100px;
}
.lp-works__grid {
  max-width: 1240px; margin: 64px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px 46px;
}
.lp-step { margin: 0; position: relative; background: var(--card); box-shadow: 0 6px 16px rgba(0,0,0,0.35); padding: 26px 26px 0; }
.lp-step--1 { transform: rotate(1.6deg); }
.lp-step--2 { padding: 26px 22px 0; }
.lp-step--3 { transform: rotate(-1.6deg); }
.lp-step__badge, .lp-step__caption { font-family: 'Kalam', cursive; font-size: 32px; color: var(--ink-strong); }
.lp-step__badge {
  position: absolute; top: -4px; left: 8px; transform: rotate(-14deg);
  text-shadow: 2px 0 var(--card), -2px 0 var(--card), 0 2px var(--card), 0 -2px var(--card);
}
.lp-step--1 .lp-step__badge { left: 10px; }
.lp-step__caption { text-align: center; padding: 14px 0 18px; }

/* preview pane inside each step card */
.lp-mock { height: 250px; overflow: hidden; box-sizing: border-box; }
.lp-mock--1 { background: #EDD0A6; padding: 16px 16px 0; }
.lp-mock--2 { background: #FBF4DC; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.lp-mock--3 { background: #F7EDD0; padding: 20px 10px 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* step 1 mock */
.lp-mock__head { display: flex; align-items: center; gap: 10px; padding-left: 50px; }
.lp-mock__app { font-weight: 600; font-size: 19px; color: var(--ink); }
.lp-chips { margin-top: 18px; display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink); }
.lp-chip-nav { display: flex; width: 16px; height: 16px; border-radius: 50%; background: var(--card); align-items: center; justify-content: center; font-size: 10px; }
.lp-chip { background: var(--card); padding: 2px 8px; border-radius: 999px; display: flex; align-items: center; gap: 4px; }
.lp-chip--on { background: #4A5A26; color: var(--cream); }
.lp-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }
.lp-panel { margin-top: 12px; background: #FBF4DC; border-radius: 6px 6px 0 0; padding: 12px 12px 0; }
.lp-panel__title { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 15px; }
.lp-event { margin-top: 12px; border-left: 3px solid var(--accent); border-radius: 6px; background: #fff; padding: 8px 10px 12px; }
.lp-event__who { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 11px; }
.lp-event__avatar { width: 16px; height: 16px; border-radius: 50%; background: var(--sand); }
.lp-event__count { background: #F4EED8; padding: 0 5px; border-radius: 3px; }
.lp-event__cols { margin-top: 8px; display: grid; grid-template-columns: 60px 1fr; font-size: 8px; color: #8A8A80; border-bottom: 1px solid #E6E1CF; padding-bottom: 3px; }
.lp-event__row { margin-top: 6px; display: grid; grid-template-columns: 60px 1fr; font-size: 10px; color: var(--ink); }
.lp-event__meta { color: #C26A2C; font-size: 9px; }

/* step 2 mock */
.lp-person { display: flex; align-items: center; gap: 10px; background: #EDE8BF; border-radius: 999px; padding: 6px 10px 6px 8px; }
.lp-person__avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--sand); flex: none; }
.lp-person__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-person__chev { font-size: 15px; }
.lp-tag { font-size: 11px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.lp-tag--accepted { background: #5D6E2C; color: var(--cream); }
.lp-tag--manual   { background: #4E5E22; color: var(--cream); }
.lp-tag--maybe    { background: #F3C552; color: var(--green); }
.lp-tag--declined { background: #B5361F; color: var(--cream); }
.lp-tag--none     { background: #FBF7E6; color: #5A5A50; }

/* step 3 mock */
.lp-trip { border: 1.5px dashed var(--sand); border-radius: 18px; padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lp-trip__badge { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 92px; height: 92px; border-radius: 50%; border: 1.5px solid var(--sand); background: var(--card); font-size: 15px; line-height: 1.1; }
.lp-trip__badge small { font-size: 12px; }
.lp-trip__name { margin: 4px 0 0; align-self: stretch; display: flex; justify-content: space-between; align-items: center; font-weight: 500; font-size: 14px; }
.lp-trip__alert { width: 6px; height: 6px; border-radius: 50%; background: #D24A3A; }
.lp-trip__meta { margin: 0; align-self: stretch; font-size: 11px; color: var(--accent); }
.lp-trip__draft { font-size: 11px; background: #E2B07C; color: var(--green); padding: 2px 10px; border-radius: 999px; }

.lp-works__cta-wrap { max-width: 1000px; margin: 64px auto 0; display: flex; justify-content: center; }
.lp-btn-cta {
  display: flex; justify-content: center; width: 100%;
  background: linear-gradient(90deg, #C8783A 0%, #DE9746 50%, #F1B556 100%);
  color: var(--ink-strong); font-size: 30px; font-weight: 400;
  padding: 12px 24px; border-radius: 999px;
}

/* ---------- Audience (what you can plan) ---------- */
.lp-audience { position: relative; overflow: hidden; padding: 72px 28px 88px; background: var(--cream); }
.lp-audience__title { color: var(--ink-strong); font-weight: 400; font-size: clamp(32px, 3.2vw, 46px); }
.lp-audience__plane { position: absolute; right: 3%; top: 36px; opacity: 0.55; }
.lp-audience__lead {
  max-width: 820px; margin: 26px auto 0; text-align: center;
  font-size: clamp(18px, 1.8vw, 26px); font-weight: 300; line-height: 1.2; color: var(--ink);
}
.lp-audience__grid {
  max-width: 1240px; margin: 64px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.lp-audience-item {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  background: var(--card); border-radius: 20px; padding: 30px 26px 32px;
  box-shadow: 0 4px 18px rgba(30, 36, 20, 0.07);
  border: 1.5px solid rgba(185, 118, 58, 0.14);
}
.lp-audience-item__icon { flex: none; }
.lp-audience-item__title { margin: 0; font-weight: 400; font-size: clamp(22px, 2.1vw, 30px); color: var(--ink-strong); }
.lp-audience-item__text { margin: 0; font-weight: 300; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.25; color: var(--ink); }

/* ---------- Beta access ---------- */
.lp-beta-access { padding: 72px 28px 88px; background: var(--green); }
.lp-beta-access__title { color: var(--cream); font-weight: 300; font-size: clamp(32px, 3.2vw, 46px); }
.lp-beta-access__sub {
  max-width: 680px; margin: 24px auto 0; text-align: center;
  font-size: clamp(18px, 1.8vw, 26px); font-weight: 300; line-height: 1.2;
  color: rgba(255, 246, 217, 0.7);
}
.lp-beta-access__cards {
  max-width: 1240px; margin: 64px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
}
.lp-beta-card {
  margin: 0; background: var(--card);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.38);
  border-radius: 20px; padding: 30px 26px 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.lp-beta-card:nth-child(1) { transform: rotate(-1.8deg); }
.lp-beta-card:nth-child(2) { transform: rotate(2.2deg); }
.lp-beta-card:nth-child(3) { transform: rotate(-1deg); }
.lp-beta-card:nth-child(4) { transform: rotate(1.5deg); }
.lp-beta-card:nth-child(5) { transform: rotate(-2deg); }
.lp-beta-card:nth-child(6) { transform: rotate(1.2deg); }
.lp-beta-card__icon { flex: none; }
.lp-beta-card__title { margin: 0; font-weight: 400; font-size: clamp(22px, 2.1vw, 28px); color: var(--ink-strong); }
.lp-beta-card__text { margin: 0; font-weight: 300; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.3; color: var(--ink); }
.lp-beta-access__invite {
  max-width: 1240px; margin: 52px auto 0; text-align: center;
  font-size: clamp(17px, 1.7vw, 22px); font-weight: 300;
  color: rgba(255, 246, 217, 0.65);
}
.lp-beta-access__link { color: var(--sand); text-decoration: underline; font-weight: 400; }
.lp-beta-access__link:hover { color: var(--cream); }

/* ---------- FAQ ---------- */
.lp-faq { padding: 72px 28px 88px; background: var(--card); }
.lp-faq__title { color: var(--ink-strong); font-weight: 400; font-size: clamp(32px, 3.2vw, 46px); }
.lp-faq__grid {
  max-width: 1240px; margin: 64px auto 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 64px;
}
.lp-faq__item { border-left: 3px solid var(--accent); padding: 6px 0 6px 26px; }
.lp-faq__q { margin: 0 0 12px; font-weight: 400; font-size: clamp(20px, 2vw, 27px); color: var(--ink-strong); line-height: 1.2; }
.lp-faq__a { margin: 0; font-weight: 300; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.4; color: var(--ink); }

/* ---------- Final beta signup CTA ---------- */
.lp-signup-cta { padding: 80px 28px 100px; background: var(--green); text-align: center; }
.lp-signup-cta__heading {
  margin: 0; font-weight: 300; font-size: clamp(32px, 3.4vw, 52px);
  color: var(--cream); letter-spacing: -0.01em;
}
.lp-signup-cta__sub {
  margin: 22px auto 0; max-width: 600px;
  font-weight: 300; font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.2; color: rgba(255, 246, 217, 0.7);
}
.lp-signup-cta .lp-works__cta-wrap { max-width: 560px; margin: 48px auto 0; }

/* ---------- Footer ---------- */
.lp-footer { background: var(--green); color: var(--cream); padding: 30px 40px 34px; }
.lp-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.lp-socials { display: flex; align-items: center; gap: 10px; }
.lp-social { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
.lp-footer__lang { margin: 18px 0 0; font-size: 15px; font-weight: 300; }
.lp-footer__lang span { margin-left: 8px; }
.lp-footer__copy { margin: 26px 0 0; font-size: 14px; font-weight: 300; }
.lp-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 52px; }
.lp-footer__coltitle { margin: 0 0 14px; font-size: 18px; font-weight: 300; }
.lp-footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 300; }
.lp-footer__links a { color: var(--cream); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  /* collapse the nav into a hamburger menu */
  .lp-burger { display: inline-flex; }
  .lp-navgroup { display: none; width: 100%; }
  .lp-nav--open .lp-navgroup { display: flex; }
  .lp-nav--open .lp-nav-links { flex-direction: column; align-items: center; gap: 2px; }
  .lp-nav--open .lp-nav-auth { justify-content: center; gap: 12px; padding: 4px 0 6px; }
  /* shrink + lift the decorative plane above the heading (no overlap) */
  .lp-feat-plane { width: 66px; height: auto; top: 8px; right: 16px; }
  .lp-hero__inner { padding: 56px 0 90px; gap: 24px; }
  .lp-works { border-radius: 70px 70px 0 0; padding: 56px 16px 72px; margin-top: 48px; }
  .lp-feat-grid { gap: 32px; }
}
@media (max-width: 960px) {
  .lp-audience__grid { grid-template-columns: repeat(2, 1fr); }
  .lp-beta-access__cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .lp-faq__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .lp-nav { padding: 14px 18px; gap: 10px 18px; }
  .lp-hero__title { font-size: 34px; }
  .lp-hero__sub { font-size: 18px; }
  .lp-btn-primary { font-size: 22px; padding: 11px 32px; }
  .lp-hero, .lp-features { padding-left: 16px; padding-right: 16px; }
  .lp-btn-cta { font-size: 24px; }
  .lp-feature__title { font-size: 26px; }
  .lp-feature__text { font-size: 18px; }
  .lp-header, .lp-footer { padding-left: 18px; padding-right: 18px; }
  .lp-audience__grid { grid-template-columns: 1fr; }
  .lp-beta-access__cards { grid-template-columns: 1fr; }
  .lp-audience, .lp-beta-access, .lp-faq, .lp-signup-cta { padding: 56px 18px; }
}
/* The itinerary card is a fixed 380px (absolutely-placed nodes). Give the
   features section just enough side padding to fit it down to ~400px; only
   below that scale the whole card to keep the nodes aligned. */
@media (max-width: 480px) {
  .lp-features { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 398px) {
  .lp-timeline { transform: scale(0.88); transform-origin: top center; margin: -22px 0 -96px; }
}

/* ==========================================================================
   About page ("How M2M happened") — reuses .lp navbar/footer.
   Grain-cloud hero ported from the approved about_page.html mockup.
   ========================================================================== */
.m2m-about {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg,
    #a9dccb 0%, #b0dfc2 16%, #cbe0a6 30%, #f4d08a 44%, #fbc97d 55%, #fbd68a 70%, #f8e5a6 86%, #f4edc5 100%);
}
.m2m-about__stage {
  position: relative; max-width: 1440px; margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(.75rem, 1.7vw, 1.5rem) clamp(5.5rem, 13vw, 10rem);
}

.m2m-cloud-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.m2m-cloud { position: absolute; height: auto; z-index: 0; pointer-events: none; overflow: hidden; }
/* big cloud: dome rises just right of "Our Story", body runs off the right edge */
.m2m-cloud--big   { left: 47%; top: 39%; width: 108%; }
/* small cloud: bottom-left, behind the lower part of the video card */
.m2m-cloud--small { left: -18%; top: 72%; width: 66%; }
.m2m-about__plane {
  position: absolute; left: 36%; bottom: 4.5%;
  width: clamp(30px, 4.6vw, 52px); fill: #9aa39a; opacity: .9; z-index: 0;
}
.m2m-about__content { position: relative; z-index: 1; }

.m2m-about__intro { text-align: center; max-width: 92%; margin: 0 auto clamp(2.5rem, 7vw, 5.5rem); }
.m2m-about__intro h1 { margin: 0 0 .9rem; font-size: clamp(2rem, 4.3vw, 4rem); font-weight: 500; line-height: 1.1; color: var(--ink-strong); }
.m2m-about__intro p { margin: 0; font-size: clamp(1rem, 2.15vw, 1.95rem); line-height: 1.22; color: var(--ink); }

.m2m-story { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4%; align-items: start; }

/* video card */
.m2m-video {
  background: #f6f2e2;
  padding: clamp(.8rem, 1.6vw, 1.25rem) clamp(.8rem, 1.6vw, 1.25rem) clamp(2.4rem, 4vw, 3.4rem);
  box-shadow: 0 10px 24px rgba(60, 50, 20, .18);
}
.m2m-video__frame {
  position: relative; aspect-ratio: 16 / 9; background: #c8c8c8;
  display: grid; place-items: center; overflow: hidden;
}
.m2m-video__frame iframe, .m2m-video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.m2m-video__play {
  width: clamp(48px, 5.5vw, 80px); aspect-ratio: 1; border-radius: 50%; border: 2px solid #a9a9a9;
  background: transparent; display: grid; place-items: center; cursor: pointer;
}
.m2m-video__play svg { width: 38%; fill: #a9a9a9; margin-left: 8%; }

/* our story */
.m2m-story__text { text-align: center; padding-top: 3%; }
.m2m-story__text h2 { margin: 0 0 .6rem; font-size: clamp(1.6rem, 3.1vw, 2.85rem); font-weight: 500; color: var(--ink-strong); }
.m2m-story__text p { margin: 0 auto; max-width: 96%; font-size: clamp(1rem, 2.05vw, 1.85rem); line-height: 1.2; color: var(--ink); }

.m2m-polaroids { position: relative; height: clamp(220px, 23vw, 340px); margin-top: clamp(1.5rem, 5vw, 4rem); }
.m2m-polaroid {
  position: absolute; margin: 0; width: 40%; background: #f6f2e2;
  padding: 4% 4% 12%; box-shadow: 0 8px 18px rgba(60, 50, 20, .28);
}
.m2m-polaroid img, .m2m-polaroid__ph { display: block; width: 100%; aspect-ratio: 1 / 0.82; object-fit: cover; }
.m2m-polaroid__ph { background: linear-gradient(135deg, #9fb7c9, #e2b98a); }
.m2m-polaroid--one { left: 4%;  top: 14%; transform: rotate(4deg); }
.m2m-polaroid--two { right: 4%; top: 2%;  transform: rotate(-5deg); }

@media (max-width: 860px) {
  .m2m-story { grid-template-columns: 1fr; }
  .m2m-cloud--big   { left: 30%; top: 55%; width: 170%; }
  .m2m-cloud--small { left: -35%; top: 40%; width: 105%; }
  .m2m-polaroids { max-width: 460px; margin-left: auto; margin-right: auto; height: clamp(230px, 60vw, 300px); }
}

/* ==========================================================================
   Socials page ("Watch the adventure come together") — reuses .lp navbar/footer.
   Ported from the approved social_page.html mockup.
   ========================================================================== */
  /* ===================== SOCIAL PAGE ===================== */
  .m2m-social-page {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg,
      #a9dccb 0%, #ade0c6 20%, #b5e1b8 32%, #d4dca0 42%, #f2c584 52%, #f7b977 58%,
      #fbcb7c 66%, #fde08a 76%, #fde88f 86%, #faeeb5 100%);
  }
  /* --u = 1% of the stage width, so clouds, gaps and type keep the design's proportions */
  .m2m-social-stage {
    --u: min(1vw, 12.8px);
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: calc(var(--u) * 7) 6.25% calc(var(--u) * 6);
  }

  /* clouds */
  .m2m-art-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
  .m2m-art { position: absolute; height: auto; z-index: 0; pointer-events: none; overflow: hidden; }
  .m2m-art--left  { left: -8.6%; top: calc(var(--u) * 13.5); width: 36%; }
  .m2m-art--right { left: 50.5%; top: calc(var(--u) * -3); width: 58.5%; }

  .m2m-social-hero { position: relative; z-index: 1; text-align: center; }
  .m2m-social-hero h1 { margin: 0 0 calc(var(--u) * 2); font-size: clamp(1.8rem, calc(var(--u) * 4.6), 3.8rem); font-weight: 500; line-height: 1.05; }
  .m2m-social-hero p { margin: 0 auto; max-width: 62%; font-size: clamp(1rem, calc(var(--u) * 2.1), 1.6rem); line-height: 1.2; }

  .m2m-pills { display: flex; justify-content: center; gap: calc(var(--u) * 1.6); margin-top: calc(var(--u) * 3.5); }
  .m2m-pill {
    display: inline-flex; align-items: center; gap: .45em;
    padding: .55em 1.2em; border-radius: 999px;
    background: #2f3a12; color: #fff; text-decoration: none;
    font-size: clamp(.85rem, calc(var(--u) * 1.6), 1.15rem); font-weight: 500;
  }
  .m2m-pill:hover { background: #45541c; }
  .m2m-ext { width: 1em; height: 1em; fill: currentColor; }

  /* masonry feed */
  .m2m-feed {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 8.3%;
    align-items: start;
    margin-top: calc(var(--u) * 4.5);
  }
  .m2m-feed__col { display: flex; flex-direction: column; gap: calc(var(--u) * 2.6); }
  .m2m-feed__col--1 { padding-top: calc(var(--u) * 4.2); }
  .m2m-feed__col--3 { padding-top: calc(var(--u) * 18.7); }

  .m2m-post { margin: 0; }
  .m2m-post__media {
    display: block; width: 100%; background-color: #d9d9d9; overflow: hidden;
    /* wireframe X – remove once real images are in */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0L100 100M100 0L0 100' stroke='%23888' stroke-width='.4' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
    background-size: 100% 100%;
  }
  .m2m-post__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .m2m-post--tall  .m2m-post__media { aspect-ratio: 180 / 325; }
  .m2m-post--short .m2m-post__media { aspect-ratio: 1 / 1; }
  .m2m-post__cap { margin: .55em 0 0; text-align: center; font-size: clamp(.75rem, calc(var(--u) * 1.25), .95rem); }
  .m2m-post__cap strong { font-weight: 600; margin-right: .35em; }
  .m2m-post__cap span { opacity: .7; }

  .m2m-stats {
    background: #f6f3e2; border-radius: 6px; padding: 7% 7% 5%;
    box-shadow: 0 6px 18px rgba(40, 60, 30, .14);
    font-size: clamp(.75rem, calc(var(--u) * 1.15), .95rem);
  }
  .m2m-stats p { margin: 0; }
  .m2m-stats__label { font-weight: 600; font-size: .85em; }
  .m2m-stats__num { font-size: 2.6em; font-weight: 700; line-height: 1.05; margin-top: .25em !important; }
  .m2m-stats__sub { font-size: .8em; opacity: .7; padding-bottom: .7em; border-bottom: 1px solid #d8d3bd; }
  .m2m-stats dl { margin: .6em 0 0; display: grid; gap: .25em; }
  .m2m-stats dl div { display: flex; justify-content: space-between; }
  .m2m-stats dt { opacity: .8; }
  .m2m-stats dd { margin: 0; font-weight: 700; }

  /* call to action with the big cloud peeking over it */
  .m2m-cta-wrap { position: relative; z-index: 1; margin-top: calc(var(--u) * 6); }
  /* big cloud rises behind the right side of the card (per the approved mockup) */
  .m2m-art--dome { left: 72%; top: calc(var(--u) * -21); width: 56%; z-index: -1; }
  .m2m-cta {
    position: relative; margin: 0 -3.5%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center;
    background: #f6f3e2; border-radius: 6px;
    padding: calc(var(--u) * 4.5) 5%;
    box-shadow: 0 6px 22px rgba(70, 60, 20, .14);
  }
  .m2m-cta h2 { margin: 0 0 .35em; font-size: clamp(1.4rem, calc(var(--u) * 3.3), 2.6rem); font-weight: 700; }
  .m2m-cta p { margin: 0; font-size: clamp(.9rem, calc(var(--u) * 1.45), 1.1rem); line-height: 1.3; max-width: 34em; }
  .m2m-cta__btns { display: grid; gap: calc(var(--u) * 1.1); }
  .m2m-cta__btns .m2m-pill { justify-content: center; background: #48562a; padding: .5em 1em; }
  .m2m-cta__btns .m2m-pill:hover { background: #5a6b35; }

  /* ===================== RESPONSIVE ===================== */
  @media (max-width: 760px) {
    .m2m-social-stage { --u: 1.6vw; padding-left: 5%; padding-right: 5%; }
    .m2m-social-hero p { max-width: 88%; }
    .m2m-feed { grid-template-columns: repeat(2, 1fr); column-gap: 5%; }
    .m2m-feed__col--3 { display: contents; }
    .m2m-feed__col--1, .m2m-feed__col--3 { padding-top: 0; }
    .m2m-art--left  { left: -18%; top: calc(var(--u) * 20); width: 45%; }
    .m2m-art--right { left: 40%; top: calc(var(--u) * -2); width: 85%; }
    .m2m-cta { grid-template-columns: 1fr; gap: 1.25rem; margin: 0; }
  }
  @media (max-width: 760px) {
    /* third column posts join the first two columns */
    .m2m-feed__col--3 .m2m-post { grid-column: span 1; }
  }

/* ==========================================================================
   Blog pages — index uses bl- design system; show/category use m2m-blog-stage
   ========================================================================== */

/* Blog layout body — sunrise gradient with extended green at top */
body.blog-layout {
  background: linear-gradient(180deg,
    #6dbfa6 0%, #8ecfb8 12%, #a9dccb 28%, #b8dfb8 44%,
    #c9d5a2 56%, #e2ca90 65%, #f0c481 72%,
    #f5cc7e 80%, #f8dd7f 88%, #fbeb95 100%);
  background-attachment: fixed;
}

/* Index page wrapper */
.m2m-blog-page {
  font-family: 'Lexend', 'Segoe UI', system-ui, sans-serif;
  color: #4b5546;
  -webkit-font-smoothing: antialiased;
  position: relative; overflow: hidden;
}

/* Cloud swoosh art — blog index */
.bl-art--l {
  position: absolute; left: -7%; top: 8%; width: 32%;
  height: auto; pointer-events: none; z-index: 0; opacity: .5;
  animation: m2m-drift-b 18s ease-in-out infinite;
}
.bl-art--r {
  position: absolute; left: 54%; top: -3%; width: 52%;
  height: auto; pointer-events: none; z-index: 0; opacity: .45;
  animation: m2m-drift-a 22s ease-in-out infinite;
}

/* Looping plane flyover — right to left */
.bl-flyover {
  position: absolute; left: 108%; top: 18%;
  width: 60px; height: 40px; z-index: 2; pointer-events: none;
  animation: bl-fly 18s cubic-bezier(0.4,0,0.2,1) 2s infinite;
}
.bl-flyover__plane {
  position: absolute; left: 0; top: 0; width: 60px; height: 40px;
  animation: lp-plane-fly 3s ease-in-out infinite;
}
.bl-flyover__trail {
  position: absolute; left: 58px; top: 18px; width: 200px; height: 5px;
  border-radius: 5px; transform-origin: left center;
  background: linear-gradient(90deg, rgba(255,255,255,.65) 0%, rgba(255,255,255,.2) 60%, transparent 100%);
  filter: blur(1.5px);
  animation: bl-trail 18s cubic-bezier(0.4,0,0.2,1) 2s infinite;
}
.bl-flyover__puff {
  position: absolute; left: 42px; top: 6px; width: 26px; height: 26px;
  border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255,255,255,.8) 0%, rgba(255,255,255,.3) 40%, transparent 70%);
  filter: blur(2px);
  animation: lp-puff 2s ease-out 3s infinite;
}
.bl-flyover__puff:nth-child(3) { animation-delay: 3.6s; top: 9px; }
.bl-flyover__puff:nth-child(4) { animation-delay: 4.2s; top: 2px; }

@keyframes bl-fly {
  0%   { transform: translateX(0);      opacity: 0; }
  4%   { opacity: 1; }
  76%  { transform: translateX(-130vw); opacity: 1; }
  84%  { transform: translateX(-135vw); opacity: 0; }
  100% { transform: translateX(-135vw); opacity: 0; }
}
@keyframes bl-trail {
  0%   { opacity: 0; transform: scaleX(.1); }
  10%  { opacity: 1; transform: scaleX(1); }
  73%  { opacity: .9; }
  83%  { opacity: 0; transform: scaleX(.1); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bl-flyover, .bl-art--l, .bl-art--r { animation: none !important; opacity: 0 !important; }
}

/* Show / category page stage wrapper */
.m2m-blog-stage {
  --u: min(1vw, 12.8px);
  position: relative; max-width: 1280px; margin: 0 auto;
  padding: calc(var(--u) * 3) 6.25% calc(var(--u) * 10);
  background: linear-gradient(180deg,
    #a9dccb 0%, #ade0c6 20%, #b5e1b8 32%, #d4dca0 42%, #f2c584 52%,
    #f7b977 58%, #fbcb7c 66%, #fde08a 76%, #fde88f 86%, #faeeb5 100%);
  overflow: hidden;
}
.m2m-blog-art--l { left: -8%; top: calc(var(--u) * 10); width: 28%; }
.m2m-blog-art--r { left: 56%; top: calc(var(--u) * -4); width: 46%; }

/* show / category page content overrides */
.m2m-blog-stage .blog-article-wrap { padding-top: 0; max-width: 100%; }
.m2m-blog-stage .blog-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .4rem; color: var(--ink, #1E2414); }
.m2m-blog-stage .blog-breadcrumb a { color: var(--ink, #1E2414); text-decoration: none; }
.m2m-blog-stage .blog-breadcrumb a:hover { color: var(--ink-strong, #111608); }
.m2m-blog-stage .blog-article-title { color: var(--ink-strong, #111608); }
.m2m-blog-stage .blog-meta { color: var(--ink, #1E2414); }
.m2m-blog-stage .blog-meta .meta-dot { color: rgba(30,36,20,0.3); }
.m2m-blog-stage .blog-excerpt { color: var(--ink, #1E2414); border-color: rgba(185,118,58,0.2); }
.m2m-blog-stage .blog-share span { color: var(--ink, #1E2414); }
.m2m-blog-stage .blog-author-bio { background: rgba(255,255,255,0.45); border-color: rgba(185,118,58,0.25); }
.m2m-blog-stage .blog-related { max-width: 100%; padding-left: 0; padding-right: 0; }
.m2m-blog-stage .blog-related h2 { color: var(--ink-strong, #111608); }

@media (max-width: 760px) {
  .m2m-blog-stage { --u: 2vw; padding-left: 5%; padding-right: 5%; }
}

/* ── Blog index — bl- design system ──────────────────────────────────────── */

/* tokens */
.m2m-blog-page {
  --bl-ink:          #1f2a1c;
  --bl-ink-soft:     #4b5546;
  --bl-muted:        #858c80;
  --bl-forest:       #2d3a1f;
  --bl-forest-hover: #3d4d2b;
  --bl-terra:        #c4622d;
  --bl-cream:        #fffdf6;
  --bl-surface:      #ffffff;
  --bl-line:         #ece6d6;
  --bl-mint:         #cfeadb;
  --bl-sand:         #f8d9a4;
  --bl-r:            16px;
  --bl-rlg:          24px;
  --bl-sh-sm:        0 1px 2px rgb(31 42 28 / .06);
  --bl-sh:           0 2px 6px rgb(31 42 28 / .05), 0 12px 32px -12px rgb(31 42 28 / .18);
  --bl-sh-lg:        0 4px 12px rgb(31 42 28 / .08), 0 24px 48px -16px rgb(31 42 28 / .28);
}

/* eyebrow label */
.bl-eyebrow {
  margin: 0 0 .35rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bl-terra);
}

/* Hero — transparent so page gradient shows through */
.bl-hero {
  position: relative; z-index: 1; overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem clamp(4rem, 7vw, 6rem);
  text-align: center;
}
.bl-body { position: relative; z-index: 1; }
.bl-hero__inner { max-width: 720px; margin: 0 auto; }
.bl-hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700;
  line-height: 1.05; letter-spacing: -.03em; color: var(--bl-ink);
}
.bl-hero__sub {
  margin: 1rem auto 2rem; max-width: 34ch;
  font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.55; color: var(--bl-ink-soft);
}

/* Search bar */
.bl-search {
  display: flex; align-items: center;
  max-width: 560px; margin: 0 auto; padding: .375rem;
  background: var(--bl-surface); border: 1px solid var(--bl-line);
  border-radius: 999px; box-shadow: var(--bl-sh);
  transition: box-shadow .2s, border-color .2s;
}
.bl-search:focus-within {
  border-color: var(--bl-terra);
  box-shadow: 0 0 0 4px rgb(196 98 45 / .15), var(--bl-sh);
}
.bl-search__icon {
  width: 20px; height: 20px; margin-left: .9rem; flex-shrink: 0;
  fill: none; stroke: var(--bl-muted); stroke-width: 2; stroke-linecap: round;
}
.bl-search__input {
  flex: 1; min-width: 0; padding: .8rem .75rem;
  border: 0; background: transparent; font: inherit; font-size: 1rem;
  color: var(--bl-ink); outline: none;
}
.bl-search__input::placeholder { color: var(--bl-muted); }
/* Tailwind forms gives input:focus a blue border + ring; the pill's :focus-within ring is the focus indicator instead */
.bl-search .bl-search__input,
.bl-search .bl-search__input:focus { border: 0; outline: none; box-shadow: none; background: transparent; }
.bl-search__btn {
  padding: .8rem 1.5rem; border: 0; border-radius: 999px;
  background: var(--bl-forest); color: #fff;
  font: inherit; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.bl-search__btn:hover { background: var(--bl-forest-hover); }
.bl-search__clear {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; margin-right: .35rem; padding: 0;
  border: 0; border-radius: 999px; background: transparent; color: var(--bl-muted); cursor: pointer;
  transition: background .15s, color .15s;
}
.bl-search__clear[hidden] { display: none; }
.bl-search__clear svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bl-search__clear:hover { background: rgb(196 98 45 / .1); color: var(--bl-terra); }
.bl-search__clear:focus-visible { outline: 2px solid var(--bl-terra); outline-offset: 2px; }

/* Body */
.bl-body {
  max-width: 1100px; margin: 0 auto;
  padding: 0 1.25rem 5rem; position: relative;
}

/* Category chips */
.bl-chips {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: .5rem; margin-bottom: 3rem;
}
.bl-chip {
  display: inline-flex; align-items: center;
  padding: .4rem .9rem;
  border: 1px solid var(--bl-line); border-radius: 999px;
  background: rgba(255,255,255,0.75); box-shadow: var(--bl-sh-sm);
  color: var(--bl-ink); font-size: .82rem; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.bl-chip:hover { background: rgba(255,255,255,0.95); border-color: var(--bl-forest); transform: translateY(-1px); }
.bl-chip--active,
.bl-chip--active:hover { background: var(--bl-forest); border-color: var(--bl-forest); color: #fff; }
@media (max-width: 640px) {
  .bl-chips {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    margin-inline: -1.25rem; padding: .25rem 1.25rem; scrollbar-width: none;
  }
  .bl-chips::-webkit-scrollbar { display: none; }
}

/* Featured post — image left, content right */
.bl-featured {
  display: grid; grid-template-columns: 1.15fr 1fr;
  overflow: hidden; margin-bottom: 4rem;
  background: var(--bl-surface); border: 1px solid var(--bl-line);
  border-radius: var(--bl-rlg); box-shadow: var(--bl-sh);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* Whole card reacts on hover, like the grid cards: lift, deeper shadow, image zoom, title + link turn forest */
.bl-featured:hover { transform: translateY(-4px); box-shadow: var(--bl-sh-lg); border-color: rgb(45 58 31 / .25); }
.bl-featured__media { display: flex; overflow: hidden; }
.bl-featured__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 260px; transition: transform .5s ease; }
.bl-featured:hover .bl-featured__media img { transform: scale(1.04); }
/* Title link stretches over the whole card so hovering/clicking anywhere opens the article */
.bl-featured { position: relative; cursor: pointer; }
.bl-featured__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bl-featured:hover .bl-featured__title a { color: var(--bl-terra); }
.bl-featured:hover .bl-read-link { background: var(--bl-forest); border-color: var(--bl-forest); color: #fff; }
.bl-featured:hover .bl-read-link span { transform: translateX(4px); }
.bl-featured:has(a:focus-visible) { outline: 3px solid var(--bl-terra); outline-offset: 3px; }
.bl-featured__placeholder {
  width: 100%; height: 100%; min-height: 260px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bl-mint), var(--bl-sand));
  font-size: 3rem; font-weight: 700; color: rgb(45 58 31 / .15);
  font-family: var(--font, 'Lexend', sans-serif);
}
.bl-featured__body {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(1.75rem, 4vw, 3rem);
}
.bl-badge {
  display: inline-block; margin-bottom: 1rem; padding: .3rem .7rem;
  border-radius: 999px; background: #fbe9dc; color: var(--bl-terra);
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.bl-featured__cat {
  margin: 0 0 .4rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bl-terra);
}
.bl-featured__title {
  margin: 0 0 .75rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em;
  color: var(--bl-ink);
}
.bl-featured__title a { color: inherit; text-decoration: none; transition: color .2s ease; }
.bl-featured__title a:hover { color: var(--bl-terra); text-decoration: none; }
.bl-featured__excerpt {
  margin: 0 0 1rem; font-size: .95rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-featured__meta { font-size: .82rem; color: var(--bl-muted); display: flex; gap: .4rem; }
.bl-read-link { display: inline-block; margin-top: 1.5rem; color: var(--bl-forest); font-weight: 600; text-decoration: none; }
.bl-featured .bl-read-link { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem 1.1rem; border: 1px solid var(--bl-line); border-radius: 999px; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.bl-read-link span { display: inline-block; transition: transform .2s; }
.bl-read-link:hover span { transform: translateX(4px); }
.bl-read-link--icon { display: inline-flex; align-items: center; gap: .4rem; }
.bl-read-link__arrow { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.bl-read-link--icon:hover { color: var(--bl-terra); }
.bl-read-link--icon:hover .bl-read-link__arrow { transform: translateX(4px); }
.bl-read-link .bl-read-link__arrow-wrap { display: inline-flex; }
.bl-read-link__arrow-wrap .bl-read-link__arrow { transition: none; }
@media (max-width: 820px) {
  .bl-featured { grid-template-columns: 1fr; }
  .bl-featured__media { min-height: 0; }
  .bl-featured__media img,
  .bl-featured__placeholder { min-height: 0; aspect-ratio: 16/9; }
}

/* Section header */
.bl-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--bl-line);
}
.bl-section-head__title {
  margin: 0; font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  letter-spacing: -.02em; color: var(--bl-ink);
}
.bl-section-head__count { margin: 0; font-size: .9rem; color: var(--bl-muted); }

/* Post grid */
.bl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
}

/* Card */
.bl-card {
  position: relative; display: flex; flex-direction: column;
  overflow: hidden; background: var(--bl-surface);
  border: 1px solid var(--bl-line); border-radius: var(--bl-r);
  box-shadow: var(--bl-sh-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.bl-card:hover { transform: translateY(-4px); box-shadow: var(--bl-sh-lg); }
.bl-card__media { overflow: hidden; }
.bl-card__img {
  display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .5s ease;
}
.bl-card:hover .bl-card__img { transform: scale(1.04); }
.bl-card__placeholder {
  display: grid; place-items: center; aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bl-mint), var(--bl-sand));
  font-size: 2.5rem; font-weight: 700; color: rgb(45 58 31 / .2);
}
.bl-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.4rem 1.4rem; }
.bl-card__cat {
  margin: 0 0 .5rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bl-terra);
}
.bl-card__title {
  margin: 0 0 .6rem;
  font-size: 1.1rem; line-height: 1.35; letter-spacing: -.01em; color: var(--bl-ink);
}
.bl-card__link { color: inherit; text-decoration: none; outline: none; }
.bl-card__link::after { content: ""; position: absolute; inset: 0; }
.bl-card__excerpt {
  margin: 0 0 1.25rem; font-size: .92rem; line-height: 1.6; color: var(--bl-ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-card__meta {
  display: flex; gap: .4rem; margin: auto 0 0;
  padding-top: 1rem; border-top: 1px solid var(--bl-line);
  font-size: .82rem; color: var(--bl-muted);
}

/* Empty state */
.bl-empty {
  padding: 4rem 1.5rem; text-align: center;
  background: var(--bl-surface); border: 1px dashed var(--bl-line);
  border-radius: var(--bl-rlg);
}
.bl-empty__title { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 600; color: var(--bl-ink); }
.bl-empty__text  { margin: 0 auto 1.5rem; max-width: 42ch; }
.bl-empty a { color: var(--bl-forest); font-weight: 600; text-decoration: none; }

/* Pagination */
.bl-pagy { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 3rem; }
.bl-pagy__btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem 1.4rem; border-radius: 999px;
  background: var(--bl-forest); color: #fff;
  font-size: .88rem; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; transition: background .15s, transform .15s;
  /* the nav sits inside a <section>; neutralise Tailwind's sidebar `section nav a` rule (width:100%) */
  width: auto; height: auto; white-space: nowrap;
}
.bl-pagy__btn:hover { background: var(--bl-forest-hover); color: #fff; transform: translateY(-1px); }
.bl-pagy__btn--off {
  background: rgba(255,255,255,0.45); color: #aaa;
  cursor: default; pointer-events: none;
  border: 1px solid rgba(0,0,0,0.08);
}
.bl-pagy__info { font-size: .82rem; color: var(--bl-ink-soft); white-space: nowrap; }
.bl-pagy__icon { width: 16px; height: 16px; flex: none; }

@media (prefers-reduced-motion: reduce) {
  .bl-card, .bl-card__img, .bl-chip, .bl-read-link span, .bl-read-link__arrow, .bl-featured, .bl-featured__media img { transition: none; }
  .bl-card:hover, .bl-card:hover .bl-card__img, .bl-chip:hover,
  .bl-featured:hover, .bl-featured:hover .bl-featured__media img { transform: none; }
}

/* ==========================================================================
   Landing-page animations (additive only — transforms/opacity, no layout
   changes). Clearly-visible entrance + ambient motion. Disabled under
   prefers-reduced-motion.
   ========================================================================== */
@keyframes lp-fade-up     { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lp-cloud-drift { 0% { transform: translate(0, 0); } 50% { transform: translate(-110px, -6px); } 100% { transform: translate(0, 0); } }
@keyframes lp-sun-breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes lp-plane-fly   { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-7px, -6px); } }
/* hero plane: one glide from mid-screen to its resting spot each time the
   hero comes into view (landing_motion_controller toggles .is-flying /
   .is-landed on .lp-flight). The trail is towed by the plane and fades out
   as it settles. */
@keyframes lp-flight-once {
  0%   { transform: translateX(50vw); opacity: 0; }
  8%   { opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes lp-flight-trail-once {
  0%   { transform: scaleX(.15); opacity: 0; }
  12%  { transform: scaleX(1);   opacity: 1; }
  70%  { transform: scaleX(1);   opacity: .9; }
  100% { transform: scaleX(.1);  opacity: 0; }
}
@keyframes lp-puff {
  0%   { opacity: 0;   transform: translate(0, 0) scale(.3); }
  25%  { opacity: .55; }
  100% { opacity: 0;   transform: translate(96px, -10px) scale(1.7); }
}
@keyframes lp-feat-cruise {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(6px, -7px) rotate(-2deg); }
}
/* feature icons hover gently once drawn in */
@keyframes lp-icon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
/* step-1 bell rings every few seconds; step-3 alert dot pulses */
@keyframes lp-ring {
  0%, 100% { transform: rotate(0); } 4% { transform: rotate(14deg); } 8% { transform: rotate(-12deg); }
  12% { transform: rotate(9deg); } 16% { transform: rotate(-6deg); } 20% { transform: rotate(0); }
}
@keyframes lp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(210,74,58,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(210,74,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(210,74,58,0); }
}
@keyframes lp-float-1     { 0% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-20px); } 100% { transform: rotate(-8deg) translateY(0); } }
@keyframes lp-float-2     { 0% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-24px); } 100% { transform: rotate(5deg) translateY(0); } }
@keyframes lp-sway        { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(3deg); } }

/* hero copy: staggered fade-up on first paint */
.lp-hero__title { animation: lp-fade-up .7s var(--lp-ease) both; }
.lp-hero__sub   { animation: lp-fade-up .7s var(--lp-ease) .12s both; }
.lp-plane-wrap  { animation: lp-fade-up .7s var(--lp-ease) .24s both; }
.lp-cta-wrap    { animation: lp-fade-up .7s var(--lp-ease) .36s both; }

/* ambient, looping motion — clearly visible */
.lp-cloud       { animation: lp-cloud-drift 9s var(--lp-ease-inout) infinite; }
.lp-sun         { animation: lp-sun-breathe 6s ease-in-out infinite; }
.lp-js [data-controller~="landing-motion"] .lp-flight:not(.is-flying):not(.is-landed) { opacity: 0; }
.lp-flight.is-flying { animation: lp-flight-once 4s var(--lp-ease-inout) .3s both; will-change: transform, opacity; }
.lp-plane       { animation: lp-plane-fly 3s var(--lp-ease-inout) infinite; }
.lp-flight__trail {
  position: absolute; left: 58px; top: 18px; width: 220px; height: 5px; border-radius: 5px; opacity: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.25) 50%, rgba(255,255,255,0) 100%);
  filter: blur(1.5px); transform-origin: left center;
}
.lp-flight.is-flying .lp-flight__trail { animation: lp-flight-trail-once 4s var(--lp-ease-inout) .3s both; }
/* fog puffs: soft radial wisps that swell and dissolve behind the tail */
.lp-puff {
  position: absolute; left: 42px; top: 6px; width: 28px; height: 28px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(255,255,255,.75) 0%, rgba(255,255,255,.35) 40%, rgba(255,255,255,0) 70%);
  filter: blur(2px); pointer-events: none;
}
.lp-flight.is-flying .lp-puff { animation: lp-puff 2s ease-out infinite; }
.lp-puff:nth-child(3) { animation-delay: .5s; top: 9px; }
.lp-puff:nth-child(4) { animation-delay: 1s; top: 3px; }
.lp-puff:nth-child(5) { animation-delay: 1.5s; top: 8px; }
/* features plane: hidden until its flight (landing_motion_controller draws
   the route and flies it in); afterwards it keeps a slow cruise */
.lp-js [data-controller~="landing-motion"] [data-lp-flight]:not(.lp-in) { opacity: 0; }
.lp-feat-plane.lp-in { animation: lp-feat-cruise 6s var(--lp-ease-inout) infinite; }
/* feature icons: strokes are drawn in by the controller (pathLength="1"),
   then the icon floats; phases offset per row */
.lp-js [data-controller~="landing-motion"] [data-lp-draw]:not(.lp-drawn) :is(path, rect, circle) { stroke-dasharray: 1; stroke-dashoffset: 1; }
.lp-feature.lp-in .lp-feature__icon { animation: lp-icon-float 4s var(--lp-ease-inout) infinite; }
.lp-feature:nth-child(2).lp-in .lp-feature__icon { animation-delay: -1.3s; }
.lp-feature:nth-child(3).lp-in .lp-feature__icon { animation-delay: -2.6s; }
/* itinerary route legs stay undrawn until the controller draws each one */
.lp-js [data-controller~="landing-motion"] .lp-route-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
/* how-it-works cards: perspective for the cursor tilt, ringing bell, alert pulse */
.lp-works__grid { perspective: 1200px; }
.lp-bell { transform-origin: 50% 8%; animation: lp-ring 5s ease-in-out 1.5s infinite; }
.lp-trip__alert { animation: lp-pulse 2.2s ease-out infinite; }
.lp-feat-route { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; opacity: 1; transition: opacity 1.2s ease .3s; }
.lp-feat-route.is-done { opacity: 0; }
/* brief scroll hold on first load so the hero intro is seen (released by the
   controller after a moment, or on any key press) */
html.lp-hold { overflow: hidden; scrollbar-gutter: stable; }
.lp-polaroid--1 { animation: lp-float-1 5s ease-in-out infinite; }
.lp-polaroid--2 { animation: lp-float-2 6s ease-in-out .4s infinite; }
.lp-dot         { animation: lp-sway 4.5s ease-in-out infinite; }

/* micro-interaction: gentle lift on the primary CTA */
.lp-btn-primary { transition: transform .2s ease, box-shadow .2s ease; }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(28,38,16,.5); }

@media (prefers-reduced-motion: reduce) {
  .lp-hero__title, .lp-hero__sub, .lp-plane-wrap, .lp-cta-wrap,
  .lp-cloud, .lp-sun, .lp-flight, .lp-flight__trail, .lp-plane, .lp-puff, .lp-feat-plane,
  .lp-feature__icon, .lp-bell, .lp-trip__alert, .lp-timeline__dashes > g,
  .lp-polaroid--1, .lp-polaroid--2, .lp-dot { animation: none !important; }
  .lp-puff, .lp-flight__trail { display: none; }
  .lp-flight { opacity: 1 !important; }
  .lp-route-draw, [data-lp-draw] :is(path, rect, circle) { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
  html.lp-hold { overflow: auto; }
  .lp-btn-primary { transition: none !important; }
}

/* ==========================================================================
   About-page animations (additive only — transforms/opacity, no layout
   changes). Staggered entrance + ambient motion. Disabled under
   prefers-reduced-motion.
   ========================================================================== */
@keyframes m2m-fade-up   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes m2m-drift-a   { 0% { transform: translateX(0); }  50% { transform: translateX(-38px); } 100% { transform: translateX(0); } }
@keyframes m2m-drift-b   { 0% { transform: translateX(0); }  50% { transform: translateX(30px); }  100% { transform: translateX(0); } }
@keyframes m2m-plane-fly { 0% { transform: translate(0,0); } 50% { transform: translate(16px,-6px); } 100% { transform: translate(0,0); } }
@keyframes m2m-float-one { 0% { transform: rotate(4deg) translateY(0); }  50% { transform: rotate(6deg) translateY(-20px); }  100% { transform: rotate(4deg) translateY(0); } }
@keyframes m2m-float-two { 0% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-24px); } 100% { transform: rotate(-5deg) translateY(0); } }

/* entrance: staggered fade-up on first paint */
.m2m-about__intro h1 { animation: m2m-fade-up .7s ease-out both; }
.m2m-about__intro p  { animation: m2m-fade-up .7s ease-out .12s both; }
.m2m-video           { animation: m2m-fade-up .7s ease-out .24s both; }
.m2m-story__text h2  { animation: m2m-fade-up .7s ease-out .30s both; }
.m2m-story__text p   { animation: m2m-fade-up .7s ease-out .40s both; }

/* ambient, looping motion */
.m2m-cloud--big    { animation: m2m-drift-a 14s ease-in-out infinite; }
.m2m-cloud--small  { animation: m2m-drift-b 16s ease-in-out infinite; }
.m2m-about__plane  { animation: m2m-plane-fly 4s ease-in-out infinite; }
.m2m-polaroid--one { animation: m2m-float-one 5s ease-in-out infinite; }
.m2m-polaroid--two { animation: m2m-float-two 6s ease-in-out .4s infinite; }

/* micro-interaction: play button + polaroids lift on hover */
.m2m-video__play { transition: transform .2s ease, border-color .2s ease; }
.m2m-video__play:hover { transform: scale(1.08); border-color: #7d7d7d; }

@media (prefers-reduced-motion: reduce) {
  .blog-flyover { animation: none !important; opacity: 0 !important; }
  .m2m-about__intro h1, .m2m-about__intro p, .m2m-video,
  .m2m-story__text h2, .m2m-story__text p,
  .m2m-cloud--big, .m2m-cloud--small, .m2m-about__plane,
  .m2m-polaroid--one, .m2m-polaroid--two { animation: none !important; }
  .m2m-video__play { transition: none !important; }
}

/* ==========================================================================
   Landing-page motion (landing_motion_controller.js) — Framer-Motion-style
   scroll reveals, staggers and micro-interactions. Transforms/opacity only;
   every animation ends in the stylesheet's own state so the layout is
   untouched. Hidden-until-revealed applies only while JS has flagged <html>
   with .lp-js AND the landing-motion controller wraps the element, so the
   shared footer renders normally on pages without the controller.
   ========================================================================== */
.lp-js [data-controller~="landing-motion"] [data-lp-reveal]:not(.lp-in) { opacity: 0; }
/* once the headline is split into words the JS stagger replaces the CSS fade */
.lp-hero__title.lp-words-ready { animation: none; }
.lp-word { display: inline-block; }

/* ambient: dashed itinerary route drifts like a travel path */
@keyframes lp-dash-march { to { stroke-dashoffset: -17; } }
.lp-timeline__dashes > g { animation: lp-dash-march 2.4s linear infinite; }

/* hover / press micro-interactions (whileHover / whileTap equivalents).
   `translate` and `scale` are the individual transform properties, so they
   compose with the rotate() transforms already on these elements. */
.lp-btn-primary, .lp-btn-cta, .lp-btn-outline, .lp-navlink, .lp-social,
.lp-step, .lp-beta-card, .lp-audience-item, .lp-feature__icon, .lp-polaroid, .lp-node, .lp-footer__links a {
  transition: translate .3s var(--lp-ease), scale .3s var(--lp-ease), rotate .5s var(--lp-ease),
              box-shadow .3s ease, background-color .25s ease, border-color .25s ease, color .2s ease;
}
.lp-btn-primary:active, .lp-btn-cta:active, .lp-btn-outline:active { scale: .97; }
.lp-btn-outline:hover { background: rgba(217,160,102,.16); border-color: #F2C27E; translate: 0 -1px; }
.lp-btn-cta:hover { translate: 0 -2px; box-shadow: 0 14px 28px -10px rgba(241,181,86,.55); }
.lp-navlink:hover { translate: 0 -1px; }
.lp-social:hover { scale: 1.15; }
.lp-footer__links a:hover { translate: 2px 0; }
.lp-step:hover { translate: 0 -6px; box-shadow: 0 16px 30px rgba(0,0,0,.45); }
.lp-beta-card:hover { translate: 0 -6px; box-shadow: 0 16px 32px rgba(0,0,0,.48); }
.lp-audience-item:hover { translate: 0 -4px; box-shadow: 0 10px 28px rgba(30, 36, 20, 0.13); }
.lp-feature:hover .lp-feature__icon { scale: 1.08; }
.lp-polaroid:hover { scale: 1.03; z-index: 3; }
.lp-stop:hover .lp-node { scale: 1.1; }

@media (prefers-reduced-motion: reduce) {
  .lp-js [data-controller~="landing-motion"] [data-lp-reveal],
  .lp-js [data-controller~="landing-motion"] [data-lp-flight],
  .lp-js [data-controller~="landing-motion"] .lp-flight { opacity: 1; }
  .lp-timeline__dashes g { animation: none; }
  .lp-btn-primary, .lp-btn-cta, .lp-btn-outline, .lp-navlink, .lp-social,
  .lp-step, .lp-beta-card, .lp-audience-item, .lp-feature__icon, .lp-polaroid, .lp-node, .lp-footer__links a { transition: none; }
}

/* ==========================================================================
   Blog article show page — editorial design (ed- prefix)
   ========================================================================== */

/* Reading progress bar */
.ed-progress {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 3px; pointer-events: none;
}
.ed-progress__bar {
  display: block; height: 100%; background: #c4622d;
  transform: scaleX(0); transform-origin: left; transition: transform .1s linear;
}

/* Page chrome */
.ed { font-family: 'Lexend', system-ui, sans-serif; color: #4b5546; }

/* ── Split hero ── */
.ed-hero {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  max-width: 1180px; margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 1.5rem clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 860px) {
  .ed-hero { grid-template-columns: 1fr; }
  .ed-hero__media { order: -1; }
  .ed-hero__media::before { display: none; }
  .ed-hero__media img, .ed-hero__placeholder { aspect-ratio: 16/10; }
}

.ed-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; font-size: .85rem; }
.ed-crumbs a { color: #c4622d; font-weight: 600; text-decoration: none; }
.ed-crumbs a:hover { text-decoration: underline; }
.ed-crumbs__sep { color: #858c80; }

.ed-hero__title {
  margin: 0; font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 600;
  line-height: 1.06; letter-spacing: -.02em; color: #1f2a1c;
}
.ed-hero__lead { margin: 1.5rem 0 2rem; max-width: 46ch; font-size: 1.1rem; line-height: 1.65; }

.ed-meta { display: flex; align-items: center; gap: .85rem; padding-top: 1.5rem; border-top: 1px solid rgba(236,230,214,.8); }
.ed-meta__avatar {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: #f8d9a4; color: #2d3a1f; font-weight: 700; font-size: 1.1rem;
}
.ed-meta__name { margin: 0; font-weight: 600; color: #1f2a1c; font-size: .95rem; }
.ed-meta__info { display: flex; gap: .4rem; margin: .2rem 0 0; font-size: .82rem; color: #858c80; }

.ed-hero__media { margin: 0; position: relative; }
.ed-hero__media::before {
  content: ""; position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border-radius: 24px; background: #cfeadb; z-index: 0;
}
.ed-hero__media img, .ed-hero__placeholder {
  position: relative; z-index: 1; display: block; width: 100%;
  aspect-ratio: 10/11; object-fit: cover; border-radius: 24px;
}
.ed-hero__placeholder {
  background: linear-gradient(160deg, #a9dcc5, #e4ecc8 55%, #f8d9a4);
}

/* ── Article layout: prose + sidebar ── */
.ed-layout {
  display: grid;
  grid-template-columns: minmax(0, 700px) 260px;
  justify-content: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 1180px; margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  border-top: 1px solid rgba(236,230,214,.8);
}
@media (max-width: 1023px) {
  .ed-layout { grid-template-columns: minmax(0, 700px); }
  .ed-toc, .ed-cta-card { display: none; }
}

/* Prose */
.ed-prose { font-size: 1.1rem; line-height: 1.8; }
.ed-prose > * + * { margin-top: 1.4em; }
.ed-prose > :first-child { margin-top: 0; }
.ed-prose p { margin-bottom: 0; }
.ed-prose h2, .ed-prose h3 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  color: #1f2a1c; letter-spacing: -.015em; scroll-margin-top: 6rem;
}
.ed-prose h2 { margin-top: 2.6em; font-size: 1.8rem; line-height: 1.25; }
.ed-prose h3 { margin-top: 2em; font-size: 1.3rem; line-height: 1.35; }
.ed-prose h2 + *, .ed-prose h3 + * { margin-top: .75em; }
.ed-prose a { color: #2d3a1f; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(196,98,45,.4); text-underline-offset: 3px; }
.ed-prose a:hover { text-decoration-color: #c4622d; }
.ed-prose strong { color: #1f2a1c; font-weight: 600; }
.ed-prose ul, .ed-prose ol { padding-left: 1.4em; }
.ed-prose li + li { margin-top: .55em; }
.ed-prose li::marker { color: #c4622d; }
.ed-prose blockquote {
  margin-inline: 0; padding: 1.25rem 1.5rem;
  border-left: 4px solid #c4622d; border-radius: 0 10px 10px 0;
  background: #fbf1e6; color: #1f2a1c; font-style: italic;
}
.ed-prose blockquote p { margin: 0; }
.ed-prose img { display: block; max-width: 100%; border-radius: 16px; }
.ed-prose figcaption { margin-top: .6rem; font-size: .85rem; color: #858c80; text-align: center; }
.ed-prose hr { border: 0; border-top: 1px solid #ece6d6; margin-block: 3em; }
.ed-prose code { padding: .15em .4em; border-radius: 6px; background: #f1ede2; font-size: .9em; font-family: ui-monospace, monospace; }
.ed-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ed-prose th, .ed-prose td { padding: .75rem; border-bottom: 1px solid #ece6d6; text-align: left; }
.ed-prose th { color: #1f2a1c; font-weight: 600; }
.ed-prose > p:first-of-type::first-letter {
  float: left; margin: .35rem .6rem 0 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 4rem; line-height: .82; font-weight: 600; color: #c4622d;
}

/* TOC sidebar */
.ed-side__sticky { position: sticky; top: 5.5rem; display: grid; gap: 1.5rem; }
.ed-side__label { margin: 0 0 .9rem; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #858c80; }
.ed-toc { padding: 1.25rem; background: #fff; border: 1px solid #ece6d6; border-radius: 16px; }
.ed-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .2rem; }
.ed-toc a {
  display: flex; gap: .6rem; padding: .5rem .6rem; border-radius: 8px;
  color: #4b5546; font-size: .88rem; line-height: 1.4; text-decoration: none;
  transition: background .15s, color .15s;
}
.ed-toc a:hover { background: #f3eee0; color: #1f2a1c; }
.ed-toc a.active { background: #2d3a1f; color: #fff; }
.ed-toc a.active .ed-toc__num { color: #f8d9a4; }
.ed-toc__num { font-family: 'Fraunces', Georgia, serif; font-weight: 600; color: #c4622d; flex-shrink: 0; }

/* CTA sidebar card */
.ed-cta-card { padding: 1.5rem; border-radius: 16px; background: #cfeadb; border: 1px solid #b9dcc8; }
.ed-cta-card__title { margin: 0 0 .4rem; font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; font-weight: 600; color: #1f2a1c; }
.ed-cta-card__text { margin: 0 0 1rem; font-size: .9rem; line-height: 1.55; }
.ed-btn {
  display: inline-block; padding: .7rem 1.3rem;
  border: 1px solid #2d3a1f; border-radius: 999px;
  background: #2d3a1f; color: #fff;
  font-family: inherit; font-weight: 600; font-size: .9rem;
  text-decoration: none; transition: background .15s;
}
.ed-btn:hover { background: #3d4d2b; }
.ed-btn--outline { background: transparent; color: #2d3a1f; }
.ed-btn--outline:hover { background: #2d3a1f; color: #fff; }

/* Share bar */
.ed-share {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding: 1.5rem 0; border-block: 1px solid #ece6d6;
}
.ed-share__title { margin: 0; font-weight: 600; color: #1f2a1c; }
.ed-share__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.ed-share__btn {
  display: inline-flex; align-items: center; gap: .4rem;
  height: 40px; padding: 0 1rem; border: 1px solid #ece6d6; border-radius: 999px;
  background: #fff; color: #1f2a1c; font: inherit; font-size: .82rem; font-weight: 600;
  text-decoration: none; transition: border-color .15s;
}
.ed-share__btn:hover { border-color: #2d3a1f; }

/* Related posts — dark forest band */
.ed-related { background: #2d3a1f; color: #dfe6d3; padding: 4rem 1.5rem; }
.ed-related__inner { max-width: 1180px; margin: 0 auto; }
.ed-related__title { margin: 0 0 2rem; font-family: 'Fraunces', Georgia, serif; font-size: 2rem; font-weight: 600; color: #fff; }
.ed-related__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 2.5rem; }
.ed-next { position: relative; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.ed-next__cat { margin: 0 0 .5rem; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f8d9a4; }
.ed-next__title { margin: 0 0 .5rem; font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.ed-next__link { color: #fff; text-decoration: none; }
.ed-next__link::after { content: ""; position: absolute; inset: 0; }
.ed-next:hover .ed-next__link { text-decoration: underline; text-underline-offset: 4px; }
.ed-next__meta { margin: 0; font-size: .82rem; color: rgba(255,255,255,.55); }

@media (prefers-reduced-motion: reduce) {
  .ed-progress__bar { transition: none; }
}

/* ================================================================
   Blog article show page (v2 — centred hero design)
   ================================================================ */

/* Reading progress */
.read-progress { position: fixed; inset: 0 0 auto; z-index: 50; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: #c4622d; transform: scaleX(0); transform-origin: left; transition: transform .1s linear; }

.article { font-family: 'Lexend', system-ui, sans-serif; color: #4b5546; -webkit-font-smoothing: antialiased; }

/* Hero */
.article-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem 0;
  background:
    radial-gradient(50% 70% at 90% 0%, rgb(255 236 190 / .7), transparent 60%),
    linear-gradient(180deg, #cfeadb 0%, #e4ecc8 70%, #fffdf6 100%);
  text-align: center;
}
.article-hero__inner { max-width: 780px; margin: 0 auto; padding-bottom: clamp(2rem, 5vw, 3.5rem); }

/* Breadcrumb */
/* Tailwind's global `nav { backdrop-filter: blur(20px); opacity: .95 }` paints a blurred bar
   behind every <nav>; the blog's inline navs must stay transparent. */
.breadcrumb, .bl-pagy, .prev-next { backdrop-filter: none; -webkit-backdrop-filter: none; opacity: 1; }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem;
  margin: 0 0 1.5rem; padding: 0; list-style: none; font-size: .85rem;
}
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #858c80; }
.breadcrumb a { color: #4b5546; text-decoration: none; }
.breadcrumb a:hover { color: #1f2a1c; text-decoration: underline; }
.breadcrumb li:last-child a { color: #1f2a1c; font-weight: 500; }

/* Category pill */
.pill {
  display: inline-block;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: rgb(255 255 255 / .7);
  border: 1px solid rgb(196 98 45 / .25);
  color: #c4622d;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
}
.pill:hover { background: #fff; }

.article-hero__title {
  margin: 1.25rem 0 1.75rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: #1f2a1c;
  text-wrap: balance;
}

/* Byline */
.byline { display: inline-flex; align-items: center; gap: .75rem; text-align: left; }
.byline__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #2d3a1f; color: #fff; font-weight: 600; }
.byline__text { display: flex; flex-direction: column; gap: .1rem; }
.byline__name { font-weight: 600; color: #1f2a1c; }
.byline__meta { display: flex; gap: .4rem; font-size: .85rem; color: #858c80; }

/* Cover image */
.article-hero__cover { max-width: 1100px; margin: 0 auto; }
.article-hero__cover img {
  display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover;
  border-radius: 24px; box-shadow: 0 4px 12px rgb(31 42 28 / .08), 0 24px 48px -16px rgb(31 42 28 / .28);
}
.article-hero__placeholder {
  aspect-ratio: 2 / 1; border-radius: 24px;
  background: linear-gradient(135deg, #cfeadb, #f8d9a4);
  box-shadow: 0 4px 12px rgb(31 42 28 / .08), 0 24px 48px -16px rgb(31 42 28 / .28);
}

/* Layout: single column, widens to TOC+prose at 1024+ */
.article__layout {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  gap: 4rem;
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem 4rem;
}
@media (min-width: 1024px) {
  .article__layout--toc { grid-template-columns: 240px minmax(0, 720px); }
}

/* TOC */
.toc { position: relative; }
@media (min-width: 1024px) { .toc .toc__box { position: sticky; top: 6rem; } }
/* inside the magazine sidebar the whole column is the sticky scroller */
.mag-sidebar .toc .toc__box { position: static; }
.toc__box { padding: 1.25rem; background: #fff; border: 1px solid #ece6d6; border-radius: 16px; }
.toc__title { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #858c80; cursor: pointer; list-style: none; }
.toc__title::-webkit-details-marker { display: none; }
.toc__list { margin: .9rem 0 0; padding: 0; list-style: none; }
.toc__item a {
  display: block; padding: .4rem 0 .4rem .85rem;
  border-left: 2px solid #ece6d6; color: #4b5546;
  font-size: .9rem; line-height: 1.4; text-decoration: none;
  transition: color .15s, border-color .15s;
}
.toc__item--h3 a { padding-left: 1.6rem; font-size: .85rem; }
.toc__item a:hover { color: #1f2a1c; }
.toc__item a[aria-current] { color: #2d3a1f; font-weight: 600; border-left-color: #c4622d; }

/* Lead paragraph */
.article__lead {
  margin: 0 0 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ece6d6;
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: #1f2a1c;
}

/* Prose body — scoped under .article to avoid Tailwind conflict */
/* Tailwind's .prose caps width at 65ch; let it fill the article column */
.article .prose { font-size: 1.125rem; line-height: 1.8; max-width: none; }
.article .prose > * + * { margin-top: 1.4em; }
.article .prose > :first-child { margin-top: 0; }
.article .prose p { margin-bottom: 0; }
.article .prose h2, .article .prose h3 { color: #1f2a1c; letter-spacing: -.015em; scroll-margin-top: 6rem; }
.article .prose h2 { margin-top: 2.6em; margin-bottom: 0; font-size: 1.65rem; line-height: 1.3; }
.article .prose h3 { margin-top: 2em; margin-bottom: 0; font-size: 1.3rem; line-height: 1.35; }
.article .prose h2 + *, .article .prose h3 + * { margin-top: .75em; }
.article .prose a { color: #2d3a1f; font-weight: 500; text-decoration: underline; text-decoration-color: rgb(196 98 45 / .5); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.article .prose a:hover { text-decoration-color: #c4622d; }
.article .prose strong { color: #1f2a1c; font-weight: 600; }
.article .prose ul, .article .prose ol { padding-left: 1.4em; }
.article .prose li + li { margin-top: .55em; }
.article .prose li::marker { color: #c4622d; }
.article .prose blockquote { margin-inline: 0; padding: 1.25rem 1.5rem; border-left: 4px solid #c4622d; border-radius: 0 10px 10px 0; background: #fbf1e6; color: #1f2a1c; font-style: italic; }
.article .prose blockquote p { margin: 0; }
.article .prose img, .article .prose figure img { display: block; max-width: 100%; height: auto; border-radius: 16px; }
.article .prose figcaption { margin-top: .6rem; font-size: .85rem; color: #858c80; text-align: center; }
.article .prose hr { border: 0; border-top: 1px solid #ece6d6; margin-block: 3em; }
.article .prose code { padding: .15em .4em; border-radius: 6px; background: #f1ede2; font-size: .9em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.article .prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.article .prose th, .article .prose td { padding: .75rem; border-bottom: 1px solid #ece6d6; text-align: left; }
.article .prose th { color: #1f2a1c; font-weight: 600; }

/* Article footer: share + CTA */
.article-footer { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid #ece6d6; }
.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.share__label { font-weight: 600; color: #1f2a1c; }
.share__buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.share__btn {
  display: inline-grid; place-items: center;
  min-width: 42px; height: 42px; padding: 0 .9rem;
  border: 1px solid #ece6d6; border-radius: 999px;
  background: #fff; color: #1f2a1c;
  font: inherit; font-size: .85rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.share__btn:hover { border-color: #2d3a1f; }
.share__btn:focus-visible { outline: 3px solid #c4622d; outline-offset: 2px; }

.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 24px;
  background: linear-gradient(135deg, #2d3a1f, #46592f);
  color: #e8eedd;
}
.cta__title { margin: 0 0 .3rem; font-size: 1.35rem; font-weight: 700; color: #fff; }
.cta__text { margin: 0; }
.cta__btn {
  padding: .9rem 1.6rem; border-radius: 999px;
  background: #f8d9a4; color: #2d3a1f;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .15s;
}
.cta__btn:hover { transform: translateY(-2px); }

/* Related posts band */
.related {
  /* bl- card tokens (cards here live outside the .m2m-blog-page wrapper) */
  --bl-ink:      #1f2a1c;
  --bl-ink-soft: #4b5546;
  --bl-muted:    #858c80;
  --bl-terra:    #c4622d;
  --bl-surface:  #ffffff;
  --bl-line:     #ece6d6;
  --bl-mint:     #cfeadb;
  --bl-sand:     #f8d9a4;
  --bl-r:        16px;
  --bl-rlg:      24px;
  --bl-sh-sm:    0 1px 2px rgb(31 42 28 / .06);
  --bl-sh:       0 2px 6px rgb(31 42 28 / .05), 0 12px 32px -12px rgb(31 42 28 / .18);
  --bl-sh-lg:    0 4px 12px rgb(31 42 28 / .08), 0 24px 48px -16px rgb(31 42 28 / .28);
  padding: 4rem 1.25rem 5rem; background: transparent;
}
.related__inner { max-width: 1180px; margin: 0 auto; }
.related .bl-section-head { align-items: center; }

/* Tags */
.ar-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.ar-tag { padding: .3rem .85rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: #f1ede2; color: #4b5546; text-decoration: none; }
.ar-tag:hover { background: #ece6d6; }

@media (prefers-reduced-motion: reduce) {
  .read-progress span, .cta__btn { transition: none; }
  .cta__btn:hover { transform: none; }
}

/* ==========================================================
   Blog article show page — "magazine" variant (mag- prefix)
   Full-bleed cover hero with overlaid title + 3-column body.
   ========================================================== */

/* ---------- Cover hero with overlaid title ---------- */
.mag-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(78vh, 640px);
  padding: 2rem 1.25rem clamp(2.5rem, 6vw, 4rem);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.mag-hero__bg { position: absolute; inset: 0; z-index: -2; }
.mag-hero__bg img,
.mag-hero__fallback { width: 100%; height: 100%; object-fit: cover; }
.mag-hero__fallback { background: linear-gradient(135deg, #5f8f73, #2d3a1f 55%, #c4622d); }
.mag-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(20 28 18 / .15) 0%, rgb(20 28 18 / .35) 45%, rgb(20 28 18 / .88) 100%);
}
.mag-hero__inner { width: 100%; max-width: 1360px; margin: 0 auto; }
.mag-hero .breadcrumb ol { justify-content: flex-start; }
.mag-hero .breadcrumb a,
.mag-hero .breadcrumb li + li::before { color: rgb(255 255 255 / .8); }
.mag-hero .breadcrumb li:last-child a { color: #fff; }
.mag-hero .pill { background: #f8d9a4; border-color: transparent; color: #2d3a1f; }
.mag-hero__title {
  max-width: 22ch;
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgb(0 0 0 / .25);
}
.mag-hero__dek { max-width: 60ch; margin: 0 0 1.75rem; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.55; color: rgb(255 255 255 / .9); }
.mag-hero .byline__avatar { background: #f8d9a4; color: #2d3a1f; }
.mag-hero .byline__name { color: #fff; }
.mag-hero .byline__meta { color: rgb(255 255 255 / .75); }

/* ---------- 3-column body: share rail | content | sidebar ---------- */
.mag-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  gap: 2.5rem;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem 4rem;
}
@media (min-width: 1100px) {
  .mag-layout { grid-template-columns: 56px minmax(0, 1fr) 320px; }
}
/* keep real content above the decorative cloud layer */
.mag-layout > .share-rail,
.mag-layout > .article__main,
.mag-layout > .mag-sidebar { position: relative; z-index: 1; }

/* ---------- Decorative sky (clouds + plane) behind the body ---------- */
.mag-sky { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mag-sky__cloud { position: absolute; height: auto; }
.mag-sky__cloud--a { right: -14%; top: 4%;  width: 62%; opacity: .9; }
.mag-sky__cloud--b { left: -16%;  bottom: 6%; width: 52%; opacity: .8; }
.mag-sky__cloud--c { left: 50%; top: 42%; width: 56%; transform: translateX(-50%); opacity: .7; }
.mag-sky__plane {
  position: absolute; right: 16%; top: 30%;
  width: clamp(28px, 4vw, 48px); fill: #2b3a17; opacity: .7;
}
@media (max-width: 1099px) {
  .mag-sky__cloud--a { top: 1%; width: 90%; }
  .mag-sky__cloud--b { width: 80%; }
  .mag-sky__cloud--c { width: 85%; }
}
.mag-sky__cloud--a { animation: m2m-drift-a 16s ease-in-out infinite; }
.mag-sky__cloud--b { animation: m2m-drift-b 18s ease-in-out infinite; }
.mag-sky__plane    { animation: m2m-plane-fly 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .mag-sky__cloud--a, .mag-sky__cloud--b, .mag-sky__plane { animation: none !important; }
}

/* sticky vertical share rail */
.share-rail { display: none; }
@media (min-width: 1100px) {
  .share-rail {
    display: flex; flex-direction: column; gap: .5rem;
    position: sticky; top: 6rem; align-self: start;
  }
  /* `.mag-layout > .share-rail { position: relative }` (stacking) would otherwise cancel sticky */
  .mag-layout > .share-rail { position: sticky; }
  .share-rail .share__btn { width: 44px; padding: 0; }
}

.mag-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1100px) {
  .mag-sidebar__sticky {
    position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 1.5rem;
    /* never taller than the viewport, so every TOC heading stays reachable while pinned */
    max-height: calc(100vh - 7rem); overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: rgb(31 42 28 / .2) transparent;
    padding: 2px; margin: -2px; /* keep card borders/shadows from being clipped by the scroller */
  }
}
/* TOC jumps glide instead of teleporting */
html:has(body.blog-layout) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body.blog-layout) { scroll-behavior: auto; } }
@media (max-width: 1099px) { .mag-sidebar { order: -1; } .mag-sidebar .side-cta { display: none; } }

.side-cta {
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(160deg, #cfeadb, #f8d9a4);
  color: #1f2a1c;
}
.side-cta__title { margin: 0 0 .4rem; font-size: 1.15rem; font-weight: 700; }
.side-cta__text { margin: 0 0 1.1rem; font-size: .92rem; line-height: 1.55; color: #4b5546; }
.side-cta .cta__btn { display: block; width: 100%; box-sizing: border-box; text-align: center; white-space: normal; background: #2d3a1f; color: #fff; }

/* ---------- Key takeaways ---------- */
.takeaways {
  margin: 0 0 2.5rem;
  padding: 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid #ece6d6;
  border-left: 4px solid #2d3a1f;
  border-radius: 10px 16px 16px 10px;
  box-shadow: 0 1px 2px rgb(31 42 28 / .06);
}
.takeaways__title {
  margin: 0 0 .9rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #2d3a1f;
}
.takeaways ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.takeaways li { position: relative; padding-left: 1.9rem; line-height: 1.55; color: #1f2a1c; }
.takeaways li::before {
  content: "✓"; position: absolute; left: 0; top: .05rem;
  display: grid; place-items: center; width: 1.3rem; height: 1.3rem;
  border-radius: 50%; background: #cfeadb; color: #2d3a1f;
  font-size: .75rem; font-weight: 700;
}

/* drop cap on first paragraph */
.article .prose--dropcap > p:first-of-type::first-letter {
  float: left;
  margin: .35rem .6rem 0 0;
  font-size: 3.6em; line-height: .8; font-weight: 700;
  color: #c4622d;
}

/* ---------- Author box ---------- */
.author-box {
  display: flex; gap: 1.25rem; align-items: flex-start;
  margin-top: 3.5rem; padding: 1.75rem;
  background: #fff; border: 1px solid #ece6d6; border-radius: 16px;
}
.author-box .byline__avatar { width: 60px; height: 60px; font-size: 1.4rem; flex-shrink: 0; }
.author-box__photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box__label { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #858c80; }
.author-box__name { margin: .2rem 0 .5rem; font-size: 1.15rem; font-weight: 700; color: #1f2a1c; }
.author-box__bio { margin: 0; font-size: .95rem; line-height: 1.6; }

/* mobile share row (rail hidden on small screens) */
.share-inline { margin-top: 2.5rem; }
@media (min-width: 1100px) { .share-inline { display: none; } }

/* ---------- Prev / next ---------- */
.prev-next {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: 2.5rem;
}
.prev-next__link {
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1.4rem 1.5rem;
  background: #fff; border: 1px solid #ece6d6; border-radius: 16px;
  text-decoration: none; color: #1f2a1c;
  transition: border-color .15s, box-shadow .2s, transform .2s;
}
.prev-next__link:hover { border-color: #2d3a1f; box-shadow: 0 2px 6px rgb(31 42 28 / .05), 0 12px 32px -12px rgb(31 42 28 / .18); transform: translateY(-2px); }
.prev-next__link--next { text-align: right; grid-column: 2; }
.prev-next__dir { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #c4622d; }
.prev-next__link--next .prev-next__dir { align-self: flex-end; }
.prev-next__arrow { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.prev-next__link:hover .prev-next__arrow { transform: translateX(-3px); }
.prev-next__link--next:hover .prev-next__arrow { transform: translateX(3px); }
/* `.lp a:hover` would wash the title out to light sand; use the theme accent instead */
.prev-next__link:hover { color: #1f2a1c; }
.prev-next__link:hover .prev-next__title { color: #c4622d; }
.prev-next__title { font-weight: 600; line-height: 1.4; transition: color .2s; }
@media (max-width: 640px) {
  .prev-next { grid-template-columns: 1fr; }
  .prev-next__link--next { grid-column: auto; }
}
