/* ==========================================================================
   VibelyNest V2 styles. A real design system, not a template skin.
   Warm cream, tomato red, amber. No build step. No em dashes in comments.
   Type: Fraunces (display serif) + Inter (clean sans).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --cream: #FFF9F2;
  --cream-2: #FDF1E3;
  --cream-3: #FAEAD3;
  --paper: #FFFFFF;
  --red: #C1272D;
  --red-dark: #9B1E23;
  --red-deep: #5C1216;
  --red-ink: #7A171B;
  --red-soft: #FDECEC;
  --red-soft-2: #FADBD9;
  --amber: #F59E0B;
  --amber-dark: #B45309;
  --amber-light: #FEF3C7;
  --amber-soft: #FFFBEB;
  --charcoal: #1F2937;
  --ink: #171F2A;
  --ink-soft: #2D3748;
  --muted: #6B7280;
  --muted-2: #9CA3AF;
  --border: #EFE3D3;
  --border-strong: #E3D2BC;
  --green: #2F7D4F;
  --green-soft: #E6F4EA;
  --dark: #1B1210;
  --dark-2: #241A16;
  --dark-line: #3A2A24;

  /* Type scale */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 17px;
  --text-md: 18px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 30px;
  --text-3xl: 38px;
  --text-4xl: 48px;
  --text-hero: clamp(40px, 6vw, 64px);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* Shape and shadow */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 3px rgba(31, 41, 55, 0.07);
  --shadow-sm: 0 2px 8px rgba(31, 41, 55, 0.06);
  --shadow-md: 0 14px 34px rgba(31, 41, 55, 0.13);
  --shadow-lg: 0 24px 60px rgba(92, 18, 22, 0.22);
  --shadow-card: 0 1px 2px rgba(31, 41, 55, 0.05), 0 8px 24px rgba(31, 41, 55, 0.08);
  --shadow-card-hover: 0 2px 4px rgba(31, 41, 55, 0.06), 0 20px 44px rgba(92, 18, 22, 0.18);

  /* Layout */
  --container: 1160px;
  --container-wide: 1240px;
  --narrow: 780px;
  --header-h: 64px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--amber-light); color: var(--ink); }
h1, h2, h3, h4, .display {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { margin-bottom: 0; }
a { color: var(--red); text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}
img { max-width: 100%; display: block; }
img[loading="lazy"] { background: var(--cream-2); }
ul, ol { padding-left: 0; }
figure { margin: 0; }
figcaption { font-size: var(--text-sm); color: var(--muted); margin-top: 10px; }
hr { border: none; border-top: 1px solid var(--border); margin: var(--space-8) 0; }
strong { color: var(--ink); }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.9em; background: var(--cream-2); padding: 2px 6px; border-radius: 6px; }
blockquote { margin: 0; }

/* Screen reader only text, kept visible to assistive tech. */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Layout helpers */
.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 22px; }
.section { padding: var(--space-16) 0; }
.section--tight { padding: var(--space-10) 0; }
.section--cream { background: var(--cream); }
.section--soft { background: var(--cream-2); }
.section--paper { background: var(--paper); }

/* Eyebrow kicker used above section titles and guide titles. */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red);
}
.kicker::before {
  content: ""; display: inline-block; width: 22px; height: 2px;
  background: var(--amber); border-radius: 2px;
}
.kicker--light { color: var(--amber); }
.kicker--light::before { background: var(--amber); }

/* Section headers: kicker, title, rule, subcopy. */
.section-head { margin-bottom: var(--space-8); }
.section-head--center { text-align: center; }
.section-head--center .kicker::after {
  content: ""; display: inline-block; width: 22px; height: 2px;
  background: var(--amber); border-radius: 2px;
}
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }
.section-title {
  font-size: clamp(28px, 4vw, 36px);
  margin: 10px 0 8px;
  text-wrap: balance;
}
.section-sub {
  color: var(--muted);
  max-width: 640px;
  font-size: var(--text-base);
  line-height: 1.65;
}
.section-rule {
  width: 56px; height: 3px; border: none;
  background: var(--amber); border-radius: 3px;
  margin: 14px 0 0;
}
.section-head--center .section-rule { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Inter", sans-serif; font-weight: 700; font-size: 16px;
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35); }
.btn-primary:hover { background: #FBBF24; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(193, 39, 45, 0.30); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-light:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 15px; }

/* Meta row: date, reading time, word count, category in one line. */
.meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
  font-size: var(--text-sm); color: var(--muted);
}
.meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.meta-dot::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--amber); display: inline-block; }

/* Category label pill. */
.cat-label {
  display: inline-block; align-self: flex-start;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--red); background: var(--red-soft);
  border: 1px solid var(--red-soft-2);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  line-height: 1.5;
}
.cat-label--amber { color: var(--amber-dark); background: var(--amber-light); border-color: #FDE68A; }
.cat-label--dark { color: #FDE68A; background: rgba(245, 158, 11, 0.16); border-color: rgba(245, 158, 11, 0.35); }

/* --------------------------------------------------------------------------
   3. Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 249, 242, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(31, 41, 55, 0.10); }
.header-inner {
  max-width: var(--container); margin: 0 auto;
  min-height: var(--header-h);
  padding: 10px 22px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.logo {
  font-family: "Fraunces", Georgia, serif;
  font-size: 29px; font-weight: 700; color: var(--red);
  letter-spacing: -0.5px; line-height: 1;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.logo span { color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--red); color: #fff;
  font-size: 18px; margin-right: 2px;
  box-shadow: 0 4px 12px rgba(193, 39, 45, 0.35);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--border-strong); background: #fff; color: var(--charcoal);
  font: 600 15px "Inter", sans-serif;
  border-radius: var(--radius-pill);
  padding: 9px 18px; cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.menu-toggle:hover { border-color: var(--red); color: var(--red); }
.main-nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.main-nav a {
  color: var(--charcoal); font-weight: 600; font-size: 15px;
  padding: 8px 13px; border-radius: var(--radius-pill);
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { background: var(--amber-light); color: var(--red); text-decoration: none; }
.header-search { margin-left: auto; display: flex; align-items: center; }
.header-search input {
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 9px 16px; font-size: 15px; width: 220px;
  background: #fff; color: var(--charcoal);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.header-search input::placeholder { color: var(--muted-2); }
.header-search input:focus { outline: 2px solid var(--amber); border-color: var(--amber); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18); }

/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(245, 158, 11, 0.30) 0, rgba(245, 158, 11, 0) 26%),
    radial-gradient(circle at 84% 78%, rgba(245, 158, 11, 0.22) 0, rgba(245, 158, 11, 0) 30%),
    linear-gradient(135deg, #C1272D 0%, #8E1B20 55%, #5C1216 100%);
  color: #fff; padding: 84px 20px 74px; text-align: center;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(255, 255, 255, 0.18);
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #FDE68A; background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 14px; margin-bottom: 20px;
}
.hero h1 {
  color: #fff; font-size: var(--text-hero);
  line-height: 1.05; margin-bottom: 16px; text-wrap: balance;
}
.hero p.lede {
  font-size: 20px; line-height: 1.6;
  max-width: 660px; margin: 0 auto 30px; color: #FDE8E8;
}
.hero-search {
  max-width: 580px; margin: 0 auto;
  display: flex; gap: 10px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 6px;
  box-shadow: var(--shadow-lg);
}
.hero-search input {
  flex: 1; min-width: 0; border: none; border-radius: var(--radius-pill);
  padding: 14px 22px; font-size: 17px;
  background: #fff; color: var(--charcoal);
}
.hero-search input::placeholder { color: var(--muted-2); }
.hero-search input:focus { outline: 3px solid var(--amber); }
.hero-search button {
  border: none; border-radius: var(--radius-pill);
  background: var(--amber); color: var(--ink);
  font-weight: 700; font-size: 16px; font-family: "Inter", sans-serif;
  padding: 14px 28px; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.hero-search button:hover { background: #FBBF24; transform: translateY(-1px); }
.hero-note { margin-top: 20px; font-size: 14px; color: #FECACA; }
.hero-stats {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  margin-top: 34px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-stats div { text-align: center; }
.hero-stats strong {
  display: block; color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 26px; line-height: 1.1;
}
.hero-stats span { font-size: 13px; color: #FECACA; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

/* Hero with a photo behind the copy, used on the home page. */
.hero--image { padding: 0; text-align: left; }
.hero--image .hero-media { position: absolute; inset: 0; }
.hero--image .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero--image .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(92, 18, 22, 0.92) 0%, rgba(92, 18, 22, 0.72) 48%, rgba(92, 18, 22, 0.30) 100%);
}
.hero--image .hero-inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 88px 22px 78px; }
.hero--image h1 { max-width: 640px; }
.hero--image p.lede { margin-left: 0; margin-right: 0; }
.hero--image .hero-search { margin-left: 0; }
.hero--image .hero-note { text-align: left; }
.hero--image .hero-stats { justify-content: flex-start; }

/* --------------------------------------------------------------------------
   5. Filter pills
   -------------------------------------------------------------------------- */
.pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 38px 0 8px; }
.pills--left { justify-content: flex-start; }
.pill {
  border: 1px solid var(--border-strong); background: #fff; color: var(--charcoal);
  border-radius: var(--radius-pill);
  padding: 9px 18px; font-size: 15px; font-weight: 600; font-family: "Inter", sans-serif;
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.pill:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.pill.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(193, 39, 45, 0.30); }
.pill-count { font-weight: 400; opacity: 0.75; font-size: 13px; margin-left: 4px; }

/* --------------------------------------------------------------------------
   6. Cards, featured story, editor picks
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; margin-bottom: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: var(--border-strong); }
.card-img { height: 200px; background: linear-gradient(135deg, #F59E0B, #C1272D); overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23, 31, 42, 0.18), rgba(23, 31, 42, 0));
  opacity: 0; transition: opacity 0.25s ease;
}
.card:hover .card-img::after { opacity: 1; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-title { font-size: 22px; line-height: 1.3; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--red); text-decoration: none; }
.card:hover .card-title a { color: var(--red); }
.card-excerpt { color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1; }
.card-meta {
  font-size: 13px; color: var(--muted);
  border-top: 1px solid var(--border); padding-top: 11px;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.card-meta .dot-sep::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--amber); display: inline-block; margin-right: 12px; vertical-align: middle; }
.no-results { display: none; text-align: center; color: var(--muted); padding: 30px 0; font-size: 17px; }
.no-results.show { display: block; }

/* Featured story: one large horizontal card that leads the home page. */
.featured {
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: var(--paper);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
  margin: 36px 0 8px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.featured:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.featured-media { min-height: 380px; background: linear-gradient(135deg, #F59E0B, #C1272D); overflow: hidden; position: relative; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 0.5s ease; }
.featured:hover .featured-media img { transform: scale(1.04); }
.featured-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23, 31, 42, 0.25), rgba(23, 31, 42, 0));
}
.featured-body { padding: 38px 38px 34px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.featured-body h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; }
.featured-body h2 a { color: var(--ink); }
.featured-body h2 a:hover { color: var(--red); text-decoration: none; }
.featured-body p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.featured-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Editor picks: two wide cards with a number marker. */
.editor-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 20px; }
.pick-card {
  display: grid; grid-template-columns: 168px 1fr;
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.pick-card .pick-media { overflow: hidden; background: linear-gradient(135deg, #F59E0B, #C1272D); min-height: 100%; }
.pick-card .pick-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.pick-card:hover .pick-media img { transform: scale(1.06); }
.pick-card .pick-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.pick-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber-dark);
}
.pick-card h3 { font-size: 21px; line-height: 1.3; }
.pick-card h3 a { color: var(--ink); }
.pick-card h3 a:hover { color: var(--red); text-decoration: none; }
.pick-card p { color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1; }

/* Category sections on the home page: a soft cream band with a compact grid. */
.category-section { padding: var(--space-12) 0 var(--space-4); }
.category-section + .category-section { padding-top: var(--space-4); }
.category-section .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.category-section .section-head .section-title { margin-bottom: 4px; }
.category-section .section-head .section-sub { margin-bottom: 0; }
.category-link { font-weight: 700; font-size: 15px; white-space: nowrap; }

/* Dark Tech Hub band. */
.tech-dark {
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 158, 11, 0.20) 0, rgba(245, 158, 11, 0) 30%),
    linear-gradient(160deg, #241A16 0%, #1B1210 100%);
  color: #F3E8DC;
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-8);
  margin: var(--space-16) 0;
}
.tech-dark .section-title { color: #fff; }
.tech-dark .section-sub { color: #D6C9BC; }
.tech-dark .card { background: #2A1E19; border-color: var(--dark-line); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.tech-dark .card:hover { border-color: rgba(245, 158, 11, 0.55); }
.tech-dark .card-title a { color: #fff; }
.tech-dark .card-title a:hover { color: var(--amber); }
.tech-dark .card-excerpt { color: #D6C9BC; }
.tech-dark .card-meta { color: #A8988A; border-top-color: var(--dark-line); }
.tech-dark .cat-label { color: #FDE68A; background: rgba(245, 158, 11, 0.16); border-color: rgba(245, 158, 11, 0.35); }
.tech-dark a { color: var(--amber); }

/* Trust section: three promise cards on a soft band. */
.trust-band { background: var(--cream-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.trust-card {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-card);
}
.trust-card .trust-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--red-soft); color: var(--red);
  font-family: "Fraunces", Georgia, serif; font-size: 20px; font-weight: 700;
  margin-bottom: 14px;
}
.trust-card h3 { font-size: 21px; margin-bottom: 8px; }
.trust-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Newsletter style prompt box. No fake signup, just a read more prompt. */
.newsletter-prompt {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center;
  box-shadow: var(--shadow-lg);
  margin: var(--space-16) 0 0;
}
.newsletter-prompt h2 { color: #fff; font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 10px; }
.newsletter-prompt p { color: #FDE8E8; line-height: 1.65; }
.newsletter-prompt .btn { justify-self: end; }
.newsletter-prompt .prompt-list { list-style: none; display: grid; gap: 8px; }
.newsletter-prompt .prompt-list li { font-size: 15px; color: #FDE8E8; padding-left: 24px; position: relative; }
.newsletter-prompt .prompt-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber);
}

/* Stat row used under the hero and on the guides page. */
.stat-row { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; margin: 18px 0 0; }
.stat-row div { text-align: center; }
.stat-row strong {
  display: block; font-family: "Fraunces", Georgia, serif;
  font-size: 26px; line-height: 1.1; color: var(--ink);
}
.stat-row span { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

/* --------------------------------------------------------------------------
   7. Guide pages: hero, head, sticky table of contents, body
   -------------------------------------------------------------------------- */
.guide-hero { height: 420px; background: linear-gradient(135deg, #F59E0B, #C1272D); position: relative; overflow: hidden; }
.guide-hero img { width: 100%; height: 100%; object-fit: cover; }
.guide-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.04));
}
.guide-hero figcaption {
  position: absolute; right: 18px; bottom: 12px; z-index: 2;
  color: rgba(255, 255, 255, 0.85); font-size: 12px; margin: 0;
  background: rgba(0, 0, 0, 0.35); padding: 4px 10px; border-radius: 999px;
}
.guide-head {
  margin-top: -90px; position: relative; z-index: 2;
  background: var(--cream); border-radius: 22px 22px 0 0;
  padding: 34px 8px 0;
}
.guide-head h1 { font-size: clamp(32px, 5vw, 48px); margin: 12px 0 12px; text-wrap: balance; }
.guide-meta { color: var(--muted); font-size: 15px; display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.guide-dek {
  font-family: "Fraunces", Georgia, serif;
  font-size: 21px; line-height: 1.5; color: var(--ink-soft);
  margin: 14px 0 6px; max-width: 640px;
}

/* Two column guide layout: main text plus a sticky table of contents. */
.guide-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 260px;
  gap: 44px; align-items: start;
  max-width: 1080px; margin: 0 auto; padding: 0 22px 64px;
}
.guide-main { min-width: 0; }
.guide-body { line-height: 1.78; }
.guide-body p { margin-bottom: 19px; }
.guide-body > p:first-of-type::first-letter,
.guide-body p.lede-paragraph::first-letter {
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.4em; font-weight: 700; line-height: 0.85;
  float: left; padding: 6px 10px 0 0; color: var(--red);
}
.guide-body h2 {
  font-size: 30px; margin: 46px 0 14px; padding-top: 18px;
  border-top: 2px solid var(--border);
  scroll-margin-top: 90px;
}
.guide-body h2:first-of-type { border-top: none; }
.guide-body h3 { font-size: 23px; margin: 30px 0 8px; color: var(--red-dark); scroll-margin-top: 90px; }
.guide-body ul, .guide-body ol { margin: 0 0 19px 22px; }
.guide-body li { margin-bottom: 9px; }
.guide-body li::marker { color: var(--red); }

/* Sticky table of contents. */
.toc {
  position: sticky; top: 84px;
  background: var(--paper);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  font-size: 15px;
}
.toc h2, .toc .toc-title {
  font-family: "Inter", sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin: 0 0 12px; padding: 0; border: none;
}
.toc-list { list-style: none; margin: 0; display: grid; gap: 2px; }
.toc-list li { margin: 0; }
.toc-list a {
  display: block; color: var(--charcoal);
  padding: 7px 10px; border-radius: 8px; line-height: 1.45;
}
.toc-list a:hover { background: var(--cream-2); color: var(--red); text-decoration: none; }
.toc-list a.toc-spot { padding-left: 22px; font-size: 14px; color: var(--muted); }
.toc-list a.toc-spot:hover { color: var(--red); }
.toc-note { font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; line-height: 1.55; }

/* Restaurant and product spots. */
.spot {
  background: #fff; border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 16px; padding: 26px 28px; margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  scroll-margin-top: 90px;
}
.spot h3 { margin-top: 0; }
.spot-number {
  display: inline-block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--amber-dark); background: var(--amber-light);
  border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}
.order-line { background: var(--amber-light); border-radius: 10px; padding: 11px 15px; font-size: 15px; margin: 11px 0; }
.order-line strong { color: var(--ink); }
.tip-line { font-size: 15px; color: var(--muted); }

/* Value box: practical details for each restaurant or product. */
.value-box {
  background: var(--cream-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px; margin: 14px 0 18px;
}
.value-box h4 {
  font-family: "Inter", sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); margin: 0 0 12px;
  display: flex; align-items: center; gap: 8px;
}
.value-box h4::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); display: inline-block;
}
.value-box dl { display: grid; gap: 9px; }
.value-box dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 4px 14px; font-size: 15px; line-height: 1.55; }
.value-box dt { font-weight: 700; color: var(--ink); }
.value-box dd { color: var(--charcoal); }
.value-box dd a { overflow-wrap: anywhere; }

/* Honest note box, rendered from the per guide honest note. */
.honest-note {
  background: var(--amber-soft);
  border: 1px solid #FDE68A; border-left: 4px solid var(--amber);
  border-radius: 0 14px 14px 0;
  padding: 20px 22px; margin: 28px 0;
}
.honest-note h3, .honest-note .honest-title {
  font-family: "Inter", sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber-dark); margin: 0 0 8px;
}
.honest-note p { color: var(--ink-soft); font-size: 16px; line-height: 1.65; margin: 0; }

/* Pull quote. */
.pull-quote { border: none; border-left: 4px solid var(--amber); margin: 34px 0; padding: 6px 0 6px 24px; }
.pull-quote::before {
  content: "\201C"; display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 56px; line-height: 0.6; color: var(--amber);
  margin-bottom: 10px;
}
.pull-quote p { font-family: "Fraunces", Georgia, serif; font-size: 23px; line-height: 1.45; color: var(--ink); margin-bottom: 8px; }
.pull-quote cite { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Callout. */
.callout { background: var(--red-soft); border-left: 4px solid var(--red); border-radius: 0 12px 12px 0; padding: 17px 21px; margin: 26px 0; }
.callout strong { color: var(--red-dark); }
.callout p { margin: 0; }

/* FAQ. */
.faq h3 { font-size: 20px; color: var(--ink); margin: 22px 0 6px; }
.faq p { color: var(--charcoal); }

/* Watch and plan: video embed. */
.video-embed {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: 16px; margin: 18px 0;
  box-shadow: var(--shadow-md); background: #000;
}
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.watch-note { font-size: 15px; color: var(--muted); }

/* Author team box. No fake person, the organisation is the author. */
.author-box {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 26px; margin-top: 42px;
  box-shadow: var(--shadow-card);
}
.author-mark {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--red); color: #fff;
  font-family: "Fraunces", Georgia, serif; font-size: 24px; font-weight: 700;
}
.author-box h2, .author-box h3 { font-size: 19px; margin: 0 0 6px; }
.author-box p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }
.author-box a { font-weight: 600; }

/* Related guides as a real grid, not a bullet list. */
.related { margin-top: 44px; }
.related h2 { border: none; margin: 0 0 16px; font-size: 26px; padding: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.related-card .related-media { height: 120px; overflow: hidden; background: linear-gradient(135deg, #F59E0B, #C1272D); }
.related-card .related-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.related-card:hover .related-media img { transform: scale(1.06); }
.related-card .related-body { padding: 16px 18px; }
.related-card h3 { font-size: 17px; line-height: 1.35; margin: 0 0 6px; }
.related-card h3 a { color: var(--ink); }
.related-card h3 a:hover { color: var(--red); text-decoration: none; }
.related-card p { font-size: 13px; color: var(--muted); margin: 0; }
.related ul { list-style: none; margin: 0; }

.breadcrumb { font-size: 14px; color: var(--muted); margin: 22px 0 0; }
.breadcrumb a { color: var(--muted); }

/* --------------------------------------------------------------------------
   8. Static pages
   -------------------------------------------------------------------------- */
.page-head { padding: 58px 20px 10px; text-align: center; }
.page-head h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 10px; }
.page-head p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.page-body { padding: 30px 0 72px; }
.page-body h2 { font-size: 26px; margin: 36px 0 10px; }
.page-body h3 { font-size: 21px; margin: 26px 0 8px; color: var(--red-dark); }
.page-body p, .page-body li { margin-bottom: 12px; }
.page-body ul, .page-body ol { margin-left: 22px; }
.page-body li::marker { color: var(--red); }
.page-lede { font-size: 19px; line-height: 1.6; color: var(--ink-soft); }

/* Guides index header with count. */
.guides-head { padding: 54px 0 8px; }
.guides-head h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.guides-head p { color: var(--muted); max-width: 640px; }
.count-line { font-size: 14px; font-weight: 600; color: var(--red); letter-spacing: 0.04em; }

/* --------------------------------------------------------------------------
   9. Footer, dark and deep
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #241A16 0%, #1B1210 100%);
  color: #D1D5DB; margin-top: 44px;
  border-top: 4px solid var(--red);
}
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 56px 22px 30px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
}
.site-footer h3 { color: #fff; font-size: 18px; margin-bottom: 13px; }
.site-footer a { color: #D1D5DB; }
.site-footer a:hover { color: var(--amber); text-decoration: none; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; font-size: 15px; }
.footer-brand p { font-size: 15px; line-height: 1.65; color: #C9BFB4; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo span { color: var(--amber); }
.footer-note { font-size: 13px; color: #A8988A; margin-top: 16px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding: 19px 22px; text-align: center;
  font-size: 14px; color: #9CA3AF;
  max-width: var(--container); margin: 0 auto;
}

/* --------------------------------------------------------------------------
   10. Error page (404)
   -------------------------------------------------------------------------- */
.error-page { text-align: center; padding: 90px 20px 100px; }
.error-page .error-code {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(90px, 18vw, 160px); line-height: 0.9;
  color: var(--red); font-weight: 700;
}
.error-page h1 { font-size: clamp(28px, 4.5vw, 40px); margin: 18px 0 12px; }
.error-page p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; line-height: 1.65; }
.error-page .error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   11. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; }
  .featured { grid-template-columns: 1fr 1fr; }
  .featured-media { min-height: 320px; }
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .header-search { margin-left: 0; width: 100%; order: 3; }
  .header-search input { width: 100%; }
  .guide-layout { grid-template-columns: 1fr; }
  .toc { position: static; margin-bottom: 8px; }
  .toc-list { grid-template-columns: 1fr 1fr; gap: 2px 16px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .newsletter-prompt { grid-template-columns: 1fr; }
  .newsletter-prompt .btn { justify-self: start; }
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 260px; }
  .featured-body { padding: 28px 26px; }
  .editor-picks { grid-template-columns: 1fr; }
  .tech-dark { padding: var(--space-10) var(--space-5); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .header-inner { gap: 12px; }
  .menu-toggle { display: inline-block; margin-left: auto; }
  .main-nav { display: none; width: 100%; flex-direction: column; gap: 2px; padding-bottom: 6px; order: 3; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 13px; border-radius: 10px; }
  .header-search { order: 4; }
  .hero { padding: 60px 20px 54px; }
  .hero--image .hero-inner { padding: 64px 22px 58px; }
  .hero-search { flex-direction: column; background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 0; }
  .hero-search input { box-shadow: var(--shadow-md); }
  .hero-search button { width: 100%; box-shadow: var(--shadow-md); }
  .hero-stats { gap: 18px; }
  .guide-head { margin-top: -44px; padding-top: 26px; }
  .guide-hero { height: 250px; }
  .spot { padding: 20px; }
  .pull-quote p { font-size: 20px; }
  .pick-card { grid-template-columns: 120px 1fr; }
  .pick-card .pick-body { padding: 18px; }
  .value-box dl > div { grid-template-columns: 1fr; gap: 1px; }
  .author-box { flex-direction: column; }
  .section { padding: var(--space-10) 0; }
}
@media (max-width: 600px) {
  .toc-list { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cards--2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .pick-card { grid-template-columns: 1fr; }
  .pick-card .pick-media { height: 150px; }
  .hero-search input, .hero-search button { font-size: 16px; }
}

/* --------------------------------------------------------------------------
   12. Reduced motion and print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .hero-search, .header-search, .pills, .site-footer,
  .menu-toggle, .toc, .newsletter-prompt, .video-embed { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .hero { background: none; color: #000; padding: 0; }
  .hero h1, .hero p.lede { color: #000; }
  .tech-dark { background: none; color: #000; }
  .tech-dark .section-title, .tech-dark .card-title a { color: #000; }
  .card, .spot, .related, .trust-card, .author-box { box-shadow: none; break-inside: avoid; }
  a { color: #000; }
  .guide-layout { grid-template-columns: 1fr; }
}

/* Skip link for keyboard users. */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: 15px;
  padding: 10px 18px; border-radius: 999px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; color: #fff; text-decoration: none; }
