/* ═══════════════════════════════════════════════════════════
   SUXE — Editorial House Design System
   Typography: Cormorant Garamond + Inter
   Palette: Warm charcoal + aged gold + prune
   Philosophy: Photo is interface. Space is luxury. Movement is life.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Backgrounds — warm charcoal, never cold */
  --bg-0: #151517;
  --bg-1: #1d1d20;
  --bg-2: #262629;
  --bg-3: #303035;
  --bg-hover: #38383f;

  /* Accent — aged gold, never brassy */
  --gold: #c4a265;
  --gold-light: #dcc08a;
  --gold-muted: rgba(196, 162, 101, 0.12);
  --gold-glow: rgba(196, 162, 101, 0.06);

  /* Warm secondary — prune, bronze */
  --prune: #8a6070;
  --bronze: #a08060;
  --warmgray: #7a7068;

  /* Text — warm, never blue-white */
  --text-1: #ede8e2;
  --text-2: #a09890;
  --text-3: #6a6058;

  /* Status */
  --green: #7ecfa0;
  --blue: #8ab4e0;
  --amber: #e0b860;
  --red: #e07070;

  /* Borders */
  --line-1: #2a2a2e;
  --line-2: #3a3a3e;

  /* Shadows */
  --shadow-soft: 0 4px 30px rgba(0,0,0,0.25);
  --shadow-deep: 0 12px 50px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 80px var(--gold-glow);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-full: 9999px;

  /* Fonts */
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-slow: cubic-bezier(0.4, 0, 0, 1);
  --dur: 0.4s;
  --dur-slow: 0.8s;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-1);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold-muted); color: var(--text-1); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-1); border-radius: 2px; }

img { display: block; max-width: 100%; }
a { color: var(--gold-light); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--gold); }

/* ─── Typography — Dramatic serif + clean sans ───────────── */
h1, h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--text-1);
}

h3, h4 {
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.15rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.subtitle {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 480px;
}

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1200px) { .container { padding: 0 60px; } }

body { padding-top: 64px; }

/* ─── Navigation — glass, minimal ────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(21, 21, 23, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: opacity var(--dur);
}
.logo:hover { opacity: 0.7; color: var(--gold); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--text-1); background: rgba(255,255,255,0.05); }

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

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-full);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg-0);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 30px rgba(196,162,101,0.2);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-muted);
}
.btn-sm { padding: 7px 14px; font-size: 0.78rem; }
.btn-lg { padding: 16px 40px; font-size: 0.9rem; }
.btn-full { width: 100%; }

/* ─── Home Hero — Cinematic ──────────────────────────────── */
.home-hero-cinematic {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: -64px;
  padding-top: 64px;
}
.hero-visual { position: absolute; inset: 0; }
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.02);
  animation: heroZoom 20s var(--ease-slow) forwards;
}
@keyframes heroZoom {
  to { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(21, 21, 23, 1) 0%,
    rgba(21, 21, 23, 0.7) 30%,
    rgba(21, 21, 23, 0.25) 60%,
    rgba(21, 21, 23, 0.08) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 100px;
  max-width: 600px;
  animation: fadeUp 1s var(--ease) 0.3s both;
}
.hero-content h1 {
  margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.hero-content .subtitle { margin-bottom: 36px; }

/* ─── Home Sections ──────────────────────────────────────── */
.home-section {
  padding: 80px 0;
  overflow-x: hidden;
}
@media (min-width: 768px) { .home-section { padding: 100px 0; } }

.home-section h2 { margin-bottom: 32px; }

/* ─── Scenes Rail ────────────────────────────────────────── */
.scenes-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 -24px;
  padding: 0 24px 16px;
}
.scenes-rail::-webkit-scrollbar { display: none; }

.scene-card {
  flex-shrink: 0;
  width: 160px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform var(--dur) var(--ease);
}
.scene-card:hover { transform: scale(1.03); }

.scene-image {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid rgba(196,162,101,0.2);
}
.scene-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.scene-card:hover .scene-image img { transform: scale(1.06); }

.scene-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.scene-handle { font-size: 0.72rem; font-weight: 600; color: var(--gold); }
.scene-caption { font-size: 0.75rem; color: rgba(255,255,255,0.85); margin-top: 3px; line-height: 1.3; font-style: italic; }

@media (min-width: 768px) { .scene-card { width: 180px; } }

/* ─── The Edit ───────────────────────────────────────────── */
.edit-hero {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform var(--dur) var(--ease);
}
.edit-hero:hover { transform: scale(1.005); }
.edit-hero-bg { position: absolute; inset: 0; }
.edit-hero-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.edit-hero:hover .edit-hero-bg img { transform: scale(1.04); }
.edit-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(21,21,23,0.92) 0%, rgba(21,21,23,0.3) 50%, transparent 100%);
}
.edit-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  width: 100%;
}
.edit-hero-content h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--text-1);
  margin-bottom: 8px;
}
.edit-hero-content .deck {
  color: var(--text-2);
  font-size: 0.88rem;
  margin-bottom: 16px;
  font-style: italic;
}
.edit-profiles-preview { display: flex; }
.edit-profile-thumb {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-0);
  overflow: hidden;
  margin-left: -8px;
  transition: transform var(--dur) var(--ease);
}
.edit-profile-thumb:first-child { margin-left: 0; }
.edit-profile-thumb:hover { transform: scale(1.15); z-index: 1; }
.edit-profile-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Profile Cards — Image-first, editorial ─────────────── */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) { .profiles-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .profiles-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

.profiles-grid--compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .profiles-grid--compact { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .profiles-grid--compact { grid-template-columns: repeat(4, 1fr); } }

.profile-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 -24px;
  padding: 0 24px 16px;
}
.profile-rail::-webkit-scrollbar { display: none; }
.profile-rail .profile-card {
  min-width: 260px;
  max-width: 300px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.profile-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-1);
  text-decoration: none;
  color: var(--text-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}
.profile-card--featured {
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-glow);
}

.profile-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-2);
}
.profile-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.profile-card:hover .profile-card-image img {
  transform: scale(1.06);
}

/* Gradient overlay */
.profile-card-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(transparent, rgba(21,21,23,0.85));
  pointer-events: none;
  z-index: 1;
}

/* Name/location overlay ON the image */
.profile-card-image-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.profile-card-image-overlay .profile-card-handle {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  font-style: italic;
}
.profile-card-image-overlay .profile-card-location {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Freshness tag */
.freshness-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--gold);
  color: var(--bg-0);
  border-radius: var(--r-full);
  z-index: 3;
}

.profile-card-body {
  padding: 12px 16px 18px;
}

.profile-card-trust { display: flex; gap: 6px; flex-wrap: wrap; }
.profile-card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.profile-card-languages { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }

/* ─── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--r-full);
  font-size: 0.68rem;
  font-weight: 600;
}
.badge-verified { background: rgba(126,207,160,0.1); color: var(--green); border: 1px solid rgba(126,207,160,0.2); }
.badge-media { background: rgba(138,180,224,0.1); color: var(--blue); border: 1px solid rgba(138,180,224,0.2); }
.badge-canton { background: rgba(224,184,96,0.1); color: var(--amber); border: 1px solid rgba(224,184,96,0.2); }
.badge-stable { background: var(--gold-muted); color: var(--gold); border: 1px solid rgba(196,162,101,0.2); }

/* ─── Tags ───────────────────────────────────────────────── */
.ambiance-tag {
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold-light);
  background: var(--gold-muted);
  border-radius: var(--r-full);
  font-style: italic;
}

.lang-tag {
  padding: 2px 7px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-3);
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-full);
  letter-spacing: 0.05em;
}

/* ─── Trust Block (profile detail) ───────────────────────── */
.trust-block { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 500;
}
.trust-badge--verified { background: rgba(126,207,160,0.06); color: var(--green); border: 1px solid rgba(126,207,160,0.12); }
.trust-badge--media { background: rgba(138,180,224,0.06); color: var(--blue); border: 1px solid rgba(138,180,224,0.12); }
.trust-badge--canton { background: rgba(224,184,96,0.06); color: var(--amber); border: 1px solid rgba(224,184,96,0.12); }
.trust-badge--stable { background: var(--gold-muted); color: var(--gold); border: 1px solid rgba(196,162,101,0.15); }

/* ─── Trust Strip (home) ─────────────────────────────────── */
.trust-strip {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 56px 0;
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-item-icon { font-size: 1.3rem; color: var(--gold); }

/* ─── Profile Detail ─────────────────────────────────────── */
.profile-detail { padding-top: 24px; }

.profile-gallery-hero {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-2);
}
.profile-gallery-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.profile-gallery-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color var(--dur), transform var(--dur);
}
.profile-gallery-thumb.active,
.profile-gallery-thumb:hover {
  border-color: var(--gold);
  transform: scale(1.05);
}
.profile-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.profile-handle {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 4px;
}

.profile-location {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.profile-bio {
  color: var(--text-2);
  line-height: 1.85;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.profile-info-section { display: flex; flex-direction: column; gap: 4px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.profile-languages { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; }

@media (min-width: 768px) {
  .profile-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

/* ─── Scenes on profile ──────────────────────────────────── */
.profile-scenes { margin: 36px 0; }
.profile-scenes-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.profile-scenes-rail::-webkit-scrollbar { display: none; }
.profile-scene-card {
  flex-shrink: 0;
  width: 110px;
  border-radius: var(--r-md);
  overflow: hidden;
}
.profile-scene-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}
.profile-scene-caption {
  padding: 8px;
  font-size: 0.72rem;
  color: var(--text-2);
  font-style: italic;
}

/* ─── Journal on profile ─────────────────────────────────── */
.profile-journal { margin: 36px 0; }
.journal-entry {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-1);
}
.journal-entry:last-child { border-bottom: none; }
.journal-entry-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 8px;
}
.journal-entry-body {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.8;
}
.journal-entry-meta {
  font-size: 0.72rem;
  color: var(--text-3);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Intro CTA ──────────────────────────────────────────── */
.intro-cta {
  padding: 36px;
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-xl);
  text-align: center;
  margin-top: 40px;
}
.intro-cta h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.intro-cta .btn { min-width: 260px; }

.intro-section {
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-xl);
  padding: 28px;
  margin-top: 28px;
}
.intro-textarea {
  min-height: 100px;
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-md);
  color: var(--text-1);
  padding: 14px;
  font-family: var(--sans);
  font-size: 0.95rem;
  width: 100%;
  resize: vertical;
  transition: border-color var(--dur);
}
.intro-textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px var(--gold-muted);
}
.char-counter { text-align: right; color: var(--text-3); font-size: 0.75rem; margin-top: 6px; }
.intro-privacy-note {
  color: var(--text-3);
  font-size: 0.75rem;
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--bg-2);
  border-radius: var(--r-sm);
  line-height: 1.5;
}

/* ─── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 24px; }
label {
  display: block;
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
input[type="text"], input[type="email"], input[type="password"],
input[type="date"], input[type="number"], textarea, select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-md);
  color: var(--text-1);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color var(--dur), box-shadow var(--dur);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
.form-error { color: var(--red); font-size: 0.8rem; margin-top: 6px; }
.form-success { color: var(--green); font-size: 0.8rem; margin-top: 6px; }

/* ─── Language switch ────────────────────────────────────── */
.lang-switch {
  display: flex;
  gap: 1px;
  background: var(--bg-2);
  border-radius: var(--r-full);
  padding: 2px;
}
.lang-chip {
  padding: 3px 7px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-3);
  background: transparent;
  border: none;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.lang-chip:hover { color: var(--text-1); }
.lang-chip.is-active { color: var(--gold); background: var(--bg-0); }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  margin-top: 120px;
  padding: 48px 0;
  border-top: 1px solid var(--line-1);
}
.site-footer p { color: var(--text-3); font-size: 0.8rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}
.footer-links a { color: var(--text-3); font-size: 0.8rem; }
.footer-links a:hover { color: var(--gold); }
.footer-lang { margin-top: 20px; }

/* ─── Age Gate ───────────────────────────────────────────── */
.page-age-gate .site-header, .page-age-gate .site-footer { display: none; }
body.page-age-gate { padding-top: 0; }

.age-gate {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.age-gate .logo-hero {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 48px;
}
.age-gate h1 {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 16px;
}
.age-gate p { color: var(--text-2); max-width: 400px; margin-bottom: 36px; }
.age-gate .btn { min-width: 260px; margin-bottom: 12px; }

/* ─── Dashboard ──────────────────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-top: 24px;
}
@media (min-width: 768px) {
  .dashboard-grid { grid-template-columns: 220px 1fr; gap: 36px; }
}
.dashboard-nav {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 4px;
  padding-bottom: 12px;
}
@media (min-width: 768px) {
  .dashboard-nav { flex-direction: column; position: sticky; top: 88px; }
}
.dashboard-nav-item {
  padding: 10px 16px;
  border-radius: var(--r-sm);
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
}
.dashboard-nav-item:hover, .dashboard-nav-item.active {
  color: var(--text-1);
  background: var(--bg-2);
}
.dashboard-card {
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  padding: 24px;
}

/* ─── Home CTA Discovery ────────────────────────────────── */
.home-cta-discovery {
  text-align: center;
  padding: 80px 0;
}
.home-cta-discovery h2 {
  margin-bottom: 16px;
}
.home-cta-discovery .subtitle {
  margin: 0 auto 32px;
}

/* ─── Staging banner ─────────────────────────────────────── */
.staging-banner {
  font-size: 10px !important;
  padding: 3px 12px !important;
  background: var(--amber) !important;
  color: var(--bg-0) !important;
  font-weight: 600 !important;
}

/* ─── Quick hide ─────────────────────────────────────────── */
[data-quick-hide] { font-size: 0.75rem; opacity: 0.4; transition: opacity var(--dur); }
[data-quick-hide]:hover { opacity: 1; }

/* ─── Utilities ──────────────────────────────────────────── */
.loading { color: var(--text-3); text-align: center; padding: 48px; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.page-intro { color: var(--text-2); font-size: 0.95rem; margin-bottom: 36px; max-width: 600px; }

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .profile-card {
    opacity: 0;
    animation: fadeUp 0.6s var(--ease) forwards;
  }
  .profile-card:nth-child(1) { animation-delay: 0s; }
  .profile-card:nth-child(2) { animation-delay: 0.07s; }
  .profile-card:nth-child(3) { animation-delay: 0.14s; }
  .profile-card:nth-child(4) { animation-delay: 0.21s; }
  .profile-card:nth-child(5) { animation-delay: 0.28s; }
  .profile-card:nth-child(6) { animation-delay: 0.35s; }
  .profile-card:nth-child(7) { animation-delay: 0.42s; }
  .profile-card:nth-child(8) { animation-delay: 0.49s; }

  .home-section {
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) forwards;
  }
  .home-section:nth-of-type(1) { animation-delay: 0.15s; }
  .home-section:nth-of-type(2) { animation-delay: 0.25s; }
  .home-section:nth-of-type(3) { animation-delay: 0.35s; }
  .home-section:nth-of-type(4) { animation-delay: 0.45s; }

  .scene-card {
    opacity: 0;
    animation: fadeUp 0.5s var(--ease) forwards;
  }
  .scene-card:nth-child(1) { animation-delay: 0.05s; }
  .scene-card:nth-child(2) { animation-delay: 0.1s; }
  .scene-card:nth-child(3) { animation-delay: 0.15s; }
  .scene-card:nth-child(4) { animation-delay: 0.2s; }
  .scene-card:nth-child(5) { animation-delay: 0.25s; }
  .scene-card:nth-child(6) { animation-delay: 0.3s; }
}

/* ─── Mobile Nav Toggle ──────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 300;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Beta banner ────────────────────────────────────────── */
.beta-banner {
  text-align: center;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-1);
}

/* ─── Trust Ritual — Verification ────────────────────────── */
.verification-section,
.verification-challenge,
.verification-pending,
.verification-verified,
.verification-rejected {
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-xl);
  padding: 32px;
  margin: 24px 0;
}

.trust-ritual-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.ritual-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ritual-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-muted);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.ritual-step strong {
  color: var(--text-1);
  display: block;
  margin-bottom: 4px;
}

.ritual-step p {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.word-code-display {
  text-align: center;
  padding: 20px;
  margin: 16px 0;
  background: var(--bg-2);
  border-radius: var(--r-lg);
  border: 1px dashed var(--gold);
}

.word-code {
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.challenge-timer {
  text-align: center;
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  padding: 8px;
  background: rgba(224, 184, 96, 0.08);
  border-radius: var(--r-md);
}

.challenge-step {
  margin: 28px 0;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-1);
}

.challenge-step:last-of-type {
  border-bottom: none;
}

.instructions-display {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  background: var(--bg-2);
  border-radius: var(--r-lg);
}

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

.instruction-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg-0);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.instruction span:last-child {
  color: var(--text-1);
  font-weight: 500;
}

.upload-preview {
  margin-top: 12px;
  border-radius: var(--r-md);
  overflow: hidden;
}

.upload-preview img,
.upload-preview video {
  max-width: 100%;
  border-radius: var(--r-md);
}

input[type="file"] {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 0.88rem;
}

.verification-status-icon {
  text-align: center;
  font-size: 3rem;
  margin: 24px 0;
  opacity: 0.6;
}

.verification-challenge.expired {
  opacity: 0.5;
  pointer-events: none;
}

.verification-challenge.expired .challenge-timer {
  color: var(--red);
  background: rgba(224, 112, 112, 0.08);
}

/* ─── Reserved Selection ────────────────────────────────── */

/* Reserved Selection — Teaser (sur accord) */
.reserved-teaser,
.private-gallery-teaser {
  margin: 40px 0;
  padding: 48px 32px;
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reserved-teaser::before,
.private-gallery-teaser::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gold);
}

.reserved-content,
.private-gallery-lock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.reserved-border {
  display: none;
}

.reserved-count,
.private-count {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-1);
}

.reserved-hint,
.private-hint {
  color: var(--text-3);
  font-size: 0.88rem;
  max-width: 380px;
  line-height: 1.7;
}

/* Reserved Selection — Granted */
.reserved-unlocked,
.private-gallery-unlocked {
  margin: 40px 0;
}

.reserved-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.reserved-granted-badge,
.private-access-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(110,231,160,0.06);
  color: var(--green);
  border: 1px solid rgba(110,231,160,0.12);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 500;
}

.reserved-expires {
  color: var(--text-3);
  font-size: 0.78rem;
}

.reserved-watermark-notice {
  color: var(--text-3);
  font-size: 0.75rem;
  font-style: italic;
  margin-bottom: 16px;
}

.reserved-gallery-grid,
.private-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .reserved-gallery-grid,
  .private-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.reserved-photo,
.private-photo {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.reserved-photo img,
.private-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reserved-caption,
.private-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: var(--text-1);
  font-size: 0.75rem;
  font-style: italic;
}

/* Reserved — Teaser types hint */
.reserved-types-hint {
  color: var(--gold-muted, var(--gold));
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

/* Reserved — Audio */
.reserved-audio {
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.audio-wave-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-muted, rgba(196,162,101,0.12));
  border: 1px solid rgba(196,162,101,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-wave-icon::after {
  content: '\266A';
  color: var(--gold);
  font-size: 1.2rem;
}

.audio-label {
  font-size: 0.85rem;
  color: var(--text-2);
  font-style: italic;
}

.reserved-audio audio {
  width: 100%;
  height: 36px;
  border-radius: var(--r-md);
}

.reserved-audio .reserved-caption {
  position: static;
  background: none;
  padding: 0;
  color: var(--text-2);
  font-size: 0.8rem;
  font-style: italic;
}

/* Reserved — Video */
.reserved-video {
  border-radius: var(--r-lg);
  overflow: hidden;
}

.reserved-video video {
  width: 100%;
  border-radius: var(--r-lg);
  background: var(--bg-2);
}

.reserved-video .reserved-caption {
  position: static;
  background: none;
  padding: 8px 0 0;
  color: var(--text-2);
  font-size: 0.8rem;
  font-style: italic;
}

/* Dashboard — Manage audio/video items */
.private-gallery-manage-item.manage-audio {
  aspect-ratio: auto;
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: 16px;
}

.manage-audio-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.manage-audio-inner audio {
  width: 100%;
  height: 32px;
  border-radius: var(--r-md);
}

.private-gallery-manage-item.manage-video {
  aspect-ratio: 16/9;
}

.private-gallery-manage-item.manage-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
}

/* Upload type selector */
.reserved-upload-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-1);
}

.reserved-upload-section h4 {
  margin-bottom: 12px;
}

.upload-type-selector {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  background: var(--bg-2);
  border-radius: var(--r-full);
  padding: 3px;
}

.upload-type-btn {
  padding: 6px 14px;
  border: none;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.upload-type-btn.active {
  background: var(--bg-0);
  color: var(--gold);
}

.upload-type-btn:hover:not(.active) {
  color: var(--text-1);
}

.upload-input {
  margin-bottom: 8px;
}

.upload-caption-input {
  width: 100%;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-md);
  color: var(--text-1);
  font-size: 0.85rem;
}

.upload-caption-input::placeholder {
  color: var(--text-3);
}

.upload-type-notice {
  margin-bottom: 8px;
  color: var(--text-3);
  font-size: 0.78rem;
  font-style: italic;
}

/* Search card indicator */
.reserved-indicator,
.private-gallery-indicator {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  margin-top: 6px;
}

/* Dashboard — Media management (backward compat) */
.private-gallery-manage {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.private-gallery-manage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .private-gallery-manage-grid { grid-template-columns: repeat(3, 1fr); }
}

.private-gallery-manage-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.private-gallery-manage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.private-gallery-manage-item .delete-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--red);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease);
}

.private-gallery-manage-item .delete-btn:hover {
  background: rgba(224,112,112,0.3);
}

/* Dashboard — Access control */
.reserved-access-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-1);
}

.reserved-active {
  color: var(--text-2);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.reserved-access-list {
  display: flex;
  flex-direction: column;
}

.access-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-1);
}

.access-entry.expired { opacity: 0.5; }

.access-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.access-code {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: 0.05em;
}

.access-date {
  font-size: 0.75rem;
  color: var(--text-3);
}

.access-expires {
  font-size: 0.75rem;
  color: var(--amber);
}

/* Dashboard — Policy */
.reserved-policy-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-1);
}

.reserved-policy-section .form-group {
  margin-bottom: 16px;
}

.reserved-policy-section label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.reserved-policy-section input[type="checkbox"] {
  width: auto;
  accent-color: var(--gold);
}

/* ─── Bio Templates ─────────────────────────────────────── */
.bio-templates { margin-bottom: 12px; }
.bio-templates-label { font-size: 0.82rem; color: var(--text-2); display: block; margin-bottom: 8px; }
.bio-template-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.bio-template-pill {
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  color: var(--text-2);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.bio-template-pill:hover, .bio-template-pill.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-muted);
}

/* ─── Tag Picker ────────────────────────────────────────── */
.tag-picker { margin-bottom: 20px; }
.tag-picker-label { font-size: 0.82rem; color: var(--text-2); display: block; margin-bottom: 8px; }
.tag-picker-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-picker-grid .tag-pill {
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  color: var(--text-2);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.tag-picker-grid .tag-pill.selected {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-muted);
}
.tag-picker-count { font-size: 0.75rem; color: var(--text-3); margin-top: 6px; }

/* ─── Photo Guide ───────────────────────────────────────── */
.photo-guide {
  margin: 16px 0;
  padding: 16px;
  background: var(--bg-2);
  border-radius: var(--r-lg);
}
.photo-guide-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 639px) { .photo-guide-row { grid-template-columns: 1fr; } }
.photo-guide-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}
.photo-guide-label.good { color: var(--green); }
.photo-guide-label.bad { color: var(--red); }
.photo-guide ul { list-style: none; padding: 0; }
.photo-guide li {
  font-size: 0.82rem;
  color: var(--text-2);
  padding: 3px 0;
  line-height: 1.5;
}
.photo-guide li::before { content: '\2014\00a0\00a0'; color: var(--text-3); }

/* ─── Profile Preview Panel ─────────────────────────────── */
.profile-preview-panel {
  position: sticky;
  top: 80px;
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-xl);
  padding: 20px;
  margin-bottom: 24px;
}
.preview-card { margin-top: 12px; }
.preview-cover {
  aspect-ratio: 3/4;
  background: var(--bg-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 12px;
}
.preview-cover img { width: 100%; height: 100%; object-fit: cover; }
.preview-handle { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--text-1); }
.preview-location { font-size: 0.82rem; color: var(--gold); margin-top: 4px; }
.preview-bio { font-size: 0.85rem; color: var(--text-2); margin-top: 8px; line-height: 1.6; }
.preview-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.preview-tags .ambiance-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: var(--gold-muted);
  color: var(--gold);
}

/* Preview layout: side panel on desktop, top on mobile */
.signup-wizard-with-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .signup-wizard-with-preview {
    grid-template-columns: 1fr 280px;
  }
  .signup-wizard-with-preview .profile-preview-panel {
    order: 2;
  }
  .signup-wizard-with-preview .signup-wizard {
    order: 1;
  }
}
@media (max-width: 767px) {
  .profile-preview-panel {
    position: relative;
    top: 0;
  }
}

/* ─── Scene Caption Suggestions ─────────────────────────── */
.scene-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.scene-suggestion {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--text-3);
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.scene-suggestion:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ─── Journal Starters ──────────────────────────────────── */
.journal-starters { margin-bottom: 16px; }
.journal-starters-label { font-size: 0.82rem; color: var(--text-2); display: block; margin-bottom: 8px; }
.journal-starter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.journal-starter-pill {
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  color: var(--text-2);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.journal-starter-pill:hover, .journal-starter-pill.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-muted);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 639px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 21, 23, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 250;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    font-size: 1.1rem;
    padding: 12px 24px;
  }
  .nav-meta { gap: 8px; }
  .nav-bar { height: 56px; }
  body { padding-top: 56px; }
  .home-hero-cinematic { margin-top: -56px; padding-top: 56px; }
  .hero-content { padding-bottom: 60px; }
  h1 { font-size: 1.8rem; }
}

/* ── Ephemeral content ─────────────────────────────────────────────────────── */

.ephemeral-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(21,21,23,0.8);
  border: 1px solid var(--gold-muted);
  border-radius: var(--r-full);
  backdrop-filter: blur(4px);
}

.ephemeral-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.ephemeral-toggle label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-2);
  cursor: pointer;
}

.ephemeral-toggle select {
  padding: 4px 8px;
  font-size: 0.8rem;
}

/* ── Completeness score ────────────────────────────────────────────────────── */

.completeness-card {
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-xl);
  padding: 24px;
  margin-bottom: 24px;
}

.completeness-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.completeness-score {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
}

.completeness-label {
  font-size: 0.85rem;
  color: var(--text-2);
}

.completeness-bar {
  height: 4px;
  background: var(--bg-2);
  border-radius: 2px;
  margin-bottom: 16px;
  overflow: hidden;
}

.completeness-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.6s var(--ease);
}

.completeness-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (max-width: 639px) {
  .completeness-checklist { grid-template-columns: 1fr; }
}

.completeness-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-3);
}

.completeness-item.done {
  color: var(--text-2);
}

.completeness-check {
  font-size: 0.75rem;
  width: 18px;
  text-align: center;
}

.completeness-item.done .completeness-check {
  color: var(--green);
}

/* ── AI Content Assistant ──────────────────────────────────────────────────── */

.ai-suggest-section {
  margin: 12px 0;
}

.ai-variants {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0;
}

@media (min-width: 768px) {
  .ai-variants { grid-template-columns: repeat(3, 1fr); }
}

.ai-variant {
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  padding: 16px;
  transition: border-color var(--dur);
}

.ai-variant:hover {
  border-color: var(--gold);
}

.ai-variant-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.ai-variant-text {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ─── Import Step (Migration-Assisted Onboarding) ──── */
.import-step { text-align: center; padding: 40px 0; }
.import-options { display: flex; flex-direction: column; gap: 12px; max-width: 400px; margin: 24px auto; }
.import-option {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.import-option:hover { border-color: var(--gold); }
.import-option--active { border-color: var(--gold); background: rgba(224,184,96,0.06); }
.import-icon { font-size: 1.2rem; }
.import-form { max-width: 500px; margin: 16px auto; }
.import-form input,
.import-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-md);
  color: var(--text-1);
  font-size: 0.9rem;
  font-family: inherit;
}
.import-form textarea { resize: vertical; }
.import-preview { margin: 24px 0; }
.import-preview-card {
  background: var(--bg-1); border: 1px solid var(--line-1);
  border-radius: var(--r-xl); padding: 24px; margin: 16px 0;
  text-align: left;
}
.import-field { margin-bottom: 16px; }
.import-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}
.import-field input,
.import-field textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-md);
  color: var(--text-1);
  font-size: 0.9rem;
  font-family: inherit;
}
.import-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.import-warnings {
  padding: 12px 16px; background: rgba(224,184,96,0.06);
  border: 1px solid rgba(224,184,96,0.15); border-radius: var(--r-md);
  margin-top: 16px;
}
.import-warnings .eyebrow { color: var(--gold); }
.import-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }

/* ─── Travel / Mobility ──────────────────────────────── */
.travel-presence {
  display: inline-block;
  font-size: 0.72rem;
  font-style: italic;
  color: var(--gold);
  margin-left: 4px;
}

.travel-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 12px 0;
}

.travel-label {
  font-size: 0.85rem;
  color: var(--text-2);
}

.travel-current {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--gold);
}

.travel-management {
  max-width: 600px;
}

.travel-management h4 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-1);
}

.travel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.travel-residency-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 16px;
  background: var(--bg-2);
  border-radius: var(--r-md);
  border: 1px solid var(--bg-3);
}

.travel-residency-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.travel-residency-actions {
  flex-shrink: 0;
  margin-left: 12px;
}

.travel-form-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* ── Reassurance Notes ─────────────────────────────────────────────────────── */

.reassurance-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-radius: var(--r-md);
  margin: 12px 0;
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.5;
}

.reassurance-note::before {
  content: '\2014';
  flex-shrink: 0;
  color: var(--gold);
}

/* ── Welcome Card (New Provider Onboarding) ────────────────────────────────── */

.welcome-card {
  background: var(--bg-1);
  border: 1px solid var(--gold-muted);
  border-radius: var(--r-xl);
  padding: 32px;
  margin-bottom: 24px;
  text-align: center;
}

.welcome-card h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 12px;
}

.welcome-card p {
  color: var(--text-2);
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Empty States ──────────────────────────────────────────────────────────── */

.empty-state {
  text-align: center;
  padding: 32px 20px;
  color: var(--text-3);
  font-size: 0.88rem;
  line-height: 1.6;
}

.empty-state .btn {
  margin-top: 16px;
}

/* ── Next Actions (Welcome Flow) ───────────────────────────────────────────── */

.next-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.next-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--text-2);
  font-size: 0.85rem;
  transition: all var(--dur) var(--ease);
}

.next-action:hover {
  border-color: var(--gold);
  color: var(--text-1);
}

.next-action-icon {
  color: var(--gold);
  font-size: 1rem;
}

/* ── Mobile Improvements ───────────────────────────────────────────────────── */

@media (max-width: 639px) {
  .welcome-card {
    padding: 24px 16px;
  }

  .reassurance-note {
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .next-action {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .tag-picker-grid .tag-pill {
    padding: 7px 14px;
    font-size: 0.82rem;
    min-height: 36px;
  }

  .bio-template-pill {
    padding: 8px 16px;
    font-size: 0.82rem;
    min-height: 36px;
  }

  .step-indicator {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .step-dot__label {
    font-size: 0.68rem;
  }

  .empty-state {
    padding: 24px 16px;
  }
}

/* ─── Social login buttons ────────────────────────────────────────────────── */

.social-login-group {
  margin-bottom: 0;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 9999px;
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--line-2, #3a3a3e);
  margin-bottom: 12px;
  line-height: 1;
}

.social-btn svg,
.social-btn img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.social-btn-google {
  background: #fff;
  color: #333;
  border-color: #ddd;
}

.social-btn-google:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.social-btn-magic {
  background: transparent;
  color: var(--gold, #c4a265);
  border-color: var(--gold, #c4a265);
}

.social-btn-magic:hover {
  background: rgba(196, 162, 101, 0.08);
}

.social-btn-telegram {
  background: transparent;
  color: #54a9eb;
  border-color: #54a9eb;
}

.social-btn-telegram:hover {
  background: rgba(84, 169, 235, 0.08);
}

.social-mvp-msg {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-3, #6a6058);
  padding: 8px 16px;
  margin: -4px 0 12px;
  background: var(--gold-muted, rgba(196, 162, 101, 0.12));
  border-radius: 8px;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: var(--text-3, #6a6058);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-1, #2a2a2e);
}

.auth-divider span {
  padding: 0 16px;
}

/* Magic link form */

.magic-link-form {
  margin: -4px 0 12px;
  overflow: hidden;
  animation: magicSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes magicSlide {
  from { opacity: 0; max-height: 0; }
  to   { opacity: 1; max-height: 120px; }
}

.magic-link-input-row {
  display: flex;
  gap: 8px;
}

.magic-email-input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 9999px;
  border: 1px solid var(--line-2, #3a3a3e);
  background: var(--bg-1, #1d1d20);
  color: var(--text-1, #ede8e2);
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 0.85rem;
}

.magic-email-input:focus {
  outline: none;
  border-color: var(--gold, #c4a265);
}

.btn-gold-sm {
  padding: 10px 20px;
  border-radius: 9999px;
  border: none;
  background: var(--gold, #c4a265);
  color: var(--bg-0, #151517);
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-gold-sm:hover {
  background: var(--gold-light, #dcc08a);
}

.magic-success {
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(126, 207, 160, 0.12);
  color: var(--green, #7ecfa0);
  font-size: 0.8rem;
  text-align: center;
}

.magic-error {
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(224, 112, 112, 0.12);
  color: var(--red, #e07070);
  font-size: 0.8rem;
  text-align: center;
}

/* ─── Language select (extra langs) ──────────────────────── */
.lang-select {
  display: inline-block;
  width: auto;
  min-width: 48px;
  max-width: 72px;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  font-family: var(--sans, 'Inter', sans-serif);
  letter-spacing: 0.04em;
  background: var(--bg-2);
  color: var(--gold);
  border: none;
  border-radius: var(--r-full, 9999px);
  cursor: pointer;
  transition: all var(--dur, 0.3s) var(--ease, ease);
  appearance: none;
  -webkit-appearance: none;
  text-align: center;
}
.lang-select:hover { color: var(--text-1); }
.lang-select:focus { outline: 1px solid var(--gold); outline-offset: 1px; }

/* ─── Floating SOS button ────────────────────────────────── */
.floating-sos-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e07070;
  color: #fff;
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(224, 112, 112, 0.4);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sosPulse 2s ease-in-out infinite;
}
@keyframes sosPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(224, 112, 112, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(224, 112, 112, 0.7); }
}
.floating-sos-btn:hover {
  animation: none;
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(224, 112, 112, 0.6);
}
@media (max-width: 640px) {
  .floating-sos-btn {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 0.78rem;
  }
}
