/* =========================================================
   LBMA Replica — Global Stylesheet
   设计体系：深蓝 + 哑金 + 青色点缀；Franklin Gothic→Archivo、Baskerville→Libre Baskerville
   ========================================================= */

:root {
  /* Brand navy */
  --navy-900: #041329;
  --navy-800: #002444;
  --navy-700: #023446;
  --navy-600: #034158;
  --deep-900: #00273a;
  /* Gold */
  --gold: #a59266;
  --gold-hover: #847552;
  --gold-light: #ede9e0;
  /* Teal accent */
  --teal: #18b5bb;
  /* Neutrals */
  --ink: #18181b;
  --ink-soft: #47474f;
  --bg-soft: #ecedf2;
  --bg-f5: #f5f5f5;
  --white: #ffffff;

  --font-sans: "Archivo", system-ui, -apple-system, sans-serif;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gap: 24px;
  --nav-h: 74px;
  --ease: cubic-bezier(0.3, 0.3, 0.2, 1);
  --shadow: 0 10px 30px rgba(4, 19, 41, 0.12);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1px;
  opacity: 0;
  transform: translateY(8px);
  animation: pageIn 0.6s var(--ease) forwards;
}
@keyframes pageIn { to { opacity: 1; transform: translateY(0); } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gap);
  padding-right: var(--gap);
  width: 100%;
}

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------ */
.site-header { position: relative; z-index: 50; }

/* Utility bar */
.utility-bar { background: var(--navy-900); color: rgba(255,255,255,0.82); font-size: 0.78rem; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.utility-links a, .utility-right a { color: rgba(255,255,255,0.82); transition: color .2s var(--ease); }
.utility-links a:hover, .utility-right a:hover { color: var(--gold); }
.utility-right .sep { margin: 0 6px; opacity: .4; }

/* Nav bar */
.nav-bar { background: var(--navy-600); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); position: relative; }

.logo {
  display: flex; align-items: baseline; gap: 6px;
  color: var(--white); line-height: 1; flex: 0 0 auto;
}
.logo .logo-mark {
  font-family: var(--font-sans); font-weight: 800; letter-spacing: 1.5px; font-size: 1.7rem;
}
.logo .logo-sub {
  font-size: 0.56rem; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold);
  max-width: 150px; line-height: 1.35;
}

.main-nav { display: flex; align-items: center; }
.menu { display: flex; height: var(--nav-h); }
.menu > li { position: relative; display: flex; align-items: center; }

.menu-link {
  display: flex; align-items: center; gap: 5px;
  color: var(--white); font-size: 0.92rem; font-weight: 600;
  padding: 0 15px; height: var(--nav-h); position: relative;
  letter-spacing: .2px;
}
.menu-link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.menu > li:hover > .menu-link::after, .menu > li.active > .menu-link::after { transform: scaleX(1); }
.menu > li:hover > .menu-link, .menu > li.active > .menu-link { color: var(--gold-light); }
.menu-link .chev { font-size: .6rem; opacity: .7; transition: transform .25s var(--ease); }
.menu > li:hover .menu-link .chev { transform: rotate(180deg); color: var(--gold); }

/* Dropdown */
.dropdown {
  position: absolute; top: var(--nav-h); left: 0; min-width: 250px;
  background: var(--white); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  border-top: 3px solid var(--gold); z-index: 60;
}
.menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 11px 20px; font-size: 0.92rem; color: var(--ink);
  border-bottom: 1px solid var(--bg-soft); font-weight: 500;
  position: relative; transition: all .22s var(--ease);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--gold-light); color: var(--navy-800); padding-left: 26px; }

/* Header actions */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.header-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy-900); font-weight: 700; font-size: 0.85rem;
  padding: 10px 18px; transition: background .25s var(--ease), color .25s var(--ease);
}
.header-btn:hover { background: var(--gold-hover); color: var(--white); }
.search-btn { color: var(--white); font-size: 1.1rem; display: inline-flex; }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: all .3s var(--ease); }

/* Mobile drawer */
.mobile-drawer { display: none; }

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.site-footer { background: var(--deep-900); color: rgba(255,255,255,0.85); margin-top: 0; }
.footer-top { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 34px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; opacity: .8; max-width: 260px; }
.footer-col h4 { color: var(--gold); font-size: 0.82rem; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.82); padding: 4px 0; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.25); display: inline-flex;
  align-items: center; justify-content: center; border-radius: 50%; color: #fff; transition: all .25s var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.8rem; opacity: .78; }
.footer-bottom-links a { margin-left: 18px; color: rgba(255,255,255,0.85); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ------------------------------------------------------------------
   Common sections
------------------------------------------------------------------ */
.section { padding: 74px 0; }
.section-soft { background: var(--bg-f5); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.eyebrow { color: var(--gold); font-size: 0.8rem; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.sec-title { font-family: var(--font-serif); font-size: 1.9rem; line-height: 1.25; color: var(--navy-800); font-weight: 700; }
.sec-lead { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; max-width: 720px; }

/* Arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  color: var(--gold-hover); font-weight: 700; font-size: 0.9rem; letter-spacing: .3px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.arrow-link:hover { gap: 13px; color: var(--navy-800); }

/* Card base */
.card { background: var(--white); }
.card-lift { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* ------------------------------------------------------------------
   Hero (home)
------------------------------------------------------------------ */
.hero { background: var(--deep-900); color: var(--white); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 420px at 82% -10%, rgba(24,181,187,0.14), transparent 60%),
              radial-gradient(1000px 500px at 8% 110%, rgba(165,146,102,0.16), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; padding: 92px 0 108px; max-width: 860px; }

.hero-alerts { display: grid; gap: 14px; margin-bottom: 56px; max-width: 760px; }
.alert {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: rgba(2,52,70,0.7); border-left: 4px solid var(--gold); padding: 16px 20px;
  font-size: 0.95rem; color: var(--gold-light); transition: background .25s var(--ease);
}
.alert:hover { background: rgba(2,52,70,1); }
.alert strong { color: var(--white); }
.alert .arrow { color: var(--gold); font-weight: 800; }

.hero-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.08; letter-spacing: .5px;
  color: var(--white);
}
.hero-title .gold { color: var(--gold); }
.hero-sub { margin-top: 26px; font-size: clamp(1.05rem, 2vw, 1.35rem); color: rgba(255,255,255,0.9); font-weight: 300; max-width: 700px; }

/* Latest pricing strip */
.pricing-band { background: #fff; border-bottom: 1px solid var(--bg-soft); }
.pricing-band-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.pricing-tabbar { background: var(--bg-f5); border-bottom: 1px solid var(--bg-soft); }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; font-weight: 700; color: var(--ink-soft); font-size: 0.85rem; border-bottom: 3px solid transparent; transition: all .25s var(--ease); }
.tab:hover { color: var(--navy-800); }
.tab.active { color: var(--navy-800); border-bottom-color: var(--gold); }

.price-card { padding: 30px 26px 34px; border-bottom: 4px solid transparent; transition: all .3s var(--ease); position: relative; }
.price-card::before { content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 3px; background: var(--gold-light); transition: background .3s var(--ease); }
.price-card:hover { background: var(--bg-f5); border-bottom-color: var(--gold); }
.price-card:hover::before { background: var(--gold); }
.price-name { font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--navy-600); font-weight: 700; }
.price-date { font-family: var(--font-serif); font-style: italic; color: var(--ink-soft); font-size: 0.82rem; margin: 4px 0 14px; }
.price-value { font-size: 2rem; font-weight: 800; color: var(--navy-800); line-height: 1.1; letter-spacing: .3px; }
.price-sub { font-size: 0.82rem; color: var(--ink-soft); margin-top: 6px; }
.price-period { color: var(--gold-hover); font-weight: 700; }
.price-card .teal { color: var(--teal); }
.price-stepper { display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--ink-soft); padding: 16px 0; }
.price-stepper button { color: var(--navy-600); font-size: 1.2rem; }
.price-stepper .dots { letter-spacing: 2px; }

/* ------------------------------------------------------------------
   Pricing links (id=pricing)
------------------------------------------------------------------ */
.pricing-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pricing-duo .card { box-shadow: 0 2px 14px rgba(4,19,41,.08); }
.duo-body { padding: 34px; }
.duo-num { color: var(--gold); font-weight: 800; font-size: 0.9rem; }
.duo-title { font-family: var(--font-serif); font-size: 1.4rem; color: var(--navy-800); margin: 10px 0 8px; }

/* ------------------------------------------------------------------
   News carousel
------------------------------------------------------------------ */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.news-card { display: flex; flex-direction: column; }
.news-media { aspect-ratio: 3/2; background: var(--bg-soft); overflow: hidden; position: relative; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-body { padding: 20px 6px 0; flex: 1; display: flex; flex-direction: column; }
.news-tag { color: var(--gold-hover); font-size: 0.72rem; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.news-title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; color: var(--navy-800); margin-bottom: 10px; }
.news-card:hover .news-title { color: var(--gold-hover); }
.news-excerpt { font-size: 0.92rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------
   About / Membership two-col
------------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-lead { color: var(--navy-600); font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.5; margin: 18px 0; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }

/* Membership stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.stat { text-align: center; }
.stat-ring {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px;
  background: conic-gradient(var(--gold) calc(var(--p,100)*1%), var(--gold-light) 0);
  display: grid; place-items: center;
}
.stat-ring-in { width: 96px; height: 96px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.stat-num { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 800; color: var(--navy-800); }
.stat-label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .4px; }

/* Events + Training cards */
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.twin-card { overflow: hidden; border: 1px solid var(--bg-soft); }
.twin-media { aspect-ratio: 16/8; background: var(--bg-soft); overflow: hidden; }
.twin-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.twin-card:hover .twin-media img { transform: scale(1.05); }
.twin-body { padding: 28px; }
.twin-title { font-family: var(--font-serif); font-size: 1.4rem; color: var(--navy-800); margin-bottom: 10px; }
.twin-card:hover .twin-title { color: var(--gold-hover); }
.twin-body p { color: var(--ink-soft); }

/* ------------------------------------------------------------------
   Standards trio
------------------------------------------------------------------ */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trio-card { padding: 40px 34px; border: 1px solid var(--bg-soft); border-top: 3px solid var(--gold-light); transition: all .3s var(--ease); }
.trio-card:hover { border-top-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-5px); }
.trio-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-hover); margin-bottom: 22px; }
.trio-title { font-size: 1.2rem; font-weight: 700; color: var(--navy-800); margin-bottom: 12px; }
.trio-card:hover .trio-title { color: var(--gold-hover); }
.trio-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ------------------------------------------------------------------
   Page hero (inner pages)
------------------------------------------------------------------ */
.page-hero { background: var(--deep-900); color: var(--white); padding: 84px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 90% -20%, rgba(24,181,187,.14), transparent 55%); }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,.7); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4.5vw, 3.3rem); line-height: 1.15; }
.page-hero .lead { margin-top: 18px; max-width: 720px; color: rgba(255,255,255,.9); font-size: 1.08rem; font-weight: 300; }

/* Generic page content */
.prose { max-width: 820px; color: var(--ink-soft); }
.prose h2 { font-family: var(--font-serif); color: var(--navy-800); font-size: 1.7rem; margin: 46px 0 16px; }
.prose h3 { font-size: 1.2rem; color: var(--navy-800); margin: 30px 0 8px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 10px 0 20px; padding-left: 4px; }
.prose ul li { padding: 6px 0 6px 26px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; background: var(--gold); }
.prose a { color: var(--gold-hover); font-weight: 600; border-bottom: 1px solid var(--gold-light); }
.prose a:hover { color: var(--navy-800); }

/* Icon list cards */
.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav { display: none; }
  .mobile-drawer {
    display: block; position: fixed; inset: 0; background: var(--navy-900); z-index: 100;
    transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto;
  }
  .mobile-drawer.open { transform: translateX(0); }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .drawer-close { color: #fff; font-size: 1.6rem; }
  .drawer-nav { padding: 10px 24px 60px; }
  .drawer-item > .drawer-link { display: block; color: #fff; font-size: 1.1rem; font-weight: 600; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .drawer-sub a { display: block; color: rgba(255,255,255,.75); font-size: 0.96rem; padding: 9px 0 9px 14px; }
  .drawer-sub a:last-child { padding-bottom: 16px; }

  .pricing-band-inner { grid-template-columns: repeat(2, 1fr); }
  .pricing-duo, .split, .twin, .trio, .icon-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { padding: 60px 0 74px; }
  .section { padding: 54px 0; }
  .nav-actions .header-btn span { display: none; }
  .header-btn { padding: 10px 12px; }
}

@media (max-width: 768px) {
  .utility-inner { height: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}