/* ============================================================
   GREEN BADGER — VOICE
   Design-locked port of gb-voice-proto (approved prototype, 2026-08-22).
   Consumes HOME/SHOP/GUIDE's ratified tokens (--dm-text, --dm-primary,
   --gb-font-en, --gb-font-ja) instead of a private palette/type scale.
   Review rows stay a ledger, never a card grid. Green Badger scope only.
   ============================================================ */

body.dm-gb-voice {
  --gb-voice-bg: #0a0b0c;
  --gb-voice-line: #1c1f22;
  --gb-voice-gold: var(--dm-primary, #b89a5b);
  --gb-voice-fg: var(--dm-text, #f4f1e8);
  --gb-voice-fg-2: #9a948b;
  --gb-voice-fg-3: #625e57;
  --gb-voice-serif: var(--gb-font-en, "Cormorant Garamond", Georgia, serif);
  --gb-voice-sans: var(--gb-font-ja, "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif);
  --gb-voice-ease: cubic-bezier(.37,0,.63,1);
  --gb-voice-pad: clamp(22px, 4.2vw, 60px);
  background: var(--gb-voice-bg);
  color: var(--gb-voice-fg);
}

/* -------------------------------------------------- 1. Astra neutralization,
   same discipline as SHOP/GUIDE/DASHBOARD */
body.dm-gb-voice .site-content,
body.dm-gb-voice #content,
body.dm-gb-voice .content-area,
body.dm-gb-voice main.site-main {
  background: var(--gb-voice-bg);
}
body.dm-gb-voice .site-content > .ast-container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
body.dm-gb-voice #primary { width: 100%; margin: 0; margin-top: 0 !important; padding: 0; border: 0; }
body.dm-gb-voice #secondary { display: none; }
body.dm-gb-voice .entry-header { display: none; }

/* stale global "street-collage" skin leftover (see sections.css P1-A) — this
   page sits outside sections.css's own selector scope (a plain WP Page, not
   the home/shop pattern shell) so the same defeat is re-asserted here. */
body.dm-gb-voice.dm-skin-street-collage { background-color: var(--gb-voice-bg); }
body.dm-gb-voice.dm-skin-street-collage::before { content: none; }

/* neutralise foreign brand nav accent leaking via global unscoped !important rule */
body.dm-gb-voice .main-header-menu > .current-menu-item > .menu-link,
body.dm-gb-voice .main-header-menu > .current_page_item > .menu-link {
  color: var(--gb-voice-gold) !important;
}
body.dm-gb-voice .main-header-menu > .current-menu-item > .menu-link::after,
body.dm-gb-voice .main-header-menu > .current_page_item > .menu-link::after {
  background: var(--gb-voice-gold) !important;
}

body.dm-gb-voice .gb-voice {
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 84px) var(--gb-voice-pad) 110px;
  font-family: var(--gb-voice-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* Astra/global anchor defaults (including its blue a:hover customizer rule)
   never reach VOICE links — every link role below sets its own explicit
   color at every state, so nothing here can fall back to blue. */
body.dm-gb-voice .gb-voice a { color: inherit; text-decoration: none; }
body.dm-gb-voice .gb-voice a:visited { color: inherit; }

/* reveal — quiet and continuous, never pop */
body.dm-gb-voice .gb-voice-rv {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .7s var(--gb-voice-ease), transform .7s var(--gb-voice-ease);
}
body.dm-gb-voice .gb-voice-rv.is-in { opacity: 1; transform: none; }

/* -------------------------------------------------------------- 2. hero */
body.dm-gb-voice .gb-voice-hero {
  min-height: 460px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: end;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--gb-voice-line);
}
body.dm-gb-voice .gb-voice-eyebrow,
body.dm-gb-voice .gb-voice-section-kicker,
body.dm-gb-voice .gb-voice-score-label,
body.dm-gb-voice .gb-voice-score-count,
body.dm-gb-voice .gb-voice-feature__meta span,
body.dm-gb-voice .gb-voice-row__product span,
body.dm-gb-voice .gb-voice-close__label {
  color: var(--gb-voice-gold);
  font-family: var(--gb-voice-sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
body.dm-gb-voice .gb-voice-hero h1 {
  margin: 22px 0 30px;
  font-family: var(--gb-voice-serif);
  font-size: clamp(60px, 7.4vw, 118px);
  line-height: .84;
  font-weight: 500;
  letter-spacing: -.045em;
  color: var(--gb-voice-fg);
}
body.dm-gb-voice .gb-voice-hero h1 em { font-style: normal; font-weight: 500; color: var(--gb-voice-gold); }
body.dm-gb-voice .gb-voice-intro { color: var(--gb-voice-fg-2); font-size: 15px; line-height: 1.9; margin: 0; }

body.dm-gb-voice .gb-voice-hero__score {
  justify-self: end;
  width: min(310px, 100%);
  padding-top: 22px;
  border-top: 1px solid var(--gb-voice-gold);
}
body.dm-gb-voice .gb-voice-hero__score strong {
  display: block;
  margin: 18px 0 4px;
  font-family: var(--gb-voice-serif);
  font-weight: 500;
  font-size: 82px;
  line-height: .9;
  color: var(--gb-voice-fg);
}
body.dm-gb-voice .gb-voice-score-stars { display: block; color: var(--gb-voice-gold); letter-spacing: .15em; font-size: 14px; margin-bottom: 12px; }
body.dm-gb-voice .gb-voice-score-count { color: var(--gb-voice-fg-2); }
body.dm-gb-voice .gb-voice-hero__score--empty strong { color: var(--gb-voice-fg-3); }

/* -------------------------------------------------------------- 3. featured */
body.dm-gb-voice .gb-voice-feature {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 78px 0 82px;
  border-bottom: 1px solid var(--gb-voice-line);
}
body.dm-gb-voice .gb-voice-feature__index { color: var(--gb-voice-gold); font-family: var(--gb-voice-serif); font-size: 18px; }
body.dm-gb-voice .gb-voice-feature blockquote {
  grid-column: 2;
  margin: 0;
  max-width: 1050px;
  font-family: var(--gb-voice-serif);
  font-weight: 500;
  font-size: clamp(38px, 4.6vw, 70px);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--gb-voice-fg);
}
body.dm-gb-voice .gb-voice-feature__meta {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr .7fr .7fr auto;
  gap: 28px;
  align-items: end;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--gb-voice-line);
}
body.dm-gb-voice .gb-voice-feature__meta > div { display: flex; flex-direction: column; gap: 8px; }
body.dm-gb-voice .gb-voice-feature__meta strong { font-family: var(--gb-voice-serif); font-weight: 500; font-size: 14px; color: var(--gb-voice-fg); }
body.dm-gb-voice .gb-voice-feature__meta a,
body.dm-gb-voice .gb-voice-close a {
  color: var(--gb-voice-fg);
  border-bottom: 1px solid var(--gb-voice-gold);
  padding-bottom: 4px;
  font-family: var(--gb-voice-sans);
  font-size: 10px;
  letter-spacing: .16em;
  transition: color .4s var(--gb-voice-ease), border-color .4s var(--gb-voice-ease);
}
body.dm-gb-voice .gb-voice-feature__meta a:hover,
body.dm-gb-voice .gb-voice-feature__meta a:focus-visible,
body.dm-gb-voice .gb-voice-close a:hover,
body.dm-gb-voice .gb-voice-close a:focus-visible { color: var(--gb-voice-gold); }

/* -------------------------------------------------------------- 4. index + filter */
body.dm-gb-voice .gb-voice-index { padding: 78px 0 0; }
body.dm-gb-voice .gb-voice-section-title {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}
body.dm-gb-voice .gb-voice-section-title h2 {
  margin: 10px 0 0;
  font-family: var(--gb-voice-serif);
  font-size: 52px;
  font-weight: 500;
  color: var(--gb-voice-fg);
}

body.dm-gb-voice .gb-voice-filter { display: flex; gap: 28px; }
body.dm-gb-voice .gb-voice-filter button {
  position: relative;
  border: 0;
  background: none;
  color: var(--gb-voice-fg-3);
  padding: 0 0 8px;
  font-family: var(--gb-voice-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color .42s var(--gb-voice-ease);
}
body.dm-gb-voice .gb-voice-filter button::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gb-voice-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--gb-voice-ease);
}
body.dm-gb-voice .gb-voice-filter button:hover,
body.dm-gb-voice .gb-voice-filter button.is-active { color: var(--gb-voice-fg); }
body.dm-gb-voice .gb-voice-filter button.is-active::after,
body.dm-gb-voice .gb-voice-filter button:hover::after { transform: scaleX(1); }
body.dm-gb-voice .gb-voice-filter button:focus-visible,
body.dm-gb-voice .gb-voice-feature__meta a:focus-visible,
body.dm-gb-voice .gb-voice-close a:focus-visible,
body.dm-gb-voice .gb-voice-row__product a:focus-visible {
  outline: 1px solid var(--gb-voice-gold);
  outline-offset: 4px;
}

/* -------------------------------------------------------------- 5. review ledger */
body.dm-gb-voice .gb-voice-list { border-top: 1px solid var(--gb-voice-line); }
body.dm-gb-voice .gb-voice-row {
  display: grid;
  grid-template-columns: 70px 210px minmax(0,1fr) 110px 110px;
  gap: 30px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--gb-voice-line);
}
body.dm-gb-voice .gb-voice-row.is-hidden { display: none; }
body.dm-gb-voice .gb-voice-row__no { color: var(--gb-voice-gold); font-family: var(--gb-voice-serif); font-size: 14px; }
body.dm-gb-voice .gb-voice-row__product { display: flex; flex-direction: column; gap: 8px; }
body.dm-gb-voice .gb-voice-row__product strong { font-family: var(--gb-voice-serif); font-weight: 500; font-size: 16px; color: var(--gb-voice-fg); }
body.dm-gb-voice .gb-voice-row__product a { transition: color .4s var(--gb-voice-ease); }
body.dm-gb-voice .gb-voice-row__product a:hover strong,
body.dm-gb-voice .gb-voice-row__product a:focus-visible strong { color: var(--gb-voice-gold); }
body.dm-gb-voice .gb-voice-row__body p { margin: 0; color: var(--gb-voice-fg-2); font-size: 14px; line-height: 1.8; max-width: 680px; }
body.dm-gb-voice .gb-voice-row__rating { color: var(--gb-voice-gold); font-size: 11px; letter-spacing: .08em; }
body.dm-gb-voice .gb-voice-row__date { color: var(--gb-voice-fg-3); font-size: 10px; }

/* -------------------------------------------------------------- 6. empty state */
body.dm-gb-voice .gb-voice-empty {
  padding: 70px 0 40px;
  border-top: 1px solid var(--gb-voice-line);
  border-bottom: 1px solid var(--gb-voice-line);
  margin-top: 78px;
}
body.dm-gb-voice .gb-voice-empty .gb-voice-section-kicker { display: block; margin: 0 0 18px; }
body.dm-gb-voice .gb-voice-empty__body { margin: 0; color: var(--gb-voice-fg-2); font-size: 15px; line-height: 1.9; }

/* -------------------------------------------------------------- 7. close */
body.dm-gb-voice .gb-voice-close {
  margin-top: 100px;
  padding: 68px 0 18px;
  border-top: 1px solid var(--gb-voice-gold);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
body.dm-gb-voice .gb-voice-close p {
  margin: 20px 0 0;
  font-family: var(--gb-voice-serif);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .92;
  letter-spacing: -.04em;
  color: var(--gb-voice-fg);
}
body.dm-gb-voice .gb-voice-close p em { font-style: normal; color: var(--gb-voice-gold); }

/* -------------------------------------------------------------- 8. mobile */
@media (max-width: 900px) {
  body.dm-gb-voice .gb-voice { padding: 60px 20px 96px; }
  body.dm-gb-voice .gb-voice-hero { min-height: auto; grid-template-columns: 1fr; gap: 44px; padding-bottom: 40px; }
  body.dm-gb-voice .gb-voice-hero h1 { font-size: 58px; }
  body.dm-gb-voice .gb-voice-hero__score { justify-self: start; width: 220px; padding-top: 18px; }
  body.dm-gb-voice .gb-voice-hero__score strong { font-size: 58px; }

  body.dm-gb-voice .gb-voice-feature { grid-template-columns: 1fr; padding: 54px 0 58px; }
  body.dm-gb-voice .gb-voice-feature__index,
  body.dm-gb-voice .gb-voice-feature blockquote,
  body.dm-gb-voice .gb-voice-feature__meta { grid-column: 1; }
  body.dm-gb-voice .gb-voice-feature blockquote { font-size: 38px; }
  body.dm-gb-voice .gb-voice-feature__meta { grid-template-columns: 1fr 1fr; gap: 20px; }
  body.dm-gb-voice .gb-voice-feature__meta a { grid-column: 1/-1; justify-self: start; }

  body.dm-gb-voice .gb-voice-section-title { align-items: flex-start; flex-direction: column; gap: 22px; }
  body.dm-gb-voice .gb-voice-filter {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  body.dm-gb-voice .gb-voice-filter::-webkit-scrollbar { display: none; }

  body.dm-gb-voice .gb-voice-row {
    grid-template-columns: 40px 1fr auto;
    gap: 12px 16px;
    padding: 24px 0;
  }
  body.dm-gb-voice .gb-voice-row__product { grid-column: 2; }
  body.dm-gb-voice .gb-voice-row__rating { grid-column: 3; grid-row: 1; text-align: right; }
  body.dm-gb-voice .gb-voice-row__body { grid-column: 2/-1; }
  body.dm-gb-voice .gb-voice-row__date { grid-column: 2/-1; }

  body.dm-gb-voice .gb-voice-close { grid-template-columns: 1fr; align-items: start; }
  body.dm-gb-voice .gb-voice-close p { font-size: 52px; }
  body.dm-gb-voice .gb-voice-close a { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  body.dm-gb-voice .gb-voice-rv { opacity: 1; transform: none; transition: none; }
  body.dm-gb-voice .gb-voice-filter button,
  body.dm-gb-voice .gb-voice-filter button::after,
  body.dm-gb-voice .gb-voice-row__product a,
  body.dm-gb-voice .gb-voice-feature__meta a,
  body.dm-gb-voice .gb-voice-close a { transition: none !important; }
}
