@font-face {
  font-family: "Tektur";
  src: url("assets/fonts/Tektur-Medium.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/InstrumentSans-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #0d0d0f;
  --surface: #15161c;
  --surface-alt: #1b1d25;
  --line: rgba(255, 255, 255, 0.1);
  --text: #efe8dc;
  --muted: #c5bec0;
  --orange: #ff6d18;
  --cyan: #46daff;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(255, 109, 24, 0.08) 0, rgba(255, 109, 24, 0.08) 18%, transparent 18%, transparent 100%),
    linear-gradient(315deg, rgba(70, 218, 255, 0.08) 0, rgba(70, 218, 255, 0.08) 18%, transparent 18%, transparent 100%),
    var(--bg);
  color: var(--text);
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 40;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--orange);
  color: #111;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(13, 13, 15, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

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

.brand-mark {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
}

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

.brand-text strong {
  font-family: "Tektur", "Arial Black", sans-serif;
  font-size: 1rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.site-nav a {
  padding: 0.45rem 0;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 13, 15, 0.96) 0, rgba(13, 13, 15, 0.82) 42%, rgba(13, 13, 15, 0.68) 60%, rgba(13, 13, 15, 0.88) 100%),
    linear-gradient(180deg, rgba(13, 13, 15, 0.18) 0, rgba(13, 13, 15, 0.18) 72%, rgba(13, 13, 15, 0.92) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(115deg, transparent 0 35%, rgba(255, 255, 255, 0.08) 35%, rgba(255, 255, 255, 0.08) 35.4%, transparent 35.4%, transparent 100%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(76rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 7rem 0 4.5rem;
}

.hero-copy {
  max-width: 46rem;
}

.hero-wordmark {
  width: min(24rem, 100%);
  height: auto;
  margin-bottom: 1rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--cyan);
  font-size: 0.95rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
summary {
  margin: 0;
  font-family: "Tektur", "Arial Black", sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: 4.25rem;
  line-height: 0.96;
}

h2 {
  font-size: 2.35rem;
  line-height: 1;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.05;
}

.hero-dek,
.section-heading p,
.overview-panel p,
.scene-callout p,
.source-copy p,
.footer-copy,
.footer-meta,
.faq-list p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-dek {
  max-width: 37rem;
  margin: 1.35rem 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-family: "Tektur", "Arial Black", sans-serif;
}

.button-primary {
  background: var(--orange);
  color: #111;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.hero-note {
  margin: 0;
  max-width: 40rem;
  color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 2rem 0 0;
}

.stat-tile {
  min-height: 7.3rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(15, 16, 22, 0.78);
  box-shadow: var(--shadow);
}

.stat-tile dt {
  margin-bottom: 0.45rem;
  color: var(--cyan);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.stat-tile dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.section {
  width: min(76rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.overview-grid,
.scene-grid,
.source-grid {
  display: grid;
  gap: 1rem;
}

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

.overview-panel,
.scene-callout,
.source-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.overview-panel,
.scene-callout {
  padding: 1.2rem;
}

.overview-panel h3,
.scene-callout h3 {
  margin-bottom: 0.8rem;
}

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

.scene-number {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--orange);
  font-family: "Tektur", "Arial Black", sans-serif;
}

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

.source-card {
  overflow: hidden;
}

.source-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.source-copy {
  padding: 1.1rem;
}

.source-date,
.source-meta {
  margin: 0 0 0.8rem;
  font-size: 0.92rem;
}

.source-copy h3 {
  margin-bottom: 0.8rem;
}

.source-copy a {
  display: inline-flex;
  margin-top: 0.35rem;
  color: var(--cyan);
  text-decoration-thickness: 1px;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.1rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0.85rem 0 0;
}

.site-footer {
  width: min(76rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-title {
  margin: 0 0 0.5rem;
  font-family: "Tektur", "Arial Black", sans-serif;
  font-size: 1.2rem;
}

.footer-copy,
.footer-meta p {
  margin: 0;
}

.footer-meta {
  display: grid;
  gap: 0.3rem;
  justify-items: end;
  text-align: right;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .overview-grid,
  .scene-grid,
  .source-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    display: grid;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: 76vh;
  }

  .hero-grid {
    width: min(100% - 2rem, 42rem);
    padding: 6.5rem 0 3rem;
  }

  .hero-wordmark {
    width: min(16rem, 100%);
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.28rem;
  }

  .section {
    width: min(100% - 2rem, 42rem);
    padding: 4rem 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .site-footer {
    width: min(100% - 2rem, 42rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
