/* ============================================================
   LAS VEGAS VIKING FEST — styles.css
   Brand Direction v1 (approved)
   Display: Cinzel Decorative  ·  Body: Inter
   All theme values are CSS variables — retheme from :root.
   ============================================================ */

:root {
  /* --- Brand palette --- */
  --void:      #0A0A0C;   /* base background           */
  --iron:      #16151B;   /* raised surface            */
  --iron-2:    #1E1C25;   /* surface hover / elevated  */
  --gold:      #E9C766;   /* primary accent (mead gold)*/
  --gold-deep: #B5832E;   /* quiet gold (borders)      */
  --gold-hi:   #F6E3A6;   /* highlight gold            */
  --ember:     #EF6C2A;   /* spark accent (warm)       */
  --teal:      #37C4CE;   /* spark accent (cool)       */
  --crimson:   #9B2D2D;   /* spectacle / urgency       */
  --bone:      #ECE4D2;   /* primary text              */
  --stone:     #9A9078;   /* muted text                */

  /* --- Derived tints --- */
  --line:        rgba(233,199,102,0.16);  /* gold hairline       */
  --line-soft:   rgba(233,199,102,0.10);
  --line-strong: rgba(233,199,102,0.34);
  --shadow:      0 24px 60px rgba(0,0,0,0.55);
  --glow-gold:   0 0 40px rgba(233,199,102,0.22);

  /* --- Type --- */
  --font-display: "Cinzel Decorative", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* --- Layout --- */
  --container: 1140px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-hi); }
::selection { background: rgba(233,199,102,0.28); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); color: var(--gold); }
h3 { font-size: 1.18rem; color: var(--bone); }
p  { margin: 0 0 1rem; }
.lede { font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); color: #D9D0BC; line-height: 1.7; }
.muted { color: var(--stone); }
strong { color: var(--gold-hi); font-weight: 500; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem;
  display: inline-block;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 8vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }
.measure { max-width: 680px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--void); padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* Decorative gold rule with center diamond */
.rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 1.6rem; max-width: 360px; color: var(--gold-deep); }
.rule::before, .rule::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.rule::after { background: linear-gradient(90deg, var(--line-strong), transparent); }
.rule span { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); box-shadow: var(--glow-gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  padding: 14px 26px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--gold); color: #1A1206; box-shadow: 0 0 0 rgba(233,199,102,0); }
.btn-primary:hover { background: var(--gold-hi); color: #1A1206; box-shadow: var(--glow-gold); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--gold); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--gold-hi); border-color: var(--gold); background: rgba(233,199,102,0.06); }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,12,0.72); backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(10,10,12,0.92); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-text { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; font-size: .8rem; letter-spacing: .16em; color: var(--gold); line-height: 1.1; max-width: 140px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--bone); font-size: .92rem; font-weight: 500; letter-spacing: .02em; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold); transition: width .25s var(--ease); }
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; color: var(--gold); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 70px);
  display: flex; align-items: center;
  padding: 70px 0 80px;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.80) 0%, rgba(10,10,12,0.28) 26%, rgba(10,10,12,0.46) 52%, rgba(10,10,12,0.90) 100%),
    url("../img/hero.jpg") center 38% / cover no-repeat,
    var(--void);
}
.hero::before { /* starfield */
  content: ""; position: absolute; inset: 0; pointer-events: none; display: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(236,228,210,.8), transparent),
    radial-gradient(1px 1px at 70% 20%, rgba(236,228,210,.6), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(236,228,210,.5), transparent),
    radial-gradient(1px 1px at 85% 60%, rgba(236,228,210,.6), transparent),
    radial-gradient(1.5px 1.5px at 60% 85%, rgba(246,227,166,.7), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(236,228,210,.5), transparent),
    radial-gradient(1px 1px at 90% 35%, rgba(236,228,210,.5), transparent);
  background-repeat: no-repeat;
}
.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero .emblem { width: clamp(150px, 22vw, 230px); height: auto; margin: 0 auto 18px; filter: drop-shadow(0 0 30px rgba(233,199,102,0.25)); }
.hero-eyebrow { letter-spacing: .42em; color: var(--gold-deep); margin-bottom: 8px; }
.hero-h1 { margin: 0; }
.hero-h1 .eyebrow { display: block; }
.wordmark {
  display: block;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.8rem, 1.6rem + 6vw, 6.2rem);
  line-height: .98; letter-spacing: .03em; color: var(--gold);
  margin: 0; text-shadow: 0 0 38px rgba(233,199,102,0.28);
}
.hero-founding { margin: 18px auto 0; }
.hero-tagline { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.1rem, .9rem + 1vw, 1.7rem); color: #F0E7D4; margin: 18px 0 0; text-shadow: 0 2px 24px rgba(0,0,0,0.65); }
.hero-sub { max-width: 540px; margin: 14px auto 0; color: #DAD2C0; font-size: 1.05rem; text-shadow: 0 2px 16px rgba(0,0,0,0.75); }
.hero .signup { margin-top: 30px; }
.scroll-cue { margin-top: 46px; display: inline-flex; flex-direction: column; align-items: center; gap: 7px; color: var(--stone); font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; }
.scroll-cue svg { width: 18px; height: 18px; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Signup form ---------- */
.signup { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 520px; margin-inline: auto; }
.signup .field { flex: 1 1 240px; min-width: 0; }
.input, .select {
  width: 100%; height: 52px; padding: 0 16px;
  background: var(--iron); border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--bone); font-family: var(--font-body); font-size: 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder { color: #6f6a5c; }
.input:focus, .select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233,199,102,0.16); }
.select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23B5832E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.signup .btn { height: 52px; }
.form-note { margin: 12px 0 0; font-size: .8rem; color: var(--stone); text-align: center; }
.form-msg { margin-top: 12px; font-size: .9rem; min-height: 1.2em; text-align: center; }
.form-msg.is-error { color: #ff9b7a; }
.form-msg.is-ok { color: var(--teal); }
/* success swap */
.signup.is-done { justify-content: center; }
.signup-success { display: none; text-align: center; padding: 8px 0; }
.signup-success.show { display: block; }
.signup-success .tick { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--gold); }

/* role form (get involved) */
.role-form { display: grid; gap: 12px; max-width: 560px; margin: 0 auto; grid-template-columns: 1fr 1fr; }
.role-form .field-full { grid-column: 1 / -1; }

/* ---------- Concept / lede band ---------- */
.concept { text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: rgba(255,255,255,0.015); font-size: .9rem; color: var(--bone); }
.chip svg { width: 17px; height: 17px; color: var(--gold); }

/* ---------- Section heading block ---------- */
.section-head { text-align: center; max-width: 660px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head p { color: var(--stone); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pillar {
  position: relative; background: linear-gradient(180deg, var(--iron), #121118);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
}
.pillar::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% -20%, rgba(233,199,102,0.10), transparent 60%); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.pillar:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.pillar:hover::after { opacity: 1; }
.pillar-icon { width: 50px; height: 50px; color: var(--gold); margin-bottom: 18px; }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar h3 { font-family: var(--font-display); color: var(--gold); margin-bottom: 8px; }
.pillar p { color: var(--stone); font-size: .96rem; margin: 0; }
.pill-21 { display: inline-block; margin-top: 14px; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); border: 1px solid rgba(239,108,42,0.4); padding: 4px 10px; border-radius: var(--radius-pill); }

/* ---------- Mature / 21+ band ---------- */
.band { background: linear-gradient(180deg, #121017, var(--void)); border-block: 1px solid var(--line-soft); }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; justify-content: center; text-align: center; }

/* ---------- CTA band (founders) ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(233,199,102,0.10), transparent 60%),
    radial-gradient(70% 120% at 50% 100%, rgba(239,108,42,0.10), transparent 60%),
    #110F16;
  border-block: 1px solid var(--line);
}

/* ---------- Get involved roles ---------- */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.role { background: var(--iron); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.role:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.role-eyebrow { color: var(--teal); letter-spacing: .16em; }
.role h3 { font-family: var(--font-display); color: var(--gold); min-height: 1.3em; }
.role p { color: var(--stone); font-size: .95rem; }
.role p.role-eyebrow { color: var(--teal); }
.role p:last-of-type { flex: 1; }
.role .btn { margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; color: var(--bone);
  font-family: var(--font-body); font-size: 1.08rem; font-weight: 500; text-align: left;
  padding: 24px 44px 24px 0; position: relative; display: flex; }
.faq-q:hover { color: var(--gold); }
.faq-q .sign { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; transition: transform .3s var(--ease); color: var(--gold); }
.faq-item.open .faq-q .sign { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 44px 24px 0; color: var(--stone); }
.faq-a-inner a { font-weight: 500; }

/* ---------- Follow / social ---------- */
.follow { display: flex; gap: 16px; justify-content: center; margin-top: 28px; }
.social { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--bone); transition: all .25s var(--ease); }
.social svg { width: 21px; height: 21px; }
.social:hover { color: var(--void); background: var(--gold); border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--glow-gold); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: #0C0B0F; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--stone); font-size: .9rem; }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 16px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: var(--stone); font-size: .92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; color: var(--stone); font-size: .82rem; }
.footer-bottom a { color: var(--stone); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Cookie consent ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  max-width: 620px; margin-inline: auto;
  background: var(--iron-2); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 20px 22px; box-shadow: var(--shadow);
  display: none; flex-wrap: wrap; align-items: center; gap: 14px;
}
.cookie.show { display: flex; }
.cookie p { margin: 0; flex: 1 1 280px; font-size: .86rem; color: var(--stone); }
.cookie p a { font-weight: 500; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Legal pages ---------- */
.legal { max-width: 800px; margin: 0 auto; padding: clamp(48px,7vw,96px) 0; }
.legal h1 { font-size: clamp(2rem,1.4rem+2.4vw,3rem); color: var(--gold); }
.legal h2 { font-size: 1.4rem; color: var(--gold); margin-top: 2.2rem; }
.legal p, .legal li { color: #C7BFAC; }
.legal a { font-weight: 500; }
.legal .updated { color: var(--stone); font-size: .9rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.menu-open .nav-links {
    display: flex; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(10,10,12,0.97);
    border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .site-header.menu-open .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--line-soft); width: 100%; }
  .site-header.menu-open .nav-links a::after { display: none; }
  .footer-grid { flex-direction: column; gap: 28px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .role-form { grid-template-columns: 1fr; }
  .signup { flex-direction: column; }
  .signup .field { flex: 1 1 auto; }
  .footer-nav { gap: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue svg { animation: none; }
  * { transition-duration: .01ms !important; }
}
