/*
Theme Name: 夜間部 NightDept
Theme URI: https://nightdeptt.com
Author: eeasy
Author URI: https://eeasy.ai
Description: Dark-luxe custom WordPress theme for 夜間部 NightDept — a Taichung legal night-life agency brand. Champagne gold accents on deep blacks; wine-red privacy blocks; LINE-green CTA. Single responsive template merging Desktop-1440 + Mobile-390 artboards. 18+ legal, privacy-first.
Text Domain: nightdept
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, luxury, custom-colors, responsive-layout, custom-menu, custom-logo
*/

/* =========================================================================
   1. DESIGN TOKENS  (:root custom properties — single source of truth)
   ========================================================================= */
:root {
  /* --- Backgrounds (60% dominant deep blacks) --- */
  --nd-bg-1: #08090C;          /* base page bg */
  --nd-bg-2: #0A0B0F;          /* alt section bg */
  --nd-bg-3: #0E0D11;          /* banner / panel bg */
  --nd-bg-footer: #060709;     /* footer bg */

  /* --- Cards --- */
  --nd-card: #0E1320;          /* default card */
  --nd-card-wine: #13090C;     /* privacy / agency card */

  /* --- Champagne gold (10% accent) --- */
  --nd-gold: #C6A15B;          /* lines / borders */
  --nd-gold-2: #E6CE94;        /* heading emphasis / CTA gradient top */

  /* --- Wine red (privacy / agency only) --- */
  --nd-wine: #7C2233;
  --nd-wine-2: #B03A50;
  --nd-wine-soft: #E0A9B2;

  /* --- LINE green (LINE CTA only) --- */
  --nd-line: #06C755;
  --nd-line-ink: #04331a;

  /* --- Warm white (30% supporting) --- */
  --nd-warm-white: #F4EFE6;
  --nd-warm-white-2: #E7DECE;

  /* --- Text scale --- */
  --nd-text-1: #F2EEE6;        /* headings / strongest */
  --nd-text-2: #B9BDC7;        /* lead / secondary */
  --nd-text-3: #9298A6;        /* body / tertiary */
  --nd-text-4: #6f6a73;        /* faint / disclaimers */
  --nd-text-5: #5d5961;        /* faintest / copyright */

  /* --- Hairline borders --- */
  --nd-line-gold-16: rgba(198,161,91,.16);
  --nd-line-gold-12: rgba(198,161,91,.12);
  --nd-line-gold-45: rgba(198,161,91,.45);
  --nd-line-white-08: rgba(255,255,255,.08);

  /* --- Type families --- */
  --nd-serif: 'Noto Serif TC', 'Songti TC', serif;        /* CJK headings */
  --nd-sans: 'Noto Sans TC', 'PingFang TC', sans-serif;   /* CJK body */
  --nd-latin: 'Cormorant Garamond', Georgia, serif;       /* latin/labels/numbers */

  /* --- Layout --- */
  --nd-container: 1280px;
  --nd-radius: 12px;
  --nd-radius-sm: 8px;
  --nd-section-pad-y: 90px;
  --nd-section-pad-x: 56px;
  --nd-z-nav: 200;
  --nd-z-drawer: 400;
  --nd-z-agegate: 900;
}

/* =========================================================================
   2. RESET + GLOBALS
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nd-bg-1);
  color: var(--nd-text-1);
  font-family: var(--nd-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nd-no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nd-serif);
  font-weight: 500;
  color: var(--nd-text-1);
  margin: 0;
  line-height: 1.3;
}

.nd-latin { font-family: var(--nd-latin); }

@keyframes ndGlow { 0%,100% { opacity:.5; transform: scale(1); } 50% { opacity:.85; transform: scale(1.04); } }

/* Skip link for a11y */
.nd-skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--nd-gold); color: #1a1206; padding: 10px 16px; z-index: 999;
}
.nd-skip-link:focus { left: 8px; top: 8px; }

/* Visible focus ring for keyboard users */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--nd-gold-2);
  outline-offset: 2px;
}

/* =========================================================================
   3. LAYOUT PRIMITIVES
   ---------------------------------------------------------------------------
   .nd-section          vertical rhythm wrapper for every page block
   .nd-section--alt     alternate (bg-2) background
   .nd-section--panel   bg-3 panel background
   .nd-section--wine    radial wine glow background (privacy / agency)
   .nd-container        centered max-width content column
   ========================================================================= */
.nd-section {
  padding: var(--nd-section-pad-y) var(--nd-section-pad-x);
  background: var(--nd-bg-1);
}
.nd-section--alt    { background: var(--nd-bg-2); }
.nd-section--panel  { background: var(--nd-bg-3); }
.nd-section--wine {
  background-color: var(--nd-bg-2);
  background-image: radial-gradient(700px 400px at 88% 8%, rgba(124,34,51,.14), transparent 60%);
}
.nd-section--topline { border-top: 1px solid var(--nd-line-gold-12); }

.nd-container {
  max-width: var(--nd-container);
  margin: 0 auto;
  width: 100%;
}
.nd-container--narrow { max-width: 760px; }
.nd-container--mid    { max-width: 920px; }

/* =========================================================================
   4. TYPOGRAPHIC COMPONENTS
   ---------------------------------------------------------------------------
   .nd-eyebrow   gold Cormorant uppercase kicker above headings
   .nd-h2        section heading
   .nd-lead      lead paragraph under headings
   .nd-prose     long-form body copy
   .nd-disclaimer faint legal/finance footnote
   .nd-section-head  centered heading cluster (eyebrow + h2 + lead)
   ========================================================================= */
.nd-eyebrow {
  font-family: var(--nd-latin);
  color: var(--nd-gold);
  letter-spacing: .24em;
  font-size: 14px;
  text-transform: uppercase;
  margin: 0 0 14px;
  display: block;
}
.nd-h2 {
  font-family: var(--nd-serif);
  font-weight: 500;
  font-size: 38px;
  line-height: 1.3;
  margin: 0 0 14px;
}
.nd-lead {
  color: var(--nd-text-3);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 300;
  margin: 0;
}
.nd-prose { color: var(--nd-text-2); font-size: 16px; line-height: 2; font-weight: 300; }
.nd-prose + .nd-prose { margin-top: 18px; }
.nd-disclaimer {
  color: var(--nd-text-4);
  font-size: 12.5px;
  line-height: 1.9;
  font-weight: 300;
}
.nd-section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.nd-section-head .nd-h2 { font-size: 40px; }

/* =========================================================================
   5. GRID
   ---------------------------------------------------------------------------
   .nd-grid + modifiers --2 / --3 / --4 / --5 column counts
   collapses to 1 column on mobile
   ========================================================================= */
.nd-grid { display: grid; gap: 20px; }
.nd-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nd-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nd-grid--4 { grid-template-columns: repeat(4, 1fr); }
.nd-grid--5 { grid-template-columns: repeat(5, 1fr); }
.nd-grid--split { grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.nd-grid--split-wide { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }

/* =========================================================================
   6. CARDS
   ---------------------------------------------------------------------------
   .nd-card          default dark card
   .nd-card--gold    gold-emphasis (01 / 05 strengths)
   .nd-card--wine    wine-emphasis (07 privacy / 保障方案)
   .nd-card--lift    adds hover lift
   .nd-card__num     Cormorant index label
   .nd-card__title   serif card heading
   .nd-card__text    body copy
   ========================================================================= */
.nd-card {
  background: var(--nd-card);
  border: 1px solid rgba(198,161,91,.18);
  border-radius: var(--nd-radius);
  padding: 34px 28px;
  transition: transform .3s ease, border-color .3s ease;
}
.nd-card--lift:hover { transform: translateY(-5px); border-color: var(--nd-line-gold-45); }
.nd-card--gold {
  background: linear-gradient(135deg, #15110B, #0E1320);
  border-color: rgba(230,206,148,.40);
}
.nd-card--gold.nd-card--lift:hover { border-color: rgba(230,206,148,.65); }
/* Card 01 in the artboard uses a wine-tinted dark base under the gold border. */
.nd-card--gold-wine {
  background: linear-gradient(135deg, #13090C, #0E1320);
  border-color: rgba(230,206,148,.40);
}
.nd-card--gold-wine .nd-card__num { color: var(--nd-gold-2); }
.nd-card--gold-wine .nd-card__text { color: #A6AAB4; }
.nd-card--gold-wine.nd-card--lift:hover { border-color: rgba(230,206,148,.65); }
.nd-card--wine {
  background: var(--nd-card-wine);
  border-color: rgba(176,58,80,.40);
}
.nd-card--wine.nd-card--lift:hover { border-color: rgba(176,58,80,.70); }
.nd-card--pad-sm { padding: 28px 26px; }

.nd-card__num {
  font-family: var(--nd-latin);
  color: var(--nd-gold);
  font-size: 13px;
  letter-spacing: .20em;
  margin-bottom: 16px;
  display: block;
}
.nd-card--gold .nd-card__num { color: var(--nd-gold-2); }
.nd-card--wine .nd-card__num { color: #C98a93; }
.nd-card__num--lg { font-size: 28px; letter-spacing: .04em; color: var(--nd-gold-2); }
.nd-card__title {
  font-family: var(--nd-serif);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 12px;
}
.nd-card__title--sm { font-size: 20px; }
.nd-card__text {
  color: var(--nd-text-3);
  font-size: 14px;
  line-height: 1.85;
  font-weight: 300;
  margin: 0;
}
.nd-card--gold .nd-card__text { color: #A6AAB4; }
.nd-card--wine .nd-card__text { color: #B49aa0; }
.nd-card__text--sm { font-size: 13px; line-height: 1.8; }

/* Media card (image + caption overlay) */
.nd-mediacard {
  position: relative;
  border-radius: var(--nd-radius);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(198,161,91,.18);
  background: var(--nd-bg-3);
}
.nd-mediacard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nd-mediacard__img--empty {
  display: flex; align-items: center; justify-content: center;
  color: var(--nd-text-4); font-family: var(--nd-latin); letter-spacing: .18em;
  font-size: 13px; text-align: center; padding: 24px;
}
.nd-mediacard__veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8,9,12,.75)); }
.nd-mediacard__cap { position: absolute; left: 28px; right: 28px; bottom: 26px; }
.nd-mediacard__cap-eyebrow { font-family: var(--nd-latin); letter-spacing: .2em; font-size: 12px; color: var(--nd-gold-2); margin-bottom: 6px; }
.nd-mediacard__cap-title { font-family: var(--nd-serif); font-weight: 600; font-size: 20px; }

/* =========================================================================
   7. BUTTONS
   ---------------------------------------------------------------------------
   .nd-btn           base pill/box button
   .nd-btn--gold     champagne gradient (primary CTA)
   .nd-btn--line     LINE green (LINE CTA only)
   .nd-btn--ghost    outline / secondary
   .nd-btn--pill     fully rounded
   .nd-btn--block    full-width
   ========================================================================= */
.nd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 15px 28px;
  border-radius: var(--nd-radius-sm);
  border: 1px solid transparent;
  transition: filter .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
  min-height: 44px;
}
.nd-btn--gold {
  background: linear-gradient(180deg, var(--nd-gold-2), var(--nd-gold));
  color: #1a1206;
}
.nd-btn--gold:hover { filter: brightness(1.06); }
.nd-btn--line {
  background: var(--nd-line);
  color: var(--nd-line-ink);
  border-radius: 999px;
}
.nd-btn--line:hover { filter: brightness(1.08); }
.nd-btn--line .nd-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nd-line-ink); }
.nd-btn--ghost {
  background: transparent;
  color: var(--nd-text-1);
  border-color: rgba(255,255,255,.22);
  font-weight: 500;
}
.nd-btn--ghost:hover { border-color: var(--nd-gold); color: var(--nd-gold-2); }
.nd-btn--pill { border-radius: 999px; }
.nd-btn--sm { font-size: 14px; padding: 12px 22px; }
.nd-btn--block { width: 100%; }

/* =========================================================================
   8. TRUST ROW + STAT GRID
   ---------------------------------------------------------------------------
   .nd-trust-row     inline diamond-bullet trust points
   .nd-stat-grid     4-up bordered stat cells
   ========================================================================= */
.nd-trust-row {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  color: #8E93A0;
  font-size: 13px;
  letter-spacing: .06em;
}
.nd-trust-row__item { display: inline-flex; align-items: center; gap: 7px; }
.nd-trust-row__item::before { content: "\25C7"; color: var(--nd-gold); }

.nd-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--nd-line-gold-16);
}
.nd-stat-grid__cell {
  text-align: center;
  padding: 22px 8px;
  border-right: 1px solid rgba(198,161,91,.14);
}
.nd-stat-grid__cell:last-child { border-right: 0; }
.nd-stat-grid__num {
  font-family: var(--nd-serif);
  font-weight: 700;
  font-size: 34px;
  color: var(--nd-gold-2);
  line-height: 1;
}
.nd-stat-grid__num small { font-size: 16px; }
.nd-stat-grid__label { color: var(--nd-text-3); font-size: 12px; margin-top: 8px; }

/* Feature list (icon + text rows — local advantage) */
.nd-featlist { display: flex; flex-direction: column; gap: 18px; }
.nd-featlist__item { display: flex; gap: 18px; align-items: flex-start; }
.nd-featlist__icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--nd-gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--nd-gold-2); font-size: 18px;
}
.nd-featlist__title { font-family: var(--nd-serif); font-weight: 600; font-size: 19px; margin: 0 0 6px; }
.nd-featlist__text { color: var(--nd-text-3); font-size: 14px; line-height: 1.8; font-weight: 300; margin: 0; }

/* =========================================================================
   9. BRAND SPLIT BANNER (.nd-banner) — faithful logo geometry
   ---------------------------------------------------------------------------
   Left 47% warm gradient | right 53% black + wine radial glow.
   Gold circle CENTERED at 50% (not at the cut). Gold vertical cut at 47%.
   "夜" dark right-aligned to cut, "間部" light left-aligned to cut.
   Vertical correction top:48.9% + translateY(-50%).
   Desktop 440px / mobile 260px.
   ========================================================================= */
.nd-banner {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: var(--nd-bg-3);
}
.nd-banner__light {
  position: absolute; left: 0; top: 0; bottom: 0; width: 47%;
  background: linear-gradient(120deg, var(--nd-warm-white), var(--nd-warm-white-2));
}
.nd-banner__dark {
  position: absolute; right: 0; top: 0; bottom: 0; width: 53%;
  background: radial-gradient(680px 460px at 60% 50%, rgba(124,34,51,.15), transparent 74%);
}
.nd-banner__circle {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1px solid var(--nd-gold);
}
/* short bright gold tick descending from top through the cut */
.nd-banner__tick {
  position: absolute; left: 47%; top: 30px; height: 178px; width: 1px;
  transform: translateX(-0.5px);
  background: linear-gradient(180deg, var(--nd-gold), var(--nd-gold) 70%, transparent);
}
/* full-height gold cut line at 47% */
.nd-banner__cut {
  position: absolute; left: 47%; top: 0; bottom: 0; width: 1px;
  transform: translateX(-0.5px);
  background: linear-gradient(180deg, rgba(198,161,91,.3), rgba(198,161,91,.75) 18%, rgba(198,161,91,.75) 82%, rgba(198,161,91,.3));
}
.nd-banner__ye, .nd-banner__bu {
  position: absolute; left: 47%; top: 48.9%;
  font-family: var(--nd-serif); font-weight: 400; font-size: 78px;
  line-height: 1; white-space: nowrap;
}
.nd-banner__ye { transform: translate(-100%, -50%); padding-right: .2em; color: #1A1820; }
.nd-banner__bu { transform: translateY(-50%); padding-left: .2em; letter-spacing: .04em; color: var(--nd-warm-white); }
.nd-banner__sub-l, .nd-banner__sub-r {
  position: absolute; left: 47%; top: 48.9%;
  font-family: var(--nd-latin); font-weight: 500; font-size: 18px; letter-spacing: .12em; white-space: nowrap;
}
.nd-banner__sub-l { transform: translate(-100%, 46px); padding-right: 16px; color: #3a342b; }
.nd-banner__sub-r { transform: translateY(46px); padding-left: 16px; color: #D8D2C6; }
.nd-banner__est {
  position: absolute; left: 44px; top: 36px;
  font-family: var(--nd-latin); letter-spacing: .34em; font-size: 12px; color: #6b6356;
}
.nd-banner__loc {
  position: absolute; right: 46px; bottom: 34px;
  font-family: var(--nd-latin); letter-spacing: .34em; font-size: 12px; color: #8a7f6e;
}

/* =========================================================================
   10. HERO (.nd-hero)
   ========================================================================= */
.nd-hero {
  position: relative;
  padding: 92px 56px 96px;
  overflow: hidden;
  background-image:
    radial-gradient(1000px 600px at 50% -10%, rgba(124,34,51,.4), transparent 58%),
    radial-gradient(700px 480px at 12% 30%, rgba(198,161,91,.1), transparent 55%);
}
.nd-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.nd-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,12,.55), rgba(8,9,12,.2) 45%, var(--nd-bg-1) 96%); }
.nd-hero__inner { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.nd-hero__ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 28px; }
.nd-hero__ornament span:nth-child(1) { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--nd-gold)); }
.nd-hero__ornament span:nth-child(2) { width: 7px; height: 7px; border: 1px solid var(--nd-gold); transform: rotate(45deg); }
.nd-hero__ornament span:nth-child(3) { width: 24px; height: 1px; background: var(--nd-gold); }
.nd-hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(198,161,91,.4); color: var(--nd-gold-2);
  font-size: 13px; letter-spacing: .18em; padding: 8px 16px; border-radius: 999px; margin-bottom: 26px;
}
.nd-hero__badge .nd-dot-glow { width: 6px; height: 6px; border-radius: 50%; background: var(--nd-gold); box-shadow: 0 0 10px var(--nd-gold); }
.nd-hero__title { font-family: var(--nd-serif); font-weight: 600; font-size: 56px; line-height: 1.25; margin: 0 0 24px; letter-spacing: .02em; }
.nd-hero__title em { font-style: normal; color: var(--nd-gold-2); }
.nd-hero__sub { font-size: 17px; line-height: 2; color: var(--nd-text-2); max-width: 760px; margin: 0 auto 38px; font-weight: 300; }
.nd-hero__sub strong { color: var(--nd-text-1); font-weight: 400; }
.nd-hero__actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }

/* =========================================================================
   11. FAQ ACCORDION (.nd-faq)
   ---------------------------------------------------------------------------
   .nd-faq            wrapper (split: sticky aside + items)
   .nd-faq__item      one Q/A; add .is-open to reveal
   .nd-faq__q         clickable question row (button)
   .nd-faq__body      max-height transition wrapper
   ========================================================================= */
.nd-faq { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: start; }
.nd-faq__aside { position: sticky; top: 90px; }
.nd-faq__aside .nd-h2 { font-size: 36px; margin-bottom: 18px; }
.nd-faq__list { display: flex; flex-direction: column; gap: 14px; }
.nd-faq__item {
  background: var(--nd-card);
  border: 1px solid var(--nd-line-gold-16);
  border-radius: 10px;
  overflow: hidden;
}
.nd-faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  width: 100%; text-align: left;
  padding: 24px 28px;
  background: transparent; border: 0; color: var(--nd-text-1);
  font-family: var(--nd-serif); font-weight: 500; font-size: 18px; line-height: 1.6;
}
.nd-faq__item.is-open .nd-faq__q { color: var(--nd-gold-2); }
.nd-faq__sign { color: var(--nd-gold); font-size: 24px; flex: none; line-height: 1; transition: transform .3s ease; }
.nd-faq__item.is-open .nd-faq__sign { transform: rotate(45deg); }
.nd-faq__body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.nd-faq__item.is-open .nd-faq__body { max-height: 600px; }
.nd-faq__answer { color: #A6AAB4; font-size: 15px; line-height: 1.95; font-weight: 300; margin: 0; padding: 0 28px 26px; }

/* =========================================================================
   12. CTA (.nd-cta) — LINE card + anonymous form card
   ========================================================================= */
.nd-cta {
  padding: 92px 56px;
  background-color: var(--nd-bg-2);
  background-image: radial-gradient(800px 460px at 50% 120%, rgba(124,34,51,.4), transparent 60%);
}
.nd-cta__head { max-width: 920px; margin: 0 auto 40px; text-align: center; }
.nd-cta__title { font-family: var(--nd-serif); font-weight: 500; font-size: 42px; line-height: 1.3; margin: 0 0 18px; }
.nd-cta__title em { font-style: normal; color: var(--nd-gold-2); }
.nd-cta__sub { color: #A6AAB4; font-size: 16px; line-height: 1.9; font-weight: 300; margin: 0; }
.nd-cta__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; align-items: stretch; max-width: 920px; margin: 0 auto; }
.nd-cta-card { background: var(--nd-card); border: 1px solid rgba(198,161,91,.22); border-radius: 14px; padding: 34px; }
.nd-cta-card--line { border-color: rgba(6,199,85,.4); }
.nd-cta-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.nd-cta-card__icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--nd-line);
  display: flex; align-items: center; justify-content: center; color: var(--nd-line-ink);
  font-weight: 700; font-size: 15px;
}
.nd-cta-card__title { font-family: var(--nd-serif); font-weight: 600; font-size: 22px; margin: 0; }
.nd-cta-card__text { color: var(--nd-text-3); font-size: 14px; line-height: 1.8; font-weight: 300; margin: 0 0 22px; }
.nd-cta-card__wechat {
  display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--nd-line-white-08); color: var(--nd-text-3); font-size: 14px;
}
.nd-cta-card__wechat .nd-chip-mini {
  display: flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 6px; background: rgba(198,161,91,.16); color: var(--nd-gold-2); font-size: 11px; font-weight: 700;
}
.nd-cta-card__wechat strong { color: var(--nd-text-1); font-weight: 500; }

/* anonymous form */
.nd-form__chips { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.nd-chip {
  flex: 1; min-width: 90px;
  border: 1px solid rgba(255,255,255,.16);
  color: #C9CDD6; background: transparent;
  font-size: 13px; text-align: center; padding: 11px; border-radius: var(--nd-radius-sm);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.nd-chip:hover { color: var(--nd-text-1); }
.nd-chip.is-active { border-color: var(--nd-gold); color: var(--nd-gold-2); background: rgba(198,161,91,.08); }
.nd-form__field {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background: #0A0C12; border-radius: var(--nd-radius-sm);
  padding: 14px; color: var(--nd-text-1); font-family: inherit; font-size: 14px;
  margin-bottom: 12px; resize: vertical; min-height: 96px;
}
.nd-form__field::placeholder { color: var(--nd-text-4); }
.nd-form__note { color: var(--nd-text-4); font-size: 12px; margin: 14px 0 0; font-weight: 300; }

/* =========================================================================
   13. TOP NAV (.nd-nav) + WORDMARK + LOGO MARK
   ========================================================================= */
.nd-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 56px;
  border-bottom: 1px solid var(--nd-line-gold-16);
  position: sticky; top: 0;
  backdrop-filter: blur(8px);
  background: rgba(8,9,12,.7);
  z-index: var(--nd-z-nav);
}
.nd-brand { display: flex; align-items: center; gap: 14px; }
.nd-logo-mark {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--nd-gold);
  flex: none;
}
.nd-logo-mark span { font-family: var(--nd-serif); font-weight: 500; color: var(--nd-gold); font-size: 18px; }
.nd-logo-mark img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.nd-wordmark { line-height: 1.1; }
.nd-wordmark__zh { font-family: var(--nd-serif); font-weight: 600; font-size: 19px; letter-spacing: .14em; color: var(--nd-text-1); }
.nd-wordmark__en { font-family: var(--nd-latin); color: var(--nd-text-3); font-size: 11px; letter-spacing: .28em; }
.nd-nav__right { display: flex; align-items: center; gap: 34px; }
.nd-nav__menu { display: flex; gap: 28px; font-size: 14px; color: #C9CDD6; letter-spacing: .06em; list-style: none; margin: 0; padding: 0; }
.nd-nav__menu a { transition: color .2s ease; }
.nd-nav__menu a:hover, .nd-nav__menu .current-menu-item > a { color: var(--nd-gold-2); }

/* hamburger */
.nd-hamburger {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--nd-line-gold-16); border-radius: 8px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nd-hamburger span { display: block; width: 20px; height: 1.5px; background: var(--nd-gold-2); transition: transform .3s ease, opacity .2s ease; }

/* =========================================================================
   14. MOBILE DRAWER (.nd-drawer) — off-canvas
   ========================================================================= */
.nd-drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
  z-index: calc(var(--nd-z-drawer) - 1);
}
.nd-drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.nd-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(82vw, 340px);
  background: var(--nd-bg-2);
  border-left: 1px solid var(--nd-line-gold-16);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: var(--nd-z-drawer);
  display: flex; flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.nd-drawer.is-open { transform: translateX(0); }
.nd-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.nd-drawer__close {
  width: 44px; height: 44px; background: transparent; border: 1px solid var(--nd-line-gold-16);
  border-radius: 8px; color: var(--nd-gold-2); font-size: 22px; line-height: 1;
}
.nd-drawer__menu { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; }
.nd-drawer__menu li { border-bottom: 1px solid var(--nd-line-white-08); }
.nd-drawer__menu a { display: block; padding: 16px 4px; font-size: 17px; color: var(--nd-text-1); font-family: var(--nd-serif); }
.nd-drawer__menu a:hover { color: var(--nd-gold-2); }
.nd-drawer__cta { margin-top: auto; }

/* =========================================================================
   15. AGE GATE (.nd-agegate) — 18+ overlay
   ========================================================================= */
.nd-agegate {
  position: fixed; inset: 0;
  background: var(--nd-bg-1);
  background-image: radial-gradient(900px 500px at 50% 0%, rgba(124,34,51,.25), transparent 60%);
  z-index: var(--nd-z-agegate);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
/* JS removes .is-hidden once consent confirmed; default-hidden via inline class avoids flash */
.nd-agegate.is-hidden { display: none; }
.nd-agegate__box {
  max-width: 460px; width: 100%; text-align: center;
  background: var(--nd-bg-3);
  border: 1px solid var(--nd-line-gold-16);
  border-radius: 16px;
  padding: 44px 36px;
}
.nd-agegate__mark {
  width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--nd-gold);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
}
.nd-agegate__mark span { font-family: var(--nd-serif); color: var(--nd-gold); font-size: 28px; }
.nd-agegate__title { font-family: var(--nd-serif); font-weight: 600; font-size: 22px; margin: 0 0 14px; }
.nd-agegate__copy { color: var(--nd-text-2); font-size: 15px; line-height: 1.9; font-weight: 300; margin: 0 0 10px; }
.nd-agegate__legal { color: var(--nd-text-4); font-size: 12px; line-height: 1.8; font-weight: 300; margin: 0 0 26px; }
.nd-agegate__actions { display: flex; gap: 12px; }
.nd-agegate__actions .nd-btn { flex: 1; }

/* =========================================================================
   16. FOOTER (.nd-footer)
   ========================================================================= */
.nd-footer {
  padding: 64px 56px 44px;
  background: var(--nd-bg-footer);
  border-top: 1px solid var(--nd-line-gold-16);
}
.nd-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.nd-footer__brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.nd-footer__blurb { color: #8a858f; font-size: 13px; line-height: 1.9; font-weight: 300; margin: 0; max-width: 360px; }
.nd-footer__col-title { color: var(--nd-gold-2); font-size: 13px; letter-spacing: .1em; margin-bottom: 16px; }
.nd-footer__links { display: flex; flex-direction: column; gap: 11px; color: var(--nd-text-3); font-size: 13.5px; list-style: none; margin: 0; padding: 0; }
.nd-footer__links a:hover, .nd-footer__links span:hover { color: var(--nd-text-1); }
.nd-footer__compliance-wrap { border-top: 1px solid var(--nd-line-white-08); padding-top: 26px; }
.nd-footer__compliance { color: var(--nd-text-4); font-size: 12.5px; line-height: 1.9; font-weight: 300; margin: 0 0 14px; max-width: 1100px; }
.nd-footer__compliance .hl { color: var(--nd-text-3); }
.nd-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.nd-footer__copy, .nd-footer__badge { color: var(--nd-text-5); font-size: 12px; }

/* =========================================================================
   17. RESPONSIVE  (<=1024 tablet collapse, <=768 mobile single-col + drawer)
   ========================================================================= */
@media (max-width: 1024px) {
  :root { --nd-section-pad-x: 40px; }
  .nd-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .nd-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .nd-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .nd-grid--split, .nd-grid--split-wide { grid-template-columns: 1fr; gap: 40px; }
  .nd-faq { grid-template-columns: 1fr; gap: 32px; }
  .nd-faq__aside { position: static; }
  .nd-hero__title { font-size: 46px; }
}

@media (max-width: 768px) {
  :root {
    --nd-section-pad-y: 56px;
    --nd-section-pad-x: 22px;
  }
  body { font-size: 15px; }

  /* collapse all grids to single column */
  .nd-grid--2, .nd-grid--3, .nd-grid--4, .nd-grid--5 { grid-template-columns: 1fr; }
  .nd-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .nd-stat-grid__cell:nth-child(2) { border-right: 0; }
  .nd-stat-grid__cell:nth-child(1), .nd-stat-grid__cell:nth-child(2) { border-bottom: 1px solid rgba(198,161,91,.14); }

  /* nav: hide desktop links, show hamburger */
  .nd-nav { padding: 16px 22px; }
  .nd-nav__menu { display: none; }
  .nd-nav__right .nd-nav__line-btn { display: none; }
  .nd-hamburger { display: flex; }

  /* hero */
  .nd-hero { padding: 56px 22px 64px; }
  .nd-hero__title { font-size: 34px; line-height: 1.3; }
  .nd-hero__sub { font-size: 15px; }
  .nd-hero__actions { flex-direction: column; }
  .nd-hero__actions .nd-btn { width: 100%; }

  /* section heads */
  .nd-h2, .nd-section-head .nd-h2 { font-size: 28px; }
  .nd-cta__title { font-size: 30px; }
  .nd-cta { padding: 56px 22px; }

  /* CTA cards stack */
  .nd-cta__cards { grid-template-columns: 1fr; }

  /* footer */
  .nd-footer { padding: 48px 22px 36px; }
  .nd-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .nd-footer__bottom { flex-direction: column; align-items: flex-start; }

  /* full-width primary CTAs on mobile */
  .nd-cta-card .nd-btn { width: 100%; }

  /* media cards shorter */
  .nd-mediacard { min-height: 280px; }

  /* ---- BANNER scaled to 260px ---- */
  .nd-banner { height: 260px; }
  .nd-banner__circle { width: 210px; height: 210px; }
  .nd-banner__tick { top: 18px; height: 104px; }
  .nd-banner__ye, .nd-banner__bu { font-size: 46px; }
  .nd-banner__sub-l, .nd-banner__sub-r { font-size: 13px; }
  .nd-banner__sub-l { transform: translate(-100%, 30px); }
  .nd-banner__sub-r { transform: translateY(30px); }
  .nd-banner__est { left: 20px; top: 20px; font-size: 10px; }
  .nd-banner__loc { right: 20px; bottom: 20px; font-size: 10px; }

  /* agegate */
  .nd-agegate__actions { flex-direction: column; }
}

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