* {
  box-sizing: border-box;
}

:root {
  --bg: #070707;
  --paper: #f5f0e8;
  --ink: #030303;
  --panel: #101010;
  --panel-light: #191919;
  --text: #f5f0e8;
  --muted: #b6aca0;
  --line: rgba(245, 240, 232, 0.22);
  --accent: #d01622;
  --accent-2: #f4c95d;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 18% 6%, rgba(208, 22, 34, 0.22), transparent 26%),
    radial-gradient(circle at 90% 0%, rgba(244, 201, 93, 0.10), transparent 28%),
    repeating-linear-gradient(-10deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 12px),
    var(--bg);
  color: var(--text);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  background: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--paper);
  box-shadow: 0 6px 0 #000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  border: 3px solid var(--paper);
  box-shadow: 5px 5px 0 #000;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
}

.nav a:hover {
  color: var(--accent-2);
}

.comic-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 112px 5vw 56px;
}

.comic-panel {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.055), transparent 38%), var(--panel);
  border: 5px solid var(--paper);
  box-shadow: 12px 12px 0 #000000;
  overflow: hidden;
  transition: transform 150ms ease;
}

/*
@keyframes shake {
  0% { transform: translate(0, 0); }
  25% { transform: translate(2px, -2px); }
  50% { transform: translate(-2px, 2px); }
  75% { transform: translate(2px, 2px); }
  100% { transform: translate(0, 0); }
}

.comic-panel:hover {
  animation: shake 0.18s linear;
  transform: translate(2px, 2px) rotate(-0.5deg) perspective(750px) rotateY(8deg);
}
*/
.comic-panel::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(245, 240, 232, 0.18);
  pointer-events: none;
}

.hero {
  min-height: calc(100vh - 150px);
  display: grid;
  align-items: center;
  padding: clamp(42px, 6vw, 80px);
}

.hero-panel {
  transform: rotate(-0.6deg);
}

.halftone {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(245, 240, 232, 0.15) 1px, transparent 1.8px);
  background-size: 13px 13px;
  opacity: 0.26;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.eyebrow,
.section-label {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 900;
}

h1 {
  margin: 12px 0 24px;
  font-size: clamp(70px, 13vw, 182px);
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  text-shadow: 9px 9px 0 #000;
}

h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.speech-bubble {
  max-width: 660px;
  background: var(--paper);
  color: var(--ink);
  border: 4px solid #000;
  box-shadow: 7px 7px 0 #000;
  padding: 22px 26px;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 900;
  line-height: 1.35;
  position: relative;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  left: 48px;
  bottom: -28px;
  width: 32px;
  height: 32px;
  background: var(--paper);
  border-right: 4px solid #000;
  border-bottom: 4px solid #000;
  transform: rotate(45deg);
}

.comic-caption {
  display: inline-block;
  background: var(--accent-2);
  color: #000000;
  border: 4px solid #000;
  box-shadow: 5px 5px 0 #000;
  padding: 10px 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: rotate(-1.2deg);
  position: relative;
  z-index: 2;
}

.comic-caption.small {
  font-size: 13px;
  padding: 8px 12px;
}

.sound-fx {
  position: absolute;
  right: 5vw;
  bottom: 6vw;
  color: var(--accent);
  font-size: clamp(44px, 7vw, 108px);
  font-weight: 1000;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  transform: rotate(-12deg);
  text-shadow: 4px 4px 0 var(--paper), 10px 10px 0 #000;
  opacity: 0.95;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.actions.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 3px solid var(--paper);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 5px 5px 0 #000;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.btn:hover {
  transform: translate(2px, 2px) rotate(-0.5deg);
  box-shadow: 2px 2px 0 #000;
}

.btn.primary {
  background: var(--accent);
  color: white;
}

.btn.secondary {
  background: var(--panel-light);
  color: var(--text);
}

.comic-strip {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  margin-top: 34px;
}

.comic-strip .comic-panel {
  padding: 34px;
  min-height: 310px;
}

.panel-tilt-left {
  transform: rotate(1.1deg);
}

.panel-tilt-right {
  transform: rotate(-1deg);
}

.copy-panel {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

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

.feature-panel {
  min-height: 270px;
  padding: 30px;
  transform: rotate(-0.7deg);
  transition: transform 150ms ease;
}

.feature-panel:hover {
  transform: translate(2px, 2px) rotate(-1deg) perspective(600px) rotateY(8deg);
}

.feature-panel:nth-child(2) {
  transform: rotate(1deg) translateY(-14px);
}

.feature-panel:nth-child(2):hover {
  transform: translate(2px, -12px) rotate(0.5deg);
}

.feature-panel span {
  color: var(--accent);
  font-size: 16px;
  font-weight: 1000;
}

.feature-panel h3 {
  margin: 56px 0 14px;
  font-size: 28px;
  text-transform: uppercase;
}

.feature-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  margin-top: 34px;
  padding: 42px;
}

.media-section {
  transform: rotate(0.45deg);
}

.media-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-auto-rows: 250px;
  gap: 22px;
  margin-top: 34px;
}

.media-card {
  display: block;
  background: var(--panel-light);
  border: 4px solid var(--paper);
  box-shadow: 8px 8px 0 #000000;
  overflow: hidden;
  transition: transform 150ms ease;
}

.media-card:hover {
  transform: translate(2px, 2px) rotate(-0.5deg) perspective(100px) rotateY(1deg);
}

.media-card.large {
  grid-row: span 2;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0) contrast(1.2);
  transition: filter 500ms ease;
}

.media-card:hover img {
  filter: saturate(1) contrast(1);
}

.placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(245, 240, 232, 0.55);
  font-size: 23px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background:
    linear-gradient(135deg, rgba(208, 22, 34, 0.24), transparent 38%),
    repeating-linear-gradient(-16deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 14px);
}

.contact {
  text-align: center;
  max-width: 980px;
  margin: 42px auto 0;
  padding: 42px;
}

.contact p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.footer {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5vw 42px;
  color: var(--muted);
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 2px solid var(--paper);
  box-shadow: 12px 12px 0 #000;
  background: #000;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 10000;
  color: white;
  font-size: 52px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
  color: white;
  font-size: 82px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  padding: 20px;
  cursor: pointer;
}

.lightbox-nav.prev {
  left: 28px;
}

.lightbox-nav.next {
  right: 28px;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  color: var(--accent-2);
}

@media (max-width: 860px) {
  .site-header {
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

  .comic-page {
    padding: 104px 20px 38px;
  }

  .hero {
    min-height: auto;
    padding: 38px 24px 80px;
  }

  .sound-fx {
    right: 24px;
    bottom: 18px;
  }

  .comic-strip,
  .features,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel:nth-child(2),
  .panel-tilt-left,
  .panel-tilt-right,
  .hero-panel,
  .media-section {
    transform: none;
  }

  .media-card.large {
    grid-row: span 1;
  }

  .section,
  .contact,
  .comic-strip .comic-panel {
    padding: 26px;
  }

  .footer {
    flex-direction: column;
    padding: 24px 20px 36px;
  }
}