/* ============================================================
   BLACK FLAG POOLS — Design System
   Layout language: Visitors (floating pill nav, centered
   two-tone headlines, eyebrow badges, floating cards over
   gradient artwork). Re-skinned dark: engraved gold on ink.
   ============================================================ */

/* ---------- Fonts (self-hosted, see fonts-local.css) ---------- */

:root {
  --bg:        #0d0d0d;
  --bg-deep:   #0a0a0a;
  --card:      #141414;
  --card-2:    #181818;
  --line:      #242424;
  --line-soft: #1d1d1d;
  --gold:      #c2a367;
  --gold-light:#d4b577;
  --gold-deep: #9c7f45;
  --gold-dim:  rgba(194, 163, 103, 0.12);
  --gold-line: rgba(194, 163, 103, 0.28);
  --teal:      #1c5367;
  --teal-deep: #103544;
  --cream:     #fdf5e6;
  --muted:     #a0a0a0;
  --faint:     #6e6e6e;
  --ink:       #141414;
  --success:   #6fbf8f;

  --font-display: 'IM Fell English', 'Iowan Old Style', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter Tight', -apple-system, 'Helvetica Neue', sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --pill: 999px;

  --w-wide: 1180px;
  --w-text: 720px;

  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --shadow-float: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(194,163,103,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type ---------- */

h1, h2, h3 { font-weight: 400; color: var(--cream); }

.display {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h1.display { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2.display { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3.display { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }

.display .dim { color: #7d7468; }
.display .gold { color: var(--gold); }

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--muted);
  max-width: 640px;
  margin-inline: auto;
  text-wrap: pretty;
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
  font-size: 1.15em;
}

/* Eyebrow badge pill — the Visitors section label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-line);
  border-radius: var(--pill);
  padding: 0.42em 1.1em;
}

/* ---------- Layout primitives ---------- */

.wrap { width: min(var(--w-wide), calc(100% - 48px)); margin-inline: auto; }

.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }

.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head .lede { margin-top: 18px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--pill);
  padding: 0.82em 1.7em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); color: var(--ink); }

.btn-ghost {
  background: rgba(253, 245, 230, 0.05);
  border-color: var(--line);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold-line); color: var(--cream); }

.btn-lg { font-size: 1.02rem; padding: 0.95em 2.1em; }

.microcopy { font-size: 0.8rem; color: var(--faint); margin-top: 14px; }

/* ---------- Floating pill nav (Visitors) ---------- */

.nav-shell {
  position: fixed;
  top: 18px;
  left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 16px;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 16, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(194, 163, 103, 0.16);
  border-radius: var(--pill);
  padding: 8px 10px 8px 14px;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.8);
  max-width: 100%;
}

.nav-logo { display: flex; align-items: center; gap: 10px; margin-right: 8px; }
.nav-logo img { width: 34px; height: 34px; border-radius: 50%; }
.nav-logo span {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55em 0.95em;
  border-radius: var(--pill);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); background: rgba(253, 245, 230, 0.06); }

.nav .btn { font-size: 0.88rem; padding: 0.6em 1.35em; margin-left: 6px; }

.nav-burger {
  display: none;
  background: none;
  border: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: '';
  position: absolute;
  left: 12px;
  width: 18px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-burger span { top: 20px; }
.nav-burger span::before { left: 0; top: -6px; }
.nav-burger span::after { left: 0; top: 6px; }
.nav-open .nav-burger span { transform: rotate(45deg); }
.nav-open .nav-burger span::before { transform: rotate(-90deg) translateX(-6px); }
.nav-open .nav-burger span::after { opacity: 0; }

.nav-mobile {
  display: none;
  position: fixed;
  top: 84px; left: 16px; right: 16px;
  z-index: 99;
  background: rgba(14, 14, 14, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(194, 163, 103, 0.18);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-float);
}
.nav-mobile a {
  display: block;
  color: var(--cream);
  font-size: 1.05rem;
  padding: 13px 14px;
  border-radius: var(--r-sm);
}
.nav-mobile a:hover { background: rgba(253, 245, 230, 0.05); }
.nav-mobile .btn { margin-top: 10px; width: 100%; }
.nav-open .nav-mobile { display: block; }

@media (max-width: 900px) {
  .nav-links, .nav > .btn { display: none; }
  .nav-burger { display: block; }
  .nav { padding: 6px 8px 6px 12px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(150px, 18vh, 200px) 0 clamp(60px, 8vw, 100px);
  text-align: center;
  overflow: hidden;
}

/* teal “ocean” glow artwork — stands in for Visitors' gradient mountains */
.glow-field {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(52% 42% at 50% 118%, rgba(28, 83, 103, 0.55), transparent 70%),
    radial-gradient(30% 26% at 18% 108%, rgba(28, 83, 103, 0.35), transparent 70%),
    radial-gradient(26% 22% at 82% 112%, rgba(194, 163, 103, 0.12), transparent 70%),
    var(--bg);
}

/* engraving-style grain */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.76 0 0 0 0 0.64 0 0 0 0 0.4 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero .eyebrow { margin-bottom: 26px; }
.hero .lede { margin-top: 22px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--gold);
  margin-top: 16px;
  letter-spacing: 0.04em;
}

/* Floating composition below hero copy (Visitors floating dashboard) */
.hero-float {
  margin-top: clamp(48px, 7vw, 84px);
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}
.hero-float > * { min-width: 0; }
@media (max-width: 900px) {
  .hero-float { flex-wrap: wrap; }
  .hero-float .hero-report { order: 3; }
}

.float-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}

/* ---------- Cards ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: rgba(194, 163, 103, 0.35); }

.card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.35rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--muted); }

.card-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  margin-bottom: 18px;
  font-size: 1.2rem;
}

/* ---------- Review cards / carousel ---------- */

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(330px, 78vw);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 8px 4px 26px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: center; }

.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.review-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.review-card .review-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.stars { color: var(--gold); letter-spacing: 0.18em; font-size: 0.9rem; }
.review-text {
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-name {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--cream);
  font-size: 1.05rem;
}
.review-meta { font-size: 0.75rem; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; }

.carousel-nav { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.carousel-nav button {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.carousel-nav button:hover { border-color: var(--gold-line); background: var(--card-2); }

/* ---------- Steps (How to become a member) ---------- */

.steps { counter-reset: step; }
.step-card { position: relative; padding-top: 38px; }
.step-num {
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-line);
  position: absolute;
  top: 22px; right: 26px;
}

/* ---------- Feature / service list rows ---------- */

.tick-list { list-style: none; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.tick-list li::before {
  content: '';
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--gold-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2a367' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid var(--gold-line);
}
.tick-list strong { color: var(--cream); font-weight: 600; }

/* ---------- Pricing ---------- */

.price-card { display: flex; flex-direction: column; gap: 18px; padding: 34px; }
.price-card.featured { border-color: var(--gold-line); background: linear-gradient(180deg, rgba(194,163,103,0.07), var(--card) 45%); }
.price-tier { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.price-amount { font-family: var(--font-serif); font-weight: 700; font-size: 2.9rem; color: var(--cream); line-height: 1; }
.price-amount small { font-size: 1.05rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; }
.price-note { font-size: 0.85rem; color: var(--faint); }
.price-card .tick-list { font-size: 0.92rem; }
.price-card .btn { margin-top: auto; }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--gold-line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--cream);
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.25s ease;
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 24px 22px; font-size: 0.95rem; color: var(--muted); }

/* ---------- Big CTA card (Visitors “A new age…” card) ---------- */

.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(60% 90% at 50% 130%, rgba(28, 83, 103, 0.5), transparent 70%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--r-lg) + 8px);
  padding: clamp(56px, 8vw, 96px) 28px;
}
.cta-card .hero-cta { margin-top: 30px; }
.cta-card img.cta-motif {
  width: 120px;
  margin: 0 auto 26px;
  opacity: 0.95;
}

/* ---------- Footer ---------- */

footer {
  position: relative;
  border-top: 1px solid var(--line-soft);
  margin-top: clamp(60px, 8vw, 100px);
  padding: clamp(56px, 7vw, 84px) 0 0;
  overflow: hidden;
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 60px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { font-size: 0.9rem; color: var(--faint); max-width: 300px; margin-top: 14px; }
.footer-brand .nav-logo img { width: 44px; height: 44px; }

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--cream); }

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--faint);
  margin-top: 18px;
}
.footer-status::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.footer-motif {
  display: flex;
  justify-content: center;
  margin-bottom: -70px;
  pointer-events: none;
}
.footer-motif img {
  width: min(340px, 60vw);
  opacity: 0.5;
  filter: drop-shadow(0 0 40px rgba(194, 163, 103, 0.12));
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
}

.footer-legal {
  border-top: 1px solid var(--line-soft);
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--faint);
}
.footer-legal a { color: var(--faint); }
.footer-legal a:hover { color: var(--gold); }

/* ---------- Forms ---------- */

.form-card { max-width: 760px; margin-inline: auto; padding: clamp(28px, 4vw, 44px); }

.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field > label { font-size: 0.88rem; font-weight: 600; color: var(--cream); }
.field .hint { font-size: 0.8rem; color: var(--faint); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  transition: border-color 0.2s ease;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
input::placeholder, textarea::placeholder { color: var(--faint); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.radio-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pills label {
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 10px 20px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--muted);
  transition: all 0.15s ease;
  user-select: none;
}
.radio-pills input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pills label:has(input:checked) {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--cream);
}

.checkbox-row { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; }
.checkbox-row input {
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex: 0 0 auto;
}

.form-note {
  background: var(--gold-dim);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--cream);
  margin-bottom: 24px;
}
.form-note strong { color: var(--gold-light); }

.form-success { text-align: center; padding: 40px 20px; display: none; }
.form-success.show { display: block; }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.g-a { grid-column: span 7; aspect-ratio: 16/10; }
.g-b { grid-column: span 5; aspect-ratio: 4/3.57; }
.g-c { grid-column: span 6; aspect-ratio: 16/9.5; }
.g-d { grid-column: span 6; aspect-ratio: 16/9.5; }
@media (max-width: 720px) {
  .g-a, .g-b, .g-c, .g-d { grid-column: span 12; }
}

/* ---------- Preview-switch hero (home) ---------- */

.hero2-track { position: relative; }

.hero2-pin { position: relative; overflow: hidden; }

.hero2-main {
  width: 100%;
  padding: 128px 0 44px;
  display: flex;
  align-items: center;
}

/* Pinned scroll-driven mode: md+ viewports with motion allowed (CSS-only so
   it always tracks the real viewport, even if resize events never fire). */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hero2-track { height: 340vh; }
  .hero2-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .hero2-main { flex: 1; min-height: 0; padding: 96px 0 28px; }
}

.hero2-split {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: 100%;
}

/* left: rail + preview */
.hero2-left {
  display: flex;
  gap: 18px;
  align-items: center;
  flex: 0 0 auto;
  width: min(480px, 46%);
  min-width: 0;
}

.hero2-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.hero2-rail button {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  color: var(--muted);
  background: none;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 11px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hero2-rail button:hover { color: var(--cream); background: rgba(253, 245, 230, 0.05); }
.hero2-rail button.active {
  color: var(--cream);
  font-weight: 600;
  background: var(--card-2);
  border-color: var(--gold-line);
}

.hero2-preview { position: relative; flex: 1; min-width: 0; }
.hero2-panel { transition: opacity 0.5s ease; }
.hero2-panel:not(.active) { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.hero2-panel.active { position: relative; opacity: 1; }

.panel-card {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: min(60vh, 540px);
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.panel-card img.cover { width: 100%; height: 100%; object-fit: cover; flex: 1; min-height: 0; }
.panel-card .panel-pad {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: radial-gradient(80% 70% at 50% 110%, rgba(28, 83, 103, 0.4), transparent 70%);
}
.panel-card .panel-pad img { max-height: 100%; object-fit: contain; }
.panel-caption {
  flex-shrink: 0;
  padding: 16px 20px;
  border-top: 1px solid var(--line-soft);
  background: rgba(10, 10, 10, 0.65);
  font-size: 0.82rem;
  color: var(--muted);
}
.panel-caption strong { color: var(--cream); display: block; font-family: var(--font-serif); font-size: 1rem; }
.panel-review-body { flex-shrink: 0; padding: 18px 22px 20px; display: grid; gap: 8px; }
.panel-review-body .review-text { -webkit-line-clamp: 4; font-size: 0.88rem; }

/* right: content */
.hero2-right { flex: 1; min-width: 0; }

.hero2-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 5px 12px 5px 6px;
  margin-bottom: 22px;
  font-size: 0.82rem;
  color: var(--muted);
}
.hero2-badge .tag {
  background: var(--gold-dim);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  border-radius: 7px;
  padding: 3px 7px;
}

.hero2-right h1 { margin-bottom: 18px; font-size: clamp(2.3rem, 4.3vw, 3.7rem); }
.hero2-right .lede { margin-inline: 0; }

.rating-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: rgba(253, 245, 230, 0.03);
  border-radius: var(--pill);
  padding: 6px 14px 6px 10px;
  font-size: 0.86rem;
  color: var(--muted);
}
.rating-pill .star { color: var(--gold); }
.rating-pill strong { color: var(--cream); }

.hero2-cta { justify-content: flex-start; margin-top: 30px; }

.hero2-proof { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 0.86rem; color: var(--faint); }
.hero2-avatars { display: flex; }
.hero2-avatars img {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg);
}
.hero2-avatars img + img { margin-left: -9px; }

/* cert strip (the component's logo strip) */
.cert-strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 10, 10, 0.5);
}
.cert-strip-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.cert-strip-inner::-webkit-scrollbar { display: none; }
.cert-item {
  display: flex;
  align-items: center;
  flex: 1 0 auto;
}
.cert-item > span {
  width: 100%;
  text-align: center;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: #8d8474;
  white-space: nowrap;
}
.cert-item + .cert-item::before {
  content: '';
  width: 1px; height: 34px;
  background: var(--line-soft);
  flex-shrink: 0;
}

@media (max-width: 899px) {
  .hero2-main { padding-top: 118px; }
  .hero2-split { flex-direction: column-reverse; align-items: stretch; gap: 30px; }
  .hero2-left { flex-direction: column; width: 100%; align-items: stretch; gap: 14px; }
  .hero2-rail { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .hero2-rail::-webkit-scrollbar { display: none; }
  .hero2-right { text-align: center; }
  .hero2-right .lede { margin-inline: auto; }
  .rating-pills, .hero2-proof, .hero2-cta { justify-content: center; }
  .panel-card { aspect-ratio: 4 / 3.6; max-height: 52vh; }
}

/* ---------- Merch / store banner ---------- */

.merch-banner-link {
  display: block;
  border-radius: calc(var(--r-lg) + 8px);
  overflow: hidden;
  border: 1px solid var(--gold-line);
  box-shadow: var(--shadow-float);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.merch-banner-link:hover { transform: translateY(-4px); border-color: var(--gold); }
.merch-banner-link img { width: 100%; height: auto; display: block; }

/* ---------- Zone chips ---------- */

.zone-chips { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.zone-chip {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  border: 1px solid var(--gold-line);
  background: var(--card);
  border-radius: var(--pill);
  padding: 14px 34px;
}
.zone-chip small { display: block; font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Utility ---------- */

.center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 34px; } .mt-4 { margin-top: 56px; }
.gold-rule {
  width: 74px; height: 1px;
  margin: 26px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.badge-strip { display: flex; gap: clamp(18px, 4vw, 44px); justify-content: center; align-items: center; flex-wrap: wrap; }
.badge-strip img { width: clamp(92px, 12vw, 138px); height: auto; }

.divider-tentacle { display: flex; justify-content: center; padding: 10px 0 0; }
.divider-tentacle img { width: 120px; opacity: 0.5; }
