:root {
  --bg: #020202;
  --text: #f7f2e8;
  --muted: #c7bfb2;
  --quiet: #867d70;
  --gold: #d8a84e;
  --amber: #f08a25;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

body::selection {
  background: var(--gold);
  color: #050505;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100svh;
  overflow: hidden;
  background: #020202;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(34px, 5vw, 72px) 20px clamp(58px, 7vw, 92px);
  isolation: isolate;
}

.stage-background,
.stage-mask,
.grid-overlay,
.beam-lines,
.smoke-haze,
.floor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stage-background {
  z-index: -6;
  background: url("assets/desktop-hero.jpg") center / cover no-repeat;
  filter: brightness(0.72) contrast(1.08) saturate(0.95);
  opacity: 0.92;
  transform: scale(1.025);
}

.stage-mask {
  z-index: -5;
  background:
    linear-gradient(180deg, rgba(2, 2, 2, 0.68) 0%, rgba(2, 2, 2, 0.42) 40%, rgba(2, 2, 2, 0.88) 100%),
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.035), transparent 38%),
    radial-gradient(ellipse at 50% 104%, rgba(216, 168, 78, 0.1), transparent 46%);
}

.grid-overlay {
  z-index: -4;
  background:
    linear-gradient(rgba(247, 242, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 232, 0.022) 1px, transparent 1px),
    radial-gradient(rgba(247, 242, 232, 0.14) 1px, transparent 1px);
  background-size: 86px 86px, 86px 86px, 5px 5px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
  opacity: 0.34;
}

.beam-lines {
  z-index: -3;
  overflow: hidden;
}

.beam-lines::before,
.beam-lines::after {
  position: absolute;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(247, 242, 232, 0.34), rgba(216, 168, 78, 0.72), transparent);
  box-shadow: 0 0 24px rgba(216, 168, 78, 0.24);
  opacity: 0.55;
}

.beam-lines::before {
  top: 30%;
  left: -12vw;
  width: 72vw;
  transform: rotate(-13deg);
  animation: beamFloat 10s ease-in-out infinite alternate;
}

.beam-lines::after {
  right: -16vw;
  bottom: 33%;
  width: 68vw;
  transform: rotate(12deg);
  animation: beamFloatReverse 12s ease-in-out infinite alternate;
}

.smoke-haze {
  z-index: -2;
  overflow: hidden;
  opacity: 0.24;
  mix-blend-mode: screen;
}

.smoke-haze::before,
.smoke-haze::after {
  position: absolute;
  content: "";
  background:
    radial-gradient(ellipse at 20% 50%, rgba(190, 164, 126, 0.2), transparent 52%),
    radial-gradient(ellipse at 58% 42%, rgba(120, 112, 98, 0.17), transparent 56%),
    radial-gradient(ellipse at 82% 62%, rgba(216, 168, 78, 0.12), transparent 50%);
  filter: blur(20px);
  transform-origin: center;
  will-change: transform, opacity;
}

.smoke-haze::before {
  top: 18%;
  right: -18%;
  bottom: 22%;
  left: -16%;
  animation: smokeDrift 18s ease-in-out infinite alternate;
}

.smoke-haze::after {
  top: 36%;
  right: -10%;
  bottom: 8%;
  left: -22%;
  opacity: 0.72;
  animation: smokeDriftSoft 14s ease-in-out infinite alternate;
}

.floor-glow {
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 104%, rgba(216, 168, 78, 0.22), rgba(216, 168, 78, 0.08) 25%, transparent 57%),
    linear-gradient(180deg, transparent 72%, rgba(216, 168, 78, 0.04) 100%);
  opacity: 0.9;
}

.floor-glow::before {
  position: absolute;
  right: 12%;
  bottom: 7%;
  left: 12%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(216, 168, 78, 0.56), transparent);
  box-shadow: 0 0 28px rgba(216, 168, 78, 0.25), 0 0 70px rgba(240, 138, 37, 0.14);
}

.hero-content {
  width: min(100%, 620px);
  margin: 0 auto;
  text-align: center;
}

.brand-mark,
.kicker,
h1,
.brand-story,
.status-copy,
.social-links {
  animation: fadeLift 760ms ease both;
}

.brand-mark {
  display: grid;
  min-height: 54px;
  place-items: center;
  margin-bottom: clamp(24px, 3.4vw, 38px);
}

.brand-logo {
  display: block;
  width: clamp(138px, 11vw, 190px);
  max-height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.12));
  transition: filter 420ms ease, transform 420ms ease;
}

.brand-mark:hover .brand-logo,
.brand-mark:focus-within .brand-logo {
  filter: drop-shadow(0 0 14px rgba(247, 242, 232, 0.22)) drop-shadow(0 0 20px rgba(216, 168, 78, 0.2));
  transform: translateY(-2px);
}

.brand-logo.is-missing {
  display: none;
}

.brand-wordmark {
  display: none;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
}

.brand-logo.is-missing + .brand-wordmark {
  display: inline-block;
}

h1,
p {
  margin-top: 0;
}

.kicker {
  max-width: 520px;
  margin: 0 auto clamp(18px, 2.4vw, 26px);
  color: rgba(216, 168, 78, 0.78);
  font-size: clamp(10px, 0.76vw, 12px);
  font-weight: 420;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  animation-delay: 80ms;
}

h1 {
  max-width: 560px;
  margin: 0 auto clamp(24px, 3vw, 34px);
  color: var(--text);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 520;
  line-height: 1.12;
  letter-spacing: 0.055em;
  text-wrap: balance;
  text-shadow: 0 10px 42px rgba(0, 0, 0, 0.72), 0 0 20px rgba(216, 168, 78, 0.08);
  animation-delay: 150ms;
  transition: letter-spacing 520ms ease, text-shadow 520ms ease, color 520ms ease;
}

h1:hover,
h1:focus-visible {
  color: #fffaf0;
  letter-spacing: 0.072em;
  text-shadow: 0 10px 42px rgba(0, 0, 0, 0.72), 0 0 24px rgba(216, 168, 78, 0.18);
}

.brand-story {
  max-width: 420px;
  margin: 0 auto 8px;
  color: rgba(247, 242, 232, 0.82);
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 360;
  letter-spacing: 0.04em;
  line-height: 1.75;
  text-wrap: balance;
  animation-delay: 230ms;
}

.status-copy {
  max-width: 420px;
  margin: 0 auto clamp(28px, 3.5vw, 42px);
  color: var(--muted);
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 320;
  letter-spacing: 0.035em;
  line-height: 1.8;
  animation-delay: 310ms;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 0;
  animation-delay: 390ms;
}

.social-link {
  position: relative;
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(247, 242, 232, 0.72);
  font-size: 0;
  line-height: 1;
  transition: color 200ms ease, text-shadow 200ms ease, transform 200ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: rgba(216, 168, 78, 0.92);
  text-shadow: 0 0 16px rgba(216, 168, 78, 0.3);
  outline: none;
  transform: translateY(-2px);
}

.link-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
}

.link-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.keyword-line {
  position: absolute;
  right: 20px;
  bottom: clamp(26px, 4vw, 44px);
  left: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  color: rgba(247, 242, 232, 0.28);
  font-size: clamp(8px, 0.6vw, 9px);
  font-weight: 320;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
  animation: fadeLift 760ms ease both;
  animation-delay: 470ms;
}

.keyword-line span + span::before {
  margin-right: 12px;
  content: "\00B7";
  color: rgba(216, 168, 78, 0.34);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes beamFloat {
  from {
    opacity: 0.36;
    transform: translate3d(-22px, 0, 0) rotate(-13deg);
  }

  to {
    opacity: 0.58;
    transform: translate3d(30px, 8px, 0) rotate(-13deg);
  }
}

@keyframes beamFloatReverse {
  from {
    opacity: 0.3;
    transform: translate3d(22px, 0, 0) rotate(12deg);
  }

  to {
    opacity: 0.54;
    transform: translate3d(-32px, -8px, 0) rotate(12deg);
  }
}

@keyframes smokeDrift {
  from {
    opacity: 0.52;
    transform: translate3d(-3.6%, 0.6%, 0) scale(1);
  }

  to {
    opacity: 0.84;
    transform: translate3d(4.4%, -2.2%, 0) scale(1.045);
  }
}

@keyframes smokeDriftSoft {
  from {
    opacity: 0.34;
    transform: translate3d(3.2%, 1.8%, 0) scale(1.02);
  }

  to {
    opacity: 0.62;
    transform: translate3d(-4.8%, -1.4%, 0) scale(1.065);
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 100svh;
    padding: 28px 18px 64px;
  }

  .stage-background {
    background-image: url("assets/mobile-hero.jpg");
    background-position: center center;
    background-size: cover;
    filter: brightness(0.68) contrast(1.08) saturate(0.95);
    opacity: 0.9;
  }

  .stage-mask {
    background:
      linear-gradient(180deg, rgba(2, 2, 2, 0.76) 0%, rgba(2, 2, 2, 0.52) 42%, rgba(2, 2, 2, 0.94) 100%),
      radial-gradient(ellipse at 50% 105%, rgba(216, 168, 78, 0.09), transparent 55%);
  }

  .grid-overlay {
    background-size: 48px 48px, 48px 48px, 5px 5px;
    opacity: 0.24;
  }

  .beam-lines::before {
    top: 28%;
    left: -34vw;
    width: 116vw;
  }

  .beam-lines::after {
    right: -42vw;
    bottom: 36%;
    width: 112vw;
  }

  .smoke-haze {
    opacity: 0.16;
  }

  .smoke-haze::before,
  .smoke-haze::after {
    filter: blur(16px);
  }

  .hero-content {
    width: min(100%, 330px);
    margin: 0 auto;
  }

  .brand-mark {
    min-height: 48px;
    margin-bottom: 22px;
  }

  .brand-logo {
    width: min(132px, 46vw);
    max-height: 54px;
  }

  .kicker {
    margin-bottom: 16px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  h1 {
    max-width: 330px;
    margin-bottom: 22px;
    font-size: clamp(30px, 8.4vw, 40px);
    line-height: 1.14;
    letter-spacing: 0.045em;
  }

  h1:hover,
  h1:focus-visible {
    letter-spacing: 0.052em;
  }

  .brand-story {
    max-width: 300px;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.65;
  }

  .status-copy {
    max-width: 300px;
    margin-bottom: 24px;
    font-size: 10px;
    line-height: 1.65;
  }

  .social-links {
    gap: 14px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .keyword-line {
    right: 18px;
    bottom: 28px;
    left: 18px;
    gap: 8px;
    font-size: 7.5px;
    letter-spacing: 0.12em;
  }

  .keyword-line span + span::before {
    margin-right: 8px;
  }
}

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

  .smoke-haze {
    opacity: 0.12;
  }
}
