:root {
  color-scheme: dark;
  --gold: #FFC000;
  --gold-text: #FFCE3E;
  --dark-gold: #917300;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; min-height: 100%; }
body { margin: 0; min-height: 100%; background: #05070b; color: #fff; font-family: Montserrat, Roboto, "Helvetica Neue", Arial, sans-serif; }
img { max-width: 100%; height: auto; }
.hero {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.animated-bg-section { position: relative; overflow: hidden; isolation: isolate; }
.animated-bg-section > .container { position: relative; z-index: 5; }
.animated-bg-section .hero-bg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; perspective: 80rem;
}
.animated-bg-section .hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2;
}
.animated-bg-section .big-logo {
  position: absolute; left: 50%; top: 50%; width: min(54vw,42rem);
  aspect-ratio: 1/1; transform: translate(-50%,-50%);
  background: url("../img/logo-gold.png") center/contain no-repeat;
  opacity: .075; filter: grayscale(1) invert(1) brightness(1.8);
  z-index: 1; transition: transform .12s ease-out; will-change: transform;
}
.animated-bg-section .small-logo {
  position: absolute; left: 50%; top: 50%; width: var(--size); height: var(--size);
  background: url("../img/logo-gold.png") center/contain no-repeat;
  opacity: var(--opacity); filter: grayscale(1) invert(1) brightness(1.55);
  z-index: 3; will-change: transform, opacity;
}
.animated-bg-section .hero-overlay {
  position: absolute; inset: 0; z-index: 4;
  background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%),rgba(212,175,55,.10),transparent 9rem),
              linear-gradient(90deg,rgba(5,7,11,.92) 0%,rgba(5,7,11,.48) 45%,rgba(5,7,11,.22) 100%);
  pointer-events: none;
}
.hero.animated-bg-section {
  background: radial-gradient(circle at 70% 45%,rgba(212,175,55,.12),transparent 32%),
              radial-gradient(circle at 20% 25%,rgba(255,255,255,.05),transparent 28%),
              linear-gradient(135deg,#05070b 0%,#090d14 55%,#030406 100%);
}
.hero.animated-bg-section::before { display: none; }
.hero .hero-bg { overflow: hidden; }
body.light-theme { color-scheme: light; }
body.light-theme .hero.animated-bg-section {
  background: radial-gradient(circle at 70% 45%,rgba(255,192,0,.16),transparent 32%),
              radial-gradient(circle at 20% 25%,rgba(0,0,0,.04),transparent 28%),
              linear-gradient(135deg,#fff 0%,#f6f6f6 55%,#eee 100%);
  color: #111;
}
body.light-theme .animated-bg-section .big-logo {
  opacity: .08; filter: grayscale(1) brightness(.42) opacity(.72);
}
body.light-theme .animated-bg-section .small-logo {
  filter: grayscale(1) brightness(.42) opacity(.72);
}
body.light-theme .animated-bg-section .hero-overlay {
  background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%),rgba(255,192,0,.15),transparent 9rem),
              linear-gradient(90deg,rgba(255,255,255,.74) 0%,rgba(255,255,255,.48) 45%,rgba(255,255,255,.22) 100%);
}
.container {
  width: 100%; max-width: 1440px; margin: 0 auto;
  padding: 2.5rem clamp(1rem,4vw,2rem);
}
.hero-content {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  gap: 0;
  min-height: 100vh;
  min-height: 100svh;
}
.brand-logo {
  display: block;
  width: clamp(6.75rem,13.8vw,11rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 .85rem 2rem rgba(255,192,0,.15));
  margin: 0 0 clamp(1.65rem,3.8vw,2.5rem);
}
.brand-name {
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem,4vw,3.1rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.brand-subtitle {
  margin: .8rem 0 0;
  font-size: clamp(.85rem,1.65vw,1.05rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .09em;
  color: #bfbab0;
}
.brand-email {
  display: inline-block;
  margin: clamp(1.75rem,4vw,2.65rem) 0 0;
  color: var(--gold-text);
  font-size: clamp(.93rem,1.35vw,1.05rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .015em;
  text-decoration: none;
  text-underline-offset: .25em;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}
.brand-email:hover { color: #ffe18b; text-decoration: underline; }
.brand-email:focus-visible { outline: 2px solid var(--gold); outline-offset: .4rem; }
body.light-theme .brand-name { color: #161616; }
body.light-theme .brand-subtitle { color: #525252; }
body.light-theme .brand-email { color: #765c00; }

@media (max-width: 599px) {
  .animated-bg-section .big-logo { width: 90vw; opacity: .055; }
  .animated-bg-section .hero-overlay {
    background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%),rgba(212,175,55,.09),transparent 7rem),
                linear-gradient(180deg,rgba(5,7,11,.86),rgba(5,7,11,.58));
  }
  body.light-theme .animated-bg-section .hero-overlay {
    background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%),rgba(255,192,0,.14),transparent 7rem),
                linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,255,255,.52));
  }
  .brand-logo { width: clamp(7.5rem,32vw,9.25rem); }
  .brand-name { letter-spacing: -.025em; }
  .brand-subtitle { letter-spacing: .035em; }
}
@media (max-width: 320px) {
  .container { padding-inline: .7rem; }
  .brand-logo { width: 7rem; }
}
@media (max-height: 440px) and (min-width: 600px) {
  .brand-logo { width: min(15vh,6rem); margin-bottom: 1rem; }
  .brand-email { margin-top: 1rem; }
}
