/* Orion Fight Night — felles stilark. Tokens fra brand-reveal DESIGN.md,
   rød accent samplet fra neon-logoen i OFN promo-videoen (#E32332). */

@font-face {
  font-family: "Anton";
  src: url("fonts/anton.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Archivo Black";
  src: url("fonts/archivo-black.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("fonts/spacemono-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0A0908;
  --charcoal: #14110C;
  --gold: #C9A24B;
  --gold-bright: #E7C66B;
  --gold-deep: #9A7A33;
  --cream: #F2E2B6;
  --ink: #ECE7DD;
  --muted: #8A8275;
  --red: #E32332;
  --red-bright: #FF4B52;
  --display: "Anton", "Arial Narrow", sans-serif;
  --heavy: "Archivo Black", Arial, sans-serif;
  --mono: "Space Mono", "Courier New", monospace;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--cream); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- typografi ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: #FFFFFF; }

.eyebrow-lg { font-size: clamp(22px, 3vw, 30px); letter-spacing: 0.3em; }

.display-xl {
  font-size: clamp(64px, 11vw, 150px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

h3 { font-size: clamp(22px, 3vw, 30px); text-transform: uppercase; }

.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink); max-width: 60ch; }

.micro {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- knapper ---------- */

.btn {
  display: inline-block;
  font-family: var(--heavy);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 0;
  cursor: pointer;
  text-align: center;
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 28px rgba(227, 35, 50, 0.35);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.btn-red:hover { background: var(--red-bright); color: #fff; box-shadow: 0 0 40px rgba(227, 35, 50, 0.55); }

.btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-ghost:hover { border-color: #FFFFFF; color: #FFFFFF; }

/* ---------- countdown (i headeren) ---------- */

.countdown { display: flex; align-items: center; gap: 7px; margin-left: 26px; }
/* Nedtellingen finnes to steder: i headeren paa desktop, i heroen paa mobil. */
.countdown-hero { display: none; }

.countdown .cd-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 5px;
  white-space: nowrap;
}

.cd-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 5px 4px 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: 8px;
}

.cd-box b { font-family: var(--heavy); font-weight: 400; font-size: 14px; line-height: 1; color: #FFFFFF; }

.cd-box i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.countdown:hover .cd-box { border-color: var(--gold-bright); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(10, 9, 8, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header .bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header .logo img { height: 34px; width: auto; }

.site-header nav { display: flex; gap: 26px; margin-left: auto; }

.site-header nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.site-header nav a:hover, .site-header nav a.active { color: var(--gold-bright); }

.site-header .btn { padding: 10px 18px; font-size: 12px; }

/* ---------- hero (forside, full-skjerm video) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.78) 0%, rgba(10, 9, 8, 0.4) 42%, rgba(10, 9, 8, 0.18) 68%, rgba(10, 9, 8, 0.88) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 64px;
  padding-bottom: 40px;
  text-align: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75);
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.8vw, 10px);
  margin-bottom: 16px;
}

.hero-logo img {
  height: clamp(76px, 12vw, 132px);
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
}

.hero-logo .three {
  font-family: var(--display);
  font-size: clamp(90px, 14.3vw, 157px);
  line-height: 1;
  color: var(--gold-bright);
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: skewX(-8deg);
  text-shadow: none;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
}

.hero-meta {
  font-family: var(--mono);
  font-size: 15.6px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 18px;
  line-height: 2;
}

.hero-copy .lead { font-size: clamp(20.4px, 2.4vw, 24px); margin-bottom: 26px; margin-left: auto; margin-right: auto; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-copy .cta-row { justify-content: center; }

.sound-toggle {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(10, 9, 8, 0.55);
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sound-toggle:hover { border-color: var(--gold-bright); }

/* ---------- seksjoner ---------- */

section.block { padding: 84px 0; }

.section-head { margin-bottom: 42px; }
.section-head .eyebrow { display: block; margin-bottom: 10px; }

.gold-rule { height: 1px; background: linear-gradient(90deg, var(--gold-deep), transparent); border: 0; margin: 18px 0 0; }

/* fightcard */

.fightcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.fightcard-grid img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@keyframes cardGlow {
  0% { box-shadow: 0 0 0 rgba(201, 162, 75, 0); border-color: rgba(255, 255, 255, 0.14); }
  40% { box-shadow: 0 0 36px rgba(201, 162, 75, 0.55); border-color: rgba(231, 198, 107, 0.85); }
  100% { box-shadow: 0 0 0 rgba(201, 162, 75, 0); border-color: rgba(255, 255, 255, 0.14); }
}

.fightcard-grid img.glow { animation: cardGlow 2s ease-in-out both; }

@media (prefers-reduced-motion: reduce) {
  .fightcard-grid img.glow { animation: none; }
}

.bout-note { margin-top: 22px; }

/* bevis */

.proof {
  background:
    linear-gradient(180deg, rgba(20, 17, 12, 0.92), rgba(20, 17, 12, 0.92)),
    url("hero-back.jpg") center / cover no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-label { display: block; text-align: center; margin-bottom: 22px; }

.proof-img { display: block; max-width: 680px; margin: 0 auto; }

.proof-img img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* praktisk info */

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.info-card {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 28px 26px;
}
.info-card h3 { font-size: 18px; letter-spacing: 0.06em; margin: 10px 0 8px; }
.info-card p { color: var(--ink); font-size: 15px; }
.info-card .micro { margin-top: 12px; display: block; }

/* påmelding */

.signup {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 30px;
  align-items: center;
}
.signup p { max-width: 58ch; }
.signup .fine { margin-top: 10px; }

/* events-side */

.page-hero {
  position: relative;
  padding: 150px 0 28px;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.78), var(--bg)),
    var(--page-hero-img, url("hero-ring.jpg")) center / cover no-repeat;
}

.event-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.event-card .media img { width: 100%; height: auto; border: 1px solid rgba(255, 255, 255, 0.14); }

.event-card .tag {
  display: inline-block;
  font-family: var(--heavy);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  margin-bottom: 14px;
}
.tag-upcoming { background: var(--red); color: #fff; }
.tag-past { background: transparent; color: var(--muted); border: 1px solid var(--muted); }

.event-card h2 { margin-bottom: 8px; }
.event-card .meta { margin-bottom: 16px; }
.event-card p { max-width: 55ch; margin-bottom: 20px; }

/* eventsider (ofn-1, ofn-2) */

.event-lockup { display: flex; align-items: center; gap: 5px; margin: 12px 0 14px; }
.event-lockup img { height: clamp(46px, 7vw, 74px); width: auto; }
.event-lockup .num {
  font-family: var(--display);
  font-size: clamp(58px, 8.6vw, 92px);
  line-height: 1;
  color: var(--gold-bright);
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: skewX(-8deg);
}

.card-graphic { display: block; max-width: 640px; margin: 0 auto; }
.card-graphic img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.fight-group { margin-top: 56px; }
.fight-group .group-label { display: block; margin-bottom: 14px; }

.fight-list { border-top: 1px solid rgba(255, 255, 255, 0.12); }

.fight-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.fight-row .names {
  font-family: var(--display);
  font-size: clamp(19px, 2.4vw, 26px);
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.3;
}

.fight-row .names .vs {
  font-family: var(--heavy);
  font-size: 11px;
  color: var(--red);
  padding: 0 7px;
  letter-spacing: 0.08em;
}

.win-tag {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--heavy);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  background: #23A24D;
  padding: 3px 7px;
  margin-left: 9px;
  transform: translateY(-2px);
}

.fight-row .sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.fight-row .btn { padding: 11px 18px; font-size: 12px; white-space: nowrap; }

.poster-cell img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.poster-cell .btn {
  display: block;
  margin-top: 12px;
  padding: 12px 18px;
  font-size: 12px;
}

/* om oss */

.prose { max-width: 68ch; }
.prose p { margin-bottom: 20px; font-size: clamp(16px, 1.9vw, 18px); }
.prose strong { color: var(--cream); font-weight: 600; }

.manifesto-strip {
  text-align: center;
  padding: 70px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--charcoal);
}
.manifesto-strip .line {
  font-family: var(--display);
  font-size: clamp(24px, 3.6vw, 40px);
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.2;
}

/* kontakt */

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 760px; }

/* CTA-stripe nederst på undersider */

.cta-strip {
  text-align: center;
  padding: 90px 24px;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.82), rgba(10, 9, 8, 0.88)),
    url("hero-staredown.jpg") center / cover no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cta-strip h2 { margin-bottom: 10px; }
.cta-strip .micro { display: block; margin-bottom: 26px; }

/* ---------- footer ---------- */

footer {
  padding: 60px 0 110px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}

.footer-grid .lockup img { width: 190px; height: auto; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.footer-links a:hover { color: var(--gold-bright); }

.footer-contact { text-align: right; }

/* ---------- responsivt ---------- */

@media (max-width: 920px) {
  .site-header .btn { display: none; }
  .site-header .bar { height: auto; flex-wrap: wrap; gap: 16px; row-gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: 11px; letter-spacing: 0.1em; }
  .site-header .bar { row-gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .site-header .countdown { display: none; }
  /* Kompakt variant: maa faa plass mellom dato-linja og der videoen blir skarp (57,8vw). */
  .countdown-hero {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 11px 0 0;
  }
  .countdown-hero .cd-box { min-width: 38px; padding: 3px 4px 2px; border-radius: 6px; }
  .countdown-hero .cd-box b { font-size: 13px; }
  .countdown-hero .cd-box i { font-size: 8px; }

  .sound-toggle { top: 112px; bottom: auto; right: 16px; }

  /* Videoen har blur bakt inn i rammen: skarpt parti fra 32,5% til 67,5%
     av høyden (målt fra kilden). Videoen ankres i toppen med fast
     geometri (høyde 177,78vw = 9:16), så sonegrensene ligger på faste
     vw-posisjoner uavhengig av viewport-høyde:
       skarp start = 57.8vw, skarp slutt = 120vw, videobunn = 177.78vw.
     Toppteksten ligger i øvre blur-sone, bunnteksten starter på grensen
     mot nedre blur-sone. Ingen egne backdrop-felter. */
  .hero { display: block; min-height: 0; height: 177.78vw; }
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 177.78vw;
    object-fit: cover;
  }
  .hero-shade {
    height: 177.78vw;
    background: linear-gradient(180deg, rgba(10, 9, 8, 0.55) 0%, rgba(10, 9, 8, 0.15) 26%, rgba(10, 9, 8, 0) 32.5%, rgba(10, 9, 8, 0) 67.5%, rgba(10, 9, 8, 0.15) 74%, rgba(10, 9, 8, 0.5) 100%);
  }
  .hero-copy {
    position: static;
    max-width: none;
    padding: 0;
  }
  .hero-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 64px 24px 0;
  }
  .hero-bottom {
    position: absolute;
    top: 121vw;
    left: 0;
    right: 0;
    padding: 0 24px;
  }
  .hero-top .hero-meta { margin-bottom: 0; }
  .hero-bottom .lead { margin-bottom: 14px; }
  .hero-logo { margin: 0 0 4px; }
  .hero-logo img { height: 50px; }
  .hero-logo .three { font-size: 62px; }
  .hero-meta { font-size: 12.5px; line-height: 1.55; }
  .cta-row .btn { width: auto; min-width: 240px; }

  .stats { grid-template-columns: 1fr; gap: 30px; }
  .info-grid { grid-template-columns: 1fr; }
  .signup { grid-template-columns: 1fr; padding: 32px 24px; }
  .event-card { grid-template-columns: 1fr; gap: 24px; }
  .event-card .media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; gap: 26px; }
  .footer-contact { text-align: left; }
  .footer-grid .lockup { display: block; }
  .footer-grid .lockup img { margin: 0 auto; }


  .bout { grid-template-columns: 1fr; gap: 6px; text-align: center; }
  .bout .fighter.right { text-align: center; }
  .bout .vs { justify-self: center; }

  .fight-row { grid-template-columns: 1fr; gap: 10px; }
  .fight-row .btn { justify-self: start; }
}

/* smaleste skjermer: toppblokken må fortsatt ende før skarp sone (57.8vw) */
@media (max-width: 380px) {
  .hero-top { padding-top: 64px; }
  .hero-logo img { height: 42px; }
  .hero-logo .three { font-size: 53px; }
  .hero-meta { font-size: 11px; }
}

/* regler, deltakeravtale og helseattest */

.doc { max-width: 74ch; }
.doc h2 {
  font-size: clamp(18px, 2.4vw, 23px);
  letter-spacing: 0.04em;
  margin: 44px 0 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.doc h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.doc p { margin-bottom: 16px; font-size: clamp(15px, 1.8vw, 17px); line-height: 1.75; color: var(--ink); }
.doc ul { margin: 0 0 18px; padding-left: 20px; }
.doc li { font-size: clamp(15px, 1.8vw, 17px); line-height: 1.7; color: var(--ink); margin-bottom: 7px; }
.doc .ingress { color: var(--cream); font-size: clamp(16px, 2vw, 19px); margin-bottom: 30px; }
.doc .sluttord {
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--charcoal);
}
.doc .sluttord p:last-child { margin-bottom: 0; }

.sprakvalg { display: flex; gap: 10px; margin-bottom: 26px; }
.sprakvalg button {
  font-family: var(--heavy);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 11px 20px;
  min-height: 44px;
  cursor: pointer;
}
.sprakvalg button:hover { color: #FFFFFF; border-color: #FFFFFF; }
.sprakvalg button[aria-pressed="true"] { color: #0A0908; background: var(--gold); border-color: var(--gold); }
.sprakvalg button:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }

.regelark { max-width: 900px; }
.regelark img { width: 100%; height: auto; display: block; border: 1px solid rgba(255, 255, 255, 0.12); }
.regelark img[hidden] { display: none; }

.nedlast {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--charcoal);
  max-width: 760px;
}
.nedlast div { flex: 1 1 260px; }
.nedlast h3 { font-size: 20px; margin-bottom: 8px; }
.nedlast p { color: var(--ink); font-size: 15px; margin: 0; }

.frist {
  display: block;
  margin-top: 18px;
  padding: 16px 20px;
  border-left: 3px solid var(--red);
  background: rgba(227, 35, 50, 0.07);
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream);
  max-width: 760px;
}

@media (max-width: 720px) {
  .sprakvalg button { flex: 1; }
}
