/* Unexpected Artifact Productions — palette pulled from the logo */
:root {
  --black: #000000;        /* logo background */
  --ink: #0b0a08;
  --cream: #f6eedd;        /* brush-stroke smiley + "UNEXPECTED" */
  --gold: #d6a744;         /* "ARTIFACT" gradient gold */
  --gold-deep: #9c7428;
  --cyan: #22d6f0;         /* glitch accent */
  --muted: #9d968a;
  --maxw: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .75rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(214, 167, 68, .18);
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  font-size: .78rem;
}
.brand img { border-radius: 50%; }
.brand em { font-style: normal; color: var(--gold); font-weight: 500; }
.topbar nav a {
  text-decoration: none;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  padding: .4rem .2rem;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.topbar nav a:hover, .topbar nav a:focus-visible { color: var(--cyan); border-color: var(--cyan); }

/* Hero */
.hero {
  min-height: calc(100svh - 56px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.5rem, 5vw, 3rem) 1rem clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(214, 167, 68, .10), transparent 70%),
    var(--black);
}
.hero-logo { width: min(92vw, 760px); mix-blend-mode: lighten; } /* lets the logo's black field melt into the glow */
.cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: var(--black);
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(246, 238, 221, .15), 0 10px 30px -10px rgba(214, 167, 68, .6);
  transition: transform .15s ease, box-shadow .2s ease;
}
.cta:hover, .cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--cyan), 0 12px 34px -10px rgba(34, 214, 240, .55);
}

/* Featured video (Slophouse 4 theme song) */
.feature {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
  text-align: center;
  scroll-margin-top: 56px;
}
.eyebrow {
  margin: 0 0 .5rem;
  color: var(--cyan);
  font-size: .78rem; letter-spacing: .3em; text-transform: uppercase;
}
.feature h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f1cf7a, var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.sub {
  margin: .5rem 0 clamp(1.5rem, 4vw, 2.5rem);
  color: var(--muted);
  letter-spacing: .35em; text-transform: uppercase; font-size: .8rem;
}
.sub::before, .sub::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 2.5rem; height: 1px; background: var(--gold-deep); margin: 0 .9rem;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(214, 167, 68, .35);
  box-shadow:
    -6px 0 0 -2px rgba(34, 214, 240, .35),
    6px 0 0 -2px rgba(214, 167, 68, .35),
    0 30px 80px -30px rgba(214, 167, 68, .35);
}
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
@supports not (aspect-ratio: 16 / 9) {
  .video-frame { height: 0; padding-top: 56.25%; }
}

/* Footer */
.footer {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 2rem 1rem 2.5rem;
  border-top: 1px solid rgba(214, 167, 68, .18);
  color: var(--muted);
  font-size: .85rem; letter-spacing: .04em;
}
.footer p { margin: 0; }
.footer img { border-radius: 50%; opacity: .85; }

@media (max-width: 480px) {
  .hero { min-height: auto; padding-top: 2.5rem; padding-bottom: 3rem; }
  .brand span { font-size: .68rem; letter-spacing: .1em; }
  .brand em { display: none; }
  .sub::before, .sub::after { width: 1.25rem; margin: 0 .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta { transition: none; }
}
