:root{
  --bg: #0b0d10;
  --panel: #10141a;
  --panel2: #0f1318;
  --text: #e9eef5;
  --muted: #a9b4c2;
  --line: rgba(255,255,255,0.10);
  --line2: rgba(255,255,255,0.16);
  --focus: rgba(255,255,255,0.22);
  --shadow: 0 14px 40px rgba(0,0,0,0.50);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
html{ background: var(--bg); }

body{
  margin:0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1200px 900px at 15% 5%, rgba(255,255,255,0.07), transparent 60%),
    radial-gradient(900px 700px at 80% 0%, rgba(255,255,255,0.05), transparent 55%),
    var(--bg);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* Layout */
.wrap{
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}
main.wrap{ padding-bottom: 22px; }

/* -----------------------------
   GLOBAL LINKS (content links)
-------------------------------- */
a{
  color:#fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 160ms ease;
}
a:visited{ color:#fff; }
a:hover{ opacity: 0.88; }
a:focus-visible{
  outline:none;
  box-shadow: 0 0 0 3px var(--focus);
  border-radius: 6px;
}

/* -----------------------------
   Header / topnav
-------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(11,13,16,0.65);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand{
  display:inline-flex;
  align-items:baseline;
  gap: 6px;
  text-decoration:none;
  color: var(--text);
  letter-spacing: 0.02em;
}
.brand-mark{ font-weight: 800; font-size: 18px; }
.brand-dot{ font-weight: 600; font-size: 14px; color: var(--muted); }

.topnav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topnav-link{
  color: var(--muted);
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.topnav-link:hover{
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.03);
}
.topnav-link:focus-visible{
  outline:none;
  box-shadow: 0 0 0 3px var(--focus);
}

/* Nav must not look like content-links */
.topnav a,
a.topnav-link{
  text-decoration:none !important;
  opacity: 1 !important;
}

/* -----------------------------
   Generic hero (front page/simple)
-------------------------------- */
.hero{ padding: 44px 0 18px; }

.kicker{
  margin: 0 0 10px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

h1{
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.02em;
}

.lead{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 70ch;
}

/* -----------------------------
   Grid + cards
-------------------------------- */
.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 0 8px;
}

.card{
  display:block;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  min-height: 150px;
}
a.card{ text-decoration: none; }

.card:hover{
  transform: translateY(-2px);
  border-color: var(--line2);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
}

.card:focus-visible{
  outline:none;
  box-shadow: 0 0 0 3px var(--focus), var(--shadow);
}

.card-title{
  font-weight: 750;
  font-size: 18px;
  margin-bottom: 8px;
}
.card-body{
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
  max-width: 62ch;
}
.card-cta{
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.01em;
}

/* Inline code */
code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 8px;
  color: var(--text);
}

/* -----------------------------
   Buttons + pills
-------------------------------- */
.actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  text-decoration:none;
  font-weight: 650;
  font-size: 13px;
}
.btn:hover{
  border-color: var(--line2);
  background: rgba(255,255,255,0.05);
}
.btn:focus-visible{
  outline:none;
  box-shadow: 0 0 0 3px var(--focus), var(--shadow);
}

/* Buttons must not inherit underline */
a.btn{
  text-decoration:none !important;
  opacity: 1 !important;
}

.pills{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: rgba(233,238,245,0.82);
  font-size: 13px;
}

/* -----------------------------
   DJ HERO (banner + cutout) — SCENE-ANCHORED VERSION
   - Figure is absolute inside the hero-card
   - Always bottom-aligned to the card ("floor")
-------------------------------- */
.dj-hero{ padding: 20px 0 18px; }

/* Absolute figure, men uden top-crop */
.dj-hero-card{
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.dj-hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.03);
}

.dj-hero-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(11,13,16,0.92) 0%,
      rgba(11,13,16,0.62) 48%,
      rgba(11,13,16,0.25) 72%,
      rgba(11,13,16,0.00) 100%
    ),
    radial-gradient(900px 600px at 22% 42%, rgba(243,133,32,0.18), transparent 60%);
  z-index: 1;
}

.dj-hero-inner{
  position: relative;
  z-index: 2;
  padding: 46px 44px;
  padding-right: 420px;   /* plads til figuren */
}

.dj-hero-kicker{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(233,238,245,0.65);
}

.dj-hero-title{
  margin: 0 0 14px;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.dj-hero-lead{
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(233,238,245,0.86);
  max-width: 70ch;
}

.dj-hero-figure{
  position: absolute;
  right: 56px;
  bottom: -10px;          /* flyt lidt ned under “gulvet” */
  z-index: 3;
  pointer-events:none;
}

.dj-hero-figure img{
  height: calc(100% + 20px); /* følger hero-højden */
  max-height: 560px;         /* cap så den ikke bliver absurd */
  width: auto;
  display:block;
  filter: drop-shadow(0 36px 60px rgba(0,0,0,0.60));
}

/* -----------------------------
   Footer (solid + clean)
-------------------------------- */
.site-footer{
  position: relative;
  z-index: 5;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  background: var(--bg);
  background-image: none;
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.footer-link{
  color: var(--muted);
  text-decoration:none;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.footer-link:hover{
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.03);
}

/* Footer links must not look like content-links */
.site-footer a,
a.footer-link{
  text-decoration:none !important;
  opacity: 1 !important;
}

/* -----------------------------
   Responsive
-------------------------------- */
/* -----------------------------
   DJ HERO (banner + cutout) — SCENE-ANCHORED (robust)
-------------------------------- */
.dj-hero{ padding: 20px 0 18px; }

.dj-hero-card{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);

  /* Gør højden “styrbar”, så % kan beregnes korrekt */
  height: clamp(520px, 62vh, 620px);
}

.dj-hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.03);
}

.dj-hero-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(11,13,16,0.92) 0%,
      rgba(11,13,16,0.62) 48%,
      rgba(11,13,16,0.25) 72%,
      rgba(11,13,16,0.00) 100%
    ),
    radial-gradient(900px 600px at 22% 42%, rgba(243,133,32,0.18), transparent 60%);
  z-index: 1;
}

/* Gør inner til en “scene” med kendt højde */
.dj-hero-inner{
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 46px 44px;
  padding-right: 420px;   /* plads til figuren */
}

.dj-hero-figure{
  position: absolute;
  right: 56px;
  bottom: 0;              /* gulv = 0 */
  height: 100%;           /* NU kan img:100% regnes korrekt */
  display: flex;
  align-items: flex-end;
  z-index: 3;
  pointer-events:none;
}

/* Figuren følger scenens højde, men med “headroom” */
.dj-hero-figure img{
  height: 92%;            /* 88–95% er sweet spot */
  width: auto;
  display:block;
  transform: translateY(10px); /* plant fødderne lidt under gulv */
  filter: drop-shadow(0 36px 60px rgba(0,0,0,0.60));
}

/* Mobile: centrer figuren og reserver plads i bunden */
@media (max-width: 900px){
  .dj-hero-card{
    height: clamp(520px, 72vh, 660px);
  }

  .dj-hero-inner{
    padding: 34px 22px;
    padding-right: 22px;
    padding-bottom: 260px; /* plads til figuren */
  }

  .dj-hero-figure{
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    justify-content: center;
  }

  .dj-hero-figure img{
    height: 46%;           /* 40–52% afhængigt af hvor stor du vil være */
    transform: translateY(12px);
  }
}

@media (max-width: 820px){
  .grid{ grid-template-columns: 1fr; }
  .header-inner{ flex-direction: column; align-items: flex-start; }
  .topnav{ justify-content: flex-start; }
}