/* ================================
   Yogavibe Reviews — Design Tokens
   Editorial · Essaouira direction
   ================================ */

:root {
  /* Essaouira palette */
  --bg: #F6EFE0;
  --bg-alt: #EAE0CC;
  --bg-deep: #3C342B;
  --ink: #332C25;
  --ink-soft: #69604F;
  --ink-mute: #9A9082;
  --line: #D4CCB8;
  --accent: #B25A35;
  --accent-2: #6F7A4B;
  --accent-3: #D4B97A;

  /* Trustpilot brand green (for badge only) */
  --trustpilot: #00B67A;
  --google-blue: #4285F4;
  --google-red: #EA4335;
  --google-yellow: #FBBC04;
  --google-green: #34A853;

  /* Typography */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  /* Spacing */
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(64px, 7vw, 112px);
  --section-tight: clamp(40px, 4.5vw, 72px);
  --max-width: 1440px;

  /* Radii */
  --r-pill: 999px;
  --r-soft: 4px;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }

/* ============ Type ============ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-block;
  position: relative;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--accent);
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
}
.eyebrow.no-dot::before { display: none; }

.caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(58px, 10vw, 168px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.display i, .display em { font-style: italic; color: var(--accent); font-weight: 300; }

.h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.h1 i, .h1 em { font-style: italic; color: var(--accent); }

.h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.h2 i, .h2 em { font-style: italic; color: var(--accent); }

.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}

.lead {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ============ Layout ============ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-block: var(--section); }
.section-tight { padding-block: var(--section-tight); }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: padding 220ms cubic-bezier(.2,.7,.2,1), border-color 220ms;
}
.nav[data-scrolled="true"] {
  background: var(--bg);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  transition: padding 220ms cubic-bezier(.2,.7,.2,1);
}
.nav[data-scrolled="true"] .nav-inner { padding: 12px 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand-logo {
  width: 30px;
  height: 30px;
  background-color: currentColor;
  -webkit-mask: url("images/yogavibe-logo.svg") center / contain no-repeat;
          mask: url("images/yogavibe-logo.svg") center / contain no-repeat;
  flex-shrink: 0;
  transition: color 220ms;
}
.brand:hover .brand-logo { color: var(--accent); }
.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1;
  padding-bottom: 2px;
}
.brand-suffix {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  margin-left: 4px;
}
.brand-logo-lg {
  width: 44px;
  height: 44px;
}
.brand-wordmark-lg {
  font-size: 30px;
}
.footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--bg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav-links a { transition: color 200ms; }
.nav-links a:hover { color: var(--ink); }
.nav-links .loc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-links .loc::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--accent-2);
}
@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: all 220ms cubic-bezier(.2,.7,.2,1);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--ink);
}
.btn-arrow svg { transition: transform 220ms; }
.btn-arrow:hover svg { transform: translateX(3px); }

/* ============ Hero ============ */
.hero {
  padding-top: 56px;
  padding-bottom: var(--section);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-text-col {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 56px);
}
.hero-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bg-alt);
}
.hero-photo figcaption {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-photo figcaption::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--ink-mute);
}
@media (max-width: 900px) {
  .hero-photo img { aspect-ratio: 4 / 3; }
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(54px, 9.5vw, 152px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.hero-headline i { font-style: italic; color: var(--accent); font-weight: 300; }

.hero-stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.hero-rating-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(72px, 9vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero-rating-num small {
  font-size: 0.4em;
  color: var(--ink-mute);
  letter-spacing: 0;
}
.hero-rating-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.8;}
.hero-rating-meta strong { color: var(--ink); font-weight: 500; }

.stars { display: inline-flex; gap: 2px; }
.star {
  width: 18px; height: 18px;
  display: inline-block;
}
.star-row { display: inline-flex; gap: 3px; vertical-align: middle; }
.star-row .star { width: 14px; height: 14px; }
.star-row.lg .star { width: 22px; height: 22px; }

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-self: end;
}
.hero-pull {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  color: var(--ink);
  text-wrap: pretty;
}
.hero-pull::before { content: "“"; color: var(--accent); margin-right: 2px;}
.hero-pull::after { content: "”"; color: var(--accent); }
.hero-pull-attr {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ Glimpses gallery ============ */
.glimpses-head { margin-bottom: clamp(28px, 4vw, 48px); }
.glimpses-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(180px, 22vw, 280px);
  gap: clamp(12px, 1.6vw, 24px);
}
@media (max-width: 900px) {
  .glimpses-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(160px, 30vw, 240px); }
  .glimpse { grid-column: span 6 !important; grid-row: span 1 !important; }
  .glimpse:nth-child(2n) { grid-column: span 3 !important; }
  .glimpse:nth-child(2n+1):not(:first-child) { grid-column: span 3 !important; }
}
.glimpse {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.glimpse img {
  display: block;
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  background: var(--bg-alt);
  filter: saturate(0.96);
  transition: filter 600ms ease, transform 900ms cubic-bezier(.2,.7,.2,1);
}
.glimpse:hover img {
  filter: saturate(1.05);
  transform: scale(1.02);
}
.glimpse figcaption {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.glimpse figcaption::before {
  content: "";
  width: 10px;
  height: 1px;
  background: var(--ink-mute);
}

/* ============ Marquee ============ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track .dot {
  width: 8px; height: 8px; border-radius: var(--r-pill);
  background: var(--accent);
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Source breakdown ============ */
.sources {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 760px) {
  .sources { grid-template-columns: repeat(2, 1fr); }
}
.source-cell {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  justify-content: space-between;
}
.source-cell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.source-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.source-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============ Filters ============ */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  transition: all 200ms;
}
.chip:hover { color: var(--ink); border-color: var(--ink-soft); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.chip-count {
  opacity: 0.6;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.chip[aria-pressed="true"] .chip-count { opacity: 0.7; }

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 36px 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2369604F' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

/* ============ Review cards ============ */
.reviews-grid {
  margin-top: 40px;
  column-count: 3;
  column-gap: 28px;
}
@media (max-width: 1080px) { .reviews-grid { column-count: 2; } }
@media (max-width: 680px)  { .reviews-grid { column-count: 1; } }

.review {
  break-inside: avoid;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-soft);
  padding: 26px 26px 22px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), border-color 320ms;
  position: relative;
}
.review:hover {
  border-color: var(--ink-soft);
  transform: translateY(-2px);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--ink);
  flex-shrink: 0;
  background: var(--bg-alt);
}
/* avatar tints (cycled by source/initials) */
.avatar.t1 { background: #EAE0CC; color: #69604F; }
.avatar.t2 { background: #E5D6C3; color: #69604F; }
.avatar.t3 { background: #E8DEC9; color: #69604F; }
.avatar.t4 { background: #DCD0BC; color: #4A413A; }

.reviewer-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.2;
}
.reviewer-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.4;
}
.review-source {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.review-source-mark {
  width: 12px; height: 12px;
  display: inline-block;
  border-radius: 2px;
}
.review-source-mark.trustpilot { background: var(--trustpilot); }
.review-source-mark.google {
  background: conic-gradient(from -45deg, var(--google-blue) 0 25%, var(--google-red) 25% 50%, var(--google-yellow) 50% 75%, var(--google-green) 75% 100%);
  border-radius: var(--r-pill);
}
.review-source-mark.direct { background: var(--accent); }

.review-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.verified-tag svg { width: 10px; height: 10px; }
.invited-tag {
  color: var(--ink-mute);
}

.review-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
}
.review-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.review-body.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-readmore {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  align-self: flex-start;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 200ms, border-color 200ms;
}
.review-readmore:hover { color: var(--accent); border-color: var(--accent); }
.review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.review-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.review-loc::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--accent-2);
  border-radius: var(--r-pill);
}

.feed-empty {
  padding: 80px 40px;
  text-align: center;
  border: 1px dashed var(--line);
  color: var(--ink-mute);
}

.load-more-row {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ============ Form section (dark) ============ */
.form-section {
  background: var(--bg-deep);
  color: var(--bg);
}
.form-section .eyebrow { color: rgba(246, 239, 224, 0.7); }
.form-section .eyebrow::before { background: var(--accent); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }

.form-section .h1 {
  color: var(--bg);
}
.form-section .h1 i { color: var(--accent-3); }
.form-section .lead {
  color: rgba(246, 239, 224, 0.75);
}

.form-meta {
  margin-top: 36px;
  border-top: 1px solid rgba(246, 239, 224, 0.18);
  padding-top: 28px;
  display: grid;
  gap: 18px;
}
.form-meta-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(246, 239, 224, 0.18);
}
.form-meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.form-meta-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 239, 224, 0.55);
  padding-top: 3px;
}
.form-meta-val {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
  color: var(--bg);
}

.form-card {
  background: rgba(246, 239, 224, 0.04);
  border: 1px solid rgba(246, 239, 224, 0.16);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-soft);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(246, 239, 224, 0.22);
  transition: border-color 200ms;
}
.field:focus-within { border-bottom-color: var(--accent-3); }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 239, 224, 0.6);
}
.field input,
.field textarea {
  background: transparent;
  border: none;
  outline: none;
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 4px 0;
  width: 100%;
  resize: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(246, 239, 224, 0.3);
}
.field textarea {
  min-height: 110px;
  line-height: 1.55;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

.rating-pick {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0 10px;
}
.rating-pick button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: rgba(246, 239, 224, 0.25);
  transition: color 200ms, transform 200ms;
}
.rating-pick button:hover,
.rating-pick button[data-active="true"] { color: var(--accent-3); }
.rating-pick button[data-active="true"] { color: var(--trustpilot); }

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(246, 239, 224, 0.65);
  line-height: 1.55;
}
.consent-row input {
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.consent-row a {
  color: var(--accent-3);
  border-bottom: 1px solid rgba(212, 185, 122, 0.5);
}

.form-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-light {
  background: var(--bg);
  color: var(--ink);
}
.btn-light:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
}
.form-progress {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 239, 224, 0.5);
}

.form-success {
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: rgba(246, 239, 224, 0.05);
  border: 1px solid rgba(246, 239, 224, 0.16);
  border-radius: var(--r-soft);
}
.form-success .h2 { color: var(--bg); }
.form-success .h2 i { color: var(--accent-3); }
.form-success .lead { color: rgba(246, 239, 224, 0.75); max-width: 460px; }

.success-mark {
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--bg);
}
.success-mark svg { width: 24px; height: 24px; }

/* ============ FAQ ============ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-list { margin-top: 16px !important; }
}
.faq-list {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  color: var(--ink);
  transition: color 200ms;
}
.faq-q:hover { color: var(--accent); }
.faq-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
  transition: transform 220ms, background 220ms, color 220ms;
}
.faq-item[data-open="true"] .faq-toggle {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms cubic-bezier(.2,.7,.2,1);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.faq-a-inner {
  padding: 0 80px 28px 0;
}
.faq-item[data-open="true"] .faq-a { max-height: 400px; }

/* ============ Footer ============ */
.footer {
  background: var(--bg-deep);
  color: var(--bg);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(246, 239, 224, 0.18);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 239, 224, 0.5);
  margin: 0 0 18px;
  font-weight: 400;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 14px; color: rgba(246, 239, 224, 0.85);}
.footer ul a:hover { color: var(--accent-3); }
.footer-brand .brand-logo { color: var(--bg); }
.footer-brand .brand-wordmark { color: var(--bg); }
.footer-tag {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: rgba(246, 239, 224, 0.85);
  margin-top: 16px;
  max-width: 360px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 239, 224, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .marquee-track { transition: none; animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   MOBILE OPTIMIZATIONS (≤ 720px and ≤ 480px tiers)
   ============================================================ */

/* ----- ≤ 720px : phones + small tablets ----- */
@media (max-width: 720px) {

  /* Section rhythm: ease vertical breathing on small screens */
  :root {
    --section: clamp(48px, 9vw, 80px);
    --section-tight: clamp(32px, 6vw, 56px);
  }

  /* Eyebrow dot: inline before text instead of hanging in the gutter
     (negative left would otherwise clip against the page edge) */
  .eyebrow { padding-left: 14px; }
  .eyebrow::before { left: 0; }

  /* Nav: tighten + hide the "Reviews" suffix pill to keep brand legible */
  .nav-inner { padding: 14px 0; }
  .brand-suffix { display: none; }
  .nav-links { font-size: 10px; gap: 14px; }

  /* Hero */
  .hero { padding-top: 32px; padding-bottom: var(--section); }
  .hero-eyebrow-row { gap: 12px; margin-bottom: 20px; }
  .hero-text-col { gap: 32px; }
  .hero-headline {
    font-size: clamp(44px, 12vw, 72px);
    line-height: 0.94;
    letter-spacing: -0.02em;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 0;
  }
  .hero-rating-num { font-size: clamp(56px, 18vw, 84px); }
  .hero-rating-meta { font-size: 10px; letter-spacing: 0.12em; }
  .hero-pull { font-size: clamp(20px, 4.6vw, 26px); }
  .hero-cta-row .btn { flex: 1 1 auto; justify-content: center; }
  .hero-photo img { aspect-ratio: 5 / 4; }

  /* Marquee: smaller text + tighter gaps */
  .marquee { padding: 14px 0; }
  .marquee-track { gap: 28px; font-size: clamp(24px, 7vw, 36px); }
  .marquee-track span { gap: 28px; }

  /* Glimpses gallery: clean uniform 2-column grid (override the
     intricate desktop nth-child rules) */
  .glimpses-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: clamp(140px, 38vw, 220px);
    gap: 10px;
  }
  .glimpse,
  .glimpse:nth-child(2n),
  .glimpse:nth-child(2n+1):not(:first-child) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  /* Source breakdown — smaller numbers, breathing padding */
  .source-cell { padding: 22px 18px; min-height: 140px; }
  .source-num { font-size: 44px; }

  /* Filter bar — let the chip row and sort wrap freely */
  .filter-bar { align-items: stretch; gap: 16px; padding-bottom: 20px; }
  .filter-chips { gap: 6px; }
  .chip { padding: 7px 12px; font-size: 10px; }
  .sort-select { font-size: 10px; padding: 7px 30px 7px 12px; }

  /* Review cards — softer padding, slightly smaller body */
  .reviews-grid { margin-top: 24px; column-gap: 16px; }
  .review { padding: 20px 20px 18px; margin-bottom: 16px; gap: 12px; }
  .review-head { gap: 10px; flex-wrap: wrap; }
  .review-source { font-size: 9px; padding: 3px 8px; }
  .review-title { font-size: 19px; }
  .review-body { font-size: 13.5px; line-height: 1.55; }
  .review-foot { font-size: 9px; gap: 8px; flex-wrap: wrap; }

  /* Form: collapse field-row earlier */
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px; }
  .form-meta-row { grid-template-columns: 110px 1fr; gap: 12px; }
  .form-meta-val { font-size: 16px; }
  .form-actions { justify-content: stretch; }
  .form-actions .btn-light { width: 100%; justify-content: center; }

  /* FAQ — reduce the right-side answer padding (was 80px) */
  .faq-q { padding: 22px 0; gap: 16px; }
  .faq-a-inner { padding: 0 0 22px 0; }

  /* Footer — single column on small phones */
  .footer { padding: 56px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-bottom { font-size: 9px; gap: 10px; }

  /* Buttons: comfortable touch targets */
  .btn { padding: 13px 20px; min-height: 44px; }
}

/* ----- ≤ 480px : compact phones (iPhone SE etc.) ----- */
@media (max-width: 480px) {
  /* Tighter container gutter */
  .container { padding-left: 16px; padding-right: 16px; }

  /* Hero ratings + meta stack cleanly */
  .hero-rating-num { font-size: clamp(48px, 16vw, 64px); }

  /* Single column source breakdown */
  .sources { grid-template-columns: 1fr; }
  .source-cell { min-height: 110px; padding: 18px; flex-direction: row; align-items: center; }
  .source-cell-top { width: 100%; }
  .source-num { font-size: 36px; }

  /* Reduce review card padding a hair more */
  .review { padding: 18px; }
  .review-title { font-size: 18px; }

  /* Form: avoid iOS auto-zoom on focus (inputs need >=16px) */
  .field input, .field textarea { font-size: 16px; }

  /* Footer brand wordmark slightly smaller */
  .brand-wordmark-lg { font-size: 26px; }
  .brand-logo-lg { width: 38px; height: 38px; }

  /* Star picker: bigger touch targets (Apple HIG: ≥ 44px) */
  .rating-pick { gap: 4px; }
  .rating-pick button {
    width: 40px;
    height: 40px;
  }
  .rating-pick svg { width: 26px; height: 26px; }
}

/* Prevent any horizontal scroll on small viewports — last line of defence */
@media (max-width: 720px) {
  html, body { overflow-x: hidden; }
}
