:root {
  --bg: #050505;
  --bg-soft: #0c0c0d;
  --surface: rgba(18, 18, 20, 0.94);
  --surface-strong: rgba(24, 24, 27, 0.98);
  --surface-muted: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.07);
  --text: #f6f2eb;
  --muted: #a29d95;
  --muted-strong: #c3beb5;
  --accent: #f1dcc1;
  --accent-soft: rgba(241, 220, 193, 0.12);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.1), transparent 28%),
    radial-gradient(circle at 20% 14%, rgba(255, 255, 255, 0.04), transparent 24%),
    linear-gradient(180deg, #030303 0%, var(--bg) 36%, var(--bg-soft) 100%);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

code {
  padding: 0.16rem 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
}

.page-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 34%),
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.03) 50%, transparent 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 120px
    );
  opacity: 0.42;
}

.page-shell {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 88px;
}

.hero {
  display: grid;
  gap: 28px;
  justify-items: center;
  padding: 18px 0 12px;
}

.hero-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 28px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.07), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 28px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.hero-nav--pinned {
  position: fixed;
  top: 16px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  z-index: 35;
}

.hero-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--muted-strong);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.hero-nav-link:hover,
.hero-nav-link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.hero-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hero-nav-icon:hover,
.hero-nav-icon:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.hero-nav-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.09), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 34px rgba(0, 0, 0, 0.28);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 26px 44px rgba(0, 0, 0, 0.36);
}

.social-link img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.hero-copy {
  width: min(900px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
}

.hero-pill,
.section-kicker,
.image-card figcaption {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 30px rgba(0, 0, 0, 0.24);
}

.hero-pill::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #ffffff 0, #ffffff 18%, #d8c3a8 19%, #ab8f6b 70%, transparent 71%);
  box-shadow: 0 0 14px rgba(241, 220, 193, 0.28);
}

.hero-copy h1,
.gallery-section h2,
.card-title,
.empty-state h3,
.error-state h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.1rem, 8vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.subtitle {
  max-width: 720px;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-panel,
.proof-card,
.empty-state,
.error-state {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.05), transparent 38%),
    linear-gradient(180deg, rgba(21, 21, 24, 0.98), rgba(8, 8, 9, 0.98));
  box-shadow: var(--shadow);
}

.hero-panel::before,
.proof-card::before,
.empty-state::before,
.error-state::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 26%);
}

.hero-panel {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-xl);
}

.stat-block {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stat-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  font-weight: 700;
  line-height: 1;
}

.stat-date {
  font-size: 1.15rem;
  line-height: 1.45;
  max-width: 22ch;
}

.stat-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 800;
}

.stat-block-wide {
  grid-column: 1 / -1;
}

.stat-copy {
  max-width: 22ch;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.45;
}

.gallery-section {
  margin-top: 34px;
  scroll-margin-top: 36px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 18px 28px;
  align-items: end;
  width: min(980px, 100%);
  margin: 0 auto 20px;
  padding: 0 4px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--muted-strong);
}

.gallery-section h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-note {
  max-width: 36ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  justify-self: end;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.details-section {
  margin-top: 52px;
  scroll-margin-top: 36px;
}

.footer-social-wrap {
  display: grid;
  place-items: center;
  margin-top: 28px;
}

.footer-social-link {
  width: 70px;
  height: 70px;
}

.details-heading {
  width: min(820px, 100%);
  margin: 0 auto 24px;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.section-pill {
  margin-bottom: 2px;
}

.details-section h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.details-note {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.details-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.04), transparent 40%),
    linear-gradient(180deg, rgba(18, 18, 20, 0.98), rgba(7, 7, 8, 0.98));
  box-shadow: var(--shadow);
}

.details-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%);
}

.details-card:not(.details-card-wide) {
  padding: 24px;
}

.details-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--muted-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
}

.details-pill::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(241, 220, 193, 0.9);
  box-shadow: 0 0 12px rgba(241, 220, 193, 0.28);
}

.details-list {
  position: relative;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.details-list li {
  position: relative;
  padding: 18px 0 18px 42px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.6;
  border-top: 1px solid var(--border-soft);
}

.details-list li:first-child {
  border-top: 0;
  padding-top: 12px;
}

.details-list li::before {
  position: absolute;
  left: 2px;
  top: 17px;
  font-size: 1.05rem;
  color: var(--muted-strong);
}

.details-list-positive li::before {
  content: "+";
}

.details-list-neutral li::before {
  content: "-";
}

.details-card-wide {
  margin-top: 22px;
  padding: 24px;
}

.terms-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.term-item {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.term-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 800;
}

.term-item strong {
  font-size: 1.05rem;
  line-height: 1.55;
}

.proof-card,
.empty-state,
.error-state {
  border-radius: var(--radius-xl);
}

.proof-card {
  padding: 24px;
}

.card-note {
  color: var(--muted);
}

.card-note {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(241, 220, 193, 0.14);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  line-height: 1.7;
}

.image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.image-pair--stacked {
  grid-template-columns: 1fr;
  gap: 16px;
}

.image-card {
  margin: 0;
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.image-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 300px;
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  overflow: hidden;
  cursor: zoom-in;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.06), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 34px rgba(0, 0, 0, 0.26);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.image-button--portrait {
  min-height: clamp(340px, 42vw, 660px);
}

.image-button--panorama {
  min-height: clamp(140px, 14vw, 210px);
  padding: 14px;
}

.image-button--landscape {
  min-height: clamp(220px, 20vw, 300px);
  padding: 20px;
}

.image-button--square {
  min-height: clamp(260px, 28vw, 360px);
}

.image-pair--stacked .image-button--portrait {
  min-height: clamp(360px, 54vw, 760px);
}

.image-pair--stacked .image-button--square {
  min-height: clamp(220px, 26vw, 320px);
}

.image-pair--stacked .image-button--landscape {
  min-height: clamp(170px, 17vw, 230px);
  padding: 16px;
}

.image-pair--stacked .image-button--panorama {
  min-height: clamp(110px, 11vw, 160px);
  padding: 12px;
}

.image-button:hover,
.image-button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 26px 42px rgba(0, 0, 0, 0.34);
}

.image-button img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 860px);
  margin: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  background: transparent;
}

.image-card figcaption {
  margin: 0;
  justify-self: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.03);
}

.empty-state,
.error-state {
  padding: 28px;
  min-height: 240px;
  display: grid;
  align-items: center;
}

.empty-state h3,
.error-state h3 {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.empty-state p,
.error-state p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(4, 4, 5, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  margin: 0;
  max-width: min(1240px, 100%);
  max-height: 100%;
  display: grid;
  gap: 14px;
}

.lightbox-frame img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.05), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.42);
}

.lightbox-frame figcaption {
  text-align: center;
  color: var(--muted-strong);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

@media (max-width: 980px) {
  .hero-panel,
  .proof-grid,
  .details-grid,
  .terms-grid,
  .image-pair,
  .section-heading {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-heading {
    align-items: start;
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1280px);
    padding-top: 26px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .hero-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 44px;
    align-items: center;
    gap: 6px;
    width: min(100%, 360px);
    margin-bottom: 22px;
    padding: 6px;
  }

  .hero-nav--pinned {
    top: 10px;
  }

  .hero-nav-link {
    min-width: 0;
    width: 100%;
    padding: 10px 8px;
    font-size: clamp(0.84rem, 3vw, 0.92rem);
  }

  .hero-nav-icon {
    width: 44px;
    height: 44px;
  }

  .hero-nav-icon img {
    width: 22px;
    height: 22px;
  }

  .social-link {
    width: 64px;
    height: 64px;
  }

  .social-link img {
    width: 30px;
    height: 30px;
  }

  .subtitle,
  .section-note,
  .details-note,
  .stat-copy {
    font-size: 0.98rem;
  }

  .hero-panel,
  .details-card,
  .proof-card,
  .empty-state,
  .error-state {
    border-radius: 26px;
  }

  .hero-panel,
  .details-card,
  .proof-card {
    padding: 18px;
  }

  .stat-block {
    min-height: 0;
  }

  .image-button {
    min-height: 220px;
    padding: 12px;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox-frame img {
    max-height: calc(100vh - 120px);
    border-radius: 22px;
  }
}
