/* ===================================================================
   BIZNET GLOBAL AWARDS — GLOBAL STYLESHEET
   -------------------------------------------------------------------
   Design tokens
   Color   : near-black + antique metallic gold, restrained & premium
   Type    : Fraunces (display serif, award titles / editorial accents)
             Manrope (sans, navigation / body / UI)
   Layout  : centered cinematic hero, alternating editorial sections,
             asymmetric award-category grid
   =================================================================== */

/* -------------------------------------------------
   1. FONTS
   Loaded via <link> tags in includes/header.php (faster than an
   @import here, which would block this file's own parsing).
   Swap for self-hosted font files in production if you need to
   avoid the third-party Google Fonts request.
------------------------------------------------- */

/* -------------------------------------------------
   2. DESIGN TOKENS
------------------------------------------------- */
:root {
  /* -- Core palette -- */
  --color-black:        #08070a;   /* primary background, warm near-black */
  --color-black-soft:   #121014;   /* raised panels / cards */
  --color-charcoal:     #1c1a1e;   /* secondary panels, borders base */
  --color-gold:         #cda354;   /* primary metallic gold */
  --color-gold-light:   #f0dba0;   /* champagne highlight / hover state */
  --color-gold-dark:    #856a30;   /* antique gold, deep borders/shadows */
  --color-bronze:       #4a3520;   /* deep bronze accent, used sparingly */
  --color-white:        #f6f1e7;   /* warm champagne white (text on dark) */
  --color-gray:         #a49b8d;   /* muted warm gray, secondary text */
  --color-gray-dim:     #6f6860;   /* tertiary text / meta */

  /* -- Semantic aliases -- */
  --bg-body:            var(--color-black);
  --bg-panel:           var(--color-black-soft);
  --bg-panel-raised:    #18161a;
  --text-primary:       var(--color-white);
  --text-muted:         var(--color-gray);
  --border-subtle:      rgba(205, 163, 84, 0.18);
  --border-strong:      rgba(205, 163, 84, 0.45);

  /* -- Gradients -- */
  --gradient-gold: linear-gradient(120deg, var(--color-gold-dark) 0%, var(--color-gold) 35%, var(--color-gold-light) 50%, var(--color-gold) 65%, var(--color-gold-dark) 100%);
  --gradient-gold-static: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold) 50%, var(--color-gold-light));
  --gradient-overlay-hero: linear-gradient(180deg, rgba(8,7,10,0.55) 0%, rgba(8,7,10,0.72) 55%, rgba(8,7,10,0.96) 100%);
  --gradient-panel-fade: linear-gradient(180deg, rgba(8,7,10,0) 0%, var(--color-black) 100%);

  /* -- Typography -- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* -- Layout -- */
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --section-pad-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  /* -- Motion -- */
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 220ms;
  --dur-med: 480ms;
  --dur-slow: 900ms;

  /* -- Z-index scale -- */
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;
}

/* -------------------------------------------------
   3. RESET / BASE
------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; height: 100%; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-muted); max-width: 62ch; }

/* Visible focus states — accessibility, never rely on color alone */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--color-gold-dark); color: var(--color-white); }

/* -------------------------------------------------
   4. LAYOUT HELPERS
------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  position: relative;
  padding-block: var(--section-pad-y);
}

.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-dark   { background: var(--color-black); }
.section-panel  { background: var(--color-black-soft); }

.grain-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Eyebrow / kicker — used once per section, sparingly */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gradient-gold-static);
}

.section-heading { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-heading .eyebrow { margin-bottom: 0.9rem; }
.section-heading h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
}
.section-heading p { color: var(--text-muted); font-size: 1.05rem; margin-top: 0.75rem; }
.section-heading.center { text-align: center; }
.section-heading.center p { margin-inline: auto; }
.section-heading.center .eyebrow::before { display: none; }

/* -------------------------------------------------
   5. BUTTONS
------------------------------------------------- */
.btn {
  --btn-fg: var(--color-black);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-premium), box-shadow var(--dur-fast) var(--ease-premium);
}

.btn-primary {
  background: var(--gradient-gold-static);
  color: var(--btn-fg);
  box-shadow: 0 8px 26px -10px rgba(205, 163, 84, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(205, 163, 84, 0.8); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-gold-light);
  padding: 0.6rem 0;
  letter-spacing: 0.12em;
}
.btn-ghost::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 0.35rem;
  background: currentColor;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-premium);
}
.btn-ghost:hover::after { transform: scaleX(1); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* -------------------------------------------------
   6. GOLD BORDER SWEEP (reusable luxury hover border)
   Applied to: cards, region tabs, partner boxes, sponsor cards
------------------------------------------------- */
.gold-frame {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  isolation: isolate;
}
.gold-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--border-subtle), transparent 30%, transparent 70%, var(--border-subtle));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background var(--dur-med) var(--ease-premium);
  z-index: 1;
}
.gold-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(115deg, transparent 0%, transparent 42%, var(--color-gold-light) 50%, transparent 58%, transparent 100%);
  background-size: 260% 260%;
  background-position: -120% -120%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) linear;
  z-index: 2;
}
.gold-frame:hover::after,
.gold-frame:focus-within::after {
  opacity: 1;
  animation: borderSweep 1.15s var(--ease-premium) forwards;
}
.gold-frame:hover,
.gold-frame:focus-within { transform: translateY(-4px); }
.gold-frame { transition: transform var(--dur-med) var(--ease-premium); }

/* -------------------------------------------------
   7. HEADER / NAVIGATION
------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(8, 7, 10, 0.35);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(205, 163, 84, 0.14);
  transition: background var(--dur-med) var(--ease-premium), border-color var(--dur-med) var(--ease-premium), padding var(--dur-med) var(--ease-premium);
}
.site-header.is-scrolled {
  background: rgba(8, 7, 10, 0.86);
  border-bottom-color: rgba(205, 163, 84, 0.28);
}
.site-header__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  transition: height var(--dur-med) var(--ease-premium);
}
.site-header.is-scrolled .site-header__inner { height: 68px; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand__word {
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  color: var(--color-white);
  line-height: 1;
}
.brand__word strong { color: var(--color-gold-light); font-weight: 600; }
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  color: var(--color-gray);
  margin-top: 3px;
  text-transform: uppercase;
}

.main-nav { display: none; }
@media (min-width: 1100px) {
  .main-nav { display: flex; align-items: center; gap: 2.1rem; }
}
.main-nav > ul { display: flex; align-items: center; gap: 2.1rem; }
.main-nav .nav-link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-white);
  padding: 0.4rem 0.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.main-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gradient-gold-static);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-premium);
}
.main-nav .nav-link:hover,
.main-nav .nav-link:focus-visible,
.main-nav .has-dropdown:hover .nav-link,
.main-nav .nav-link.is-current {
  color: var(--color-gold-light);
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link:focus-visible::after,
.main-nav .nav-link.is-current::after { transform: scaleX(1); }

.nav-caret { width: 9px; height: 9px; transition: transform var(--dur-fast) var(--ease-premium); }
.has-dropdown:hover .nav-caret,
.has-dropdown.is-open .nav-caret { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 240px;
  background: rgba(14, 12, 15, 0.98);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 24px 48px -18px rgba(0,0,0,0.7);
  transition: opacity var(--dur-fast) var(--ease-premium), transform var(--dur-fast) var(--ease-premium), visibility var(--dur-fast);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--color-gray);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(205,163,84,0.09); color: var(--color-gold-light); }

.header-cta { display: none; align-items: center; gap: 1.1rem; }
@media (min-width: 1100px) { .header-cta { display: flex; } }

.hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  position: relative;
}
@media (min-width: 1100px) { .hamburger { display: none; } }
.hamburger span {
  position: absolute;
  width: 20px;
  height: 1.5px;
  background: var(--color-white);
  transition: transform var(--dur-fast) var(--ease-premium), opacity var(--dur-fast) var(--ease-premium), top var(--dur-fast) var(--ease-premium);
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-active span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* -------------------------------------------------
   8. MOBILE MENU (slides down from top)
------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: calc(var(--z-header) - 1);
  background: rgba(8,7,10, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--dur-slow) var(--ease-premium), opacity var(--dur-med) ease;
  padding-top: 86px;
}
.mobile-menu.is-open { max-height: 100vh; opacity: 1; overflow-y: auto; }
@media (min-width: 1100px) { .mobile-menu { display: none; } }

.mobile-menu__inner { padding: 1.25rem var(--container-pad) 2.5rem; }
.mobile-menu .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-med) var(--ease-premium);
}
.mobile-submenu.is-open { max-height: 480px; }
.mobile-submenu a {
  display: block;
  padding: 0.7rem 0 0.7rem 1rem;
  font-size: 0.82rem;
  color: var(--color-gray);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-menu .header-cta { display: flex; margin-top: 1.5rem; }
.mobile-menu .header-cta .btn { width: 100%; }

/* -------------------------------------------------
   9. FOOTER
------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--color-black);
  border-top: 1px solid var(--border-subtle);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}
.footer-grid {
  display: grid;
  gap: 2.75rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { font-size: 0.92rem; margin-top: 1rem; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { font-size: 0.9rem; color: var(--color-gray); transition: color var(--dur-fast); }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--color-gold-light); }

.footer-newsletter { display: flex; gap: 0; margin-top: 1.1rem; max-width: 340px; }
.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-right: none;
  padding: 0.85rem 1rem;
  color: var(--color-white);
  border-radius: 2px 0 0 2px;
}
.footer-newsletter input::placeholder { color: var(--color-gray-dim); }
.footer-newsletter button {
  border: none;
  background: var(--gradient-gold-static);
  color: var(--color-black);
  padding: 0 1.2rem;
  font-weight: 700;
  border-radius: 0 2px 2px 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-row { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.social-row a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  transition: border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.social-row a:hover { border-color: var(--color-gold-light); color: var(--color-gold-light); transform: translateY(-3px); }
.social-row svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.75rem;
  font-size: 0.8rem;
  color: var(--color-gray-dim);
}
.footer-bottom .legal-links { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--color-gold-light); }

/* -------------------------------------------------
   10. MISC UI
------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-gold);
  color: var(--color-black);
  padding: 0.8rem 1.2rem;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.divider-gold {
  width: 64px;
  height: 2px;
  background: var(--gradient-gold-static);
  margin-block: 1rem;
}

.badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-gold-light);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}
