:root {
  --bg: #000000;
  --bg-soft: #0b0b0f;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --muted: #a1a1aa;
  --accent: #2997ff;
  --accent-soft: rgba(41, 151, 255, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  --max-width: 1280px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(41, 151, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #000000 0%, #050507 45%, #0a0a0f 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  font-size: 0.92rem;
  backdrop-filter: blur(16px);
  margin-bottom: 22px;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.section-text {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 14, 0.68);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f5f5f7;
  color: #000;
  font-size: 0.92rem;
  font-weight: 700;
}

.brand-text h1 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-text p {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: #d4d4d8;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle,
.pill-btn,
.ghost-btn,
.filter-chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
}

.pill-btn,
.ghost-btn {
  padding: 12px 18px;
  font-weight: 600;
}

.pill-btn.primary {
  background: #ffffff;
  color: #000000;
  border-color: transparent;
}

.pill-btn:hover,
.ghost-btn:hover,
.filter-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding: 34px 0 30px;
}

.hero-card {
  position: relative;
  min-height: 88vh;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.72)),
    url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1800&q=80") center/cover;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
}

.hero-topbar {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat {
  min-width: 140px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(15, 15, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat span {
  font-size: 0.86rem;
  color: #d4d4d8;
  line-height: 1.45;
}

.hero-search {
  width: min(560px, 100%);
  padding: 16px;
  border-radius: 28px;
  background: rgba(15, 15, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.search-row {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.9fr auto;
  gap: 10px;
}

.search-field,
.search-select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
  min-width: 0;
}

.search-select option {
  background: #121217;
}

.search-submit {
  padding: 14px 18px;
  border-radius: 18px;
  border: none;
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 34px 36px;
  max-width: 860px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.92;
  margin-bottom: 18px;
}

.hero-title .muted-line {
  color: #d4d4d8;
}

.hero-text {
  max-width: 700px;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #d4d4d8;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .ghost-btn {
  background: rgba(255, 255, 255, 0.06);
}

.split-intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.glass-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.location-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.location-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #101014;
  box-shadow: var(--shadow);
}

.location-card img {
  height: 100%;
  transition: transform 0.5s ease;
}

.location-card:hover img {
  transform: scale(1.04);
}

.location-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.08));
}

.location-overlay h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.location-overlay p {
  color: #d4d4d8;
  font-size: 0.92rem;
  line-height: 1.6;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.filter-chip {
  padding: 10px 16px;
  color: #d4d4d8;
}

.filter-chip.active {
  background: #ffffff;
  color: #000000;
  border-color: transparent;
}

.masonry {
  columns: 4 260px;
  column-gap: 18px;
}

.art-card {
  position: relative;
  break-inside: avoid;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #101014;
  box-shadow: var(--shadow);
}

.art-card img {
  transition: transform 0.45s ease;
}

.art-card:hover img {
  transform: scale(1.04);
}

.art-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.04));
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.25s ease;
}

.art-card:hover .art-meta {
  opacity: 1;
  transform: translateY(0);
}

.art-meta h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.art-meta p {
  font-size: 0.88rem;
  color: #d4d4d8;
  line-height: 1.6;
}

.system-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.system-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.system-card h3 {
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.system-card p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.96rem;
}

.cta-banner {
  margin-top: 34px;
  padding: 36px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(41, 151, 255, 0.12));
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-banner h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.cta-banner p {
  max-width: 760px;
  color: #d4d4d8;
  line-height: 1.8;
}

footer {
  padding: 34px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: all 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .split-intro,
  .location-grid,
  .system-grid {
    grid-template-columns: 1fr 1fr;
  }

  .search-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-card {
    min-height: 78vh;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 4%;
    right: 4%;
    background: rgba(10, 10, 14, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-actions .pill-btn {
    display: none;
  }

  .split-intro,
  .location-grid,
  .system-grid,
  .search-row {
    grid-template-columns: 1fr;
  }

  .hero-topbar {
    position: static;
    padding: 20px 20px 0;
  }

  .hero-card {
    display: block;
    min-height: auto;
  }

  .hero-content {
    padding: 20px 20px 24px;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .masonry {
    columns: 2 220px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 84px 0;
  }

  .brand-text p {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-search {
    width: 100%;
  }

  .hero-topbar {
    gap: 14px;
  }

  .stat {
    min-width: 100%;
  }

  .search-submit {
    width: 100%;
  }

  .masonry {
    columns: 1;
  }
}
