/* ============================================================
   Timeless Tales — Design System
   The tested, UAE-priced buying guide
   ============================================================ */

:root {
  /* Paper / ink */
  --paper: #f6f1e7;
  --paper-2: #fbf8f2;
  --paper-3: #efe8d8;
  --ink: #14181c;
  --ink-soft: #4b5259;
  --ink-faint: #4f545a;
  --line: #e1d8c2;
  --line-strong: #cdc0a0;

  /* Accents */
  --gold: #b98a2f;
  --gold-soft: #d9ab52;
  --gold-ink: #7a5c1e;
  --green: #1c8f5a;
  --green-soft: #e4f2ea;
  --navy: #10223a;
  --navy-2: #16304f;
  --red: #b4482f;
  --red-soft: #f7e7e1;

  /* Type */
  --f-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 64px);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-card: 0 1px 2px rgba(20, 24, 28, 0.04), 0 12px 32px -16px rgba(20, 24, 28, 0.18);
  --shadow-lift: 0 24px 48px -20px rgba(20, 24, 28, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

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

/* ---------- Texture ---------- */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(20,24,28,0.035) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 1;
}
.wrap--narrow { max-width: 860px; }
.wrap--wide { max-width: 1400px; }

section { position: relative; z-index: 1; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 0.98; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.04; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); line-height: 1.6; max-width: 54ch; }
.mono { font-family: var(--f-mono); }

/* ---------- Word-reveal headline ---------- */
.reveal-lines { overflow: hidden; }
.reveal-lines .ln { display: block; overflow: hidden; }
.reveal-lines .ln > span {
  display: block;
  transform: translateY(115%);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal-lines.in .ln > span { transform: translateY(0); }

/* ---------- Scroll fade-up ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px var(--gutter) 0;
}
.nav-pill {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(251, 248, 242, 0.82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  box-shadow: 0 1px 0 rgba(20,24,28,0.02);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled .nav-pill { box-shadow: var(--shadow-card); border-color: var(--line-strong); }

.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--f-display); font-weight: 600; font-size: 1.05rem;
  white-space: nowrap;
}
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--ink);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 14px; height: 14px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  overflow: hidden;
  height: 20px;
  display: flex;
  align-items: center;
}
.nav-link span { display: block; transition: transform 0.4s var(--ease); }
.nav-link .up { transform: translateY(0); }
.nav-link .down { position: absolute; left: 14px; transform: translateY(100%); color: var(--ink); }
.nav-link:hover .up { transform: translateY(-100%); }
.nav-link:hover .down { transform: translateY(-19px); }
.nav-link.active { color: var(--ink); font-weight: 600; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--paper-2);
  padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  white-space: nowrap;
}

.nav-toggle { display: none; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after { position: absolute; top: 5px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta span.long { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}
.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn-gold {
  background: var(--gold); color: #201404;
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.45s var(--ease);
}
.btn-gold:hover { color: var(--paper); }
.btn-gold:hover::after { clip-path: inset(0 0 0 0); }

.btn-ink {
  background: var(--ink); color: var(--paper-2);
}
.btn-ink::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.45s var(--ease);
}
.btn-ink:hover { color: #201404; }
.btn-ink:hover::after { clip-path: inset(0 0 0 0); }

.btn-line {
  border: 1.5px solid var(--line-strong); color: var(--ink);
  background: transparent;
}
.btn-line:hover { border-color: var(--ink); background: var(--paper-3); }

.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 96px 0 64px;
}
.hero-top {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 28px;
}
.hero h1 { max-width: 15ch; }
.hero h1 em {
  font-style: normal; color: var(--gold-ink);
  background: linear-gradient(180deg, transparent 62%, var(--gold-soft) 62%);
}
.hero-meta {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 300px; padding-bottom: 6px;
}
.hero-meta p { color: var(--ink-soft); font-size: 15px; }
.trust-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 36px; }
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--ink-soft);
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper-2);
}
.trust-item svg { width: 15px; height: 15px; color: var(--gold-ink); flex-shrink: 0; }

.hero-search {
  position: relative;
  margin-top: 40px;
  display: flex; align-items: center; gap: 10px;
  background: var(--paper-2);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  max-width: 640px;
  box-shadow: var(--shadow-card);
}
.hero-search input {
  flex: 1; border: none; background: none; outline: none;
  font-size: 15px; color: var(--ink);
}
.hero-search input::placeholder { color: var(--ink-faint); }
.hero-search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 6;
  background: var(--paper-2);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.hero-search-result {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 20px; font-size: 14.5px; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.hero-search-result:last-child { border-bottom: none; }
.hero-search-result:hover, .hero-search-result.is-active { background: var(--paper-3); }
.hero-search-result .cat { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); }
.hero-search-empty { padding: 14px 20px; font-size: 13.5px; color: var(--ink-soft); }
.hero-search-empty a { color: var(--gold-ink); text-decoration: underline; }
.hero-search-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.hero-search-tag {
  font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px;
  background: var(--paper-2);
}
.hero-search-tag:hover { border-color: var(--ink); color: var(--ink); }

/* ============================================================
   SAMPLE CONTENT BANNER
   ============================================================ */
.sample-banner {
  background: var(--navy); color: #eef1f6;
  font-size: 13px;
  padding: 10px var(--gutter);
  text-align: center;
  position: relative; z-index: 60;
}
.sample-banner b { color: var(--gold-soft); }
.sample-banner a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   VALUE PROPS / FEATURE GRID
   ============================================================ */
.feature-band { padding: 72px 0; border-top: 1px solid var(--line); }
.band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.feature-card {
  background: var(--paper-2); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.feature-card .num { font-family: var(--f-mono); font-size: 34px; font-weight: 500; color: var(--gold-ink); line-height: 1; }
.feature-card h3 { margin-top: 2px; }
.feature-card p { font-size: 13.8px; color: var(--ink-soft); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ============================================================
   GUIDES GRID (cards)
   ============================================================ */
.guides-band { padding: 72px 0; border-top: 1px solid var(--line); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .guide-grid { grid-template-columns: 1fr; } }

.guide-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.guide-card-media {
  aspect-ratio: 4/3;
  background: var(--paper-3);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.guide-card-media svg { width: 44%; height: 44%; color: var(--ink); opacity: 0.85; }
.guide-card-media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(185,138,47,0.16), transparent 60%);
}
.guide-card-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--ink); color: var(--paper-2); padding: 5px 10px; border-radius: 999px;
}
.guide-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.guide-card-cat { font-family: var(--f-mono); font-size: 11px; color: var(--gold-ink); text-transform: uppercase; letter-spacing: 0.08em; }
.guide-card h3 { font-size: 1.2rem; }
.guide-card p { font-size: 13.6px; color: var(--ink-soft); flex: 1; }
.guide-card-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-faint); padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.guide-card-foot .updated { display: flex; align-items: center; gap: 5px; }

/* ============================================================
   METHODOLOGY / HOW WE TEST
   ============================================================ */
.method-band { padding: 80px 0; background: var(--navy); color: #eef1f6; }
.method-band .eyebrow { color: var(--gold-soft); }
.method-band .eyebrow::before { background: var(--gold-soft); }
.method-band h2 { color: #fff; }
.method-band .lede { color: #c3cbd8; }
.method-steps { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .method-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .method-steps { grid-template-columns: 1fr; } }
.method-step {
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-l);
  padding: 26px 22px; background: rgba(255,255,255,0.03);
}
.method-step .step-n { font-family: var(--f-mono); font-size: 26px; color: var(--gold-soft); }
.method-step h3 { color: #fff; margin: 14px 0 8px; }
.method-step p { font-size: 13.6px; color: #a9b3c2; }

/* ============================================================
   DEAL ALERT / NEWSLETTER
   ============================================================ */
.alert-band { padding: 80px 0; }
.alert-card {
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-l);
  background: var(--paper-2);
  padding: 52px var(--gutter);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start;
  position: relative; overflow: hidden;
}
.alert-card::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(185,138,47,0.16), transparent 70%);
}
@media (max-width: 860px) { .alert-card { grid-template-columns: 1fr; } }
.alert-form { display: flex; flex-direction: column; gap: 12px; }

/* Draggable Price Tag (components/draggable-rope) stacked above the
   sign-up form inside the deal-alerts card — a compact "side element". */
.alert-visual-col { display: flex; flex-direction: column; gap: 24px; }
.alert-visual-col .rope-stage--compact { height: clamp(260px, 30vw, 320px); }
.alert-tabs { display: flex; gap: 8px; margin-bottom: 6px; }
.alert-tab {
  padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--line-strong); color: var(--ink-soft);
}
.alert-tab.active { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }
.alert-field {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: var(--paper); padding: 6px 6px 6px 18px;
}
.alert-field input { flex: 1; border: none; background: none; outline: none; font-size: 14.5px; }
.alert-note { font-size: 12px; color: var(--ink-faint); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 48px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 13.6px; color: var(--ink-soft); margin-top: 14px; max-width: 32ch; }
.footer-col .col-title { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
/* Stripe-underline hover: adapted from a CodePen "stylised link hover"
   sandbox (diagonal-stripe bar reveal), restyled in the site's ticket/
   price-tag motif instead of a plain underline. */
.footer-col a {
  font-size: 14px; color: var(--ink-soft);
  position: relative; display: inline-block; padding-bottom: 3px;
}
.footer-col a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background-image: repeating-linear-gradient(45deg, transparent 0 3px, var(--gold) 3px 5px);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.footer-col a:hover { color: var(--ink); }
.footer-col a:hover::after { transform: scaleX(1); }
.footer-wordmark { font-family: var(--f-display); font-weight: 600; font-size: clamp(3rem, 12vw, 8rem); line-height: 0.85; letter-spacing: -0.02em; color: var(--ink); opacity: 0.94; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-faint); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   GUIDE PAGE TEMPLATE
   ============================================================ */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--gold); z-index: 100; transform: scaleX(0); transform-origin: left; transition: transform 0.1s linear; }

.guide-hero { padding: 40px 0 36px; border-bottom: 1px solid var(--line); }
.guide-breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink-faint); margin-bottom: 22px; font-family: var(--f-mono); }
.guide-breadcrumb a:hover { color: var(--ink); }
.guide-hero h1 { max-width: 22ch; }
.guide-byline { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #eef1f6; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 15px; flex-shrink: 0; }
.guide-byline-text { font-size: 13.5px; color: var(--ink-soft); }
.guide-byline-text b { color: var(--ink); font-weight: 600; }
.guide-stats { display: flex; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.guide-stat { font-size: 12.5px; color: var(--ink-faint); display: flex; align-items: center; gap: 6px; }
.guide-stat b { color: var(--ink); font-weight: 600; font-family: var(--f-mono); }

.guide-toc { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 30px; }
.guide-toc a {
  font-size: 12.5px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft);
}
.guide-toc a:hover { border-color: var(--ink); color: var(--ink); }

.guide-body { padding: 56px 0; display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
@media (max-width: 980px) { .guide-body { grid-template-columns: 1fr; } }
.guide-main > section { margin-bottom: 64px; scroll-margin-top: 110px; }
.guide-main p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 16px; max-width: 68ch; }
.guide-main h2 { margin-bottom: 18px; }
.guide-main h3 { margin-bottom: 4px; }

.disclosure-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 16px 18px; font-size: 13px; color: var(--ink-soft); margin-bottom: 40px;
}
.disclosure-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--gold-ink); }
.disclosure-note a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }

/* Sidebar */
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--paper-2); padding: 22px; }
.side-card h5 { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 14px; }
.side-jump { display: flex; flex-direction: column; gap: 2px; }
.side-jump a { font-size: 13.6px; color: var(--ink-soft); padding: 8px 10px; border-radius: 8px; display: flex; align-items: center; gap: 8px; }
.side-jump a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); flex-shrink: 0; }
.side-jump a:hover, .side-jump a.active { background: var(--paper-3); color: var(--ink); }
.side-jump a.active::before { background: var(--gold); }

/* ---------- Pick cards (Top pick / runner-up / budget / upgrade) ---------- */
.pick-card {
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-l);
  background: var(--paper-2);
  padding: 30px; margin-bottom: 22px;
  display: grid; grid-template-columns: 220px 1fr; gap: 30px;
}
@media (max-width: 760px) { .pick-card { grid-template-columns: 1fr; } }
.pick-card.is-top { border-color: var(--gold); background: linear-gradient(180deg, rgba(185,138,47,0.06), transparent 40%), var(--paper-2); }
.pick-media { aspect-ratio: 1/1; background: var(--paper-3); border-radius: var(--radius-m); display: grid; place-items: center; position: relative; }
.pick-media svg { width: 52%; height: 52%; color: var(--ink); }
.pick-rank {
  position: absolute; top: -10px; left: -10px;
  background: var(--ink); color: var(--paper-2);
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.is-top .pick-rank { background: var(--gold); color: #201404; }
.pick-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.pick-head h3 { max-width: 30ch; }
.pick-tagline { font-size: 13.5px; color: var(--gold-ink); font-weight: 600; margin-top: 4px; }
.pick-score { text-align: right; flex-shrink: 0; }
.pick-score .n { font-family: var(--f-mono); font-size: 1.9rem; font-weight: 700; color: var(--ink); line-height: 1; }
.pick-score .lbl { font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.pick-verdict { font-size: 14.5px; color: var(--ink-soft); margin: 14px 0 18px; }
.pick-specs { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.pick-spec { font-size: 12.5px; color: var(--ink-soft); }
.pick-spec b { display: block; font-family: var(--f-mono); font-size: 13.5px; color: var(--ink); }
.pick-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
@media (max-width: 500px) { .pick-pros-cons { grid-template-columns: 1fr; } }
.pick-pros-cons h6 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 8px; font-weight: 600; }
.pick-pros-cons li { font-size: 13px; color: var(--ink-soft); padding-left: 18px; position: relative; margin-bottom: 6px; }
.pick-pros-cons li::before { position: absolute; left: 0; font-family: var(--f-mono); }
.pros li::before { content: "+"; color: var(--green); }
.cons li::before { content: "\2013"; color: var(--red); }

/* ---------- Price box ---------- */
.price-box { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.price-box-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 10px; font-family: var(--f-mono); }
.price-rows { display: flex; flex-direction: column; gap: 8px; }
.price-row {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
  background: var(--paper);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.price-row:hover { border-color: var(--line-strong); background: var(--paper-2); }
.price-row.best { border-color: var(--green); background: var(--green-soft); }
.retailer { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.retailer-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-faint); flex-shrink: 0; }
.price-row.best .retailer-dot { background: var(--green); }
.price-tag { display: flex; align-items: center; gap: 10px; }
.price-tag .amt { font-family: var(--f-mono); font-weight: 600; font-size: 14.5px; }
.price-tag .go {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: var(--paper-2);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.price-tag .go svg { width: 12px; height: 12px; }
.price-row:hover .go { transform: rotate(45deg); }
.price-row.best .go { background: var(--green); }
.best-badge { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; background: var(--green); color: #fff; padding: 3px 8px; border-radius: 999px; margin-left: 8px; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-l); margin-top: 8px; }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--paper-2); }
table.compare th, table.compare td { text-align: left; padding: 14px 18px; font-size: 13.6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.compare th { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); background: var(--paper-3); position: sticky; top: 0; }
table.compare td.prod { font-weight: 600; white-space: normal; min-width: 200px; }
table.compare td.price { font-family: var(--f-mono); }
table.compare tr:last-child td { border-bottom: none; }
table.compare tr.hi td { background: rgba(185,138,47,0.06); }
.score-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-weight: 600; }
.score-pill .bar { width: 40px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.score-pill .bar i { display: block; height: 100%; background: var(--gold); }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 4px; text-align: left; font-family: var(--f-display); font-weight: 600; font-size: 1.02rem;
}
.faq-q .plus { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; margin-left: 16px; position: relative; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--ink); }
.faq-q .plus::before { width: 9px; height: 1.4px; }
.faq-q .plus::after { width: 1.4px; height: 9px; transition: transform 0.3s var(--ease); }
.faq-item.open .faq-q .plus { background: var(--ink); }
.faq-item.open .faq-q .plus::before, .faq-item.open .faq-q .plus::after { background: var(--paper); }
.faq-item.open .faq-q .plus::after { transform: rotate(90deg) scaleY(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 4px 20px; font-size: 14.5px; color: var(--ink-soft); max-width: 66ch; }

/* ---------- Methodology mini list on guide page ---------- */
.mini-steps { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.mini-step { display: flex; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.mini-step:last-child { border-bottom: none; }
.mini-step .n { font-family: var(--f-mono); color: var(--gold-ink); font-weight: 600; flex-shrink: 0; }
.mini-step h4 { margin-bottom: 4px; }
.mini-step p { font-size: 13.6px; margin: 0; }

/* ---------- Category grid page ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin: 32px 0 40px; }
.filter-chip { padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; color: var(--ink-soft); }
.filter-chip.active { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }

/* ---------- About page ---------- */
.person-card { display: flex; gap: 20px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; background: var(--paper-2); }
.person-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #eef1f6; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 22px; flex-shrink: 0; }
.person-card h4 { margin-bottom: 2px; }
.person-role { font-size: 12.5px; color: var(--gold-ink); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.person-card p { font-size: 13.8px; color: var(--ink-soft); margin: 0; }

/* ---------- 404 ---------- */
.error-page { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.error-page .code { font-family: var(--f-mono); font-size: 14px; color: var(--gold-ink); margin-bottom: 18px; }

/* ---------- Utility spacing ---------- */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }

/* ============================================================
   BACKGROUND PATHS (hero)
   Adapted from 21st.dev @kokonutd/background-paths (MIT)
   ============================================================ */
.hero { position: relative; }
.bg-paths {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
  color: var(--ink);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 70%, transparent 100%);
}
.bg-paths svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-paths path {
  fill: none; stroke: currentColor;
  stroke-dasharray: 0.4 0.6;
  animation: bg-path-flow var(--dur, 24s) linear infinite, bg-path-fade var(--dur, 24s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.bg-paths.is-paused path { animation-play-state: paused; }
@keyframes bg-path-flow { to { stroke-dashoffset: -1; } }
@keyframes bg-path-fade { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@media (max-width: 640px) { .bg-paths { opacity: 0.5; } }

/* ============================================================
   IMAGE STREAM
   Adapted from 21st.dev @ruixen.ui/image-stream-hero (MIT)
   ============================================================ */
.stream-band { padding: 8px var(--gutter) 72px; }
.stream {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  height: clamp(460px, 62vw, 620px);
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at center, var(--paper-2) 0%, var(--paper-2) 30%, var(--paper-3) 100%);
  overflow: hidden;
  isolation: isolate;
}
.stream-stage {
  position: absolute; inset: 0;
  perspective: 900px;
  perspective-origin: 50% 50%;
}
.stream-stage img {
  position: absolute; left: 50%; top: 50%;
  width: clamp(150px, 20vw, 250px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.stream-copy {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 14px;
  padding: 32px 24px;
  pointer-events: none;
}
.stream-copy::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 50%; translate: -50% -50%;
  width: min(760px, 110%); height: 78%;
  background: radial-gradient(closest-side, var(--paper-2) 62%, rgba(251, 248, 242, 0.85) 80%, rgba(251, 248, 242, 0));
}
.stream-copy h2 { max-width: 20ch; }
.stream-copy p { max-width: 42ch; color: var(--ink-soft); font-size: 15.5px; }
.stream.is-static .stream-stage { display: none; }

/* ============================================================
   BENTO GALLERY
   Adapted from 21st.dev @anurag-mishra22/interactive-bento-gallery (MIT)
   ============================================================ */
.bento-band { padding: 24px 0 88px; }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 170px;
  grid-auto-flow: dense;
  gap: 14px;
}
.bento-tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--paper-3);
  padding: 0; text-align: left;
  touch-action: pan-y;
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
  cursor: grab;
}
.bento-tile.span-tall { grid-row: span 2; }
.bento-tile.span-wide { grid-column: span 2; }
.bento-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}
.bento-tile:hover { box-shadow: var(--shadow-lift); }
.bento-tile:hover img { transform: scale(1.06); }
.bento-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.bento-tile.is-dragging { cursor: grabbing; transition: box-shadow 0.4s var(--ease); z-index: 5; box-shadow: var(--shadow-lift); }
.bento-label {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
}
.bento-label b { font-family: var(--f-display); font-weight: 600; font-size: 15px; }
.bento-label small { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: 10px; }
  .bento-tile.span-wide { grid-column: span 2; }
  .bento-label { left: 8px; right: 8px; bottom: 8px; padding: 8px 12px; }
  .bento-label small { display: none; }
}

.bento-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.bento-modal[hidden] { display: none; }
.bento-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 24, 28, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bento-modal-card {
  position: relative; z-index: 1;
  width: min(760px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  background: var(--paper-2); border-radius: var(--radius-l);
  box-shadow: var(--shadow-lift);
  animation: bento-pop 0.45s var(--ease);
}
@keyframes bento-pop { from { opacity: 0; transform: translateY(18px) scale(0.97); } }
.bento-modal-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-l) var(--radius-l) 0 0; }
.bento-modal-body { padding: 22px 24px 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.bento-modal-desc { color: var(--ink-soft); }
.bento-modal-soon { font-family: var(--f-mono); font-size: 12px; color: var(--gold-ink); padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; }
.bento-modal-x {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(251, 248, 242, 0.92); color: var(--ink); font-size: 22px; line-height: 1;
}
.bento-modal-x:hover { background: var(--ink); color: var(--paper-2); }
.bento-dock { display: flex; gap: 8px; padding: 14px 24px 22px; overflow-x: auto; }
.bento-dock button {
  flex: 0 0 auto; width: 64px; height: 48px; padding: 0;
  border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; opacity: 0.6;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.bento-dock button img { width: 100%; height: 100%; object-fit: cover; }
.bento-dock button:hover { opacity: 1; transform: translateY(-2px); }
.bento-dock button.active { opacity: 1; border-color: var(--gold); }

/* ============================================================
   VERDICT SCROLL
   Adapted from a CodePen scroll-driven 3-column layout: a tall section
   holds a position:sticky grid whose side columns shrink to 0fr and
   whose middle column widens to 1fr as the visitor scrolls through it.
   Driven by scroll-position math in js/main.js (not CSS
   animation-timeline: scroll(), for consistent cross-browser support) —
   the same getBoundingClientRect + scroll-percentage pattern already
   used for the guide-page reading progress bar.
   ============================================================ */
.verdict-scroll { position: relative; height: 220vh; background: var(--navy); }
.vs-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; padding: 48px 0; }
.vs-grid {
  display: grid;
  grid-template-columns: 1fr 0fr 1fr;
  align-items: center;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 0;
}
.vs-col { overflow: hidden; }
.vs-col-noise { display: flex; flex-direction: column; gap: 14px; }
.vs-col-left { align-items: flex-end; padding-right: 28px; }
.vs-col-right { align-items: flex-start; padding-left: 28px; }
.vs-chip {
  display: inline-block; white-space: nowrap;
  font-family: var(--f-mono); font-size: 12.5px; color: #aab4c4;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
  padding: 8px 16px;
}
.vs-col-verdict { text-align: center; padding: 0 16px; opacity: 0; }
.vs-col-verdict .lede { max-width: 40ch; margin-left: auto; margin-right: auto; }
@media (max-width: 720px) {
  .verdict-scroll { height: 180vh; }
  .vs-col-noise { display: none; }
  .vs-grid { grid-template-columns: 1fr !important; }
  .vs-col-verdict { opacity: 1 !important; }
}

/* ============================================================
   VERIFIED-STAMP BADGE
   Started as a pure-CSS torn-paper edge (adapted from a CodePen
   "wanted poster" CSS-art demo) using a many-point polygon to fake an
   organic torn silhouette. Revised: a hand-approximated jagged edge
   reads as the cheap version of a real torn-paper photo/cutout,
   especially at this small a size (106x74px) where genuine paper-fiber
   texture is exactly what a polygon can't fake. Since the badge's job
   is a stamped "verified" seal (not literal torn paper), a clean
   geometric cut-corner shape is both more honest CSS (deliberate
   geometry, not faked texture) and more on-theme for a stamp — and it
   matches the site's own precedent: the draggable price tag
   (components/draggable-rope) already uses a plain notched-corner
   clip-path rather than an organic one. Two stacked layers (a
   slightly-rotated back sheet + the front face) keep the "pinned at an
   angle" depth without needing an organic outline to sell it.
   ============================================================ */
.eye-inspect-panel-wrap { position: relative; }
.torn-badge {
  position: absolute; top: -16px; right: 24px; z-index: 2;
  width: 106px; height: 74px;
}
.torn-badge-back,
.torn-badge-face {
  position: absolute; inset: 0;
  display: block;
  clip-path: polygon(16% 0, 84% 0, 100% 16%, 100% 84%, 84% 100%, 16% 100%, 0 84%, 0 16%);
}
.torn-badge-back {
  background: var(--line-strong);
  transform: rotate(-11deg) translate(3px, 4px);
}
.torn-badge-face {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: rotate(-6deg);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 6px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.5;
  color: var(--gold-ink);
}
@media (max-width: 520px) { .torn-badge { top: -12px; right: 12px; width: 88px; height: 64px; } }

@media (prefers-reduced-motion: reduce) {
  .bg-paths path { animation: none; opacity: 0.6; }
  .bento-modal-card { animation: none; }
}

/* ============================================================
   FOOTER SOCIAL LINKS (Timeless Tales)
   ============================================================ */
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-social a {
  font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 14px; background: var(--paper-2);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-social a:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
