:root {
  --bg: #0b0b0c;
  --bg-elevated: #121214;
  --panel: #161618;
  --stone: #eee8df;
  --stone-card: #f4efe7;
  --stone-line: #c4b8a8;
  --line: rgba(201, 167, 122, 0.18);
  --line-subtle: rgba(255, 255, 255, 0.08);
  --gold: #c9a77a;
  --gold2: #ead1aa;
  --ivory: #f4eee5;
  --muted: #a9a198;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  /* Real Gosudarinya App v2.0 Tokens */
  --app-canvas: #090a0c;
  --app-card: #0e1015;
  --app-pill: #14171e;
  --app-sage: #c2ceab;
  --app-gold: #d4c2a8;
  --app-emerald: #34d399;
  --app-terracotta: #dc7870;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button, input, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(1360px, calc(100% - 96px));
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  text-wrap: balance;
}

.section-title span {
  color: var(--gold);
}

@keyframes fadePanel {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 8, 0.94);
  backdrop-filter: blur(16px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: min(1240px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(201, 167, 122, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 36px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 167, 122, 0.4);
  color: var(--ivory);
  font-size: 22px;
  display: grid;
  place-items: center;
}

@media (max-width: 1080px) {
  .container {
    width: calc(100% - 48px);
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }
  .hide-mobile {
    display: none !important;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.16em;
    gap: 8px;
  }
  .eyebrow::before {
    width: 16px;
  }
  .section-title {
    font-size: clamp(30px, 7.8vw, 38px);
    margin-top: 12px;
  }
  .lightbox {
    padding: 12px;
  }
  .lightbox-img {
    max-width: calc(100vw - 24px);
    max-height: 82dvh;
  }
  .lightbox-close {
    top: max(16px, env(safe-area-inset-top));
    right: 16px;
    background: rgba(11, 11, 12, 0.84);
  }
}

