:root {
  --black: #050504;
  --night: #07111d;
  --stone: #17130f;
  --gold: #d7aa5c;
  --blue: #6ea4c2;
  --paper: #fff7e8;
  --muted: rgba(255, 247, 232, 0.72);
  --faint: rgba(255, 247, 232, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0));
}

header a {
  color: var(--paper);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 18px;
}

.hero {
  min-height: 72svh;
  display: grid;
  align-items: end;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 5vw, 78px) clamp(52px, 8vh, 90px);
  background:
    linear-gradient(90deg, rgba(5, 5, 4, 0.86), rgba(5, 5, 4, 0.18)),
    radial-gradient(circle at 76% 42%, rgba(110, 164, 194, 0.28), transparent 30%),
    url("https://www.ancient-egypt-online.com/articlesimages/great-egyptian-museum-outside.png") center / cover;
}

.hero > div {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  font-size: clamp(58px, 8vw, 122px);
}

h2 {
  font-size: clamp(38px, 5vw, 72px);
}

h3,
p {
  margin-top: 0;
}

p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
}

.reference-grid {
  display: grid;
  gap: 0;
}

.reference-grid article {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  min-height: 78svh;
  align-items: center;
  background: var(--stone);
}

.reference-grid article:nth-child(even) {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.08fr);
  background: #090d10;
}

.reference-grid article:nth-child(even) img {
  order: 2;
}

.reference-grid img {
  width: 100%;
  height: 78svh;
  object-fit: cover;
}

.reference-grid div {
  padding: clamp(28px, 5vw, 76px);
}

.reference-grid span,
.cue-grid span {
  color: rgba(215, 170, 92, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.inspiration {
  padding: clamp(78px, 9vw, 132px) clamp(20px, 5vw, 78px);
  background:
    linear-gradient(rgba(5, 5, 4, 0.9), rgba(5, 5, 4, 0.94)),
    url("https://www.ancient-egypt-online.com/articlesimages/great-egyptian-museum-inside.png") center / cover fixed;
}

.section-intro {
  max-width: 960px;
  margin-bottom: 38px;
}

.cue-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.cue-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--faint);
  background: rgba(255, 247, 232, 0.052);
  backdrop-filter: blur(16px);
}

.cue-grid p {
  font-size: 15px;
}

.application {
  min-height: 80svh;
  display: grid;
  place-items: center;
  padding: clamp(78px, 9vw, 132px) clamp(20px, 5vw, 78px);
  text-align: center;
  background:
    radial-gradient(circle at 42% 42%, rgba(110, 164, 194, 0.2), transparent 30%),
    linear-gradient(135deg, var(--night), var(--black));
}

.application > * {
  margin-left: auto;
  margin-right: auto;
}

.application a {
  display: inline-flex;
  width: 250px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(215, 170, 92, 0.68);
  color: var(--paper);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

footer {
  padding: 36px 20px 48px;
  background: #050504;
  text-align: center;
}

footer p {
  max-width: 780px;
  margin: 0 auto;
  font-size: 13px;
}

@media (max-width: 920px) {
  header {
    position: absolute;
  }

  nav {
    gap: 12px;
  }

  .reference-grid article,
  .reference-grid article:nth-child(even),
  .cue-grid {
    grid-template-columns: 1fr;
  }

  .reference-grid article:nth-child(even) img {
    order: initial;
  }

  .reference-grid img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}
