:root {
  --bg: #060607;
  --surface: rgba(17, 17, 17, 0.92);
  --surface-strong: #151515;
  --surface-soft: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(229, 19, 45, 0.22);
  --text: #f5f5f5;
  --muted: #a4a4a8;
  --brand: #e5132d;
  --brand-dark: #7f1321;
  --brand-soft: rgba(229, 19, 45, 0.1);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(6, 6, 7, 0.95), rgba(6, 6, 7, 0.98)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  background-color: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

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

p {
  line-height: 1.75;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(229, 19, 45, 0.18), transparent 35%),
    radial-gradient(circle at 88% 14%, rgba(113, 17, 31, 0.2), transparent 28%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 22px;
  height: 18px;
  border-radius: 5px;
  background:
    linear-gradient(180deg, transparent 0 3px, var(--brand) 3px 6px, transparent 6px 8px, var(--brand) 8px 12px, transparent 12px 14px, var(--brand) 14px 18px);
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.topbar-links a:hover {
  color: var(--text);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
  padding: 36px 0 28px;
}

.hero-grid--index {
  align-items: start;
}

.hero-copy,
.hero-media,
.panel,
.snapshot-card,
.library-card {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy,
.statement-card {
  border-radius: var(--radius-xl);
  padding: 36px;
}

.hero-copy h1,
.panel h2,
.library-card h3,
.statement-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 12ch;
}

.hero-summary {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 24px 0 0;
  max-width: 62ch;
}

.hero-actions,
.card-actions,
.pill-row,
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.button-primary:hover {
  background: #ff2743;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.pill-row {
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.78rem;
}

.pill-accent {
  color: #fff;
  background: rgba(229, 19, 45, 0.16);
  border-color: rgba(229, 19, 45, 0.35);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: #f38a97;
  margin-bottom: 14px;
  font-weight: 700;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 420px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.focus-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.86), rgba(34, 14, 17, 0.92));
}

.focus-card p,
.snapshot-card p,
.panel p,
.library-card p,
.statement-card p,
.feature-list,
.footer-bar {
  color: var(--muted);
}

.snapshot-grid,
.library-grid,
.content-grid,
.approach-grid {
  display: grid;
  gap: 18px;
}

.snapshot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 14px;
}

.snapshot-card {
  border-radius: var(--radius-md);
  padding: 22px;
}

.snapshot-card p {
  margin: 0;
  font-size: 0.98rem;
}

.page-main {
  padding: 18px 0 56px;
}

.content-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: start;
}

.content-main,
.content-side {
  display: grid;
  gap: 18px;
}

.panel {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.panel-wide {
  margin-top: 18px;
}

.panel h2,
.statement-card h2 {
  font-size: clamp(1.5rem, 2vw, 2.15rem);
  margin-bottom: 12px;
}

.panel-accent {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(36, 11, 15, 0.86), rgba(17, 17, 17, 0.96));
}

.approach-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.approach-card {
  border-radius: var(--radius-sm);
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.approach-card p {
  margin: 0;
  color: #d8d8dc;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #ff6b7d);
}

.section-head {
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}

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

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

.library-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.library-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.library-card__body {
  padding: 22px;
}

.library-card h3 {
  font-size: 1.65rem;
}

.library-card p {
  margin: 12px 0 0;
}

.card-actions {
  margin-top: 18px;
}

.statement-list {
  margin-top: 26px;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 42px;
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .library-grid.compact,
  .approach-grid,
  .snapshot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar,
  .topbar-links,
  .section-head,
  .footer-bar {
    align-items: flex-start;
  }

  .topbar,
  .footer-bar {
    flex-direction: column;
  }

  .library-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .statement-card,
  .panel {
    padding: 24px;
  }

  .hero-media {
    min-height: 320px;
  }
}
