:root {
  --bg: #08090c;
  --panel: #11131a;
  --paper: #f4f1e8;
  --muted: #aaa79f;
  --gold: #d7a12f;
  --red: #ff315c;
  --blue: #58a6ff;
  --line: rgba(244, 241, 232, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(244, 241, 232, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(244, 241, 232, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 82% 14%, rgba(88, 166, 255, 0.24), transparent 33%),
    radial-gradient(circle at 14% 28%, rgba(255, 49, 92, 0.18), transparent 28%),
    #08090c;
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

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

img {
  max-width: 100%;
}

.topbar {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(8, 9, 12, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar a,
footer a {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero,
.featured,
.archive {
  margin: 0 auto;
  max-width: 1240px;
  padding: clamp(46px, 8vw, 94px) clamp(18px, 4vw, 56px);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  min-height: calc(92vh - 65px);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4.7rem, 12vw, 10.5rem);
  line-height: 0.82;
  max-width: 850px;
}

h2 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.86;
}

h3 {
  font-size: clamp(1.8rem, 3.4vw, 3.1rem);
  line-height: 0.9;
}

.hero p:not(.eyebrow),
.featured-grid p,
.archive-list small {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.55;
}

.hero-card {
  background: rgba(17, 19, 26, 0.88);
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
}

.hero-card img {
  aspect-ratio: 1;
  background: #05070a;
  display: block;
  object-fit: contain;
  width: 100%;
}

.hero-card::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-card span {
  bottom: 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  left: 14px;
  letter-spacing: 0.1em;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.section-head {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-bottom: 24px;
}

.featured-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-grid article {
  background: rgba(17, 19, 26, 0.88);
  border: 1px solid var(--line);
  cursor: pointer;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.featured-grid article:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.featured-grid img {
  background: #05070a;
  border-bottom: 1px solid var(--line);
  display: block;
  height: auto;
  object-fit: contain;
  position: static;
  width: 100%;
}

.featured-grid span,
.featured-grid h3,
.featured-grid p,
.featured-grid a {
  margin-left: 18px;
  margin-right: 18px;
  position: relative;
  z-index: 2;
}

.featured-grid span,
.archive-list span {
  color: var(--gold);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  margin-top: 18px;
  text-transform: uppercase;
}

.featured-grid h3 {
  margin-top: 0;
}

.featured-grid a,
.archive-list a {
  border-top: 1px solid var(--line);
  color: var(--paper);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-top: 18px;
  margin-bottom: 18px;
  padding-top: 14px;
  text-transform: uppercase;
}

.archive {
  padding-top: 0;
}

.archive-list {
  display: grid;
  gap: 10px;
}

.archive-list a {
  align-items: start;
  background: rgba(17, 19, 26, 0.86);
  border: 1px solid var(--line);
  display: grid;
  gap: 14px 18px;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  margin: 0;
  padding: 18px;
  transition: background 180ms ease, border-color 180ms ease;
}

.archive-list img {
  background: #05070a;
  border: 1px solid var(--line);
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.archive-list a:hover,
.featured-grid a:hover {
  border-color: var(--blue);
}

.archive-list strong {
  display: block;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

.archive-list small {
  display: block;
  margin-top: 8px;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px);
}

footer a {
  color: var(--gold);
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: auto;
  }

  .featured-grid article {
    min-height: 460px;
  }

  .archive-list a {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero,
  .featured,
  .archive {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: clamp(4rem, 19vw, 5.6rem);
  }
}
