/* Old Paws Tales — shared stylesheet
   Design system: BuddyNail "Mẫu 3" (light taupe Fish-like base, white
   cards, pill buttons, sticky pill nav, Playfair Display + Be Vietnam Pro)
   blended with the Old Paws house accents: espresso ink #2E2015 and
   antique gold #A97F2F.
   Persona: US women 55+ arriving from the Facebook app — body text 18px,
   strong contrast, tap targets >= 44px, menu always visible. */

:root {
  --bg: #FAF7F1;
  --bg-soft: #F3EFE7;
  --card: #FFFFFF;
  --card-soft: #FDFBF7;
  --ink: #2E2015;
  --ink-deep: #1E1308;
  --ink-2: #57432C;
  --muted: #6A5B40;
  --line: #E6DFD2;
  --line-soft: #EFE9DD;
  --gold: #A97F2F;
  --gold-deep: #8A6524;
  --gold-light: #D9A85C;
  --gold-tint: #F3EAD2;
  --champ: #C6A15B;
  --champ-soft: #F1E7CF;
  --champ-bar: #EAD9AE;
  --cream: #F7F0DC;
  --cream-dark: #EEE1C2;
  --accent: #6E2B25;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 1px 2px rgba(60, 48, 25, 0.05), 0 12px 32px -16px rgba(60, 48, 25, 0.14);
  --font-body: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.125rem; /* 18px */
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gold-deep); }
a:hover { color: var(--ink); }

::selection { background: rgba(169, 127, 47, 0.32); }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}

button, input, select, textarea { font-family: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--champ-bar);
  color: #4A3A14;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 16px;
}
.topbar a { font-weight: 700; color: #4A3A14; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Sticky header — pill nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 72px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.main-nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.main-nav .brand img {
  width: 44px;
  height: auto;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--gold);
  padding: 2px;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}
.nav-links {
  list-style: none;
  margin: 0 0 0 6px;
  padding: 0;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-links a {
  display: block;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0.72rem 1rem;
  border-radius: 999px;
  line-height: 1.25;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a.on { background: var(--ink); color: #FFF8E7; }
.nav-cta { margin-left: auto; }

/* ---------- Buttons — pills ---------- */
.btn, .btn-primary, .fb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  padding: 0 26px;
  min-height: 50px;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active, .btn-primary:active, .fb-button:active { transform: scale(0.98); }
.btn-dark, .btn-primary, .fb-button { background: var(--ink); color: #FFF8E7; }
.btn-dark:hover, .btn-primary:hover, .fb-button:hover { background: var(--ink-deep); color: #FFF8E7; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: #D8CFBB; color: var(--ink); }
.btn-ghost:hover { background: var(--card); color: var(--ink); }

/* ---------- Type & layout ---------- */
main { padding: 2.4rem 0 3rem; }

/* Long-form text pages (About, Privacy, Terms…): keep a comfortable
   reading column inside the wide wrap. */
main .wrap > p, main .wrap > h3, main .wrap > ul:not([class]) {
  max-width: 47rem;
  margin-left: auto;
  margin-right: auto;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 {
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  margin: 0.5rem 0 1.1rem;
  text-align: center;
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  text-align: center;
  margin: 3.25rem 0 1.3rem;
}
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }

.page-intro, .cat-intro {
  font-size: 1.14rem;
  color: var(--ink-2);
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.cat-intro { font-family: var(--serif); font-style: italic; font-size: 1.24rem; }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-tint);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 3rem 0 0.5rem; }
.hero img { width: 280px; height: auto; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 3.9rem);
  max-width: 820px;
  margin: 1.4rem auto 0;
  line-height: 1.14;
}
.hero h1 .hl { color: var(--gold); font-style: italic; }
.hero p {
  color: var(--ink-2);
  font-size: 1.18rem;
  max-width: 560px;
  margin: 20px auto 0;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Featured panel ---------- */
.featured-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 2.8rem 0 0.5rem;
}
.featured-cover { display: block; }
.featured-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  filter: sepia(0.15) saturate(0.96);
}
.featured-body { padding: 1.8rem 2rem 2.1rem; }
.featured-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #5C4718;
  background: var(--champ-soft);
  padding: 5px 11px;
  border-radius: 999px;
  margin: 0 0 0.4rem;
}
.featured-body h2 {
  text-align: left;
  margin: 0.6rem 0 0.7rem;
  font-size: 1.9rem;
}
.featured-body h2 a { color: var(--ink); text-decoration: none; }
.featured-body h2 a:hover { color: var(--gold-deep); }
.featured-body p { color: var(--ink-2); margin: 0.4rem 0 1.1rem; }
@media (min-width: 820px) {
  .featured-panel { display: grid; grid-template-columns: 1.15fr 1fr; }
  .featured-cover img { aspect-ratio: auto; min-height: 100%; }
  .featured-body { align-self: center; padding: 2.2rem 2.4rem; }
}

/* ---------- Story cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin: 0.5rem 0 1rem;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.story-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(60, 48, 25, 0.04);
  display: flex;
  flex-direction: column;
}
.card-cover { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.15) saturate(0.96);
}
.card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-cat {
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  font-weight: 700;
}
.card-cat a { color: var(--gold-deep); text-decoration: none; }
.card-cat a:hover { color: var(--ink); }
.card-tags { margin: 0 0 0.55rem; font-size: 0.88rem; color: var(--muted); }
.card-tags a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
  display: inline-block;
  padding: 0.25rem 0;
}
.card-tags a:hover { color: var(--gold-deep); }
.story-card h3 { margin: 0 0 0.5rem; font-family: var(--serif); font-weight: 600; font-size: 1.34rem; line-height: 1.28; }
.story-card h3 a { color: var(--ink); text-decoration: none; }
.story-card h3 a:hover { color: var(--gold-deep); }
.card-summary { margin: 0 0 0.9rem; color: var(--ink-2); font-size: 1rem; line-height: 1.6; flex: 1; }
.read-link {
  display: inline-block;
  padding: 0.45rem 0;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
}
.read-link:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Category cards ---------- */
.category-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin: 0.5rem 0 1rem;
}
@media (min-width: 560px) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.category-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem 1.7rem;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(60, 48, 25, 0.04);
}
.category-card:hover { border-color: var(--gold); }
.category-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.category-count {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-2);
  background: var(--bg-soft);
  padding: 5px 11px;
  border-radius: 999px;
  margin: 0.6rem 0 0.55rem;
}
.category-line {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ---------- Search & filters (stories page) ---------- */
.search-box { margin: 1.8rem auto 0.9rem; max-width: 680px; }
.search-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}
.search-box input {
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.search-box input::placeholder { color: #A79C8B; }
.search-box input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(169, 127, 47, 0.22); }
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0.4rem 0 0.6rem;
}
.filter-chip {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}
.filter-chip:hover { border-color: var(--gold); }
.filter-chip.active { background: var(--ink); border-color: var(--ink); color: #FFF8E7; }
.result-count { color: var(--muted); font-size: 0.98rem; margin: 0.6rem 0 1.1rem; text-align: center; }
.no-results {
  background: var(--card-soft);
  border: 1px dashed var(--gold);
  border-radius: var(--radius-s);
  padding: 1.5rem;
  text-align: center;
  color: var(--ink-2);
}

/* ---------- Article ---------- */
article.story {
  font-size: 1.15rem;
  line-height: 1.78;
  max-width: 42rem;
  margin: 0 auto;
}
article.story.text-size-s { font-size: 1.05rem; }
article.story.text-size-m { font-size: 1.15rem; }
article.story.text-size-l { font-size: 1.32rem; }
article.story p { margin: 1.1rem 0; }
article.story .story-meta {
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  margin-top: -0.4rem;
  text-align: center;
}
article.story .dropcap {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 3.4em;
  line-height: 0.8;
  float: left;
  padding: 0.06em 0.14em 0 0;
  color: var(--accent);
}
article.story .closing-line {
  font-size: 1.3em;
  line-height: 1.55;
  font-style: italic;
  font-family: var(--serif);
  text-align: center;
  color: var(--ink);
  position: relative;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 1.6rem 1rem;
  margin: 2.3rem 0;
}
article.story .closing-line::before,
article.story .closing-line::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border: 1px solid var(--gold-deep);
  transform: translateX(-50%) rotate(45deg);
}
article.story .closing-line::before { top: -4px; }
article.story .closing-line::after { bottom: -4px; }
.story-disclosure {
  margin-top: 2.5rem;
  padding: 1.1rem 1.35rem;
  background: var(--card-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-2);
}
article.story a.intext-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
article.story a.intext-link:hover { color: var(--gold-deep); }

/* Text-size tools */
.text-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.text-tools button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.text-tools button:hover { border-color: var(--gold); }

/* Listen block — dark espresso card */
.listen-block {
  background: linear-gradient(160deg, #37281B, var(--ink) 55%, #241809);
  color: var(--cream);
  border: 1px solid rgba(169, 127, 47, 0.5);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem 1.7rem;
  margin: 1.4rem 0 0.5rem;
  text-align: center;
}
.listen-block h2 {
  color: var(--cream);
  text-align: center;
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}
.listen-block p { color: var(--cream-dark); margin: 0 0 1rem; font-size: 1rem; }
.listen-block audio { width: 100%; height: 48px; display: block; }

/* Watch block — click-to-play YouTube Short facade (lite embed).
   No iframe or YouTube script loads until the reader taps play.
   Reusable on any story page: copy the .watch-block section and set
   data-yt-id to that story's Short ID (see SHORTS-MAP.md). */
.watch-block { margin: 1.4rem 0 0.5rem; text-align: center; }
.watch-block h2 { margin: 0 0 0.4rem; font-size: 1.5rem; }
.watch-block > p { color: var(--ink-2); margin: 0 0 1rem; font-size: 1rem; }
.watch-frame {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.watch-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}
.watch-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.15) saturate(0.96);
}
.watch-facade video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.15) saturate(0.96);
}
.watch-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 19, 8, 0.72), rgba(30, 19, 8, 0) 45%);
}
.watch-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 6px 24px rgba(30, 19, 8, 0.45);
  z-index: 1;
  transition: background 0.15s ease, transform 0.15s ease;
}
.watch-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-38%, -50%);
  border-style: solid;
  border-width: 15px 0 15px 26px;
  border-color: transparent transparent transparent #FFF8E7;
}
.watch-facade:hover .watch-play,
.watch-facade:focus-visible .watch-play { background: var(--gold-deep); }
.watch-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 1rem 1.1rem;
  color: #FFF8E7;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
  z-index: 1;
}
.watch-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Story artwork — clean white mat card */
.story-figure {
  margin: 1.9rem auto;
  max-width: 24rem;
  background: var(--card);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.story-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-s);
  filter: sepia(0.15) saturate(0.96);
}
.story-figure.story-hero { max-width: 26rem; }

/* Share / next / related */
.share-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 2.4rem 0 0; }
.share-btn {
  flex: 1 1 13rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}
.share-fb { background: var(--ink); color: #FFF8E7; border: 1px solid var(--ink); }
.share-fb:hover { background: var(--ink-deep); color: #FFF8E7; }
.share-email { border: 1px solid #D8CFBB; color: var(--ink); background: var(--card); }
.share-email:hover { border-color: var(--gold); color: var(--ink); }
.next-story { margin-top: 2.4rem; text-align: center; }
.next-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 0.7rem;
}
.next-story-btn {
  display: block;
  background: var(--ink);
  color: #FFF8E7;
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 700;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  min-height: 58px;
  box-shadow: var(--shadow);
}
.next-story-btn:hover { background: var(--ink-deep); color: #FFF8E7; }
.related-stories { margin-top: 2.9rem; }
.browse-all { text-align: center; margin-top: 1.6rem; font-weight: 600; }

/* Ad placeholder — hidden until a real AdSense unit replaces it after approval */
.ad-slot { display: none; }

/* ---------- Breadcrumb & tag chips (story pages) ---------- */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  margin: 0 0 1rem;
}
.breadcrumb a {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  padding: 0.6rem 0.1rem;
  min-height: 44px;
}
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0.2rem 0 1.3rem;
}
.tag-row .chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}
.tag-row .chip:hover { border-color: var(--gold); }
.tag-row .chip-cat { background: var(--ink); border-color: var(--ink); color: #FFF8E7; }

/* ---------- Bands: email signup (light) & Facebook follow (dark) ---------- */
.email-signup {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 2.8rem 2.2rem;
  margin: 3rem 0 0;
}
.email-signup h2 { margin-top: 0; }
.email-signup p { color: var(--ink-2); max-width: 30rem; margin: 0 auto; }
.fb-follow {
  text-align: center;
  background: var(--ink);
  color: var(--cream);
  border-radius: 28px;
  padding: 2.8rem 2.2rem;
  margin: 1.6rem 0 0.5rem;
}
.fb-follow h2 { color: var(--cream); margin-top: 0; }
.fb-follow p { color: var(--cream-dark); max-width: 32rem; margin: 0 auto 1.2rem; }
.fb-follow .fb-button { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.fb-follow .fb-button:hover { background: #fff; color: var(--ink); }
.fb-watch { text-align: center; margin: 2rem 0; }

/* ---------- Link-in-bio page ---------- */
.links-list {
  list-style: none;
  padding: 0;
  margin: 1.8rem auto 2.2rem;
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.links-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink);
  color: #FFF8E7;
  border: 1px solid var(--ink);
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  min-height: 54px;
}
.links-list a:hover { background: var(--ink-deep); color: #FFF8E7; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 3.2rem 0 2.2rem;
  margin-top: 5.5rem;
  font-size: 0.95rem;
}
.footer-brand { text-align: center; margin-bottom: 2rem; }
.footer-brand img {
  width: 54px;
  height: auto;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--gold);
  padding: 3px;
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0.6rem 0 0.25rem;
  text-align: center;
}
.footer-brand-tag {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  padding-left: 0.24em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0;
  text-align: center;
}
.site-footer a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 0.3rem 0; }
.site-footer a:hover { color: var(--ink); }
.site-footer ul {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  flex-wrap: wrap;
}
.site-footer p { margin: 0.35rem 0; color: var(--muted); text-align: center; }
.footer-browse {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  max-width: 600px;
  margin: 0 auto 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) { .footer-browse { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-browse .browse-title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
  text-align: left;
}
.site-footer .footer-browse ul {
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.1rem;
  margin: 0;
}
.site-footer .footer-browse a { color: var(--muted); }
.site-footer .footer-browse a:hover { color: var(--ink); }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .main-nav { justify-content: center; gap: 10px 18px; }
  .brand-name { font-size: 1.35rem; }
  .nav-links { order: 3; width: 100%; justify-content: center; margin: 0; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 700px) {
  .nav-cta { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero { padding-top: 1.8rem; }
  .hero img { width: 220px; }
  .hero p { font-size: 1.1rem; }
  main { padding-top: 1.6rem; }
  h2 { margin-top: 2.5rem; }
  .featured-body { padding: 1.4rem 1.4rem 1.7rem; }
  .featured-body h2 { font-size: 1.65rem; }
  article.story { font-size: 1.12rem; }
  article.story.text-size-s { font-size: 1.03rem; }
  article.story.text-size-m { font-size: 1.12rem; }
  article.story.text-size-l { font-size: 1.26rem; }
  .email-signup, .fb-follow { padding: 2.1rem 1.3rem; }
  .footer-brand-name { font-size: 1.6rem; }
  .site-footer { margin-top: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
