:root {
  --ink: #151013;
  --ink-2: #21161b;
  --paper: #fff7ed;
  --paper-soft: #f7ece0;
  --wine: #9c1740;
  --wine-bright: #d22c5f;
  --gold: #f5b83f;
  --mint: #23d0b2;
  --text: #f9efe7;
  --muted: #cbbab0;
  --line: rgba(255, 247, 237, 0.18);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(245, 184, 63, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(35, 208, 178, 0.04) 1px, transparent 1px),
    var(--ink);
  background-size: 78px 78px;
  animation: grid-drift 18s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.48;
  background-image: linear-gradient(rgba(255, 247, 237, 0.04) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: screen;
}

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

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

button {
  font: inherit;
}

.site-frame {
  position: fixed;
  inset: 18px;
  z-index: 20;
  pointer-events: none;
  border: 1px solid rgba(255, 247, 237, 0.18);
}

.motion-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.motion-grid::before,
.motion-grid::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 208, 178, 0.52), transparent);
  animation: scan-line 7s ease-in-out infinite;
}

.motion-grid::before {
  top: 18%;
}

.motion-grid::after {
  top: 78%;
  animation-delay: -3s;
  background: linear-gradient(90deg, transparent, rgba(245, 184, 63, 0.5), transparent);
}

.topbar {
  position: fixed;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 66px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(21, 16, 19, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(245, 184, 63, 0.55);
  background: linear-gradient(135deg, rgba(156, 23, 64, 0.95), rgba(245, 184, 63, 0.72));
  color: #fff;
  font-size: 14px;
}

.nav-links {
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  flex: 0 0 auto;
  padding: 10px 12px;
  color: rgba(255, 247, 237, 0.78);
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  background: rgba(255, 247, 237, 0.08);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 128px 8vw 92px;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  animation: hero-breathe 13s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(21, 16, 19, 0.95) 0%, rgba(21, 16, 19, 0.72) 44%, rgba(21, 16, 19, 0.1) 78%),
    linear-gradient(0deg, rgba(21, 16, 19, 0.74), transparent 36%);
}

.hero-content {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: 78px;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  color: #fff;
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.tagline {
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 26px;
  font-weight: 800;
}

.hero-copy,
.section-copy p,
.formats-copy p,
.why-copy p,
.contact-panel p,
.purpose-inner p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 34px;
}

.hero-actions,
.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: #26160d;
}

.button.ghost {
  border-color: rgba(255, 247, 237, 0.28);
  background: rgba(255, 247, 237, 0.08);
  color: #fff;
}

.button.quiet {
  border-color: rgba(35, 208, 178, 0.35);
  background: transparent;
  color: var(--mint);
}

.hero-ribbon {
  position: absolute;
  left: 8vw;
  right: 8vw;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 247, 237, 0.16);
  background: rgba(255, 247, 237, 0.1);
  backdrop-filter: blur(14px);
}

.hero-ribbon span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(21, 16, 19, 0.72);
  color: rgba(255, 247, 237, 0.88);
  font-weight: 800;
  text-align: center;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.signal-item {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 28px 7vw;
  border-right: 1px solid rgba(21, 16, 19, 0.16);
}

.signal-item:last-child {
  border-right: 0;
}

.signal-item strong {
  color: var(--wine);
  font-size: 54px;
  line-height: 1;
}

.signal-item span {
  color: rgba(21, 16, 19, 0.72);
  font-weight: 800;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 54px;
  align-items: center;
  padding: 110px 8vw;
}

.section-copy,
.formats-copy,
.difference-content,
.why-copy,
.contact-panel,
.purpose-inner,
.section-head {
  position: relative;
}

.media-stack,
.media-panel,
.why-media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255, 247, 237, 0.16);
  box-shadow: var(--shadow);
}

.media-stack img,
.media-panel img,
.why-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.media-stack::before,
.media-panel::before,
.why-media::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(245, 184, 63, 0.42);
  pointer-events: none;
}

.media-note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 16px 18px;
  background: rgba(21, 16, 19, 0.84);
  border: 1px solid rgba(245, 184, 63, 0.36);
  backdrop-filter: blur(14px);
}

.media-note span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.media-note strong {
  color: #fff;
}

.purpose-band {
  padding: 92px 8vw;
  background:
    linear-gradient(135deg, rgba(156, 23, 64, 0.95), rgba(33, 22, 27, 0.96) 48%, rgba(35, 208, 178, 0.42)),
    var(--ink-2);
  border-block: 1px solid rgba(255, 247, 237, 0.16);
}

.purpose-inner {
  max-width: 980px;
}

.purpose-inner h2 {
  max-width: 860px;
}

.audience-section {
  grid-template-columns: 1fr;
}

.section-head {
  max-width: 840px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.info-card,
.format-card,
.partner-card {
  position: relative;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 237, 0.16);
  background: rgba(255, 247, 237, 0.07);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.info-card::after,
.format-card::after,
.partner-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--mint), var(--wine-bright));
  transition: transform 280ms ease;
}

.info-card:hover,
.format-card:hover,
.partner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 184, 63, 0.48);
  background: rgba(255, 247, 237, 0.1);
}

.info-card:hover::after,
.format-card:hover::after,
.partner-card:hover::after {
  transform: scaleX(1);
}

.card-code,
.format-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid rgba(245, 184, 63, 0.42);
  color: var(--gold);
  font-weight: 900;
}

.info-card p,
.format-card p,
.partner-card p,
.difference-list p {
  color: var(--muted);
  line-height: 1.7;
}

.formats {
  padding: 110px 8vw;
  background: var(--paper-soft);
  color: var(--ink);
}

.formats .eyebrow,
.formats-copy h2,
.formats-copy p,
.format-card h3,
.format-card p {
  color: var(--ink);
}

.formats .eyebrow {
  color: var(--wine);
}

.formats-copy {
  max-width: 760px;
  margin-bottom: 34px;
}

.format-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px;
}

.format-card {
  border-color: rgba(21, 16, 19, 0.14);
  background: rgba(255, 255, 255, 0.46);
}

.format-card p {
  opacity: 0.78;
}

.difference-section {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.9fr);
}

.difference-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.difference-list p {
  margin: 0;
  padding: 16px 0 16px 20px;
  border-left: 3px solid rgba(245, 184, 63, 0.7);
}

.difference-list strong {
  color: #fff;
}

.partners {
  padding: 110px 8vw;
  background: #fffaf2;
  color: var(--ink);
}

.partners .eyebrow,
.partners h2,
.partners h3 {
  color: var(--ink);
}

.partners .eyebrow {
  color: var(--wine);
}

.partner-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
  margin-top: 34px;
}

.partner-card {
  min-height: 280px;
  border-color: rgba(21, 16, 19, 0.14);
  background: rgba(21, 16, 19, 0.04);
}

.partner-card.large {
  background: var(--ink);
}

.partner-card.large h3,
.partner-card.large p {
  color: #fff;
}

.partner-card p {
  color: rgba(21, 16, 19, 0.7);
}

.why-section {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(0, 0.9fr);
  gap: 54px;
  align-items: center;
  padding: 110px 8vw;
  background: var(--ink);
}

.why-copy {
  max-width: 620px;
}

.contact-section {
  padding: 110px 8vw 120px;
  background:
    linear-gradient(90deg, rgba(245, 184, 63, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(35, 208, 178, 0.1) 1px, transparent 1px),
    var(--ink-2);
  background-size: 52px 52px;
}

.contact-panel {
  max-width: 980px;
  padding: 44px;
  border: 1px solid rgba(255, 247, 237, 0.16);
  background: rgba(21, 16, 19, 0.74);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 740px;
}

.contact-panel p {
  max-width: 760px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 8vw 42px;
  color: rgba(255, 247, 237, 0.64);
  border-top: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 78px 78px, -78px 78px;
  }
}

@keyframes scan-line {
  0%,
  100% {
    transform: translateX(-18%) scaleX(0.5);
    opacity: 0;
  }
  40%,
  60% {
    opacity: 1;
  }
  50% {
    transform: translateX(18%) scaleX(1);
  }
}

@keyframes hero-breathe {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045);
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 38px;
  }

  .audience-grid,
  .format-rail,
  .partner-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-card.large {
    grid-column: 1 / -1;
  }
}

@media (max-width: 880px) {
  .site-frame {
    inset: 10px;
  }

  .topbar {
    top: 10px;
    left: 10px;
    right: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .brand {
    justify-content: space-between;
  }

  .nav-links {
    padding-bottom: 2px;
  }

  .hero {
    min-height: 94svh;
    padding: 150px 6vw 108px;
    align-items: end;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(21, 16, 19, 0.96) 0%, rgba(21, 16, 19, 0.72) 48%, rgba(21, 16, 19, 0.04) 100%),
      linear-gradient(90deg, rgba(21, 16, 19, 0.56), transparent);
  }

  .hero-media img {
    object-position: center top;
  }

  .hero-ribbon {
    left: 6vw;
    right: 6vw;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-strip,
  .section,
  .difference-section,
  .why-section {
    grid-template-columns: 1fr;
  }

  .signal-item {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid rgba(21, 16, 19, 0.16);
  }

  .section,
  .formats,
  .partners,
  .why-section,
  .contact-section {
    padding: 82px 6vw;
  }

  .media-stack,
  .media-panel,
  .why-media {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 44px;
    line-height: 1;
  }

  h2 {
    font-size: 31px;
    line-height: 1.08;
  }

  .tagline {
    font-size: 20px;
  }

  .hero-copy,
  .section-copy p,
  .formats-copy p,
  .why-copy p,
  .contact-panel p,
  .purpose-inner p {
    font-size: 16px;
  }

  .brand span:last-child {
    font-size: 15px;
  }

  .nav-links {
    gap: 2px;
    justify-content: space-between;
  }

  .nav-links a {
    padding: 9px 6px;
    font-size: 13px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-ribbon {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid,
  .format-rail,
  .partner-layout {
    grid-template-columns: 1fr;
  }

  .info-card,
  .format-card,
  .partner-card {
    min-height: 210px;
  }

  .contact-panel {
    padding: 28px 20px;
  }

  .footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
