:root {
  --black: #030303;
  --paper: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.72);
  --dim: rgba(245, 245, 247, 0.12);
  --gold: #e5b966;
  --blue: #8ac8ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  overflow-x: hidden;
  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;
}

a {
  color: inherit;
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.progress span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}

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

.brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.brand span,
nav a,
.eyebrow {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand span {
  color: rgba(245, 245, 247, 0.62);
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

nav a {
  padding-top: 8px;
  color: rgba(245, 245, 247, 0.8);
  text-decoration: none;
}

.visual-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.visual-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22) 44%, rgba(0, 0, 0, 0.34)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 28%, rgba(0, 0, 0, 0.56));
  pointer-events: none;
}

.visual-stage img {
  position: absolute;
  inset: -3vh -3vw;
  width: 106vw;
  height: 106vh;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.04) brightness(0.96);
  transition:
    opacity 900ms ease,
    transform 2200ms ease;
}

.visual-stage img.active {
  opacity: 1;
  transform: scale(1);
}

main,
footer {
  position: relative;
  z-index: 5;
}

.scene {
  position: relative;
  min-height: 112svh;
  display: grid;
  align-items: center;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 6vw, 90px);
  isolation: isolate;
  overflow: hidden;
}

.scene::before,
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene::before {
  z-index: -2;
  background: var(--scene-image) center / cover;
  opacity: 0.88;
  transform: scale(1.02);
}

.scene::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.2) 48%, rgba(0, 0, 0, 0.38)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 30%, rgba(0, 0, 0, 0.68));
}

.hero {
  min-height: 100svh;
}

.align-right {
  justify-items: end;
}

.align-bottom {
  align-items: end;
}

.copy {
  width: min(100%, 720px);
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.72);
}

.copy.wide {
  width: min(100%, 920px);
}

.copy.narrow {
  width: min(100%, 620px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(72px, 12vw, 176px);
  line-height: 0.86;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(46px, 6vw, 96px);
  line-height: 0.94;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.08;
}

p {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(19px, 1.7vw, 25px);
}

.note {
  max-width: 520px;
  color: rgba(245, 245, 247, 0.58);
  font-size: 14px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  width: 260px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid rgba(245, 245, 247, 0.46);
  border-radius: 999px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
}

.button.primary {
  border-color: rgba(229, 185, 102, 0.68);
  background: rgba(229, 185, 102, 0.18);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.clean-list {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding: 13px 15px;
  border: 1px solid var(--dim);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.052);
  color: rgba(245, 245, 247, 0.78);
  font-size: 14px;
  font-weight: 760;
}

.overview,
.contact {
  padding: clamp(82px, 10vw, 144px) clamp(20px, 6vw, 90px);
  background: #050505;
}

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

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

.outline-grid article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--dim);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.outline-grid span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.outline-grid p {
  color: rgba(245, 245, 247, 0.66);
  font-size: 16px;
}

.contact {
  min-height: 76svh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.76)),
    url("./assets/generated/pyramid-star-alignment.jpg") center / cover;
}

.contact > div,
.contact p {
  margin-left: auto;
  margin-right: auto;
}

footer {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 42px 20px 54px;
  background: #030303;
  text-align: center;
}

footer strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
}

footer p {
  max-width: 620px;
  margin: 0;
  color: rgba(245, 245, 247, 0.58);
  font-size: 14px;
}

footer nav {
  justify-content: center;
}

@media (max-width: 900px) {
  .topbar {
    position: absolute;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px 0;
  }

  nav {
    justify-content: flex-start;
    gap: 10px 12px;
  }

  nav a,
  .brand span,
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .scene {
    min-height: 100svh;
    padding: 130px 20px 42px;
  }

  .align-right {
    justify-items: start;
  }

  h1 {
    font-size: 68px;
  }

  h2 {
    font-size: 42px;
  }

  p {
    font-size: 18px;
  }

  .button {
    width: min(100%, 340px);
  }

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

  .outline-grid article {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visual-stage img {
    transition: none;
  }
}
