/* ─── Design tokens ─────────────────────────────────────────── */
:root {
  --bg-1: #0f0812;
  --bg-2: #1b0e22;
  --panel: rgba(30, 12, 40, 0.62);
  --panel-strong: rgba(20, 8, 28, 0.90);
  --text: #fef2f5;
  --muted: #c0a0b2;
  --line: rgba(220, 130, 160, 0.16);
  --accent: #f5c060;       /* champagne gold */
  --accent-2: #ff7aaa;     /* coral rose */
  --accent-3: #c0a0ff;     /* soft violet */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px; /* offset for sticky header */
}

html, body {
  margin: 0;
  padding: 0;
}

/* ─── Body & ambient background ─────────────────────────────── */
body {
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  -webkit-tap-highlight-color: transparent;
  background:
    radial-gradient(ellipse 80% 50% at 15% -5%, rgba(120, 25, 55, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(70, 15, 90, 0.50) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(90, 20, 50, 0.35) 0%, transparent 55%),
    linear-gradient(170deg, var(--bg-1) 0%, var(--bg-2) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: #ffd4e0;
  transition: color 160ms ease;
}

a:hover {
  color: var(--accent);
}

/* ─── Ambient glow layer ─────────────────────────────────────── */
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 60% 45% at 20% 15%, rgba(245, 192, 96, 0.10), transparent),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(255, 122, 170, 0.10), transparent),
    radial-gradient(ellipse 40% 35% at 50% 50%, rgba(192, 160, 255, 0.07), transparent);
  z-index: -1;
}

/* ─── Layout containers ──────────────────────────────────────── */
main,
.site-footer {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ─── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 0.9rem max(1.25rem, calc((100% - 1200px) / 2 + 1.25rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(12, 6, 16, 0.85);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}

/* ─── Logo ───────────────────────────────────────────────────── */
.logo {
  color: #ffffff;
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: opacity 160ms ease;
}

.logo:hover {
  opacity: 0.88;
  color: #ffffff;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(245, 192, 96, 0.40);
}

.logo span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Top navigation ─────────────────────────────────────────── */
.top-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-nav {
  display: flex;
  gap: 0.2rem;
}

.top-nav a {
  text-decoration: none;
  color: rgba(255, 210, 225, 0.80);
  font-size: 0.92rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.top-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* ─── Language switch ────────────────────────────────────────── */
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(220, 120, 155, 0.22);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(28, 8, 18, 0.75);
}

.lang-switch a {
  text-decoration: none;
  font-size: 0.75rem;
  padding: 0.38rem 0.78rem;
  font-weight: 700;
  color: rgba(255, 200, 220, 0.75);
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  transition: color 160ms ease, background 160ms ease;
}

.lang-switch a:hover {
  color: #fff;
}

.lang-switch .active {
  background: linear-gradient(90deg, #962050, #c43870);
  color: #ffffff;
}

/* ─── Main padding ───────────────────────────────────────────── */
main {
  padding-top: 0;
  padding-bottom: 5rem;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  min-height: 92svh;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  /* break out of the max-width container to fill 100vw */
  margin-inline: calc(50% - 50vw);
  width: 100vw;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 3.5rem;
  text-align: center;
}

.hero-copy h1 {
  margin: 1rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-copy h1 span {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 60%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: block;
  margin: 0 0 1.2rem;
  font-family: "Sora", sans-serif;
  color: var(--accent);
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 0.7rem;
  border-radius: 999px;
}

.subtitle {
  margin-top: 1.8rem;
  margin-inline: auto;
  max-width: 52ch;
  line-height: 1.95;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-cta {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  min-height: 44px;
  transition: transform 180ms ease, box-shadow 200ms ease, opacity 160ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  font-size: 0.95em;
  line-height: 1;
  flex-shrink: 0;
}

.btn-label {
  line-height: 1;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: #1a0508;
  background: linear-gradient(110deg, #f8d070 0%, #f5c060 45%, #f0a868 100%);
  box-shadow: 0 8px 28px rgba(245, 192, 96, 0.40), 0 2px 8px rgba(245, 192, 96, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(245, 192, 96, 0.55), 0 4px 12px rgba(245, 192, 96, 0.32);
  color: #1a0508;
}

.btn-ghost {
  color: #ffe0ea;
  border: 1px solid rgba(255, 122, 170, 0.32);
  background: rgba(60, 14, 30, 0.55);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  color: #ffffff;
  border-color: rgba(255, 122, 170, 0.60);
  background: rgba(90, 20, 48, 0.68);
}

.hero-meta {
  margin-top: 1.2rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(245, 192, 96, 0.06);
  border: 1px solid rgba(245, 192, 96, 0.18);
  color: #f0c878;
  font-size: 0.9rem;
  display: inline-block;
}

/* ─── Hero media ─────────────────────────────────────────────── */
.hero-media {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
  z-index: 0;
}

/* Hero background is always visible — skip the scroll-reveal fade */
.hero-media.reveal {
  opacity: 1;
  transform: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(8,4,12,0.45) 0%, rgba(8,4,12,0.92) 100%);
  pointer-events: none;
}

.hero-media img,
.image-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Sections ───────────────────────────────────────────────── */
.section {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2rem 2rem;
}

/* ─── Section tag / label ────────────────────────────────────────── */
.section-tag {
  display: block;
  margin: 0 0 0.55rem;
  font-family: "Sora", sans-serif;
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--accent);
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

.section-tag::before {
  content: "";
  display: block;
  width: 1.8rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 0.55rem;
  border-radius: 999px;
}

.section h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 2.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
  position: relative;
  padding-bottom: 0;
}

.section h2::after {
  display: none;
}

/* ─── Stats ──────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border: none;
  background: transparent;
  backdrop-filter: none;
  padding: 0;
}

.stats article {
  position: relative;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease;
}

.stats article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.7;
}

.stats article:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 192, 96, 0.35);
}

.stats strong {
  font-family: "Sora", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  display: block;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ─── Feature grid / Cards ───────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  overflow: hidden;
}

/* top accent line — reveals on hover */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 200ms ease;
}

.card:hover::before {
  opacity: 1;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 80% 0%, rgba(245, 192, 96, 0.07), transparent 60%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 192, 96, 0.32);
  box-shadow: 0 20px 48px rgba(15, 4, 10, 0.50), 0 0 0 1px rgba(245, 192, 96, 0.10);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.card p {
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.card > a:last-child {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 1px solid rgba(255, 122, 170, 0.32);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}

.card > a:last-child:hover {
  color: var(--accent);
  border-color: rgba(245, 192, 96, 0.55);
}

/* ─── Split visual section ───────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.split > div:first-child h2 {
  margin-bottom: 0;
}

.split > div:first-child p {
  color: var(--muted);
  line-height: 1.78;
  font-size: 0.98rem;
}

.split > div:first-child > a {
  align-self: flex-start;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(255, 122, 170, 0.30);
  border-radius: 999px;
  background: rgba(255, 122, 170, 0.07);
  transition: all 180ms ease;
}

.split > div:first-child > a:hover {
  color: var(--accent);
  border-color: rgba(245, 192, 96, 0.45);
  background: rgba(245, 192, 96, 0.08);
}

.image-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: clamp(320px, 42vw, 480px);
  perspective: 1200px;
}

.image-stack img {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  min-height: 0;
  box-shadow: 0 12px 32px rgba(2, 8, 20, 0.4);
  transform: translate3d(0, 0, 0) scale(1);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.image-stack img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 44px rgba(2, 8, 20, 0.55);
}

/* ─── Steps section ──────────────────────────────────────────── */
.steps ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  counter-reset: step-counter;
}

.steps ol li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.97rem;
  counter-increment: step-counter;
}

.steps a {
  color: #ffdfe8;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 122, 170, 0.26);
}

.steps a:hover {
  color: var(--accent);
  border-bottom-color: rgba(245, 192, 96, 0.55);
}

html[lang="en"] .steps a {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  margin: 0.12rem 0.16rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 170, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 226, 196, 0.95);
  border-bottom: none;
  line-height: 1.25;
  white-space: nowrap;
}

html[lang="en"] .steps a:hover {
  border-color: rgba(245, 192, 96, 0.55);
  background: rgba(245, 192, 96, 0.08);
}

@media (max-width: 420px) {
  html[lang="en"] .steps a {
    white-space: normal;
  }
}

.steps ol li::before {
  content: counter(step-counter);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 192, 96, 0.14), rgba(255, 122, 170, 0.14));
  border: 1px solid rgba(245, 192, 96, 0.32);
  color: var(--accent);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── District guide section ─────────────────────────────────── */
.district-section {
  position: relative;
  --spot-x: 50%;
  --spot-y: 50%;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(245, 192, 96, 0.14), rgba(245, 192, 96, 0) 28%),
    linear-gradient(180deg, rgba(22, 10, 30, 0.78), rgba(12, 6, 18, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  overflow: hidden;
}

.district-section::before,
.district-section::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(12px);
  opacity: 0.28;
}

.district-section::before {
  top: -90px;
  right: -70px;
  background: radial-gradient(circle, rgba(245, 192, 96, 0.28) 0%, rgba(245, 192, 96, 0) 68%);
  animation: districtGlowFloat 9s ease-in-out infinite;
}

.district-section::after {
  bottom: -110px;
  left: -80px;
  background: radial-gradient(circle, rgba(192, 160, 255, 0.22) 0%, rgba(192, 160, 255, 0) 70%);
  animation: districtGlowFloat 11s ease-in-out infinite reverse;
}

.district-intro {
  position: relative;
  z-index: 1;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.98rem;
  margin: 0.8rem 0 1.5rem;
}

.district-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  perspective: 1200px;
  align-items: stretch;
}

.district-card {
  position: relative;
  --pointer-x: 50%;
  --pointer-y: 50%;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.25rem;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
  animation: districtPulse 5.6s ease-in-out infinite;
  height: 100%;
}

.district-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 30%),
    linear-gradient(135deg, rgba(245, 192, 96, 0.10), rgba(255, 122, 170, 0.03) 45%, rgba(192, 160, 255, 0.09));
  opacity: 0.7;
  pointer-events: none;
}

.district-card::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -30%;
  width: 60%;
  height: 240%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  transform: rotate(18deg);
  opacity: 0;
  pointer-events: none;
  transition: transform 420ms ease, opacity 320ms ease;
}

.district-card:hover {
  transform: translateY(-8px) rotateX(4deg);
  border-color: rgba(245, 192, 96, 0.30);
  box-shadow: 0 18px 42px rgba(8, 2, 14, 0.34), 0 0 0 1px rgba(245, 192, 96, 0.08);
  background: rgba(255, 255, 255, 0.045);
}

.district-card:hover::after {
  opacity: 1;
  transform: translateX(190%) rotate(18deg);
}

.district-card:nth-child(2) {
  animation-delay: 0.8s;
}

.district-card:nth-child(3) {
  animation-delay: 1.4s;
}

.district-card:nth-child(4) {
  animation-delay: 2s;
}

.district-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.district-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.04), 0 0 18px rgba(245, 192, 96, 0.10);
}

.district-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(245, 192, 96, 0.12);
  color: var(--accent);
  font-size: 0.78rem;
  font-family: "Sora", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(245, 192, 96, 0.08);
}

.district-card h3 {
  position: relative;
  z-index: 1;
  margin: 0.9rem 0 0.6rem;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.district-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  margin: 1rem 0 0.95rem;
  border-radius: calc(var(--radius-md) - 4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 28px rgba(8, 2, 14, 0.26);
  transition: transform 260ms ease, box-shadow 260ms ease, filter 260ms ease;
  filter: saturate(1.02) contrast(1.01);
}

.district-card:hover .district-photo {
  transform: scale(1.025);
  box-shadow: 0 18px 34px rgba(8, 2, 14, 0.34);
  filter: saturate(1.06) contrast(1.03);
}

.gallery-showcase {
  position: relative;
  overflow: hidden;
}

.gallery-intro {
  max-width: 72ch;
  margin: 0.8rem 0 1.6rem;
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.98rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(8, 2, 14, 0.22);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(10, 6, 14, 0), rgba(10, 6, 14, 0.85));
  pointer-events: none;
}

.gallery-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 192, 96, 0.30);
  box-shadow: 0 18px 36px rgba(8, 2, 14, 0.34);
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  transition: transform 280ms ease, filter 280ms ease;
}

.gallery-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.04);
}

.gallery-card span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.95rem;
  z-index: 1;
  color: #fff7ef;
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
}

.district-meta {
  position: relative;
  z-index: 1;
  margin: 0 0 0.8rem;
  color: rgba(255, 226, 196, 0.80);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.district-highlights {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.district-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 226, 196, 0.88);
  font-size: 0.78rem;
  line-height: 1.2;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.02);
}

.district-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.92rem;
}

.district-card a {
  position: relative;
  z-index: 1;
  color: var(--accent-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.district-card a:hover {
  color: var(--accent);
}

.district-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 0.15rem;
}

.district-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.district-link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 170, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 220, 232, 0.9);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
  transition: color 160ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.district-link-chip:hover {
  color: var(--accent);
  border-color: rgba(245, 192, 96, 0.42);
  background: rgba(245, 192, 96, 0.08);
  transform: translateY(-1px);
}

.district-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 122, 170, 0.2);
  background: linear-gradient(135deg, rgba(255, 122, 170, 0.12), rgba(245, 192, 96, 0.08));
  color: #fff0f6;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.district-cta:hover {
  color: #fff9ef;
  border-color: rgba(245, 192, 96, 0.5);
  background: linear-gradient(135deg, rgba(255, 122, 170, 0.18), rgba(245, 192, 96, 0.14));
}

.district-card:nth-child(1) .district-label {
  background: rgba(245, 192, 96, 0.14);
}

.district-card:nth-child(1) .district-icon {
  box-shadow: inset 0 0 18px rgba(245, 192, 96, 0.08), 0 0 24px rgba(245, 192, 96, 0.16);
}

.district-card:nth-child(2) .district-label {
  background: rgba(130, 196, 255, 0.12);
  color: #8fd9ff;
}

.district-card:nth-child(2) .district-icon {
  box-shadow: inset 0 0 18px rgba(143, 217, 255, 0.08), 0 0 24px rgba(143, 217, 255, 0.16);
}

.district-card:nth-child(3) .district-label {
  background: rgba(255, 122, 170, 0.12);
  color: #ff9bbd;
}

.district-card:nth-child(3) .district-icon {
  box-shadow: inset 0 0 18px rgba(255, 155, 189, 0.08), 0 0 24px rgba(255, 155, 189, 0.16);
}

.district-card:nth-child(4) .district-label {
  background: rgba(192, 160, 255, 0.14);
  color: #cfb7ff;
}

.district-card:nth-child(4) .district-icon {
  box-shadow: inset 0 0 18px rgba(207, 183, 255, 0.08), 0 0 24px rgba(207, 183, 255, 0.16);
}

@keyframes districtGlowFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -14px, 0) scale(1.08);
  }
}

@keyframes districtPulse {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(8, 2, 14, 0.24);
    border-color: rgba(255, 255, 255, 0.08);
  }

  50% {
    box-shadow: 0 18px 38px rgba(8, 2, 14, 0.34), 0 0 0 1px rgba(245, 192, 96, 0.10);
    border-color: rgba(245, 192, 96, 0.24);
  }
}

/* ─── FAQ / details ──────────────────────────────────────────── */
details {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: border-color 200ms ease;
}

details:hover,
details[open] {
  border-color: rgba(255, 122, 170, 0.30);
}

details + details {
  margin-top: 0.75rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1.1rem 1.3rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.97rem;
  user-select: none;
  transition: color 160ms ease;
}

summary:hover {
  color: var(--accent-2);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--accent-2);
  transition: transform 200ms ease;
  flex-shrink: 0;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin: 0;
  padding: 0 1.3rem 1.1rem;
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

/* ─── Waitlist / contact ─────────────────────────────────────── */
.waitlist {
  background: linear-gradient(135deg, rgba(12, 24, 52, 0.75), rgba(8, 20, 48, 0.88));
}

.waitlist h2 {
  margin-bottom: 0.5rem;
}

.waitlist > p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0 0 0.5rem;
}

.waitlist-form {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.waitlist-form input {
  flex: 1;
  min-width: min(100%, 300px);
  border: 1px solid rgba(120, 160, 230, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(8, 18, 42, 0.8);
  color: #ffffff;
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  outline: none;
}

.waitlist-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 192, 96, 0.14);
}

.waitlist-form button {
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.5rem;
  background: linear-gradient(110deg, #962050, #c43870);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  box-shadow: 0 6px 20px rgba(150, 32, 80, 0.38);
}

.waitlist-form button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(150, 32, 80, 0.55);
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  margin-top: 3.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(10, 4, 14, 0.94);
  padding: 2.5rem 2.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 861px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
  }
  
  .footer-card {
    height: 100%;
  }
}

.footer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.15rem 1.05rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.footer-card-body {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.footer-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 192, 96, 0.22);
  background: rgba(245, 192, 96, 0.08);
  color: var(--accent);
  flex-shrink: 0;
}

.footer-grid section h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.footer-grid p,
.footer-grid a {
  margin: 0;
  display: block;
  line-height: 1.9;
  color: rgba(255, 205, 220, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 160ms ease;
}

.footer-note {
  color: rgba(255, 205, 220, 0.7);
}

.footer-brand-media {
  display: block;
  margin-bottom: 0.9rem;
  border-radius: calc(var(--radius-md) - 4px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.footer-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 226, 196, 0.86);
  font-size: 0.76rem;
  line-height: 1.2;
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-link-list {
  display: grid;
  gap: 0.1rem;
  margin-top: auto;
}

@media (min-width: 861px) {
  .footer-note {
    min-height: 5.2rem;
  }
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0 1rem;
}

.copy {
  margin: 0;
  color: rgba(210, 145, 170, 0.50);
  font-size: 0.85rem;
  text-align: center;
}

/* ─── Scroll reveal animation ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 580ms cubic-bezier(0.22, 1, 0.36, 1), transform 580ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Utility ────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ─── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .stats article {
    transition: none;
  }
}

/* ─── Responsive ─────────────────────────────────────────────── */

/* ── Tablet landscape  ≤ 1100px ── */
@media (max-width: 1100px) {
  .hero {
    min-height: 88vh;
    min-height: 88svh;
  }
}

/* ── Tablet portrait  ≤ 860px ── */
@media (max-width: 860px) {
  main {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .hero {
    min-height: 75vh;
    min-height: 75svh;
  }

  .hero-copy {
    padding: 3rem 2.5rem;
    max-width: 100%;
  }

  /* keep stats 3-col on tablet, reduce padding */
  .stats article {
    padding: 1.6rem 1.4rem;
  }

  .stats strong {
    font-size: 2.4rem;
  }

  /* 2-col cards on tablet */
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .district-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .district-card:nth-child(2),
  .district-card:nth-child(3),
  .district-card:nth-child(4) {
    transform: translateY(0);
  }

  /* stack split section */
  .split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* image-stack goes side-by-side when split stacks */
  .image-stack {
    height: 260px;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 2rem 2rem;
  }

  .site-footer {
    padding: 1.8rem 1.4rem 1.2rem;
  }
}

/* ── Mobile  ≤ 560px ── */
@media (max-width: 560px) {
  .site-header {
    padding: 0.7rem 1rem;
  }

  main {
    padding-top: 0;
    padding-bottom: 1.5rem;
  }

  .top-nav {
    display: none;
  }

  .hero {
    min-height: 70vh;
    min-height: 70svh;
  }

  .hero-copy {
    padding: 2.5rem 1.5rem;
  }

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

  .eyebrow {
    font-size: 0.68rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.78rem 1.3rem;
    font-size: 0.9rem;
  }

  /* full-width CTA buttons on small phones */
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  /* stats: horizontal row layout on mobile, connected panel */
  .stats {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  .stats article {
    border-right: none;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
  }

  .stats article:last-child {
    border-bottom: none;
  }

  /* vertical accent bar on the left */
  .stats article::before {
    position: static;
    width: 3px;
    height: 2.5rem;
    top: unset;
    left: unset;
    right: unset;
    border-radius: 999px;
    flex-shrink: 0;
    opacity: 1;
  }

  .stats strong {
    font-size: 2.2rem;
    margin-bottom: 0;
    flex-shrink: 0;
    min-width: 3.8rem;
    line-height: 1;
  }

  .stats span {
    flex: 1;
    font-size: 0.88rem;
  }

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

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

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

  .district-top {
    gap: 0.55rem;
  }

  .district-icon {
    width: 2rem;
    height: 2rem;
  }

  .image-stack {
    height: 200px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }

  .section {
    padding: 1.2rem 1rem;
    border-radius: var(--radius-md);
    margin-top: 0.9rem;
  }

  .section h2 {
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
  }

  details p {
    padding: 0 1rem 1rem;
    padding-top: 0.8rem;
  }

  summary {
    padding: 0.9rem 1rem;
    font-size: 0.93rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    justify-items: center;
  }

  .footer-grid section {
    min-width: 0;
    width: 100%;
    max-width: 24rem;
    text-align: center;
  }

  .footer-grid section:first-child {
    padding-bottom: 0.2rem;
  }

  .site-footer {
    padding: 1.4rem 1rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
  }

  .footer-grid section h3 {
    margin-bottom: 0.55rem;
    font-size: 0.8rem;
    letter-spacing: 0.07em;
  }

  .footer-grid p,
  .footer-grid a {
    font-size: 0.88rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: pretty;
  }

  .footer-grid a {
    margin-left: auto;
    margin-right: auto;
  }

  .copy {
    font-size: 0.8rem;
    line-height: 1.7;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .district-section::before,
  .district-section::after,
  .district-card {
    animation: none;
  }

  .district-card,
  .image-stack img {
    transition: none;
  }
}

/* ── Small phone  ≤ 400px ── */
@media (max-width: 400px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .logo {
    font-size: 1rem;
  }

  .logo img {
    width: 30px;
    height: 30px;
  }
}

/* ─── Girl Cards ─────────────────────────────────────────────── */
.girl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.girl-card {
  position: relative;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.girl-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 170, 0.45);
  box-shadow: 0 24px 52px rgba(15, 4, 10, 0.55), 0 0 0 1px rgba(255, 122, 170, 0.12);
}

/* Avatar area */
.girl-avatar {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1a0a22;
}

.girl-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 400ms ease;
}

.girl-card:hover .girl-avatar img {
  transform: scale(1.05);
}

/* Subtle gradient overlay at bottom of avatar */
.girl-avatar::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10,4,14,0.85), transparent);
  pointer-events: none;
}

.girl-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  background: rgba(15, 4, 20, 0.72);
  border: 1px solid rgba(255, 122, 170, 0.35);
  color: var(--accent-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* Info area */
.girl-info {
  padding: 1.1rem 1.2rem 1.4rem;
}

.girl-name {
  margin: 0 0 0.55rem;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.girl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.girl-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  letter-spacing: 0.02em;
}

.girl-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-2);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 122, 170, 0.30);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}

.girl-cta:hover {
  color: var(--accent);
  border-color: rgba(245, 192, 96, 0.55);
}

/* "More" card */
.girl-card--more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  border-style: dashed;
  border-color: rgba(220, 130, 160, 0.25);
  background: transparent;
}

.girl-card--more:hover {
  border-color: rgba(255, 122, 170, 0.45);
  background: rgba(30, 12, 40, 0.35);
}

.girl-more-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.girl-more-icon {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.7;
}

.girl-more-inner p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 860px) {
  .girl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .girl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .girl-info {
    padding: 0.8rem 0.9rem 1rem;
  }

  .girl-card--more {
    min-height: 180px;
  }
}
