/* =====================================================
   main.css — Black Dragon Asset Management
   Dark Premium Theme
   ===================================================== */

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --bg-3: #141414;
  --bg-card: #161616;
  --bg-card-h: #1d1d1d;
  --gold: #c9a84c;
  --gold-light: #dfc06a;
  --gold-dim: rgba(201, 168, 76, 0.11);
  --gold-glow: rgba(201, 168, 76, 0.28);
  --white: #ffffff;
  --text: #d5d5d5;
  --text-muted: #9c9c9c;
  --text-dim: #4d4d4d;
  --border: #1e1e1e;
  --border-2: #2a2a2a;
  --nav-h: 80px;
  --max-w: 1440px;
  --radius: 10px;
  --t: 0.3s ease;

  /* Typography scale — 17px root baseline, proportional rem units */
  --font-size-root: 106.25%;
  --font-size-root-mobile: 100%;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.375rem;

  --heading-page: clamp(2.1rem, 4.2vw, 3.5rem);
  --heading-page-mobile: clamp(1.9rem, 7vw, 2.2rem);
  --heading-stat: clamp(2.5rem, 4.2vw, 3.5rem);
  --heading-accent: 2.5rem;

  --leading-body: 1.78;
  --leading-relaxed: 1.85;
  --leading-heading: 1.2;
  --leading-tight: 1.35;

  --tracking-body: 0.01em;
  --tracking-tight: -0.025em;
  --tracking-heading: -0.02em;

  --heading-1: clamp(2.35rem, 5.2vw, 4.65rem);
  --heading-2: clamp(1.95rem, 3.75vw, 3.1rem);
  --heading-3: clamp(1.15rem, 2.1vw, 1.42rem);

  --heading-1-mobile: clamp(2rem, 8vw, 2.35rem);
  --heading-2-mobile: clamp(1.65rem, 5.5vw, 1.95rem);
  --heading-3-mobile: clamp(1.05rem, 3.5vw, 1.15rem);

  --section-y: 3.75rem;
  --section-y-mobile: 5.5rem;
  --section-header-gap: 4.25rem;
}

/* =====================================================
   RESET
   ===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-root);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Spectral';
  src: url('../fonts/spectral-v15-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Spectral';
  src: url('../fonts/spectral-v15-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--text-base);
  background: var(--bg);
  color: var(--text);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--t);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1 {
  font-size: var(--heading-1);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--white);
}

h2 {
  font-size: var(--heading-2);
  font-weight: 700;
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  color: var(--white);
}

h3 {
  font-size: var(--heading-3);
  font-weight: 600;
  line-height: var(--leading-tight);
  color: var(--white);
}

p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

/* =====================================================
   LAYOUT HELPERS
   ===================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-y) 0;
}

.section--alt {
  background: var(--bg-2);
}

.section--dark {
  background: var(--bg-3);
}

.section-label {
  display: inline-block;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-header {
  margin-bottom: var(--section-header-gap);
}

.section-header--center {
  text-align: center;
}

.section-header h2 {
  margin-bottom: 1.15rem;
}

.section-header p {
  max-width: 680px;
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

.section-header--center p {
  margin: 0 auto;
}

.divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 1.1rem 1.5rem;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.anim {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim[data-delay="1"] {
  transition-delay: 0.1s;
}

.anim[data-delay="2"] {
  transition-delay: 0.22s;
}

.anim[data-delay="3"] {
  transition-delay: 0.34s;
}

.anim[data-delay="4"] {
  transition-delay: 0.46s;
}

.anim[data-delay="5"] {
  transition-delay: 0.58s;
}

/* =====================================================
   HEADER / NAV
   ===================================================== */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  transition: height var(--t), background var(--t), border-color var(--t), box-shadow var(--t), backdrop-filter var(--t);
}

#main-header.scrolled {
  height: 64px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: #e0e0e0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 2px;
}

.nav-logo-text {
  font-family: 'Spectral', serif;
  font-size: var(--text-base);
  font-weight: 1000;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #000000;
  line-height: 1;
  display: block;
}

.nav-logo-sub {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-top: 3px;
}

/* Sub-pages: logo always uses compact scrolled layout; only bar height changes */
body:not(.page-home) #main-header .nav-logo > div {
  transform: translateY(3px);
}

/* Homepage header — tall expanded state on desktop, shrinks smoothly on scroll */
@media (min-width: 1024px) {
  .page-home {
    --nav-h: 120px;
  }

  .page-home #main-header {
    transition:
      height 0.45s ease-in-out,
      background 0.45s ease-in-out,
      border-color 0.45s ease-in-out,
      box-shadow 0.45s ease-in-out,
      backdrop-filter 0.45s ease-in-out;
  }

  .page-home #main-header:not(.scrolled) {
    height: 120px;
  }

  .page-home #main-header .nav-logo {
    gap: 0.9rem;
    transition: gap 0.45s ease-in-out;
  }

  .page-home #main-header.scrolled .nav-logo {
    gap: 0.75rem;
  }

  .page-home #main-header .nav-logo-img {
    height: 60px;
    transition: height 0.45s ease-in-out;
  }

  .page-home #main-header.scrolled .nav-logo-img {
    height: 40px;
  }

  .page-home #main-header .nav-logo-text {
    font-size: var(--text-2xl);
    transition: font-size 0.45s ease-in-out;
  }

  .page-home #main-header.scrolled .nav-logo-text {
    font-size: var(--text-base);
  }

  .page-home #main-header.scrolled .nav-logo > div {
    transform: translateY(3px);
    transition: transform 0.45s ease-in-out;
  }

  .page-home #main-header .nav-logo-sub {
    font-size: var(--text-xs);
    transition: font-size 0.45s ease-in-out;
  }

  .page-home #main-header.scrolled .nav-logo-sub {
    font-size: var(--text-xs);
  }
}

/* Right side wrapper */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Nav links list */
.nav-links {
  display: flex;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item>a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.8rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: #333333;
  white-space: nowrap;
  border-radius: 6px;
  transition: color var(--t), background var(--t);
}

.nav-item>a:hover,
.nav-item.active>a {
  color: #b8952e;
}

.nav-arrow {
  font-size: 0.55em;
  transition: transform var(--t);
  margin-top: 1px;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  /* flush — gap is padding-top so hover stays continuous */
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 210px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  padding: 0.5rem;
  padding-top: 12px;
  /* visual gap inside hover area — no dead zone */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 200;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-left: 1px solid #e5e5e5;
  border-top: 1px solid #e5e5e5;
}

.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: var(--text-sm);
  color: #555555;
  border-radius: 6px;
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}

.nav-dropdown a:hover {
  color: #b8952e;
  background: rgba(184, 149, 46, 0.08);
}

/* Language Selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  border-left: 1px solid #e0e0e0;
  padding-left: 1.25rem;
}

.lang-btn {
  padding: 0.3rem 0.4rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: #888888;
  cursor: pointer;
  border-radius: 3px;
  transition: color var(--t);
  letter-spacing: 0.04em;
}

.lang-btn:hover,
.lang-btn.active {
  color: #b8952e;
}

.lang-sep {
  color: #cccccc;
  font-size: var(--text-xs);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid #dddddd;
  border-radius: 6px;
  padding: 7px;
  cursor: pointer;
  z-index: 1001;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: #444444;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* =====================================================
   HERO SECTION (homepage)
   ===================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Light hero variant — dark typography over a soft light overlay */
.hero--light .hero-overlay {
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.60) 0%,
      rgba(248, 246, 240, 0.55) 40%,
      rgba(255, 255, 255, 0.30) 100%
    );
}

.hero--light h1,
.hero--light h2 {
  color: #0a0a0a;
  text-shadow: none;
}

.hero--light .hero-desc {
  color: rgba(26, 26, 26, 0.72);
}

.hero--light .hero-scroll {
  color: rgba(0, 0, 0, 0.30);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── Hero Slideshow ── */
.hero-slideshow {
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
}

.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

.hero-slideshow .slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  will-change: transform;
}

.hero-slideshow .slide.active img {
  animation: heroKenBurns 15s ease-in-out forwards;
}

.hero-slideshow .slide.leaving img {
  transform: scale(1.15);
  /* freeze zoom at end-state during fade-out */
}

@keyframes heroKenBurns {
  from {
    transform: scale(1.0);
  }

  to {
    transform: scale(1.15);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(155deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.55) 48%,
      rgba(0, 0, 0, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 860px;
  padding: 0 2rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.hero h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: var(--text-md);
  color: rgba(213, 213, 213, 0.72);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: var(--leading-relaxed);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.28);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 5.5rem;
}

.about-intro p {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

.sfc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.sfc-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 4px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .pillars-grid {
    grid-template-columns: repeat(var(--cols, 2), 1fr);
  }
}

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(var(--cols, 3), 1fr);
  }
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color var(--t), transform var(--t), background var(--t), box-shadow var(--t);
}

.pillar-card:hover {
  border-color: rgba(201, 168, 76, 0.32);
  background: var(--bg-card-h);
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.45);
}

.pillar-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pillar-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-card h3 {
  font-size: var(--text-base);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.95rem;
}

.pillar-card p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

/* Investment Cards Grid */
.invest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .invest-grid {
    grid-template-columns: repeat(var(--cols, 2), 1fr);
  }
}

@media (min-width: 1024px) {
  .invest-grid {
    grid-template-columns: repeat(var(--cols, 3), 1fr);
  }
}

.invest-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 17.5rem;
  cursor: default;
}

.invest-card__fill {
  position: absolute;
  inset: 0;
  background: #f2f0eb;
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}

.invest-card.is-active .invest-card__fill {
  transform: scale(1);
}

.invest-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: inherit;
  padding: 2rem 1.75rem;
}

.invest-card__name {
  font-size: var(--text-base);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: var(--leading-tight);
  transition: color 0.38s ease;
}

.invest-card__desc {
  flex: 1;
  margin-top: 0.85rem;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  transition: color 0.38s ease;
}

.invest-card.is-active .invest-card__name,
.invest-card.is-active .invest-card__desc {
  color: var(--bg);
}

.invest-card__logo {
  margin-top: 1.5rem;
  align-self: flex-start;
  flex-shrink: 0;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.invest-card__logo-part {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: left center;
  transform: translateX(0);
  transition: transform 0.38s ease;
}

.invest-card__logo-part--color {
  filter: none;
}

.invest-card__logo-part--fade {
  filter: brightness(0) invert(1);
  transition: filter 0.38s ease, transform 0.38s ease;
}

.invest-card.is-active .invest-card__logo-part {
  transform: translateX(0.25rem);
}

.invest-card.is-active .invest-card__logo-part--fade {
  filter: brightness(0);
}

@media (prefers-reduced-motion: reduce) {
  .invest-card__fill {
    transition: none;
    transform: scale(0);
    transform-origin: center;
  }

  .invest-card.is-active .invest-card__fill {
    transform: scale(1);
  }
}

/* =====================================================
   PRODUCTS SECTION
   ===================================================== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(var(--cols, 2), 1fr);
  }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem 2.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-card:hover {
  border-color: rgba(201, 168, 76, 0.28);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52);
}

.product-card:hover::after {
  transform: scaleX(1);
}

.product-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--gold-dim);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.product-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.product-card p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin-bottom: 2.1rem;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: inherit;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--t);
}

.product-link:hover {
  gap: 0.85rem;
}

.product-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

/* =====================================================
   JOIN US CTA SECTION
   ===================================================== */
.joinus-section {
  position: relative;
  overflow: hidden;
}

.joinus-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  filter: grayscale(100%);
}

.joinus-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.joinus-content h2 {
  margin-bottom: 1rem;
}

.joinus-content p {
  font-size: var(--text-md);
  max-width: 580px;
  margin: 0 auto 3rem;
  line-height: var(--leading-relaxed);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 5rem;
  }
}

.contact-form-wrap h2 {
  margin-bottom: 0.5rem;
}

.contact-form-wrap>p {
  margin-bottom: 2.75rem;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.form-input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 7px;
  padding: 0.95rem 1.15rem;
  font-size: var(--text-sm);
  font-family: inherit;
  color: var(--white);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form-input::placeholder {
  color: var(--text-dim);
}

textarea.form-input {
  resize: vertical;
  min-height: 140px;
}

.form-error-msg {
  display: none;
  font-size: var(--text-xs);
  color: #f87171;
  margin-top: 0.45rem;
  padding-left: 2px;
}

.form-group.has-error .form-input {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.1);
}

.form-group.has-error .form-error-msg {
  display: block;
}

.form-success {
  display: none;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 7px;
  padding: 1.1rem 1.35rem;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: var(--gold);
  margin-top: 1rem;
  text-align: center;
}

/* Contact info */
.contact-info-wrap {
  padding-top: 0.5rem;
}

.contact-info-heading {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2.75rem;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  align-items: flex-start;
}

.info-icon {
  width: 46px;
  height: 46px;
  background: var(--gold-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-text h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.info-text p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.1rem;
  border-radius: 7px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--t);
  border: none;
  outline: none;
}

.btn-gold {
  background: var(--gold);
  color: #0a0a0a;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--gold-glow);
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #0a0a0a;
  transform: translateY(-2px);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* =====================================================
   FOOTER
   ===================================================== */
#main-footer {
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
}

.footer-main {
  padding: 4.5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-brand .nav-logo {
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  max-width: 310px;
  color: #666666;
}

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 1.2rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  font-size: var(--text-sm);
  color: #666666;
  transition: color var(--t);
}

.footer-col ul li a:hover {
  color: #b8952e;
}

.footer-bottom-bar {
  border-top: 1px solid #e5e5e5;
}

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: var(--text-sm);
  color: #888888;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: var(--text-sm);
  color: #888888;
  transition: color var(--t);
}

.footer-legal a:hover {
  color: #b8952e;
}

/* =====================================================
   PAGE HERO (Sub-pages)
   ===================================================== */
.page-hero {
  padding-top: var(--nav-h);
  position: relative;
  height: 35vh;
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 1.5rem;
  width: 100%;
}

.breadcrumb {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

.breadcrumb a {
  color: var(--text-dim);
  transition: color var(--t);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb-sep {
  font-size: var(--text-xs);
}

.breadcrumb-current {
  color: var(--gold);
}

.page-hero h1 {
  font-size: var(--heading-page);
  margin-bottom: 0.75rem;
}

/* =====================================================
   STATS / NUMBERS SECTION
   ===================================================== */
.stats-section {
  padding: 5.5rem 0;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.stats-grid .stat-card {
  flex: 0 1 calc(25% - 1.125rem);
  max-width: calc(25% - 1.125rem);
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .stats-grid .stat-card {
    flex-basis: calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    gap: 1rem;
  }

  .stats-grid .stat-card {
    flex-basis: calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.stat-card:hover {
  border-color: rgba(201, 168, 76, 0.38);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.stat-value {
  font-size: var(--heading-stat);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: var(--leading-body);
}

/* =====================================================
   PLACEHOLDER SECTION (Coming Soon)
   ===================================================== */
.placeholder-section {
  padding: 8rem 0;
  text-align: center;
}

.placeholder-icon {
  width: 72px;
  height: 72px;
  background: var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.placeholder-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.placeholder-section h2 {
  font-size: var(--heading-2-mobile);
  margin-bottom: 1.15rem;
}

.placeholder-section p {
  max-width: 520px;
  margin: 0 auto;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* =====================================================
   MOBILE NAV DRAWER
   ===================================================== */
@media (max-width: 1023px) {
  :root {
    --nav-h: 64px;
  }

  #main-header {
    height: 64px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: #e0e0e0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  }

  .nav-container {
    padding: 0 1.25rem;
    gap: 0.75rem;
  }

  #main-header .nav-logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 3rem);
    gap: 0.6rem;
  }

  #main-header .nav-logo > div {
    min-width: 0;
    overflow: hidden;
  }

  #main-header .nav-logo-img {
    height: 32px;
    flex-shrink: 0;
  }

  #main-header .nav-logo-text {
    font-size: var(--text-sm);
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #main-header .nav-logo-sub {
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hamburger {
    display: flex;
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: 1002;
  }

  .nav-right {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(380px, 88vw);
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid #e5e5e5;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--nav-h) + 2rem) 1.75rem 2rem;
    gap: 0;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-right.open {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
    margin-bottom: 2rem;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item>a {
    padding: 1rem 0;
    font-size: var(--text-base);
    border-bottom: 1px solid #eeeeee;
    border-radius: 0;
    width: 100%;
    justify-content: space-between;
    color: #333333;
  }

  /* Mobile dropdown — toggled via JS */
  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    pointer-events: all;
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    display: none;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-item.dropdown-open .nav-dropdown {
    display: block;
  }

  .nav-item.dropdown-open .nav-arrow {
    transform: rotate(180deg);
  }

  .nav-dropdown a {
    padding: 0.7rem 0 0.7rem 1rem;
    border-bottom: 1px solid #eeeeee;
    border-radius: 0;
    font-size: var(--text-sm);
  }

  .lang-selector {
    border-left: none;
    border-top: 1px solid #eeeeee;
    padding: 1.5rem 0 0;
    margin-top: 0.5rem;
    width: 100%;
  }
}

@media (max-width: 400px) {
  #main-header .nav-logo-sub {
    display: none;
  }

  #main-header .nav-logo-text {
    font-size: var(--text-base);
  }
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 999;
  backdrop-filter: blur(2px);
}

.nav-overlay.visible {
  display: block;
}

/* =====================================================
   STRATEGY BLOCKS (Products pages)
   ===================================================== */
.strategy-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.strategy-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}

.strategy-block:hover {
  border-color: rgba(201, 168, 76, 0.28);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.45);
}

.strategy-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(201, 168, 76, 0.04);
}

.strategy-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: #0a0a0a;
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0;
}

.strategy-header h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: var(--leading-tight);
}

.strategy-body {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), 1fr);
  gap: 0;
}

.strategy-body--full {
  grid-template-columns: 1fr;
}

.strategy-body--full .strategy-col img {
  max-height: 540px;
  object-fit: contain;
  margin: 0 auto;
}

.strategy-col {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.strategy-col:not(:first-child) {
  border-left: 1px solid var(--border);
}

/* Bullet list inside a strategy column */
.strategy-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.strategy-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

.strategy-bullet-list li::before {
  content: '\25B6';
  font-size: 0.5em;
  color: var(--gold);
  margin-top: 0.42em;
  flex-shrink: 0;
}

.strategy-bullet-list li strong {
  color: var(--text-muted);
  font-weight: 700;
}

.strategy-bullet-list li.strategy-list-title::before {
  display: none;
}

.strategy-bullet-list li.strategy-list-title {
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: var(--leading-tight);
}

/* Column with title pinned top, bullet list centered in remaining space */
.strategy-col-title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--white);
  padding-bottom: 0.95rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
  line-height: var(--leading-tight);
}

.strategy-col--titled {
  justify-content: flex-start;
}

.strategy-col--titled .strategy-bullet-list {
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 0.5rem;
}

.strategy-bullet-list li .highlight-num {
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 800;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;

  font-size: var(--text-xs);
  margin-right: 6px;
  transform: translateY(3px);
}

/* Cycle diagram — pure CSS, no image needed */
.strategy-diagram {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 1;
}

.strategy-diagram svg {
  width: 100%;
  height: 100%;
}

/* Strategy column image */
.strategy-col img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

@media (max-width: 768px) {
  .strategy-body {
    grid-template-columns: 1fr !important;
  }

  .strategy-col:not(:first-child) {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .strategy-col {
    padding: 1.5rem 1.5rem;
  }
}

/* =====================================================
   TRACK RECORD TABLE
   ===================================================== */
.track-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}

.track-table-wrap:hover {
  border-color: rgba(201, 168, 76, 0.28);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.45);
}

.track-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.track-table-scroll:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.track-table {
  width: 100%;
  min-width: 52rem;
  border-collapse: collapse;
  font-size: var(--text-base);
}

.track-table-caption {
  position: static;
  display: table-caption;
  
  width: auto;
  height: auto;
  padding: 0.6rem 0;
  margin: 0;
  
  overflow: visible;
  clip: auto;
  white-space: normal;

  font-weight: 700;
  font-size: var(--text-base);
  text-align: center;
  color: var(--text-muted); 
}

/* Michael:If you want to hide the caption, you can use the following code
.track-table-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}*/

.track-table thead {
  background: rgba(201, 168, 76, 0.06);
}

.track-table thead th {
  padding: 1rem 0.6rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.track-table thead th.track-table-corner {
  width: 4.5rem;
  min-width: 4.5rem;
  position: sticky;
  left: 0;
  z-index: 3;
  background: rgba(201, 168, 76, 0.06);
  border-right: 1px solid var(--border);
}

.track-table tbody th,
.track-table tbody td {
  padding: 0.9rem 0.6rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.track-table tbody th {
  font-weight: 700;
  color: var(--white);
  text-align: left;
  padding-left: 1.5rem;
  background: var(--bg-card);
  position: sticky;
  left: 0;
  z-index: 2;
  border-right: 1px solid var(--border);
}

.track-table tbody td {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.track-table tbody tr:last-child th,
.track-table tbody tr:last-child td {
  border-bottom: none;
}

.track-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.track-table tbody tr:hover th {
  background: var(--bg-card-h);
}

.track-table .track-table-ytd {
  font-weight: 700;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

.track-table thead th.track-table-ytd {
  border-left: 1px solid rgba(201, 168, 76, 0.15);
}

.track-table tbody td.track-table-ytd {
  border-left: 1px solid rgba(201, 168, 76, 0.12);
}

@media (max-width: 640px) {
  .track-table {
    min-width: 44rem;
    font-size: var(--text-sm);
  }

  .track-table thead th,
  .track-table tbody th,
  .track-table tbody td {
    padding: 0.75rem 0.45rem;
  }

  .track-table tbody th {
    padding-left: 1rem;
  }
}

/* =====================================================
   RESPONSIVE TWEAKS
   ===================================================== */
@media (max-width: 640px) {
  :root {
    --font-size-root: var(--font-size-root-mobile);
    --section-y: var(--section-y-mobile);
    --section-header-gap: 3.25rem;
  }

  h1 {
    font-size: var(--heading-1-mobile);
  }

  h2 {
    font-size: var(--heading-2-mobile);
  }

  h3 {
    font-size: var(--heading-3-mobile);
  }

  .container {
    padding: 0 1.25rem;
  }

  .section-header p {
    font-size: var(--text-base);
  }

  .hero-desc,
  .about-intro p,
  .joinus-content p {
    font-size: var(--text-base);
  }

  .strategy-bullet-list li {
    font-size: var(--text-sm);
  }

  .strategy-bullet-list li.strategy-list-title,
  .strategy-col-title {
    font-size: var(--text-base);
  }

  .strategy-header h3 {
    font-size: var(--text-base);
  }

  .hero {
    min-height: 100svh;
  }

  .hero h1 {
    font-size: var(--heading-1-mobile);
  }

  .page-hero {
    height: 44vh;
    min-height: 300px;
  }

  .page-hero h1 {
    font-size: var(--heading-page-mobile);
  }

  /* Mobile: static background instead of JS slideshow */
  .hero-slideshow {
    background-image: url('/resources/homepage/hk-1.webp');
    background-size: cover;
    background-position: center;
  }
}

/* =====================================================
   DISCLAIMER GATE OVERLAY
   ===================================================== */
html.disclaimer-gate-open,
body.disclaimer-gate-open {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}

.disclaimer-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.disclaimer-gate.is-open {
  opacity: 1;
}

.disclaimer-gate.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.disclaimer-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.disclaimer-gate__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(960px, 100%);
  max-height: min(88vh, 600px);
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.disclaimer-gate__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
}

.disclaimer-gate__brand {
  display: flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
}

.disclaimer-gate__logo {
  display: block;
  height: 2rem;
  width: auto;
  max-width: 100%;
}

.disclaimer-gate__title {
  justify-self: center;
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-tight);
  text-align: center;
  white-space: nowrap;
}

.disclaimer-gate__lang {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.15rem;
  flex-shrink: 0;
}

.disclaimer-gate__lang-btn {
  background: none;
  border: none;
  padding: 0.25rem 0.4rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #888888;
  cursor: pointer;
  border-radius: 3px;
  transition: color var(--t);
  font-family: inherit;
}

.disclaimer-gate__lang-btn:hover,
.disclaimer-gate__lang-btn.is-active {
  color: #b8952e;
}

.disclaimer-gate__lang-sep {
  color: #cccccc;
  font-size: var(--text-xs);
}

.disclaimer-gate__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2rem 2.5rem;
  -webkit-overflow-scrolling: touch;
}

.disclaimer-gate__body p {
  font-size: var(--text-sm);
  font-style: italic;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 0.85rem;
}

.disclaimer-gate__body p:last-child {
  margin-bottom: 0;
}

.disclaimer-gate__body strong {
  color: var(--white);
  font-weight: 600;
  font-style: italic;
}

.disclaimer-gate__body h3 {
  font-size: var(--text-sm);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 1.15rem 0 0.5rem;
}

.disclaimer-gate__footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
}

.disclaimer-gate__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
}

.disclaimer-gate__note {
  font-size: var(--text-xs);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  max-width: 35rem;
}

.disclaimer-gate__accept {
  flex-shrink: 0;
  min-width: 8.5rem;
}

.disclaimer-gate__copyright {
  margin: 0;
  padding: 0.75rem 1.5rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .disclaimer-gate {
    padding: 0.75rem;
  }

  .disclaimer-gate__panel {
    max-height: 92vh;
    border-radius: 12px;
  }

  .disclaimer-gate__header,
  .disclaimer-gate__body,
  .disclaimer-gate__actions,
  .disclaimer-gate__copyright {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .disclaimer-gate__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .disclaimer-gate__accept {
    width: 100%;
  }
}