/* =============================================
   HOUSE OF KUSH — SHARED DESIGN SYSTEM v2
   Brand gold updated from logo: #F5B800
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Syne:wght@400;500;600;700;800&family=DM+Mono:wght@300;400;500&display=swap');

:root {
  --black:        #080808;
  --graphite:     #111111;
  --graphite-2:   #181818;
  --border:       #252525;
  --border-light: #333333;

  /* Brand gold — sampled directly from logo */
  --gold:         #F5B800;
  --gold-light:   #FFD040;
  --gold-dim:     #B88A00;
  --gold-dark:    #7A5C00;
  --gold-glow:    rgba(245,184,0,0.14);
  --gold-glow-sm: rgba(245,184,0,0.07);

  --white:        #F8F5EF;
  --white-dim:    rgba(248,245,239,0.58);
  --white-faint:  rgba(248,245,239,0.18);
  --white-ghost:  rgba(248,245,239,0.05);

  --font-display: 'Syne', sans-serif;
  --font-serif:   'Cormorant Garamond', serif;
  --font-mono:    'DM Mono', monospace;
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* TOUCH & MOBILE GLOBALS */
* { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; display: block; }
a, button { touch-action: manipulation; }
input, textarea, select { font-size: 16px !important; } /* prevent iOS zoom on focus */

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  overflow-x: hidden;
  cursor: none;
}

/* NOISE */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9100;
}

/* CURSOR */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .18s, height .18s;
}
.cursor-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid rgba(245,184,0,0.55);
  border-radius: 50%; pointer-events: none;
  z-index: 9998; transform: translate(-50%,-50%);
  transition: width .28s, height .28s, opacity .28s;
  opacity: 0.45;
}
.cursor.hover  { width: 18px; height: 18px; }
.cursor-ring.hover { width: 52px; height: 52px; opacity: 0.75; }

/* ─── LOGO SVG COMPONENT ─── */
/* Inline SVG that faithfully reproduces the uploaded logo */
.hk-logo-svg {
  display: block;
  width: 40px; height: 40px;
  flex-shrink: 0;
}

/* NAV */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: 76px; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,8,8,0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease-out), backdrop-filter .5s, border-color .5s;
}
.site-nav.scrolled {
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.site-nav.solid {
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo:hover .hk-logo-svg { filter: drop-shadow(0 0 8px rgba(245,184,0,0.4)); }
.nav-brand-text { display: flex; flex-direction: column; gap: 1px; }
.nav-brand-top {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); line-height: 1;
}
.nav-brand-bottom {
  font-family: var(--font-mono);
  font-size: 8px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  line-height: 1;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white-dim); text-decoration: none;
  padding: 8px 14px;
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 4px; left: 14px; right: 14px;
  height: 1px; background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta-link {
  background: transparent !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  border-radius: 2px !important;
  padding: 9px 20px !important;
  transition: background .2s, color .2s !important;
}
.nav-cta-link::after { display: none !important; }
.nav-cta-link:hover { background: var(--gold) !important; color: var(--black) !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 6px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white); transition: .3s;
}

.nav-drawer {
  position: fixed; top: 76px; left: 0; right: 0;
  background: rgba(8,8,8,0.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px 5% 32px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease-out), opacity .3s;
  z-index: 999;
}
.nav-drawer.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.nav-drawer a {
  display: block; padding: 14px 0;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white-dim); text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav-drawer a:hover, .nav-drawer a.active { color: var(--gold); }

/* PAGE */
.page-wrap     { padding-top: 76px; }
.page-wrap-no-pad { padding-top: 0; }

/* SECTIONS */
.section    { padding: 120px 5%; position: relative; }
.section-sm { padding: 80px 5%; }
.section-inner { max-width: 1160px; margin: 0 auto; }

.section-label {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 300;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.section-label::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.02; text-transform: uppercase;
  color: var(--white); margin-bottom: 22px;
}
.section-title .gold { color: var(--gold); }
.section-sub {
  font-size: 15px; color: var(--white-dim);
  line-height: 1.75; letter-spacing: 0.01em;
  max-width: 560px;
}

/* BUTTONS */
.btn-gold {
  display: inline-block;
  background: var(--gold); color: var(--black);
  border: none; padding: 16px 38px;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; cursor: none; border-radius: 2px;
  transition: background .2s, transform .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 55%);
  pointer-events: none;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(245,184,0,0.3);
}
.btn-outline {
  display: inline-block;
  background: transparent; color: var(--white-dim);
  border: 1px solid var(--border); padding: 15px 38px;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; cursor: none; border-radius: 2px;
  transition: border-color .2s, color .2s, transform .2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-gold-outline {
  display: inline-block;
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold); padding: 15px 38px;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; cursor: none; border-radius: 2px;
  transition: background .2s, color .2s, transform .2s;
}
.btn-gold-outline:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }

/* REVEAL */
.reveal       { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }

/* FOOTER */
.site-footer {
  background: var(--graphite);
  border-top: 1px solid var(--border);
  padding: 64px 5% 36px;
}
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-logo-wrap {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; text-decoration: none;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white);
}
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.footer-desc { font-size: 12px; color: var(--white-dim); line-height: 1.75; max-width: 240px; }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--white-dim);
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 12px; color: var(--white-dim);
  text-decoration: none; letter-spacing: 0.04em;
  transition: color .2s;
  display: flex; align-items: center; gap: 8px;
}
.footer-links a::before {
  content: ''; display: block;
  width: 10px; height: 1px; background: var(--border);
  transition: width .2s, background .2s; flex-shrink: 0;
}
.footer-links a:hover { color: var(--gold); }
.footer-links a:hover::before { background: var(--gold); width: 16px; }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px; color: var(--white-faint); letter-spacing: 0.18em;
}
.footer-copy span { color: var(--gold); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-family: var(--font-mono);
  font-size: 10px; color: var(--white-faint);
  letter-spacing: 0.18em; text-decoration: none;
  transition: color .2s;
}
.footer-legal a:hover { color: var(--gold); }

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 54px; height: 54px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2000;
  box-shadow: 0 4px 24px rgba(37,211,102,0.35);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none; cursor: none;
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 8px 32px rgba(37,211,102,0.45); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* ═══════════════════════════════════
   RESPONSIVE — SHARED
   ═══════════════════════════════════ */

/* ── TABLET 960px ── */
@media(max-width:960px){
  .nav-links     { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 36px; }
  .section       { padding: 96px 5%; }
  .section-title { font-size: clamp(26px, 4.5vw, 44px); }
}

/* ── MOBILE 600px ── */
@media(max-width:600px){
  .section       { padding: 72px 5%; }
  .section-title { font-size: clamp(24px, 6.5vw, 36px); }
  .section-sub   { font-size: 14px; }
  .footer-top    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Buttons full-width on small screens when stacked */
  .btn-gold, .btn-outline, .btn-gold-outline {
    padding: 14px 28px;
    font-size: 11px;
  }

  /* Nav brand text hide tagline on very small */
  .nav-brand-bottom { display: none; }
  .site-nav { padding: 0 4%; }
  .site-nav { height: 64px; }
  .nav-drawer { top: 64px; }

  /* Page hero shared */
  .page-hero { min-height: 36vh !important; padding: 0 5% 44px !important; }
  .page-hero-title { font-size: clamp(34px, 9vw, 52px) !important; }
  .page-hero-serif { font-size: clamp(15px, 4vw, 20px) !important; }
  .page-breadcrumb { font-size: 9px; }

  /* WhatsApp float smaller */
  .wa-float { width: 46px; height: 46px; bottom: 20px; right: 20px; }
  .wa-float svg { width: 22px; height: 22px; }
}

/* ── SMALL MOBILE 380px ── */
@media(max-width:380px){
  .section       { padding: 60px 4%; }
  .nav-brand-top { font-size: 11px; letter-spacing: 0.15em; }
  .footer-legal  { flex-direction: column; gap: 10px; }
}

/* ── LANDSCAPE MOBILE ── */
@media(max-width:812px) and (orientation: landscape){
  .section { padding: 60px 5%; }
}
