/* ============================================================
   case.css · case-artikel-specifikke styles (L·Stillhed-palette)
   Palette aktiveres via body.theme-stillhed (tokens.css).
   Delte regler ligger i base.css.
   ============================================================ */

/* Semantic article-wrapper · WCAG-landmark, no visual change */
.case-article { display: block; }

/* ============================================================
   CASE HERO
   ============================================================ */
.case-hero { padding: 80px 64px 64px; max-width: 1480px; margin: 0 auto; }
.case-hero .back {
  display: flex; gap: 24px; align-items: center; margin-bottom: 56px;
}
.case-hero .back a {
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px; font-weight: 500;
}
.case-hero .back a:hover { color: var(--accent); border-color: var(--accent); }
.case-hero .back .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.case-hero .back .pos {
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
}

/* page-spec hero-h1 · bevidst variant (case-detail tæt på cases-listen), ikke en dublet */
.case-hero h1 {
  font-weight: 300; font-size: clamp(64px, 8vw, 156px);
  line-height: 0.92; letter-spacing: -0.04em; margin: 0;
  max-width: 1300px;
}
.case-hero h1 .b { font-weight: 600; }
.case-hero h1 .dim { color: var(--ink-mute); }

.case-hero .lede {
  margin-top: 56px; max-width: 820px;
  font-size: 1.375rem; line-height: 1.5; color: var(--ink);
}
.case-hero .hero-rule.spaced,
.case-hero .hero-rule.hero-rule--spaced { margin-top: 80px; }
.hero-rule .rule-cell { /* grid child; styling sker via .col-key/.col-val */ }

/* ============================================================
   BIG STAT (tdc-hosting, udstillerguide)
   ============================================================ */
.stat-section { padding: 100px 64px 120px; max-width: 1480px; margin: 0 auto; border-top: 1px solid var(--line); }
.stat-block .n {
  font-weight: 200; font-size: clamp(220px, 32vw, 480px);
  line-height: 0.82; letter-spacing: -0.06em; color: var(--ink); margin: 0;
}
.stat-block .n .unit { font-size: 0.18em; font-weight: 400; color: var(--ink-mute); margin-left: 16px; vertical-align: 0.65em; }
.stat-block .n .acc { color: var(--accent); }
.stat-block .cap {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-mute);
  margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line);
  display: inline-block; min-width: 240px; font-weight: 500;
}
.stat-block .cap .dot { width: 9px; height: 9px; background: var(--accent); border-radius: 50%; display: inline-block; vertical-align: 1px; margin-right: 8px; }

.stat-sub {
  margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px; padding-top: 32px; border-top: 1px solid var(--line);
}
.stat-sub.cols-2 { grid-template-columns: repeat(2, 1fr); }
.stat-sub .key { color: var(--ink-mute); margin-bottom: 12px; font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
.stat-sub .num { font-weight: 300; font-size: 3rem; line-height: 1; letter-spacing: -0.025em; color: var(--ink); }
.stat-sub .num.num-fgb { font-size: 1.75rem; line-height: 1.2; }
.stat-sub .det { color: var(--ink-mute); font-size: 0.9375rem; line-height: 1.5; margin-top: 8px; }
.stat-sub .note { margin-top: 32px; grid-column: 1 / -1; color: var(--ink-mute); font-size: 0.875rem; max-width: 720px; }
.stat-sub .stat-item { display: contents; }

/* ============================================================
   DOUBLE STAT (risskov-travel-partner)
   ============================================================ */
.double-stat-section {
  padding: 120px 64px;
  background: var(--bg-deep);
}
.double-stat-inner { max-width: 1480px; margin: 0 auto; }
.double-stat {
  display: grid; grid-template-columns: 1fr 1px 1fr;
  gap: 64px; align-items: end;
  padding: 64px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.double-stat .double-stat-cell { /* grid child wrapper · n+cap-stack */ }
.double-stat .divider {
  background: var(--line-strong); width: 1px;
  align-self: stretch; min-height: 240px;
}
.double-stat .n {
  font-weight: 200; font-size: clamp(140px, 18vw, 280px);
  line-height: 0.85; letter-spacing: -0.06em;
  color: var(--ink);
}
.double-stat .n .unit {
  font-size: 0.22em; color: var(--ink-mute);
  margin-left: 12px; vertical-align: 0.7em; font-weight: 400;
}
.double-stat .n .acc { color: var(--accent); }
.double-stat .cap {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-mute);
  margin-top: 24px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.double-stat .cap .dot { width: 9px; height: 9px; background: var(--accent); border-radius: 50%; }
.double-stat-foot {
  margin-top: 56px; max-width: 720px;
  font-size: 1rem; color: var(--ink-mute); line-height: 1.6;
}

/* ============================================================
   DUO PORTRAIT (udstillerguide)
   ============================================================ */
.duo-section { padding: 120px 64px; max-width: 1480px; margin: 0 auto; border-top: 1px solid var(--line); }
.duo {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}
.duo .person { display: flex; gap: 24px; align-items: center; }
.duo .person .person-meta { /* flex child wrapper · name+role-stack */ }
.duo .person .monogram {
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", sans-serif;
  font-size: 40px;
  font-weight: 200;
  letter-spacing: -0.03em;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  flex-shrink: 0;
}
.duo .person .name { font-weight: 600; font-size: 1.5rem; letter-spacing: -0.015em; margin-bottom: 4px; }
.duo .person .role {
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.duo .person .role .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

/* ============================================================
   STORY CHAPTERS
   ============================================================ */
.story-section { padding: 140px 64px; max-width: 1480px; margin: 0 auto; position: relative; overflow: hidden; }
.chapter {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 64px; padding: 56px 0;
  border-bottom: 1px solid var(--line); align-items: start;
}
.chapter:first-of-type { border-top: 1px solid var(--line); }
.chapter .chapter-body { /* grid child wrapper · prose-spalte */ }
.chapter .ix {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: 0.22em; color: var(--accent); font-weight: 600;
}
.chapter .ix-num {
  font-weight: 700; color: var(--ink); display: block;
  margin-bottom: 6px; font-size: 13px;
}
.chapter h2 {
  font-weight: 400; font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 24px;
  max-width: 760px;
}
.chapter h2 .b { font-weight: 600; }
.chapter h2 .acc { color: var(--accent); }
.chapter p {
  font-size: 1.0625rem; line-height: 1.65; color: var(--ink-mute);
  margin: 0 0 16px; max-width: 720px;
}
.chapter ul {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 4px;
}
.chapter li {
  font-size: 1rem; color: var(--ink); padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 24px 1fr;
  gap: 12px; align-items: baseline;
}
.chapter li::before {
  content: ""; width: 7px; height: 7px; background: var(--accent);
  border-radius: 50%; display: inline-block; margin-top: 8px;
}

/* ============================================================
   PULL QUOTE
   ============================================================ */
.quote-section { padding: 140px 64px; max-width: 1480px; margin: 0 auto; }
.pullquote {
  padding: 64px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.pullquote.spaced { margin-top: 2rem; }
.pullquote blockquote {
  font-weight: 300; font-size: clamp(32px, 3.8vw, 60px);
  line-height: 1.18; letter-spacing: -0.03em;
  margin: 0; max-width: 1200px; color: var(--ink);
}
.pullquote blockquote .acc { color: var(--accent); font-weight: 500; }
.pullquote blockquote .b { font-weight: 600; }
.pullquote .attr {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; gap: 24px; align-items: baseline;
}
.pullquote .attr .who { font-weight: 600; font-size: 1.0625rem; }
.pullquote .attr .who small { display: block; color: var(--ink-mute); font-size: 0.875rem; font-weight: 400; margin-top: 2px; }
.pullquote .attr .dot { width: 9px; height: 9px; background: var(--accent); border-radius: 50%; margin-left: auto; }

/* ============================================================
   APPROACH (4-col grid)
   ============================================================ */
.approach-section { padding: 140px 64px; max-width: 1480px; margin: 0 auto; }
.approach-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}
.approach {
  padding: 56px 24px 56px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.approach:nth-child(n+2) { padding-left: 24px; }
.approach:last-child { border-right: 0; }
.approach .n {
  color: var(--accent); font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.2em; font-weight: 600;
  margin-bottom: 24px;
}
.approach h3 {
  font-weight: 600; font-size: 1.375rem;
  letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 12px;
}
.approach p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-mute); margin: 0; }

/* ============================================================
   NEXT CASE
   ============================================================ */
.next-section { padding: 100px 64px 140px; max-width: 1480px; margin: 0 auto; }
.next-link {
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  transition: padding 220ms;
}
.next-link:hover { padding-left: 16px; padding-right: 16px; margin: 0 -16px; }
.next-link:hover h2 { color: var(--accent); }
.next-link:hover .arrow { color: var(--accent); transform: translateX(8px); }
.next-link .next-text { /* grid child wrapper · label+h2+sub-stack */ }
.next-link .label {
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 14px; font-weight: 500;
}
.next-link .label .acc { color: var(--accent); font-weight: 600; }
.next-link h2 {
  font-weight: 300; font-size: clamp(40px, 5vw, 80px);
  line-height: 0.96; letter-spacing: -0.03em; margin: 0;
  transition: color 200ms;
}
.next-link h2 .b { font-weight: 600; }
.next-link .sub {
  margin-top: 12px; color: var(--ink-mute); font-size: 1rem; max-width: 640px;
}
.next-link .arrow {
  font-size: 2.5rem; color: var(--ink); transition: all 250ms;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .case-hero { padding: 56px 24px 32px; }
  .double-stat-section,
  .duo-section,
  .stat-section,
  .story-section,
  .quote-section,
  .approach-section,
  .next-section { padding: 64px 24px; }
  .chapter { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .stat-sub { grid-template-columns: 1fr; gap: 24px; }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .approach:nth-child(2n) { border-right: 0; }
  .double-stat { grid-template-columns: 1fr; gap: 48px; }
  .double-stat .divider { display: none; }
  .duo { grid-template-columns: 1fr; gap: 32px; }
  .next-link { grid-template-columns: 1fr; gap: 16px; }
  .next-link .arrow { display: none; }
}
