/* NORGE '26 — "28 års venting" · retro-nostalgi 1998 møter moderne */

:root {
  --paper:    #fbfbfb;   /* rent, lyst (flaggets hvitt) */
  --paper-2:  #ffffff;
  --band:     #eef1f6;   /* svakt blågrått bånd for rytme */
  --ink:      #1b1712;   /* mørk brun-svart */
  --red:      #c8102e;   /* Norge rød */
  --navy:     #0c2a5b;   /* Norge blå */
  --gold:     #e0a100;   /* retro gull/sennep */
  --line:     rgba(27, 23, 18, 0.18);
  --radius:   4px;
  --maxw:     1180px;
  --disp:     "Anton", Impact, sans-serif;
  --sans:     "Archivo", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Film-korn over hele siden */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Display-helpers */
.eyebrow {
  font-size: clamp(0.7rem, 1.6vw, 0.85rem); font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red);
}

/* --- Intro-load --------------------------------------------------------- */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--paper);
  animation: introOut 0.8s ease 2.1s forwards;
}
.intro::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: min(560px, 80vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(220,20,48,0.18) 0%, rgba(220,20,48,0) 62%);
  border-radius: 50%;
  animation: introGlow 1.2s ease both;
}
.intro-emblem {
  position: relative;
  width: min(240px, 46vw); height: auto;
  animation: introPop 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes introPop {
  0%   { opacity: 0; transform: scale(0.5) translateY(30px); }
  55%  { opacity: 1; }
  72%  { transform: scale(1.06) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes introGlow { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* --- Fullbredde bånd (rytme) -------------------------------------------- */
.band { position: relative; }
.band::before {
  content: ""; position: absolute; z-index: -1;
  top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: var(--band);
}

/* --- Nav ---------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(251, 251, 251, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.brand { font-family: var(--disp); font-size: 1.5rem; letter-spacing: 0.04em; white-space: nowrap; }
.nav-emblem {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  height: 42px; width: auto; pointer-events: none;
}
.brand span { color: var(--red); }
.nav-links { display: flex; gap: clamp(14px, 3vw, 30px); }
.nav-links a {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); transition: color .15s;
}
.nav-links a:hover { color: var(--red); }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: 6px; line-height: 0; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative; z-index: 0; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 56px) clamp(30px, 6vw, 60px);
  text-align: center;
}
.hero-photo {
  position: absolute; z-index: -2; top: 0; bottom: 0; left: 50%; width: 100vw;
  transform: translateX(-50%);
  background-color: #fd0100;
  background-image:
    linear-gradient(rgba(200, 16, 46, 0.62), rgba(200, 16, 46, 0.82)),
    url("media/standard_compressed_Norsk_løve.jpg");
  background-size: cover, contain;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.hero-glow {
  /* retro halftone-glød bak tallet (parallax-lag) */
  position: absolute; top: 18%; left: 50%;
  transform: translateX(-50%);
  width: min(620px, 80vw); aspect-ratio: 1; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(200,16,46,0.16) 0%, rgba(200,16,46,0) 62%);
  border-radius: 50%;
  will-change: transform;
}
.hero .eyebrow { margin-bottom: clamp(18px, 4vw, 34px); }

.hero-big { display: flex; align-items: flex-start; justify-content: center; gap: 0.1em; }
.hero-num {
  font-family: var(--disp);
  font-size: clamp(8rem, 34vw, 22rem); line-height: 0.82;
  color: var(--red); letter-spacing: -0.02em;
  text-shadow: 6px 6px 0 var(--navy);
}
.hero-unit {
  font-family: var(--disp); font-size: clamp(2rem, 7vw, 4.5rem);
  color: var(--ink); margin-top: 0.25em;
}
.hero-headline { display: block; font-weight: 400; }
.hero-pre {
  display: block; font-family: var(--disp);
  font-size: clamp(1.3rem, 4.6vw, 2.6rem); line-height: 1;
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink);
}
.hero-line {
  display: block;
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(2rem, 9vw, 6rem); line-height: 0.95;
  text-transform: uppercase; letter-spacing: 0.01em;
  margin-top: clamp(8px, 2vw, 18px);
}
.hero-title2 {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(2.8rem, 11vw, 7rem); line-height: 0.92;
  text-transform: uppercase; letter-spacing: 0.01em;
  color: #fff; text-shadow: 5px 5px 0 var(--navy);
  margin-top: clamp(10px, 2vw, 20px);
}
.hero-sub {
  max-width: 600px; margin: clamp(18px, 3vw, 28px) auto 0;
  font-size: clamp(1rem, 2.4vw, 1.2rem); color: var(--paper);
}
.hero .eyebrow { color: #fff; }
.hero-sub strong { color: var(--red); }

.hero-timeline {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: clamp(26px, 5vw, 44px);
  font-family: var(--disp); font-size: clamp(1rem, 3vw, 1.6rem);
}
.hero-timeline .line { width: clamp(60px, 22vw, 220px); height: 3px; background: var(--ink); }
.hero-timeline .now { color: var(--red); }

/* --- Nedtelling --------------------------------------------------------- */
.countdown {
  background: var(--navy); color: var(--paper);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  padding: clamp(28px, 5vw, 50px) clamp(20px, 5vw, 56px); text-align: center;
}
.cd-eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.cd-match { margin-top: 8px; font-family: var(--disp); font-size: clamp(1.3rem, 4vw, 2.2rem); text-transform: uppercase; }
.cd-clock { display: flex; justify-content: center; gap: clamp(14px, 4vw, 44px); margin-top: 20px; }
.cd-unit { display: flex; flex-direction: column; min-width: 52px; }
.cd-num { font-family: var(--disp); font-size: clamp(2.2rem, 8vw, 4rem); line-height: 1; }
.cd-lab { margin-top: 4px; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.65; }

/* --- Stats band --------------------------------------------------------- */
.stats {
  max-width: var(--maxw); margin: clamp(30px, 6vw, 60px) auto 0;
  padding: 0 clamp(20px, 5vw, 56px);
  display: grid; gap: 0; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.stat {
  text-align: center; padding: clamp(20px, 3.5vw, 36px) 8px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  display: block; font-family: var(--disp);
  font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; color: var(--navy);
}
.stat-label {
  display: block; margin-top: 8px;
  font-size: clamp(0.7rem, 1.6vw, 0.82rem); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
}

/* --- Story -------------------------------------------------------------- */
.story {
  max-width: 760px; margin: clamp(48px, 9vw, 90px) auto 0;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 56px); text-align: center;
}
.story-lion {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(560px, 88%); height: auto; z-index: -1;
  mix-blend-mode: multiply; opacity: 0.15; pointer-events: none;
}
.story h2, .story p { position: relative; }
.story h2 {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(1.6rem, 5vw, 3rem); line-height: 1.04;
  text-transform: uppercase;
}
.story p { margin-top: 18px; font-size: clamp(1rem, 2.2vw, 1.15rem); }

/* --- Squad -------------------------------------------------------------- */
.squad { max-width: var(--maxw); margin: clamp(56px, 10vw, 110px) auto 0; padding: 0 clamp(20px, 5vw, 56px); }
.section-head { text-align: center; margin-bottom: clamp(26px, 5vw, 48px); }
.section-head h2 {
  font-family: var(--disp); font-weight: 400; font-size: clamp(2.6rem, 9vw, 6rem);
  line-height: 0.9; text-transform: uppercase; color: var(--red);
  text-shadow: 4px 4px 0 var(--navy);
}
.section-head p { margin-top: 10px; font-weight: 600; letter-spacing: 0.04em; }

.team-photo {
  margin: 0 auto clamp(34px, 6vw, 60px); max-width: 920px;
}
.team-photo img {
  width: 100%; height: auto; display: block;
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--navy);
}

.pos-group { margin-top: clamp(34px, 6vw, 64px); }
.pos-group:first-child { margin-top: 0; }
.pos-head {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(1.6rem, 5vw, 2.8rem); line-height: 1;
  text-transform: uppercase; color: var(--navy);
  margin-bottom: clamp(14px, 2.5vw, 22px);
  padding-bottom: 10px; border-bottom: 2px solid var(--ink);
}

.squad-grid {
  display: grid; gap: clamp(14px, 2vw, 22px);
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

/* retro samlekort med 3D-flip */
.card { position: relative; height: 344px; perspective: 1000px; outline: none; }
.card-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.card:hover .card-inner,
.card:focus-within .card-inner,
.card:focus .card-inner { transform: rotateY(180deg); }
.card:focus-visible .card-face { box-shadow: 0 0 0 3px var(--red); }
.card-face {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper-2);
  display: flex; flex-direction: column;
}
.card-back {
  transform: rotateY(180deg);
  background: var(--navy); color: var(--paper);
  justify-content: center; padding: 18px 16px;
}
.card-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: var(--red); color: #fff;
  border-bottom: 2px solid var(--ink); flex: none;
}
.card-pos { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.card-caps { font-family: var(--disp); font-size: 1.05rem; line-height: 1; letter-spacing: 0.02em; }
.card-nr { font-family: var(--disp); font-size: 1.4rem; line-height: 1; letter-spacing: 0.02em; }
.card-photo {
  flex: 1; display: grid; place-items: center; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(12,42,91,0.06) 0 6px, transparent 6px 12px),
    var(--paper);
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-ph { color: rgba(27,23,18,0.3); }
.card-body { padding: 12px; border-top: 2px solid var(--ink); flex: none; }
.card-name { font-family: var(--disp); font-size: 1.2rem; line-height: 1; text-transform: uppercase; }
.card-club { margin-top: 6px; font-size: 0.78rem; font-weight: 600; color: var(--navy); letter-spacing: 0.03em; }

/* baksiden av kortet */
.back-name {
  font-family: var(--disp); font-size: 1.3rem; line-height: 1.05;
  text-transform: uppercase; color: #fff; text-align: center;
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
}
.back-stats { list-style: none; margin: 0; padding: 0; }
.back-stats li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.back-stats li:last-child { border-bottom: none; }
.back-stats span {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(238, 241, 246, 0.7);
}
.back-stats b { font-size: 0.82rem; font-weight: 700; text-align: right; }

/* --- Tournament --------------------------------------------------------- */
.tournament {
  max-width: var(--maxw); margin: clamp(56px, 10vw, 110px) auto 0;
  padding: clamp(48px, 8vw, 92px) clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.tournament-logo {
  width: 100%; border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--navy);
}
.tournament-info h2 {
  font-family: var(--disp); font-weight: 400; font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 0.9; text-transform: uppercase;
}
.tournament-info p { margin-top: 14px; font-size: clamp(1rem, 2.4vw, 1.3rem); font-weight: 600; }
.tournament-note { color: var(--red); font-weight: 700 !important; }

/* --- Norge i VM (historikk) --------------------------------------------- */
.history { max-width: var(--maxw); margin: clamp(56px, 10vw, 110px) auto 0; padding: 0 clamp(20px, 5vw, 56px); }
.history-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.era {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper-2); border: 2px solid var(--ink); border-radius: var(--radius);
}
.era-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.era-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.era-ph {
  width: 100%; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--navy); color: var(--paper);
}
.era-ph span { font-family: var(--disp); font-size: 2.6rem; line-height: 1; }
.era-ph small { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.era-body { padding: 14px 16px; border-top: 2px solid var(--ink); }
.era-year { font-family: var(--disp); font-size: 2rem; line-height: 1; color: var(--red); }
.era-host { margin-top: 4px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
.era-result {
  display: inline-block; margin-top: 10px; padding: 4px 11px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.era-note { margin-top: 10px; font-size: 0.85rem; line-height: 1.5; }
.era-now { border-color: var(--red); box-shadow: 6px 6px 0 var(--navy); }
.era-now .era-result { background: var(--red); color: #fff; border-color: var(--red); }

/* --- VM-minner ---------------------------------------------------------- */
.minner { max-width: var(--maxw); margin: clamp(56px, 10vw, 110px) auto 0; padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 56px); }
.minner-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.memory {
  display: flex; flex-direction: column;
  background: var(--paper-2); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 18px 20px;
}
.memory-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.memory-year { font-family: var(--disp); font-size: 2rem; line-height: 1; color: var(--red); }
.memory-score { font-family: var(--disp); font-size: 1.05rem; background: var(--navy); color: var(--paper); padding: 3px 11px; border-radius: 999px; }
.memory-title { font-family: var(--disp); font-weight: 400; font-size: 1.25rem; line-height: 1.05; text-transform: uppercase; margin-top: 12px; }
.memory-text { margin-top: 10px; font-size: 0.9rem; line-height: 1.55; }

/* --- Gruppe I (tabell + kamper) ----------------------------------------- */
.group { max-width: 760px; margin: clamp(56px, 10vw, 110px) auto 0; padding: 0 clamp(20px, 5vw, 56px); }
.group-note {
  text-align: center; margin: -4px 0 clamp(22px, 4vw, 34px);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--navy);
}
.table-wrap { overflow-x: auto; }
.group-table {
  width: 100%; border-collapse: collapse;
  background: var(--paper-2); border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden;
}
.group-table th, .group-table td { padding: 11px 8px; text-align: center; white-space: nowrap; }
.group-table thead th {
  background: var(--navy); color: var(--paper);
  font-family: var(--disp); font-weight: 400; font-size: 0.8rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.group-table tbody td { border-top: 1px solid var(--line); font-size: 0.92rem; }
.group-table .team { text-align: left; font-weight: 700; }
.flag-chip {
  width: 26px; height: 18px; object-fit: cover; vertical-align: middle;
  margin-right: 9px; border: 1px solid var(--ink); border-radius: 2px;
}
.group-table td.pts { font-family: var(--disp); font-size: 1.1rem; }
.group-table tr.us { background: rgba(200, 16, 46, 0.09); }
.group-table tr.us td { font-weight: 700; }
.group-table tr.us td:first-child { box-shadow: inset 4px 0 0 var(--red); }

.fixtures { margin-top: clamp(16px, 3vw, 24px); display: grid; gap: 10px; }
.fixture {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: var(--paper-2);
  border: 2px solid var(--ink); border-radius: var(--radius);
}
.fixture .date { flex: none; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.fixture .date em { font-style: normal; opacity: 0.55; }
.fixture .match { flex: 1; text-align: center; font-family: var(--disp); font-size: 1.05rem; }
.fixture .res { flex: none; font-family: var(--disp); font-size: 0.95rem; }
.fixture .res-seier { color: var(--navy); }
.fixture .res-tap, .fixture .res-uavgjort { color: #8a8a8a; }
.fixture.upcoming .res { color: var(--navy); opacity: 0.5; font-size: 0.8rem; }

/* --- Ny drakt ----------------------------------------------------------- */
.kit { max-width: var(--maxw); margin: clamp(56px, 10vw, 110px) auto 0; padding: 0 clamp(20px, 5vw, 56px); }
.kit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 3vw, 28px); }
.kit-card {
  display: flex; flex-direction: column; overflow: hidden; margin: 0;
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--navy);
}
.kit-tag {
  padding: 10px 14px; font-family: var(--disp); font-size: 1.05rem;
  letter-spacing: 0.05em; text-transform: uppercase; border-bottom: 2px solid var(--ink);
}
.kit-home .kit-tag { background: var(--red); color: #fff; }
.kit-away .kit-tag { background: var(--ink); color: var(--paper); }
.kit-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
@media (max-width: 720px) { .kit-grid { grid-template-columns: 1fr; } }
.kit-duo { margin: clamp(16px, 3vw, 28px) 0 0; }
.kit-duo img {
  width: 100%; height: auto; display: block;
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--navy);
}

/* --- Iskrem ------------------------------------------------------------- */
.icecream {
  max-width: var(--maxw); margin: clamp(56px, 10vw, 110px) auto 0;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px);
  align-items: center;
}
.ice-media { margin: 0; }
.ice-media img {
  width: 100%; height: auto; display: block;
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--navy);
}
.ice-text h2 {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 0.95;
  text-transform: uppercase; margin-top: 8px;
}
.ice-text p { margin-top: 14px; font-size: clamp(1rem, 2.2vw, 1.15rem); max-width: 42ch; }
@media (max-width: 720px) { .icecream { grid-template-columns: 1fr; } }

/* --- Sponsorer ---------------------------------------------------------- */
.sponsors { max-width: var(--maxw); margin: clamp(56px, 10vw, 110px) auto 0; padding: 0 clamp(20px, 5vw, 56px); }
.sponsors-eyebrow {
  text-align: center; margin: -8px 0 clamp(22px, 4vw, 36px);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--navy);
}
.sponsor-grid {
  display: grid; gap: clamp(12px, 1.6vw, 18px);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.sponsor-tile {
  height: 104px; display: grid; place-items: center; padding: 18px;
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius);
  transition: transform .16s ease, box-shadow .16s ease;
}
.sponsor-tile:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--navy); }
.sponsor-tile img { max-width: 100%; max-height: 56px; object-fit: contain; }

/* --- CTA ---------------------------------------------------------------- */
.cta {
  max-width: var(--maxw); margin: clamp(60px, 11vw, 120px) auto 0;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 56px);
  text-align: center; color: var(--paper);
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(8, 28, 70, 0.55), rgba(8, 28, 70, 0.7)),
    url("media/flags/no.svg");
  background-size: cover; background-position: center;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.cta h2 {
  font-family: var(--disp); font-weight: 400; font-size: clamp(2.8rem, 12vw, 7rem);
  line-height: 0.88; text-transform: uppercase; color: #fff;
}
.cta p { margin-top: 12px; opacity: 0.85; font-size: 1.1rem; }
.share-btn {
  margin-top: 26px; cursor: pointer;
  font-family: var(--disp); font-size: 1.3rem; letter-spacing: 0.04em;
  color: var(--ink); background: var(--gold);
  border: 2px solid #fff; border-radius: 999px;
  padding: 14px 34px; transition: transform .12s, background .15s;
}
.share-btn:hover { background: #fff; }
.share-btn:active { transform: scale(0.96); }

/* --- Footer ------------------------------------------------------------- */
.footer {
  padding: 36px clamp(20px, 5vw, 56px); text-align: center;
  color: var(--ink); font-size: 0.88rem;
}
.footer .fineprint { margin-top: 8px; font-size: 0.75rem; opacity: 0.7; max-width: 580px; margin-inline: auto; }

.social-label {
  font-family: var(--disp); font-size: clamp(1.1rem, 3vw, 1.5rem);
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--navy);
}
.socials { display: flex; justify-content: center; gap: 14px; margin: 14px 0 28px; }
.socials a {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--paper);
  transition: transform .15s ease, background .15s ease;
}
.socials a:hover { background: var(--red); transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; }

/* --- Scroll-reveal ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* --- Responsivt --------------------------------------------------------- */
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .tournament { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.72rem; letter-spacing: 0.05em; }
  .nav-emblem { display: none; }   /* unngå kollisjon med brand + lenker */
}
@media (max-width: 560px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 2px solid var(--ink);
    padding: 6px 0;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a {
    width: 100%; padding: 13px clamp(20px, 5vw, 56px);
    font-size: 0.95rem; letter-spacing: 0.06em;
    border-top: 1px solid var(--line);
  }
  .nav-links a:first-child { border-top: none; }
  .squad-grid { grid-template-columns: repeat(2, 1fr); }
}

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