:root {
  --bg: #111827;
  --panel: #ffffff;
  --text: #1f2937;
  --brand: #b91c1c;
  --brand-dark: #7f1d1d;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fafb 0%, #eef2ff 100%);
  line-height: 1.6;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--brand);
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  background: rgba(17, 24, 39, 0.94);
  color: #fff;
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  z-index: 10;
}

.header-inner {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  gap: 0.9rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-copy span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.76);
}

.site-nav {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.24), transparent 30%), linear-gradient(135deg, #111827, #1f2937 65%, #7f1d1d);
  color: #fff;
  padding: 4rem 0 3rem;
}

.hero-inner {
  max-width: 52rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fca5a5;
  margin: 0 0 0.85rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.08;
}

.intro {
  margin: 1rem 0 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
}

.meta-line,
.meta-inline {
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.meta-line {
  margin-bottom: 0.75rem;
}

.main-content {
  padding: 2rem 0 4rem;
}

.grid {
  display: grid;
  gap: 1.35rem;
  margin-bottom: 1.35rem;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid rgba(209, 213, 219, 0.8);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card-feature {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.card-accent {
  background: linear-gradient(180deg, #fee2e2, #fff7ed);
}

.card h2,
.card h3 {
  margin-top: 0;
  line-height: 1.2;
}

.media-card {
  overflow: hidden;
}

.media-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.media-tall {
  max-height: 28rem;
}

.media-inline {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 1rem 0;
}

.media-logo {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.gallery-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: #fff;
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

.detail-list,
.link-list {
  padding-left: 1.2rem;
  margin: 0;
}

.detail-list li,
.link-list li {
  margin-bottom: 0.65rem;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-dark);
  color: #fff;
}

.button-secondary {
  background: #111827;
}

.button-secondary:hover {
  background: #000;
}

.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.88);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: start;
}

.footer-inner p {
  margin-bottom: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: #fca5a5;
}

@media (max-width: 820px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .split-list,
  .two-up,
  .thirds,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .media-inline {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--max));
  }

  .card {
    padding: 1.15rem;
  }
}
