:root {
  --bg: #020202;
  --bg-soft: #0b0b0b;
  --panel: rgba(14, 14, 14, 0.86);
  --panel-strong: rgba(20, 17, 14, 0.96);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f0e6;
  --muted: rgba(244, 240, 230, 0.68);
  --accent: #d6aa6d;
  --accent-strong: #f0c88b;
  --shadow: 0 22px 90px rgba(0, 0, 0, 0.45);
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(121, 82, 35, 0.18), transparent 28%),
    linear-gradient(180deg, #090909 0%, #020202 52%, #050302 100%);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
}

a {
  color: inherit;
}

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

.site-shell {
  position: relative;
  isolation: isolate;
}

.home-shot-shell {
  position: relative;
  min-height: 100vh;
  background: #000;
}

.home-shot {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  background: #000;
  overflow: hidden;
}

.home-shot__cards-wrap {
  position: relative;
  z-index: 2;
  margin-top: 244px;
  overflow: hidden;
}

.home-shot__cards {
  display: flex;
  gap: 24px;
  width: max-content;
  padding-left: 60px;
  padding-right: 120px;
  will-change: transform;
}

.home-shot__card {
  position: relative;
  width: 322px;
  height: 612px;
  display: block;
  text-decoration: none;
  background: #151515;
  overflow: hidden;
  flex: 0 0 auto;
}

.home-shot__card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: opacity 220ms ease;
}

.home-shot__card-image--hover {
  opacity: 0;
}

.home-shot__card:hover .home-shot__card-image--hover,
.home-shot__card:focus-visible .home-shot__card-image--hover {
  opacity: 1;
}

.home-shot__card-title {
  position: absolute;
  left: 20px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
  font-family: "Advent Pro", sans-serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.home-shot__wordmark {
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: -92px;
  display: flex;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.home-shot__wordmark img {
  width: 2450px;
  max-width: none;
  opacity: 1;
  filter: blur(7px) contrast(1.18);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 42px;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-family: "Advent Pro", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.logo:hover,
.logo:focus-visible {
  color: #ff5c00;
  outline: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: "Space Grotesk", sans-serif;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__item {
  position: relative;
}

.site-nav__link,
.site-nav__summary {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  font-family: "Space Grotesk", sans-serif;
  transition: color 180ms ease;
}

.site-nav__link:hover,
.site-nav__summary:hover,
.site-nav__item:hover > .site-nav__summary,
.site-nav__item:hover > .site-nav__link {
  color: #ff5c00;
}

.site-nav__item details {
  position: relative;
}

.site-nav__summary {
  list-style: none;
  cursor: pointer;
}

.site-nav__summary::-webkit-details-marker {
  display: none;
}

.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8, 8, 8, 0.95);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.site-nav__dropdown a {
  border-radius: 14px;
  padding: 10px 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.58);
  background: transparent;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav__dropdown a:hover,
.site-nav__dropdown a.is-active {
  background: rgba(255, 255, 255, 0.05);
  color: #ff5c00;
}

.site-nav__summary.is-active,
.site-nav__link.is-active {
  color: rgba(255, 255, 255, 0.58);
}

.site-nav__summary.is-active:hover,
.site-nav__summary.is-active:focus-visible,
.site-nav__item:hover .site-nav__summary.is-active {
  color: #ff5c00;
}

.page {
  width: var(--container);
  margin: 0 auto;
  padding: 132px 0 100px;
}

.home-hero {
  position: relative;
  padding-top: 40px;
  margin-bottom: 52px;
}

.home-hero__eyebrow,
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
}

.home-hero__eyebrow::before,
.page-hero__eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--accent);
}

.home-hero__banner {
  margin-top: 18px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    linear-gradient(135deg, rgba(214, 170, 109, 0.08), rgba(0, 0, 0, 0.04));
  padding: clamp(26px, 5vw, 48px);
  overflow: hidden;
  position: relative;
}

.home-hero__banner::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  pointer-events: none;
}

.home-hero__image {
  width: min(980px, 100%);
  opacity: 0.96;
}

.home-hero__copy {
  margin-top: 24px;
  width: min(660px, 100%);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3.25rem);
  letter-spacing: 0.03em;
  font-weight: 600;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  text-align: right;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
}

.card__backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.17;
  transform: scale(1.05);
}

.card__texture {
  position: absolute;
  inset: auto -10% -16% auto;
  width: min(54%, 380px);
  opacity: 0.9;
  mix-blend-mode: screen;
}

.card__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 28px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 36%, rgba(0, 0, 0, 0.86) 100%);
}

.card__index {
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.card__title {
  margin: 0;
  max-width: 10ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem);
  line-height: 0.94;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card__excerpt {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.7;
}

.card__link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 12px 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card__link:hover,
.ghost-link:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 170, 109, 0.4);
  background: rgba(214, 170, 109, 0.08);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 40px;
}

.page-hero__copy {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  padding: clamp(28px, 5vw, 42px);
}

.page-hero__title {
  margin: 16px 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 2rem + 3vw, 5.1rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.page-hero__lede {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  max-width: 52ch;
}

.page-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  min-height: 440px;
  background: var(--panel-strong);
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.03);
}

.page-body {
  display: grid;
  gap: 20px;
}

.page-body p {
  margin: 0;
  max-width: 78ch;
  color: rgba(244, 240, 230, 0.82);
  line-height: 1.92;
}

.gallery-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.blank-page {
  min-height: 58vh;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.blank-page__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 48px;
}

.site-footer__inner {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__inner a {
  color: var(--text);
  text-decoration: none;
}

.fade-in {
  animation: fade-in 700ms ease both;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


body.prehistory-page {
  background: #000;
  overflow-x: hidden;
}

body.prehistory-page::before {
  display: none;
}

.prehistory-page .site-shell {
  min-height: 100vh;
  padding-top: 86px;
  background: #000;
}

.prehistory-hero {
  position: relative;
  min-height: calc(100vh - 86px);
  background: #000;
  overflow: hidden;
}

.prehistory-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 11, 8, 0.16) 0%, rgba(14, 11, 8, 0.08) 48%, rgba(12, 10, 8, 0.22) 100%);
  pointer-events: none;
}

.prehistory-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: saturate(0.68) brightness(0.66);
  transform: scale(1.015);
}

.prehistory-hero__layout {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50vw;
  align-items: stretch;
  padding-left: 56px;
}

.prehistory-hero__layout::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  background: linear-gradient(90deg, rgba(124, 116, 109, 0) 0%, rgba(124, 116, 109, 0.16) 22%, rgba(124, 116, 109, 0.34) 48%, rgba(120, 113, 107, 0.58) 72%, rgba(112, 106, 101, 0.8) 100%);
  pointer-events: none;
}

.prehistory-hero__title {
  position: relative;
  z-index: 1;
  align-self: start;
  margin: 32px 0 0;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 6.2vw, 8.3rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-transform: uppercase;
}

.prehistory-hero__panel {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(42px, 4vw, 72px) clamp(112px, 10.4vh, 156px) clamp(136px, 9vw, 190px);
}

.prehistory-hero__panel p {
  margin: 0 0 0 auto;
  max-width: 390px;
  color: rgba(255, 255, 255, 0.94);
  font-family: "Advent Pro", sans-serif;
  font-size: clamp(1.15rem, 1.38vw, 1.95rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

@media (max-width: 980px) {
  .cards,
  .page-hero,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .page-hero__media {
    min-height: 320px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading p {
    text-align: left;
  }
}

@media (max-width: 980px) {
.prehistory-page .site-shell {
  padding-top: 72px;
}

.prehistory-hero {
  min-height: calc(100vh - 72px);
}

.prehistory-hero__layout {
  min-height: calc(100vh - 72px);
  grid-template-columns: 1fr;
  padding-left: 0;
}

.prehistory-hero__title {
  margin: 28px 24px 0;
  font-size: clamp(3rem, 13vw, 5.4rem);
}

.prehistory-hero__panel {
  position: relative;
  z-index: 1;
  min-height: auto;
  margin-top: auto;
  padding: 30px 24px 42px;
}

.prehistory-hero__panel p {
  max-width: none;
  font-size: 1.02rem;
}
}

@media (max-width: 760px) {
  .home-shot__cards-wrap {
    margin-top: 72px;
  }

  .home-shot__cards {
    padding-left: 18px;
    gap: 14px;
  }

  .home-shot__card {
    width: 220px;
    height: 420px;
  }

  .home-shot__card-title {
    left: 14px;
    bottom: 16px;
    font-size: 23px;
  }

  .home-shot__wordmark {
    top: auto;
    bottom: -60px;
  }

  .home-shot__wordmark img {
    width: 1320px;
    filter: blur(5px) contrast(1.15);
  }

  .site-header {
    padding: 18px;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(6, 6, 6, 0.96);
    box-shadow: var(--shadow);
    display: none;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav__item {
    width: 100%;
  }

  .site-nav__summary,
  .site-nav__link {
    display: block;
    padding: 10px 2px;
    font-size: 12px;
  }

  .site-nav__dropdown {
    position: static;
    transform: none;
    width: auto;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
  }

  .page {
    padding-top: 36px;
  }

  .home-hero__copy {
    font-size: 0.95rem;
  }

  .card {
    min-height: 340px;
  }

  .card__content {
    padding: 22px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
