/* ============================================
   PK-EDITORIAL — Påskekrim Noir Article
   Cinematic noir → Scandinavian hygge arc.
   Prefix: pk-
   ============================================ */

/* ── Themeable Custom Properties ── */
:root {
  --art-accent: #8b1a1a;
  --art-accent-dark: #6b1414;
  --art-accent-glow: rgba(139, 26, 26, 0.3);
  --art-accent-subtle: rgba(139, 26, 26, 0.06);
  --art-link: #2d6a3f;
  --art-link-hover: #8b1a1a;
  --art-link-underline: #8b1a1a;
  --art-ornament: #c9a84c;
  --art-subtitle-color: rgba(201, 168, 76, 0.65);
  --art-hero-accent-line: #8b1a1a;

  /* Noir palette */
  --pk-noir: #0e0e12;
  --pk-true-black: #060608;
  --pk-noir-surface: #1a1a1f;
  --pk-paper: #d4c8a8;
  --pk-blood: #8b1a1a;
  --pk-blood-glow: rgba(139, 26, 26, 0.3);
  --pk-gold: #c9a84c;
  --pk-gold-muted: rgba(201, 168, 76, 0.6);
  --pk-text-on-dark: #e8e4dc;
  --pk-text-muted-dark: #9a9590;

  /* Hygge palette */
  --pk-hygge-cream: #F3EDE4;
  --pk-hygge-warm-white: #FAF7F2;
  --pk-hygge-text: #3a3530;
  --pk-hygge-text-secondary: #5a5248;
  --pk-hygge-text-muted: #8a8078;
}


/* ============================================
   HERO — Cinematic noir film still
   ============================================ */
.art-hero {
  background: var(--pk-true-black);
}

.art-hero__media img {
  object-position: center 35%;
  animation: pkHeroKB 18s ease-out forwards;
  filter: brightness(0.72) contrast(1.25) saturate(0.85);
}

@keyframes pkHeroKB {
  0%   { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Heavy cinematic overlay */
.art-hero__overlay {
  background:
    linear-gradient(180deg,
      rgba(6, 6, 8, 0.45) 0%,
      rgba(6, 6, 8, 0.12) 18%,
      rgba(6, 6, 8, 0.08) 35%,
      rgba(6, 6, 8, 0.45) 55%,
      rgba(6, 6, 8, 0.85) 72%,
      rgba(6, 6, 8, 0.95) 85%,
      rgba(6, 6, 8, 1) 93%
    );
}

/* Heavy vignette */
.art-hero__overlay::before {
  background: radial-gradient(ellipse at center, transparent 20%, rgba(6, 6, 8, 0.7) 100%);
}

/* Bottom-center spotlight */
.art-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 85%, rgba(255, 245, 230, 0.04) 0%, transparent 35%);
  pointer-events: none;
}

/* Film grain texture */
.art-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}

.art-hero__category {
  background: rgba(139, 26, 26, 0.92);
  color: #fff;
  box-shadow:
    0 4px 20px var(--pk-blood-glow),
    0 0 40px rgba(139, 26, 26, 0.12);
}

/* Title: pure white with cinematic glow */
.art-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow:
    0 0 80px rgba(255, 255, 255, 0.15),
    0 0 40px rgba(255, 255, 255, 0.08),
    0 4px 60px rgba(0, 0, 0, 0.7);
}

.art-hero__subtitle {
  color: rgba(220, 215, 205, 0.85);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.art-hero__content::before {
  background: linear-gradient(to bottom, transparent, var(--pk-blood), transparent);
  opacity: 0.4;
}


/* ============================================
   AUTHOR BAR — Match true black
   ============================================ */
.art-author-bar {
  background: var(--pk-true-black);
  border-bottom: 1px solid rgba(139, 26, 26, 0.08);
}

.art-author__reading-time {
  font-size: var(--text-xs, 0.75rem);
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}
.art-author__reading-time::before {
  content: "·";
  margin: 0 0.4em;
}


/* ============================================
   INTRO — Seamless dark noir
   ============================================ */
.pk-intro--noir {
  background: var(--pk-true-black);
}

.pk-intro--noir::before {
  background: var(--pk-true-black);
}

/* Reduce top padding in intro */
.pk-intro--noir .art-intro__inner {
  padding-top: var(--space-2xl);
}

.pk-intro--noir .art-lead {
  color: rgba(232, 228, 220, 0.88);
  border-bottom-color: rgba(201, 168, 76, 0.1);
}

/* Tighten drop cap spacing */
.pk-intro--noir .art-lead::first-letter {
  margin-right: -0.05em;
}

.pk-intro--noir .art-lead::first-letter {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--pk-gold);
  font-weight: 700;
}

.pk-intro--noir .art-lead strong {
  color: rgba(251, 249, 246, 0.9);
  font-weight: 600;
}


/* ============================================
   SECTION BACKGROUNDS — Noir arc
   ============================================ */

/* Full noir section — tense, dense */
.pk-section--noir {
  background: var(--pk-true-black);
  padding: var(--space-3xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Film grain on noir sections */
.pk-section--noir::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}

/* Tighter column in noir */
.pk-section--noir .art-section__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

/* Noir headings — bigger, bolder, white */
.pk-section--noir .art-heading {
  margin-bottom: var(--space-xl);
}

.pk-section--noir .art-heading h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw + 0.5rem, 3rem);
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.pk-section--noir .art-heading::before {
  display: none;
}

/* Noir body text — dimmed, denser */
.pk-section--noir .art-prose p {
  color: rgba(232, 228, 220, 0.72);
  line-height: 1.85;
  margin-bottom: var(--space-lg);
}

.pk-section--noir .art-prose em {
  color: rgba(232, 228, 220, 0.85);
}

.pk-section--noir .art-figure figcaption {
  color: var(--pk-text-muted-dark);
}


/* ============================================
   PK-SILHOUETTE — Noir image on warm ground
   Dark frame containing silhouette art
   ============================================ */
.pk-silhouette {
  margin: var(--space-2xl) auto;
  text-align: center;
}

.pk-silhouette__frame {
  position: relative;
  background: #2a2520;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(80, 60, 40, 0.12),
    0 8px 40px rgba(0, 0, 0, 0.06);
}

.pk-silhouette__frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.9) contrast(1.1);
  position: relative;
  z-index: 1;
}

/* Vignette */
.pk-silhouette__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Film grain */
.pk-silhouette__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  mix-blend-mode: overlay;
}

.pk-silhouette figcaption {
  margin-top: var(--space-md);
  font-size: var(--text-sm, 0.875rem);
  color: var(--pk-hygge-text-muted, #8a8078);
  font-style: italic;
}


/* ============================================
   TRANSITION — Dark-to-warm dissolve
   Warm browns only, no cool grays
   ============================================ */
.pk-transition {
  background:
    linear-gradient(180deg,
      var(--pk-true-black) 0%,
      #0a0a0e 8%,
      #14120f 16%,
      #2a231c 28%,
      #5a4f40 38%,
      #9a8e78 46%,
      #c8bca4 54%,
      #e0d8c8 62%,
      var(--pk-hygge-cream) 70%,
      var(--pk-hygge-cream) 100%
    );
  padding: var(--space-3xl) 0 var(--space-xl);
}

.pk-transition .art-section__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.pk-transition .art-heading {
  margin-bottom: var(--space-2xl);
}

.pk-transition .art-heading h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: rgba(251, 249, 246, 0.9);
  font-size: clamp(1.8rem, 3.5vw + 0.5rem, 2.75rem);
}

.pk-transition .art-heading::before {
  display: none;
}

/* Prose below the mountain photo — transitioning to hygge */
.pk-transition .art-prose p {
  color: var(--pk-hygge-text-secondary);
  line-height: 2;
}

/* Light prose above the photo — must come after to override */
.pk-transition .art-prose.art-prose--light p {
  color: rgba(232, 228, 220, 0.82);
}


/* ============================================
   HYGGE — Warm cream section
   ============================================ */
.pk-section--cream {
  background: var(--pk-hygge-cream);
  padding: var(--space-4xl) var(--space-xl);
}

.pk-section--cream .art-section__inner {
  max-width: 780px;
}

.pk-section--cream .art-heading {
  margin-bottom: var(--space-3xl);
}

.pk-section--cream .art-heading h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--pk-hygge-text);
}

.pk-section--cream .art-heading::before {
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.5), transparent);
}

.pk-section--cream .art-prose p {
  color: var(--pk-hygge-text-secondary);
  line-height: 2;
  margin-bottom: var(--space-2xl);
}

.pk-section--cream .art-prose p:last-child {
  margin-bottom: 0;
}

.pk-section--cream .art-figure figcaption {
  color: var(--pk-hygge-text-muted);
}

.pk-section--cream .art-figure--spread {
  margin-top: var(--space-2xl);
  margin-bottom: 0;
}

/* Warm shadows on hygge images */
.pk-section--cream .art-figure__img-wrap,
.pk-section--cream .pk-float-right__img-wrap {
  box-shadow:
    0 8px 32px rgba(80, 60, 40, 0.1),
    0 2px 8px rgba(80, 60, 40, 0.06);
}

.pk-section--cream .art-figure__img-wrap img {
  filter: brightness(1.03) saturate(1.05);
}


/* ============================================
   HYGGE — Warm white section (brightest)
   ============================================ */
.pk-section--bright {
  background: var(--pk-hygge-warm-white);
  padding: var(--space-3xl) var(--space-xl);
}

.pk-section--bright .art-section__inner {
  max-width: 780px;
}

.pk-section--bright .art-heading {
  margin-bottom: var(--space-2xl);
}

.pk-section--bright .art-heading h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--pk-hygge-text);
}

.pk-section--bright .art-heading::before {
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.5), transparent);
}

.pk-section--bright .art-prose p {
  color: var(--pk-hygge-text-secondary);
  line-height: 2;
  margin-bottom: var(--space-2xl);
}

.pk-section--bright .art-prose p:last-child {
  margin-bottom: 0;
}

/* No extra filter on duo images — product photos have their own shadows */


/* ============================================
   PK-PULLQUOTE — Old newspaper clipping
   ============================================ */
.pk-pullquote {
  max-width: 680px;
  margin: var(--space-3xl) auto;
  text-align: center;
  position: relative;
  transform: rotate(-0.8deg);
}

/* The newspaper clipping surface */
.pk-pullquote__clipping {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 15%, rgba(160, 140, 100, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(140, 120, 80, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(212, 200, 168, 0.06) 0%, transparent 70%),
    linear-gradient(175deg, #cdc1a5 0%, #d4c8a8 25%, #d8ccb0 50%, #d0c4a4 75%, #c8bc9c 100%);
  padding: var(--space-2xl) var(--space-xl);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 0 60px rgba(100, 85, 55, 0.08);
}

/* Thin newspaper column rule at top */
.pk-pullquote__clipping::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: rgba(60, 50, 30, 0.25);
}

/* Worn edge effect at bottom */
.pk-pullquote__clipping::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    #c0b494 0%, #c8bc9c 15%, #cdc1a5 40%, #c4b898 60%, #c0b494 85%, #b8ac90 100%
  );
  opacity: 0.6;
}

.pk-pullquote blockquote {
  margin: 0;
}

.pk-pullquote blockquote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 5.5vw, 3.2rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.15;
  color: #1a1410;
  margin: 0;
}

.pk-pullquote__translation {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  font-style: italic;
  color: rgba(60, 50, 30, 0.6);
  margin: var(--space-sm) 0 0;
  letter-spacing: 0.02em;
}

/* Cite sits below the clipping, back on dark */
.pk-pullquote__cite {
  display: block;
  margin-top: var(--space-lg);
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.7rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--pk-text-muted-dark);
  transform: rotate(0.8deg);
}


/* ============================================
   PK-EVIDENCE — Asymmetric crime exhibit
   ============================================ */
.pk-evidence {
  max-width: 560px;
  margin: var(--space-3xl) auto;
  transform: translateX(-3%);
  text-align: center;
}

.pk-evidence__surface {
  position: relative;
  background: rgba(10, 10, 14, 0.8);
  border-radius: 2px;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pk-evidence__photo {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  transform: rotate(-2deg);
  border-radius: 1px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.7),
    0 2px 8px rgba(0, 0, 0, 0.4);
}

.pk-evidence__photo img {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(0.12) contrast(1.1) brightness(0.95);
}

/* Aged paper border hint */
.pk-evidence__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--pk-paper);
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

/* Tape at top-center */
.pk-evidence__tape {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(1deg);
  width: 72px;
  height: 22px;
  background: rgba(212, 200, 168, 0.45);
  border-radius: 1px;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Evidence stamp */
.pk-evidence__label {
  display: inline-block;
  margin-top: var(--space-lg);
  padding: 4px var(--space-lg);
  background: var(--pk-blood);
  color: #fff;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 2px 8px var(--pk-blood-glow);
}

.pk-evidence__caption {
  margin-top: var(--space-md);
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  color: var(--pk-text-muted-dark);
  font-style: italic;
  line-height: 1.6;
}


/* ============================================
   PK-DRIP — Blood drip divider
   ============================================ */
.pk-drip {
  display: flex;
  justify-content: center;
  padding: var(--space-sm) 0;
  background: var(--pk-true-black);
}

.pk-drip svg {
  width: 280px;
  height: 48px;
  opacity: 0.8;
  filter: drop-shadow(0 2px 8px var(--pk-blood-glow));
}


/* ============================================
   PK-TV-FRAME — Retro television
   ============================================ */
.pk-tv-frame {
  max-width: 500px;
  margin: var(--space-2xl) auto;
  text-align: center;
}

.pk-tv-frame__body {
  position: relative;
  background: linear-gradient(180deg, #4a3f32 0%, #3a3028 50%, #2a231c 100%);
  border-radius: 16px;
  padding: 20px 20px 40px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pk-tv-frame__antenna {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 30px;
}

.pk-tv-frame__antenna::before,
.pk-tv-frame__antenna::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 28px;
  background: #555;
  border-radius: 1px;
}

.pk-tv-frame__antenna::before {
  left: 15px;
  transform: rotate(-20deg);
  transform-origin: bottom center;
}

.pk-tv-frame__antenna::after {
  right: 15px;
  transform: rotate(20deg);
  transform-origin: bottom center;
}

.pk-tv-frame__screen {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(0, 0, 0, 0.5);
}

.pk-tv-frame__screen img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.05) saturate(0.85);
}

/* CRT scanlines */
.pk-tv-frame__screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
}

/* Screen glare */
.pk-tv-frame__screen::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 55%;
  height: 55%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 1;
}

/* Control knobs */
.pk-tv-frame__controls {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.pk-tv-frame__knob {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #666, #333);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.pk-tv-frame figcaption {
  margin-top: var(--space-md);
  font-size: var(--text-sm, 0.875rem);
  color: var(--pk-hygge-text-muted);
  font-style: italic;
}


/* ============================================
   PK-CASEFILE — Police dossier fact box
   ============================================ */
.pk-casefile {
  background: #111113;
  border-radius: 2px;
  padding: var(--space-3xl) var(--space-2xl) var(--space-2xl);
  margin: var(--space-2xl) auto;
  max-width: 920px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 16px 56px rgba(0, 0, 0, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* CLASSIFIED watermark */
.pk-casefile::after {
  content: 'CLASSIFIED';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.pk-casefile__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.pk-casefile__label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--space-sm);
}

.pk-casefile__subtitle {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  margin: 0 0 var(--space-lg);
}

/* Thin accent line below header */
.pk-casefile__header::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  margin: var(--space-lg) auto 0;
  background: var(--pk-blood);
  opacity: 0.5;
}

.pk-casefile__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Clean dark cards */
.pk-casefile__card {
  padding: var(--space-xl) var(--space-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 2px solid var(--pk-blood);
  border-radius: 2px;
  position: relative;
  transition: background 0.3s ease;
}

.pk-casefile__card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.pk-casefile__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-sm);
  line-height: 1.3;
}

.pk-casefile__examples {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 var(--space-md);
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.pk-casefile__desc {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}


/* ============================================
   PK-DUO — Side-by-side images (hygge)
   ============================================ */
.pk-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  max-width: 900px;
  margin: var(--space-3xl) auto;
}

.pk-duo__item {
  margin: 0;
  text-align: center;
}

.pk-duo__img-wrap {
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.pk-duo__item--tilt .pk-duo__img-wrap {
  transform: rotate(1.5deg);
  transition: transform 0.4s var(--ease-out-expo, ease);
}

.pk-duo__item--tilt:hover .pk-duo__img-wrap {
  transform: rotate(0);
}

.pk-duo__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.pk-duo figcaption {
  margin-top: var(--space-sm);
  font-size: var(--text-xs, 0.75rem);
  color: var(--pk-hygge-text-muted);
  font-style: italic;
  line-height: 1.5;
}


/* ============================================
   PK-FLOAT — Right-floating image
   ============================================ */
.pk-float-right {
  float: right;
  width: 44%;
  max-width: 360px;
  margin: 0 0 var(--space-xl) var(--space-xl);
}

.pk-float-right .pk-float-right__img-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl, 12px);
  box-shadow:
    0 8px 32px rgba(80, 60, 40, 0.1),
    0 2px 8px rgba(80, 60, 40, 0.06);
}

.pk-float-right img {
  width: 100%;
  height: auto;
  display: block;
}

.pk-float-right figcaption {
  margin-top: var(--space-xs);
  font-size: var(--text-xs, 0.75rem);
  color: var(--pk-hygge-text-muted);
  font-style: italic;
  text-align: center;
  line-height: 1.5;
}

.pk-float-right figcaption a {
  color: var(--color-pine, #2d6a3f);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ============================================
   PK-CLOSING — Warm hygge outro
   ============================================ */
/* Tighten sources and card-grid spacing */
.art-section--light:has(.art-sources) {
  padding-bottom: 0;
}

.art-card-grid {
  padding-top: var(--space-xl);
}

/* Closing section needs less padding since it's just a sign-off */
.pk-section--cream:has(.pk-closing) {
  padding: 0 var(--space-xl) var(--space-2xl);
}

.pk-closing {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
}

.pk-closing::before {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--pk-gold), var(--pk-blood));
  margin: 0 auto var(--space-xl);
  border-radius: 1px;
}

.pk-closing__prelude {
  font-style: italic;
  color: var(--pk-hygge-text-secondary);
  margin-bottom: var(--space-lg);
}

.pk-closing__text {
  font-family: 'Cormorant Garamond', var(--font-display), serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-style: italic;
  line-height: 1.9;
  color: var(--pk-hygge-text-secondary);
  margin-bottom: var(--space-xl);
}

.pk-closing__sign-off {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--pk-blood);
  margin: 0 0 var(--space-xs);
}

.pk-closing__translation {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  font-style: italic;
  color: var(--pk-hygge-text-muted);
  margin: 0;
}


/* ============================================
   TRANSITION FIGURE — Mountain photo anchor
   ============================================ */
.pk-transition__figure {
  max-width: 580px;
  margin: var(--space-3xl) auto var(--space-2xl);
}

.pk-transition__figure .art-figure__img-wrap {
  border-radius: var(--radius-lg, 1rem);
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.pk-transition__figure .art-figure__img-wrap img {
  filter: brightness(1.05) saturate(1.08);
}

.pk-transition figcaption {
  text-align: center;
  margin-top: var(--space-md);
  font-size: var(--text-sm, 0.875rem);
  color: var(--pk-hygge-text-muted);
  font-style: italic;
  text-shadow: none;
}

.pk-transition figcaption a {
  color: var(--pk-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 768px) {
  /* Sections — tighter vertical rhythm */
  .pk-section--noir {
    padding: var(--space-xl) var(--space-lg);
  }

  .pk-section--noir .art-section__inner {
    max-width: 100%;
  }

  .pk-section--cream,
  .pk-section--bright {
    padding: var(--space-xl) var(--space-lg);
  }

  .pk-section--cream:has(.pk-closing) {
    padding: 0 var(--space-lg) var(--space-xl);
  }

  /* Intro — reduce top gap below author bar */
  .pk-intro--noir {
    padding-top: var(--space-lg);
  }

  /* Transition */
  .pk-transition {
    padding: var(--space-2xl) 0 var(--space-xl);
  }

  .art-hero__meta {
    margin-bottom: var(--space-lg);
  }

  /* Evidence — remove offset */
  .pk-evidence {
    transform: none;
  }

  .pk-evidence__photo {
    transform: rotate(-0.75deg);
  }

  .pk-evidence__tape {
    width: 56px;
    height: 18px;
  }

  /* Pullquote */
  .pk-pullquote {
    transform: rotate(-0.5deg);
  }

  .pk-pullquote__clipping {
    padding: var(--space-xl) var(--space-lg);
  }

  /* Case file — single column */
  .pk-casefile {
    margin-left: var(--space-lg);
    margin-right: var(--space-lg);
    padding: var(--space-xl) var(--space-lg);
    margin-top: 0;
    margin-bottom: 0;
  }

  .pk-casefile__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: var(--space-md);
  }

  /* TV frame */
  .pk-tv-frame {
    max-width: 360px;
  }

  .pk-tv-frame__body {
    padding: 14px 14px 34px;
    border-radius: 12px;
  }

  .pk-tv-frame__screen {
    border-radius: 8px;
  }

  /* Duo — single column */
  .pk-duo {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    gap: var(--space-xl);
  }

  /* Float — full width */
  .pk-float-right {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: var(--space-lg) 0;
  }

  /* Closing */
  .pk-closing {
    padding: var(--space-lg) 0;
  }

  /* Silhouette */
  .pk-silhouette {
    margin: var(--space-lg) auto;
  }

  /* Transition figure */
  .pk-transition__figure {
    max-width: 460px;
    padding: 0 var(--space-lg);
  }

  /* Drip divider */
  .pk-drip {
    padding: var(--space-md) 0;
  }

  /* Vera spread */
  .art-figure--spread {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
  }
}


/* ============================================
   RESPONSIVE — Small mobile
   ============================================ */
@media (max-width: 480px) {
  .pk-section--noir {
    padding: var(--space-lg) var(--space-md);
  }

  .pk-section--cream,
  .pk-section--bright {
    padding: var(--space-lg) var(--space-md);
  }

  .pk-section--cream:has(.pk-closing) {
    padding: 0 var(--space-md) var(--space-lg);
  }

  .pk-intro--noir {
    padding-top: var(--space-md);
  }

  .pk-transition {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .pk-casefile {
    margin-left: var(--space-md);
    margin-right: var(--space-md);
    padding: var(--space-lg) var(--space-md);
  }

  .pk-pullquote {
    transform: none;
  }

  .pk-pullquote blockquote p {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }

  .pk-evidence__photo {
    transform: none;
  }

  .pk-evidence__tape {
    display: none;
  }

  .pk-drip svg {
    width: 200px;
    height: 36px;
  }

  .pk-drip {
    padding: var(--space-sm) 0;
  }

  .pk-tv-frame__screen::after {
    display: none;
  }

  .pk-tv-frame__antenna::before,
  .pk-tv-frame__antenna::after {
    height: 20px;
  }

  .pk-duo__item--tilt .pk-duo__img-wrap {
    transform: none;
  }

  .pk-closing {
    padding: var(--space-md) 0;
  }

  .pk-silhouette {
    margin: var(--space-md) auto;
  }

  /* Reduce grain on small screens */
  .art-hero::after {
    opacity: 0.02;
  }
}


/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .art-hero__media img {
    animation: none;
    transform: none;
    filter: brightness(0.75) contrast(1.2) saturate(0.85);
  }

  .pk-duo__item--tilt .pk-duo__img-wrap {
    transform: none;
    transition: none;
  }

  .pk-evidence__photo {
    transform: none;
  }
}
