/* ============================================
   Online Yoga Planet — styles
   Brand manual palette (exact hex from DíA brand system):
     Dark Green #3D4F32  Green #5B754A  Brown #C09971
     Peach #EFD1B9  Off Black #202125
   ============================================ */

:root {
  --cream: #faf6ef;
  --cream-2: #f4e8d4;
  --peach: #efd1b9;
  --peach-soft: #f8e8d6;
  --ink: #202125;
  --ink-soft: #3d4f32;
  --ink-mute: #8a8b7e;
  --line: #e4d8c5;
  --line-soft: #efe4d0;
  --sage: #5b754a;
  --sage-dark: #3d4f32;
  --sage-light: #e8efde;
  --accent: #3d4f32;
  --accent-hover: #2d3e23;
  --brown: #c09971;
  --brown-dark: #9c7c5a;
  --brown-soft: #f4e6d3;
  --gold: #c09971;
  --gold-dark: #9c7c5a;
  --gold-soft: #f4e6d3;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(32, 33, 37, 0.06);
  --shadow-md: 0 4px 14px rgba(32, 33, 37, 0.08);
  --shadow-lg: 0 12px 40px rgba(32, 33, 37, 0.15);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--accent); }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
#mobile-filter-toggle { display: none; }

/* ---------- Header ---------- */
.site-header {
  background: var(--sage-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1320px;
  margin: 0 auto;
}
.brand {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--peach); }
.header-nav { display: flex; gap: 34px; }
.header-nav a {
  font-size: 0.78rem;
  color: var(--cream);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
}
.header-nav a:hover { opacity: 1; color: var(--peach); }
.header-nav a.active { opacity: 1; color: var(--peach); }
@media (max-width: 720px) {
  .header-nav a:not(.active) { display: none; }
  .header-nav a.active { font-weight: 700; }
}

/* ---------- Hero (full-bleed brand treatment) ---------- */
.hero {
  position: relative;
  padding: 130px 24px 120px;
  background:
    linear-gradient(180deg, rgba(32,33,37,0.55) 0%, rgba(32,33,37,0.78) 100%),
    url('/ytt/brand-assets/rice-paddy-warrior.jpg');
  background-size: cover;
  background-position: center 40%;
  border-bottom: 4px solid var(--sage-dark);
  text-align: center;
  color: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(32,33,37,0.35) 100%);
  pointer-events: none;
}
.hero .container { max-width: 940px; position: relative; z-index: 1; }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 18px 0 26px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(250, 246, 239, 0.12);
  border: 1px solid rgba(250, 246, 239, 0.35);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--peach);
  text-transform: uppercase;
  margin-bottom: 0;
  backdrop-filter: blur(6px);
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(250, 246, 239, 0.92);
  margin: 0.4em auto 2em;
  max-width: 720px;
  line-height: 1.55;
}
.hero-sub strong { color: var(--peach); font-weight: 600; }
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-cta .btn-primary {
  background: var(--peach);
  color: var(--sage-dark);
  border-color: var(--peach);
  padding: 16px 30px;
  font-size: 1rem;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}
.hero-cta .btn-primary:hover {
  background: #f8e0c5;
  color: var(--sage-dark);
  transform: translateY(-1px);
}
.hero-cta .btn-ghost {
  background: rgba(250, 246, 239, 0.08);
  border: 1px solid rgba(250, 246, 239, 0.45);
  color: var(--cream);
  padding: 16px 30px;
  font-size: 1rem;
  backdrop-filter: blur(6px);
}
.hero-cta .btn-ghost:hover {
  background: rgba(250, 246, 239, 0.18);
  color: var(--cream);
}
.hero-meta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  color: rgba(250, 246, 239, 0.75);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.hero-meta span:nth-child(even) { color: var(--peach); opacity: 0.5; }
@media (max-width: 720px) {
  .hero { padding: 80px 24px 70px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--sage);
  color: var(--ink);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--sage);
  color: var(--ink);
  background: var(--white);
}
.btn-text {
  background: none;
  border: none;
  color: var(--sage-dark);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
}
.btn-text:hover { color: var(--accent); }
.btn-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

/* ---------- Main grid ---------- */
.main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 48px 24px;
  max-width: 1320px;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .main { grid-template-columns: 1fr; gap: 20px; padding: 28px 20px; }
  #mobile-filter-toggle { display: inline-flex; margin-bottom: 6px; align-self: flex-start; }
  #filters {
    position: fixed;
    top: 0;
    left: -320px;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--white);
    z-index: 100;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transition: left 0.25s ease;
    overflow-y: auto;
  }
  #filters.mobile-open { left: 0; }
}

/* ---------- Filters ---------- */
.filters {
  position: sticky;
  top: 74px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 8px;
}
@media (max-width: 960px) {
  .filters { position: fixed; max-height: none; }
}
.filters-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.filters-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.filter-group { margin-bottom: 22px; }
.filter-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.filter-group input[type="search"],
.filter-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}
.filter-group select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath d='M1 1l5 5 5-5' stroke='%234a5751' stroke-width='1.5' fill='none' stroke-linecap='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122, 150, 128, 0.15);
}
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.12s ease;
}
.pill:hover { border-color: var(--sage); color: var(--ink); }
.pill.active {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
}
input[type="range"] { width: 100%; accent-color: var(--sage-dark); }
.range-label {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.check-row:hover { color: var(--ink); }
.check-row input {
  accent-color: var(--sage-dark);
  cursor: pointer;
}

/* ---------- Results ---------- */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}
.results-header h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 500;
}
.sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.sort-wrap select {
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath d='M1 1l5 5 5-5' stroke='%234a5751' stroke-width='1.5' fill='none' stroke-linecap='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
/* When #results-grid contains chunked children (featured + inner grids + rhythm
   breaks), it must NOT be a grid itself — let the children lay out. */
#results-grid.grid {
  display: block;
}
.loading, .error {
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-mute);
  grid-column: 1 / -1;
}
.error { color: var(--accent); }

/* ---------- Card ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
/* Cards that are <a> elements (wholly clickable) */
.card.card-linkable,
a.card {
  text-decoration: none;
  color: var(--ink);
}
.card.card-linkable:hover,
a.card:hover {
  color: var(--ink);
  text-decoration: none;
}
.card.card-linkable .card-title,
a.card .card-title {
  color: var(--ink);
  transition: color 0.15s ease;
}
.card.card-linkable:hover .card-title,
a.card:hover .card-title {
  color: var(--sage-dark);
}
.card-view-more {
  font-size: 0.82rem;
  color: var(--ink-mute);
  font-weight: 500;
  margin-left: auto;
  display: flex;
  align-items: center;
}
.card-linkable:hover .card-view-more {
  color: var(--sage-dark);
}
.card-badged {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--white) 25%);
}
.card-badged:hover { border-color: var(--gold-dark); }
.card-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--gold);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
}

.card-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.card-image {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--cream-2);
  flex-shrink: 0;
  border: 1px solid var(--line-soft);
}
.card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--sage-dark);
  background: var(--sage-light);
}
.card-head-text { flex: 1; min-width: 0; }
.card-title {
  font-family: "Fraunces", serif;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 4px;
  word-wrap: break-word;
}
.card-location {
  font-size: 0.84rem;
  color: var(--ink-mute);
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.stars {
  --r: 0%;
  font-size: 1.05rem;
  line-height: 1;
  background: linear-gradient(90deg, var(--gold) var(--r), #d8d2c4 var(--r));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}
.rating-num {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}
.rating-reviews {
  color: var(--ink-mute);
  font-size: 0.85rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}
.chip {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--cream-2);
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 500;
}
.chip-ya {
  background: var(--sage-light);
  color: var(--sage-dark);
  font-weight: 600;
}
.chip-iayt {
  background: #e9dcf2;
  color: #5b3a7a;
  font-weight: 600;
}

/* IAYT card variants — distinct from YA Top Rated treatment */
.card-iayt {
  border-color: #b99bd6;
  background: linear-gradient(180deg, #f7f0ff 0%, var(--white) 25%);
}
.card-iayt:hover { border-color: #9974c4; }
.card-badge-iayt {
  position: absolute;
  top: -10px;
  right: 16px;
  background: #7851a8;
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
}
.card-rating-iayt {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  background: #f7f0ff;
  border-radius: 6px;
  margin-bottom: 12px;
}
.card-rating-iayt .rating-note {
  font-size: 0.8rem;
  color: #5b3a7a;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}
.flag {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.flag-online { background: #eaf0ec; color: var(--sage-dark); }
.flag-mil { background: #eaefff; color: #3a4b87; }
.flag-fin { background: #fdf6e3; color: #8b6a28; }
.flag-work { background: #f4eaff; color: #6b3d94; }

.card-bio {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 16px;
  line-height: 1.55;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.card-footer .btn-primary {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.9rem;
  justify-content: center;
}
.card-footer .btn-secondary {
  padding: 10px 14px;
  font-size: 0.85rem;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.load-more-wrap .btn { min-width: 280px; justify-content: center; }

.empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-soft);
  grid-column: 1 / -1;
}
.empty h3 { margin-bottom: 8px; }

/* ---------- How it works ---------- */
.how-section {
  background: var(--cream-2);
  padding: 72px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-section h2 {
  text-align: center;
  margin-bottom: 40px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.how-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.how-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.how-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.how-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
}
.footer-brand {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 4px;
}
.footer-tag { margin: 0; color: var(--ink-mute); font-size: 0.88rem; }
.footer-meta p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 43, 36, 0.6);
  backdrop-filter: blur(4px);
}
.modal-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px 36px;
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 560px) {
  .modal-card { padding: 36px 24px 24px; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--ink-mute);
  cursor: pointer;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 50%;
}
.modal-close:hover { background: var(--cream-2); color: var(--ink); }

/* ---------- Lead modal ---------- */
.lead-modal-card { max-width: 600px; }
.lead-header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.lead-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage-dark);
  font-weight: 700;
  margin-bottom: 6px;
}
.lead-title {
  font-size: 1.6rem;
  margin: 0 0 8px;
  line-height: 1.2;
}
.lead-meta {
  color: var(--ink-mute);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.lead-meta-sep { margin: 0 6px; }
.lead-rating {
  font-size: 0.92rem;
  color: var(--gold-dark);
  font-weight: 600;
}

.lead-form .form-row { margin-bottom: 14px; }
.lead-form label {
  display: block;
}
.lead-form label span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122, 150, 128, 0.15);
}
.lead-form textarea {
  min-height: 140px;
  font-family: inherit;
  line-height: 1.5;
}
.lead-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.form-disclaimer {
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin: 12px 0 6px;
  text-align: center;
}
.form-note {
  font-size: 0.9rem;
  margin-top: 10px;
  min-height: 1.2em;
  padding: 8px 0;
  text-align: center;
}
.form-note.success {
  color: var(--sage-dark);
  padding: 12px 14px;
  background: var(--sage-light);
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 0.88rem;
}
.form-note.error { color: var(--accent); }

/* ---------- Explore section (main page) ---------- */
.explore-section {
  padding: 72px 24px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.explore-section h2 {
  text-align: center;
  margin-bottom: 8px;
}
.explore-intro {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 48px;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.explore-group h3 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--sage-dark);
  font-weight: 700;
  font-family: "Inter", sans-serif;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.explore-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.explore-group li {
  margin-bottom: 8px;
}
.explore-group li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.12s ease;
}
.explore-group li a:hover { color: var(--accent); }
.explore-group li a span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-mute);
  background: var(--cream-2);
  padding: 2px 8px;
  border-radius: 100px;
}

/* ---------- Programmatic Landing Pages ---------- */
.breadcrumb {
  padding: 20px 24px 0;
  font-size: 0.88rem;
  color: var(--ink-mute);
}
.breadcrumb a {
  color: var(--ink-soft);
  font-weight: 500;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .bc-sep {
  margin: 0 8px;
  color: var(--ink-mute);
}
.breadcrumb .bc-current {
  color: var(--ink);
  font-weight: 500;
}

.page-hero {
  padding: 28px 24px 48px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero .container { max-width: 900px; }
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  margin: 10px 0 14px;
}
.page-hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 28px;
}
.page-hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.page-hero-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.page-hero-stats .stat strong {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.page-hero-stats .stat span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  font-weight: 600;
}
@media (max-width: 640px) {
  .page-hero-stats { gap: 22px; }
  .page-hero-stats .stat strong { font-size: 1.3rem; }
}

.page-main {
  padding: 48px 24px 40px;
  max-width: 1240px;
  margin: 0 auto;
}
.page-intro {
  max-width: 780px;
  margin: 0 auto 40px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.page-intro p { margin: 0 0 0.7em; }
.page-intro p:last-child { margin-bottom: 0; }
.page-intro strong { color: var(--ink); font-weight: 600; }

.page-results {
  margin-bottom: 56px;
}
.page-results .results-header {
  margin-bottom: 22px;
}

.page-related {
  padding: 40px 28px;
  background: var(--cream-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.page-related h2 {
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.related-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.related-grid li a {
  display: block;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.12s ease;
}
.related-grid li a:hover {
  border-color: var(--sage);
  color: var(--ink);
  transform: translateY(-1px);
}

/* =========================================================
 * Match Me Quiz v2
 * ========================================================= */

.quiz-modal-card {
  max-width: 640px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}

.quiz-progress-wrap {
  padding: 1.5rem 2rem 0.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.quiz-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sage), #c89b3c);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.quiz-progress-text {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.quiz-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.quiz-step h2 {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 0.5rem 0;
  color: var(--ink);
}
.quiz-step .quiz-sub {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem 0;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: #faf7f1;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.12s ease;
  text-align: left;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  width: 100%;
}
.quiz-option:hover {
  border-color: var(--sage);
  background: #fff;
  transform: translateY(-1px);
}
.quiz-option.active {
  border-color: var(--sage);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(123, 142, 113, 0.15);
}
.quiz-option-radio {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.2);
  margin-top: 2px;
  position: relative;
  transition: all 0.12s ease;
}
.quiz-option.active .quiz-option-radio {
  border-color: var(--sage);
  background: var(--sage);
}
.quiz-option.active .quiz-option-radio::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}
.quiz-option-text {
  flex: 1;
}
.quiz-option-label {
  font-weight: 500;
  line-height: 1.35;
  display: block;
}
.quiz-option-hint {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
  display: block;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem 1.5rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
}
.quiz-nav .btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}
.quiz-nav .btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* ----- Quiz form (final step: name/email/phone) ----- */
.quiz-form .form-row {
  margin-bottom: 1rem;
}
.quiz-form label span {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.quiz-form input,
.quiz-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.12s;
}
.quiz-form input:focus,
.quiz-form textarea:focus {
  outline: none;
  border-color: var(--sage);
}
.quiz-form .form-disclaimer {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.75rem;
  line-height: 1.45;
}

/* ----- Quiz results screen ----- */
.quiz-results-header {
  text-align: center;
  margin-bottom: 1.25rem;
}
.quiz-results-header h2 {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.35rem 0;
  color: var(--ink);
}
.quiz-results-header p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.95rem;
}

.quiz-match-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1.25rem 0 1.5rem 0;
}
.quiz-match {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem;
  background: #faf7f1;
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  position: relative;
}
.quiz-match-rank {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 26px;
  height: 26px;
  background: var(--sage);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.quiz-match-img {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: #eee;
}
.quiz-match-body {
  flex: 1;
  min-width: 0;
}
.quiz-match-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 0.2rem 0;
  line-height: 1.25;
}
.quiz-match-location {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0 0 0.35rem 0;
}
.quiz-match-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.quiz-match-rating strong {
  color: var(--ink);
}
.quiz-match-why {
  font-size: 0.8rem;
  color: #5a6b52;
  margin: 0.35rem 0 0 0;
  font-style: italic;
}

.quiz-results-footer {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(123, 142, 113, 0.08), rgba(200, 155, 60, 0.05));
  border: 1.5px solid rgba(123, 142, 113, 0.2);
  border-radius: 10px;
  margin-top: 0.5rem;
}
.quiz-results-footer p {
  margin: 0 0 0.75rem 0;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}

.quiz-success {
  text-align: center;
  padding: 0.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}
.quiz-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem auto;
}
.quiz-success h2 {
  font-family: "Fraunces", serif;
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 1rem 0;
  color: var(--ink);
  line-height: 1.2;
}
.quiz-success p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 0.85rem auto;
  text-align: left;
}
.quiz-success p:first-of-type {
  text-align: center;
  background: var(--cream);
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 0.92rem;
}
.quiz-success p strong { color: var(--ink); font-weight: 600; }
.quiz-success .quiz-success-sub {
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-style: italic;
  margin: 1rem auto 0;
  text-align: center;
  max-width: 420px;
}
@media (max-width: 640px) {
  .quiz-success h2 { font-size: 1.4rem; }
  .quiz-success p { font-size: 0.92rem; max-width: 100%; }
  .quiz-success p:first-of-type { padding: 14px 16px; font-size: 0.88rem; }
}

.quiz-error {
  color: #c24635;
  background: rgba(194, 70, 53, 0.08);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-top: 0.75rem;
}

/* Mobile */
@media (max-width: 560px) {
  .quiz-body { padding: 1.5rem 1.25rem; }
  .quiz-nav { padding: 0.9rem 1.25rem 1.25rem 1.25rem; }
  .quiz-progress-wrap { padding: 1.25rem 1.25rem 0.75rem 1.25rem; }
  .quiz-step h2 { font-size: 1.35rem; }
  .quiz-option { padding: 0.85rem 0.95rem; font-size: 0.9rem; }
  .quiz-match-img { width: 48px; height: 48px; }
}

/* ============================================
   Phase A Trust Upgrades
   Brand hero treatment, verified mark, freshness,
   established-since, letter-placeholder fix
   ============================================ */

/* Brand hero photo backgrounds */
.brand-hero-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.brand-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(32, 33, 37, 0.25) 0%,
    rgba(32, 33, 37, 0.55) 65%,
    rgba(32, 33, 37, 0.78) 100%);
  pointer-events: none;
}
.brand-hero-photo > * { position: relative; z-index: 1; }

/* Trust mark — "Verified by OYP" shield */
.trust-mark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: var(--sage-light);
  color: var(--sage-dark);
  border: 1px solid var(--sage);
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.trust-mark::before {
  content: "✓";
  font-weight: 700;
}
.trust-mark-lg {
  padding: 5px 12px;
  font-size: 0.78rem;
  gap: 6px;
}

/* Freshness pill */
.freshness-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: var(--peach-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.freshness-pill::before {
  content: "◷";
  font-size: 0.85em;
  color: var(--brown-dark);
}

/* Established since */
.established-since {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: var(--brown-soft);
  color: var(--brown-dark);
  border: 1px solid var(--brown);
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Trust row on cards — groups the signals */
.card-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 8px;
  align-items: center;
}

/* Letter-placeholder upgrade — brand gradient + subtle pattern */
.avatar-placeholder {
  background: linear-gradient(135deg,
    var(--sage) 0%,
    var(--sage-dark) 100%);
  color: var(--peach);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.avatar-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 25% 30%,
    rgba(239, 209, 185, 0.22) 0%,
    transparent 40%
  );
  pointer-events: none;
}
.avatar-placeholder > * { position: relative; z-index: 1; }

/* Flagship hero photo over-layer for homepage */
.hero-photo-layer {
  position: absolute;
  inset: 0;
  background-image: url('/ytt/brand-assets/rice-paddy-warrior.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
}


/* ============================================
   Move 2 — Featured top 3 cards
   ============================================ */
.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  margin: 0 0 36px;
}
@media (max-width: 960px) {
  .featured-grid { grid-template-columns: 1fr; }
}
.featured-card {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(32,33,37,0.1);
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(32,33,37,0.15) 0%,
    rgba(32,33,37,0.55) 45%,
    rgba(32,33,37,0.92) 100%);
  pointer-events: none;
}
.featured-body {
  position: absolute;
  inset: 0;
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  z-index: 1;
}
.featured-rank {
  position: absolute;
  top: 22px;
  left: 28px;
  padding: 6px 12px;
  background: var(--peach);
  color: var(--sage-dark);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.featured-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 10px;
}
.featured-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 6px;
  color: var(--cream);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.featured-location {
  font-size: 0.92rem;
  color: rgba(250,246,239,0.8);
  margin-bottom: 14px;
}
.featured-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.featured-rating-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--peach);
  line-height: 1;
}
.featured-rating-stars {
  display: inline-block;
  background: linear-gradient(90deg, var(--peach) var(--r, 0%), rgba(250,246,239,0.28) var(--r, 0%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.featured-rating-reviews {
  font-size: 0.82rem;
  color: rgba(250,246,239,0.78);
}
.featured-rating-note {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(250,246,239,0.14);
  border: 1px solid rgba(250,246,239,0.35);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--peach);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(4px);
}
.featured-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: rgba(250,246,239,0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.featured-desig { font-weight: 600; }
.featured-since {
  padding: 3px 9px;
  background: rgba(192,153,113,0.3);
  border: 1px solid rgba(192,153,113,0.55);
  border-radius: 100px;
  color: var(--peach);
}
.featured-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.featured-lead-btn {
  padding: 12px 20px;
  background: var(--peach);
  color: var(--sage-dark);
  border: 0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.featured-lead-btn:hover { background: #f8e0c5; }
.featured-details {
  font-size: 0.82rem;
  color: rgba(250,246,239,0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ============================================
   Move 3 — Rhythm breaks
   ============================================ */
.rhythm-break {
  grid-column: 1 / -1;
  margin: 36px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.rhythm-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-dark);
  margin-bottom: 12px;
}
.rhythm-kicker-dark { color: var(--peach); }
.rhythm-headline {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  color: var(--sage-dark);
}
.rhythm-headline-dark { color: var(--cream); }
.rhythm-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 580px;
  line-height: 1.55;
}
.rhythm-sub-dark { color: rgba(250,246,239,0.88); }

/* Peach quiz block */
.rhythm-quiz {
  background: linear-gradient(135deg, var(--peach) 0%, var(--peach-soft) 100%);
  padding: 56px 48px;
  text-align: left;
  display: flex;
  align-items: center;
  border: 1px solid rgba(192,153,113,0.25);
}
.rhythm-quiz-inner { max-width: 640px; }
.rhythm-quiz-btn {
  background: var(--sage-dark);
  color: var(--cream);
  border-color: var(--sage-dark);
  padding: 15px 28px;
  font-size: 0.96rem;
}
.rhythm-quiz-btn:hover {
  background: var(--accent-hover);
  color: var(--cream);
}

/* Destination strip */
.rhythm-destinations {
  background: var(--cream);
  padding: 44px 36px;
  border: 1px solid var(--line);
}
.rhythm-destinations .rhythm-kicker {
  text-align: center;
  margin-bottom: 22px;
}
.rhythm-dest-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 960px) {
  .rhythm-dest-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .rhythm-dest-grid { grid-template-columns: repeat(2, 1fr); }
}
.rhythm-dest-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}
.rhythm-dest-grid a:hover {
  border-color: var(--sage);
  background: var(--sage-light);
  transform: translateY(-2px);
}
.rhythm-dest-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.rhythm-dest-count {
  font-size: 0.72rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Dark submit band */
.rhythm-submit {
  background:
    linear-gradient(135deg, rgba(32,33,37,0.82) 0%, rgba(61,79,50,0.92) 100%),
    url('/ytt/brand-assets/jungle-silhouette.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 48px;
  display: flex;
  align-items: center;
  border: 0;
}
.rhythm-submit-inner { max-width: 680px; }
.rhythm-submit-btn {
  background: var(--peach);
  color: var(--sage-dark);
  border-color: var(--peach);
  padding: 15px 28px;
  font-size: 0.96rem;
}
.rhythm-submit-btn:hover {
  background: #f8e0c5;
  color: var(--sage-dark);
}

@media (max-width: 720px) {
  .rhythm-quiz,
  .rhythm-destinations,
  .rhythm-submit { padding: 36px 24px; }
  .rhythm-break { margin: 24px 0; }
}

/* The regular .grid keeps rendering between rhythm blocks — no change needed,
   but we want consistent spacing. */
.results .grid + .grid { margin-top: 24px; }

/* ============================================
   Expanded filters — region pills, format toggle,
   lineage row, price coming-soon, hints
   ============================================ */

/* Region pill row — higher-contrast, feels like quick-access */
.region-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill-region {
  background: var(--cream);
  border-color: var(--brown);
  color: var(--sage-dark);
  font-weight: 600;
}
.pill-region:hover {
  background: var(--peach-soft);
  border-color: var(--brown-dark);
}
.pill-region.active {
  background: var(--sage-dark);
  color: var(--peach);
  border-color: var(--sage-dark);
}

/* Format toggle — 2-wide segmented */
.format-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.format-btn {
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.format-btn:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
}
.format-btn.active {
  background: var(--sage-dark);
  color: var(--peach);
  border-color: var(--sage-dark);
}

/* Filter hint text below a group */
.filter-hint {
  margin-top: 6px;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--ink-mute);
  font-style: italic;
}

/* "Coming v3" badge on price filter */
.filter-coming-soon .filter-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.coming-soon-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--brown);
  color: var(--cream);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
}
.filter-coming-soon input[type="range"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.filter-coming-soon input[type="range"]::-webkit-slider-thumb {
  cursor: not-allowed;
}
