/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/co3smX5slCNuHLi8bLeY9MK7whWMhyjYrGFEsdtdc62E6zd5wDD-hdM8Efs.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/co3smX5slCNuHLi8bLeY9MK7whWMhyjYrGFEsdtdc62E6zd5wDD-jNM8Efs.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/co3smX5slCNuHLi8bLeY9MK7whWMhyjYrGFEsdtdc62E6zd5wDD-htM8Efs.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/co3smX5slCNuHLi8bLeY9MK7whWMhyjYrGFEsdtdc62E6zd5wDD-iNM8.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYpHtKgS4.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYrXtKgS4.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYp3tKgS4.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYpHtKgS4.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYrXtKgS4.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYp3tKgS4.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYpHtKgS4.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYrXtKgS4.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYp3tKgS4.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #12081f;
  --bg-card: #1a0f2e;
  --bg-elevated: #241438;
  --text: #f5f0ff;
  --text-muted: #b8a8d0;
  --gold: #e8b84a;
  --gold-light: #f5d78e;
  --gold-dark: #c49a2e;
  --purple: #9b5de5;
  --purple-glow: rgba(155, 93, 229, 0.35);
  --gold-glow: rgba(232, 184, 74, 0.3);
  --accent: #ff6b9d;
  --border: rgba(232, 184, 74, 0.15);
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --header-h: 76px;
  --font: 'Montserrat', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

[data-theme="light"] {
  --bg: #faf7ff;
  --bg-card: #ffffff;
  --bg-elevated: #f0e8ff;
  --text: #1a0f2e;
  --text-muted: #6b5b80;
  --border: rgba(155, 93, 229, 0.12);
  --shadow: 0 24px 80px rgba(26, 15, 46, 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--purple-glow), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(232,184,74,0.08), transparent);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(18, 8, 31, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .header { background: rgba(255,255,255,0.92); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  min-width: 0;
  flex: 1;
}

.logo__diamond {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: #1a0f2e;
  font-weight: 800;
}

.logo__main { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .04em; }
.logo__main em { font-style: normal; color: var(--gold); }
.logo__sub { font-size: .65rem; color: var(--text-muted); display: block; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

.nav { display: flex; gap: .2rem; flex-wrap: wrap; justify-content: flex-end; }

.nav a {
  color: var(--text);
  font-size: .9rem;
  font-weight: 600;
  padding: .5rem .85rem;
  border-radius: 10px;
  letter-spacing: .02em;
  white-space: nowrap;
}

.nav a:hover, .nav a.active {
  color: var(--gold-light);
  background: rgba(232, 184, 74, 0.08);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.theme-toggle,
.lock-toggle {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: .45rem .65rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  min-width: 40px;
  min-height: 38px;
}

.lock-toggle {
  opacity: .72;
}

.lock-toggle:hover,
.lock-toggle.is-in {
  opacity: 1;
}

.lock-toggle.is-in {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(232, 184, 74, 0.12);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}

.burger span { display: block; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }

/* Buttons */
button, a.btn, .nav a { touch-action: manipulation; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .8rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: .88rem;
  border: none;
  cursor: pointer;
  transition: all .3s;
  font-family: inherit;
  letter-spacing: .02em;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #1a0f2e;
  box-shadow: 0 4px 24px var(--gold-glow);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow);
  color: #1a0f2e;
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--gold-light);
}

.btn--outline:hover {
  border-color: var(--gold);
  background: rgba(232, 184, 74, 0.06);
  color: var(--gold);
}

.btn--purple {
  background: linear-gradient(135deg, var(--purple), #7b2cbf);
  color: #fff;
  box-shadow: 0 4px 24px var(--purple-glow);
}

.btn--sm { padding: .55rem 1.1rem; font-size: .8rem; }
.btn--block { width: 100%; }
.btn:disabled {
  opacity: .55;
  cursor: wait;
  transform: none;
  pointer-events: none;
}
.btn--lg { padding: 1rem 2.2rem; font-size: .95rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg picture,
.hero__bg img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__bg img {
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 8, 31, 0.35) 0%,
    rgba(18, 8, 31, 0.7) 55%,
    var(--bg) 100%
  );
  z-index: 1;
}

.hero__ornament {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 85%, var(--gold-glow), transparent 30%),
    radial-gradient(circle at 85% 15%, var(--purple-glow), transparent 25%);
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  max-width: 920px;
}

.hero__badge {
  display: inline-block;
  padding: .4rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .55rem;
  background: rgba(18, 8, 31, 0.5);
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: .95;
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: .02em;
}

.hero h1 span { color: inherit; display: block; }
.hero__line--gold { color: var(--gold) !important; }
.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: .28em;
  color: var(--gold-light);
  margin: 0 0 .6rem;
}
.hero__live {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #8ee5b0;
}
.hero__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ee5b0;
  display: block;
  box-shadow: 0 0 0 4px rgba(142, 229, 176, 0.14);
}
.hero__bg img { transform: scale(1.08); will-change: transform; }

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
main { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
main.has-hero { padding-top: 0; }

.section { padding: 5rem 0; }
.section--alt { background: var(--bg-elevated); }

.section__header { text-align: center; margin-bottom: 3rem; }

.section__label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: .6rem;
}

.section__header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: .95rem;
}

.section__link {
  display: inline-block;
  margin-top: 2.5rem;
  font-weight: 600;
  color: var(--gold);
}

/* Festival cards */
.festivals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
}

.festival-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
  display: flex;
  flex-direction: column;
}

.festival-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 184, 74, 0.3);
}

.festival-card__img {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-elevated);
}

.festival-card__img img,
.festival-card__img video {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s;
  display: block;
}

.festival-card:hover .festival-card__img img,
.festival-card:hover .festival-card__img video { transform: scale(1.03); }

.festival-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .35rem .85rem;
  border-radius: 8px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a0f2e;
}

.festival-card__badge--hot {
  background: linear-gradient(135deg, var(--accent), #c9184a);
  color: #fff;
}

.festival-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.festival-card__region {
  font-size: .75rem;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .4rem;
}

.festival-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .35rem;
}

.festival-card h3 a { color: var(--text); }
.festival-card h3 a:hover { color: var(--gold); }

.festival-card__subtitle {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.festival-card__meta {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.festival-card__meta span::before {
  margin-right: .4rem;
}

.festival-card__footer {
  margin-top: auto;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1.5rem;
}

.advantage-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
}

.advantage-card__icon { font-size: 2.2rem; display: block; margin-bottom: 1rem; }
.advantage-card h3 { font-size: 1rem; margin-bottom: .5rem; font-weight: 700; }
.advantage-card p { color: var(--text-muted); font-size: .85rem; }

/* Director */
.director-block {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: center;
}

.director-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}

.director-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.director-photo__quote {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(18,8,31,0.9));
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold-light);
  text-align: center;
}

.director-info h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: .25rem;
}

.director-info .role {
  color: var(--gold);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 1.5rem;
}

.director-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.director-info li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--text-muted);
  font-size: .92rem;
}

.director-info li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .7rem;
}

/* Page hero */
.page-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: .5rem;
}

.page-hero p { color: var(--text-muted); }

/* Festival detail */
.festival-hero-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  object-position: top center;
  background: var(--bg-elevated);
}
.festival-desc--post { white-space: pre-wrap; }

.festival-detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  padding: 3rem 0;
}

.festival-detail h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  color: var(--gold-light);
}

.festival-detail h2:first-child { margin-top: 0; }

.festival-detail p { color: var(--text-muted); line-height: 1.8; }

.highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.highlights-list li {
  padding: .75rem 1rem;
  background: var(--bg-elevated);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
  font-size: .9rem;
  color: var(--text-muted);
}

.festival-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.info-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.info-widget h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.info-row {
  display: flex;
  gap: .75rem;
  margin-bottom: 1rem;
  font-size: .88rem;
}

.info-row strong {
  min-width: 70px;
  color: var(--gold);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.info-row span { color: var(--text-muted); }

.info-widget .btn { margin-top: .5rem; }

.info-widget .btn + .btn { margin-top: .6rem; }

/* Filters */
.filters-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filters-bar input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: .7rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
}

/* Contacts */
.contacts-grid { max-width: 640px; margin: 0 auto; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#social-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s;
}

.contact-card:hover { border-color: rgba(232, 184, 74, 0.35); }

.contact-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
  margin-bottom: .3rem;
}

.contact-card p { color: var(--text); font-size: 1.05rem; font-weight: 600; }
.contact-card a { color: var(--text); }
.contact-card a:hover { color: var(--gold); }

.contact-card__messengers {
  display: inline-block;
  margin-top: .4rem;
  font-size: .78rem;
  color: var(--text-muted);
  padding: .2rem .6rem;
  background: var(--bg-elevated);
  border-radius: 6px;
}

/* Forms */
.form-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* Footer */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding: 3.5rem 0 2rem;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: .88rem;
  margin: 1rem 0;
  line-height: 1.7;
}

.footer h4 {
  font-size: .82rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer__links a {
  color: var(--text-muted);
  font-size: .88rem;
}

.footer__links a:hover { color: var(--gold); }

.social-links { display: flex; gap: .5rem; margin-top: 1rem; }

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold-light);
  transition: all .2s;
}
.social-links a svg { display: block; }

.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: .82rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  color: var(--text);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all .3s;
}

.toast.show { transform: translateY(0); opacity: 1; }

body.modal-open { overflow: hidden; }

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.login-modal[hidden] { display: none !important; }
.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 16, 0.72);
  backdrop-filter: blur(10px);
}
.login-modal__card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  margin: 0;
}
.login-modal__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-align: center;
  margin: 0 0 1.1rem;
}
.login-modal__close {
  position: absolute;
  top: .65rem;
  right: .85rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.7rem;
  cursor: pointer;
  line-height: 1;
  padding: .2rem .4rem;
}
.login-modal__close:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: .75rem .85rem calc(1rem + env(safe-area-inset-bottom));
    border-bottom: 1px solid var(--border);
    z-index: 1100;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    box-shadow: var(--shadow);
  }
  .nav a {
    padding: .9rem 1rem;
    font-size: 1.02rem;
    border-radius: 12px;
  }
  .nav.open { display: flex; }
  .burger { display: flex; }
  .logo__sub { display: none; }
  .header {
    padding-top: env(safe-area-inset-top);
    height: calc(var(--header-h) + env(safe-area-inset-top));
  }
  .nav { top: calc(var(--header-h) + env(safe-area-inset-top)); }
}

@media (max-width: 900px) {
  .director-block { grid-template-columns: 1fr; }
  .festival-detail { grid-template-columns: 1fr; padding: 1.5rem 0 2.5rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.2rem 0 1.4rem; }
  .festivals-grid { grid-template-columns: 1fr; gap: 1.15rem; }
  .hero {
    min-height: 0;
    align-items: flex-end;
    padding: calc(var(--header-h) + env(safe-area-inset-top) + 2.5rem) 0 2.2rem;
  }
  .hero__content { padding: 0 .15rem .25rem; max-width: none; }
  .hero__badge {
    font-size: .68rem;
    letter-spacing: .06em;
    padding: .35rem .8rem;
    margin-bottom: 1rem;
    white-space: normal;
    line-height: 1.35;
    max-width: 100%;
  }
  .hero h1 { font-size: 1.85rem; margin-bottom: .7rem; }
  .hero p { font-size: .95rem; margin-bottom: 1.2rem; }
  .hero__actions {
    flex-direction: column;
    gap: .7rem;
  }
  .hero__actions .btn { width: 100%; }
  .section { padding: 2.4rem 0; }
  .section__header { margin-bottom: 1.4rem; }
  .festival-card:hover { transform: none; }
  .festival-card__body { padding: 1.1rem 1.15rem 1.2rem; }
  .festival-card h3 { font-size: 1.15rem; overflow-wrap: anywhere; }
  .festival-card__footer { flex-direction: column; }
  .festival-card__footer .btn { width: 100%; }
  .page-hero { padding: 5.6rem 0 2rem; }
  .form-card { padding: 1.25rem 1.1rem; }
  .login-modal { padding: .75rem; align-items: flex-end; }
  .login-modal__card { width: 100%; margin: 0 0 env(safe-area-inset-bottom); }
  .contact-card { padding: 1.1rem; gap: .9rem; }
  .toast { left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); }
  .festival-sidebar { position: static; }
  .info-row { flex-direction: column; gap: .2rem; }
  .footer { margin-top: 1.5rem; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 1.4rem); }
  .advantages-grid { grid-template-columns: 1fr; gap: .8rem; }
  .advantage-card { padding: 1.2rem 1rem; }
  .hero h1 { font-size: 1.62rem; line-height: 1.18; }
  .logo__main { font-size: 1.12rem; }
  .logo__diamond { width: 30px; height: 30px; font-size: .55rem; flex-shrink: 0; }
  .theme-toggle,
  .lock-toggle {
    min-width: 42px;
    min-height: 42px;
    padding: .4rem;
  }
  .header__actions { gap: .3rem; }
  .festival-detail h1 { font-size: 1.45rem !important; }
}

/* News */
.seo-fest-list {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
  padding-left: 1.2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.news-card img, .news-card video {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card__body { padding: 1.25rem 1.4rem 1.5rem; }
.news-card__date { font-size: .75rem; color: var(--text-muted); }
.news-card h3 { font-family: var(--font-display); font-size: 1.35rem; margin: .35rem 0 .6rem; }
.news-card p { color: var(--text-muted); font-size: .9rem; white-space: pre-wrap; }
.news-empty { text-align: center; color: var(--text-muted); padding: 2rem; }

/* Admin */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.admin-gate {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}
.admin-gate__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 8, 31, 0.35) 0%, rgba(18, 8, 31, 0.82) 100%),
    url("../assets/hero-bg.webp") center / cover no-repeat;
}
.admin-gate__center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  width: min(420px, 100%);
}
.admin-gate__logo { color: var(--text); }
.admin-gate__hint {
  color: var(--gold-light);
  text-align: center;
  font-size: 0.92rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.admin-lock-btn {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  border: 1px solid var(--gold);
  background: rgba(26, 15, 46, 0.72);
  color: var(--gold-light);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 40px var(--gold-glow);
  transition: transform .2s, background .2s;
}
.admin-lock-btn:hover,
.admin-lock-btn.is-open {
  transform: translateY(-2px);
  background: rgba(232, 184, 74, 0.16);
  color: var(--gold);
}
.admin-gate__card {
  width: 100%;
  margin: 0;
}
body[data-page="admin"] .admin-top .header__inner {
  justify-content: space-between;
}
.admin-home {
  padding: calc(var(--header-h) + 2rem) 0 4rem;
}
.admin-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 860px;
}
.admin-tile {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  text-align: left;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s;
}
.admin-tile:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.admin-tile__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a0f2e;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  margin-bottom: auto;
}
.admin-tile strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.admin-tile span {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.admin-work {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
  padding-top: var(--header-h);
}
.admin-side {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 1.1rem 0.85rem 2rem;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.admin-side__home {
  width: 100%;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  text-align: left;
}
.admin-side__home:hover { border-color: var(--gold); }
.admin-side .admin-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  overflow: visible;
}
.admin-side .admin-tabs a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.82rem;
}
.admin-side .admin-tabs a.active,
.admin-side .admin-tabs a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(232, 184, 74, 0.1);
}
.admin-work .admin-main { padding: 1.4rem 1.5rem 3rem; }
.admin-work__inner { max-width: 1100px; }
.admin-main { padding: calc(var(--header-h) + 2rem) 0 4rem; }
.admin-main h1 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: .4rem; }
.account-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 760px;
  margin-bottom: 1.5rem;
}
.account-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 0.95rem;
  align-items: center;
  padding: 1.05rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.account-card.is-on {
  border-color: rgba(80, 200, 120, 0.5);
  background: linear-gradient(180deg, rgba(80, 200, 120, 0.08), var(--bg-card));
}
.account-card__mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--bg-elevated);
  color: var(--gold-light);
}
.account-card.is-on .account-card__mark {
  background: rgba(80, 200, 120, 0.2);
  color: #8ee5b0;
}
.account-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
}
.account-card__status {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
}
.account-card__status.on { color: #8ee5b0; }
.account-card__status.off { color: #ff8fab; font-weight: 600; }
.account-card__label {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.account-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}
.keys-box {
  max-width: 760px;
  margin: 0 0 0.75rem;
  padding: 0.85rem 1.1rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
}
.keys-box summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--gold-light);
  padding: 0.35rem 0;
}
.keys-box[open] summary { margin-bottom: 0.85rem; }

.admin-lead { color: var(--text-muted); margin-bottom: 1.5rem; }
.admin-h2 { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 1rem; color: var(--gold-light); }
.form-card--wide { max-width: 760px; margin: 0 0 1.5rem; }
.form-card--warn { border-color: rgba(255, 107, 157, .55); }
.admin-hint { color: var(--text-muted); font-size: .82rem; margin-top: .5rem; line-height: 1.55; }
.admin-hint code, .admin-row code, #uri-meta, #uri-google, #uri-tiktok {
  display: inline-block;
  word-break: break-all;
  color: var(--gold-light);
  font-size: .78rem;
}
.admin-error { color: #ff8fab; margin-top: 1rem; font-size: .88rem; }
.admin-status { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.pill {
  font-size: .75rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.pill--on { border-color: rgba(80, 200, 120, .45); color: #8ee5b0; }
.pill--off { color: var(--text-muted); }
.admin-checks { display: flex; flex-direction: column; gap: .45rem; }
.check { display: flex; align-items: center; gap: .55rem; font-size: .9rem; }
.check em { color: var(--text-muted); font-style: normal; font-size: .8rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.admin-list, .admin-found { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.admin-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.admin-result {
  max-width: 760px;
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  line-height: 1.7;
}
.admin-result--ok { border-color: rgba(80, 200, 120, .45); }
.admin-result--err { border-color: rgba(255, 107, 157, .45); }
.admin-flash {
  margin-bottom: 1rem;
  padding: .85rem 1.1rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
}
.admin-flash--ok { border-color: rgba(80, 200, 120, .45); }
.admin-flash--err { border-color: rgba(255, 107, 157, .5); color: #ff8fab; }
.history-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}
.history-card__top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; color: var(--text-muted); font-size: .82rem; }
.history-card__top strong { color: var(--text); font-size: 1.05rem; }
.history-card.is-hidden { opacity: .55; }
.editor-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .85rem; }
.editor-edit { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.message-card p { color: var(--text); margin-top: .4rem; white-space: pre-wrap; }
.guide-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.15fr);
  gap: 1.35rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 0 1.35rem;
  padding: 1.2rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.guide-num {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a0f2e;
  font-weight: 800;
  font-size: 0.85rem;
}
.guide-text h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold-light);
  margin: 0 0 0.75rem;
}
.guide-text ol {
  padding-left: 1.15rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.guide-text li { line-height: 1.5; }
.guide-photo { margin: 0; }
.guide-photo img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: block;
}
.guide-note {
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  line-height: 1.6;
}

.help-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
  max-width: 760px;
}
.help-block h2 { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-light); margin-bottom: .75rem; }
.help-block ol { padding-left: 1.2rem; color: var(--text-muted); display: flex; flex-direction: column; gap: .45rem; }
.help-block p { color: var(--text-muted); }

.imagine-layout {
  display: grid;
  grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}
.imagine-layout .form-card {
  margin: 0;
  max-width: none;
}
.imagine-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.imagine-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.imagine-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  font-size: 0.82rem;
  cursor: pointer;
}
.imagine-chip input { accent-color: var(--gold); }
.imagine-chip:has(input:checked) {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(232, 184, 74, 0.08);
}
.imagine-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.7rem;
  flex-wrap: wrap;
}
.imagine-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.imagine-current p { margin: 0.55rem 0 0; }
.imagine-preview {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0d0818;
}
.imagine-preview img {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: contain;
}
.imagine-comment {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.imagine-empty { margin: 0; }
.imagine-history {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.9rem;
  max-width: 1100px;
}
.imagine-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}
.imagine-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.imagine-card div {
  padding: 0.65rem 0.8rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.imagine-card strong { font-size: 0.82rem; }
.imagine-card span { font-size: 0.72rem; color: var(--text-muted); }
.imagine-card.is-active { border-color: var(--gold); }

/* Behind the code */
.behind-section { overflow: hidden; }
.behind {
  display: grid;
  grid-template-columns: minmax(300px, 1.18fr) minmax(0, 1fr);
  gap: 0;
  align-items: center;
}
.behind__photo {
  position: relative;
  margin: 0;
  border-radius: 22px 0 0 22px;
  overflow: hidden;
}
.behind__photo img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: 62% 18%;
  transition: transform .7s ease;
}
.behind__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 48%, rgba(36, 20, 56, 0.35) 72%, var(--bg-elevated) 100%),
    linear-gradient(180deg, transparent 62%, rgba(18, 8, 31, 0.55) 100%);
  pointer-events: none;
}
.behind__photo:hover img { transform: scale(1.04); }
.behind__caption {
  position: absolute;
  left: 1.15rem;
  bottom: 1.15rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .12rem;
}
.behind__caption strong {
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .14em;
  color: var(--text);
  font-weight: 700;
}
.behind__caption span {
  font-size: .62rem;
  letter-spacing: .16em;
  color: var(--gold-light);
  font-weight: 700;
}
.behind__copy {
  position: relative;
  z-index: 1;
  padding: .5rem 0 .5rem 0;
  margin-left: -3.4rem;
}
.behind__kicker {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .45rem;
}
.behind h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-muted);
  margin: 0 0 .85rem;
}
.behind h3 {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.2vw, 4.35rem);
  color: var(--gold-light);
  margin: 0 0 .15rem;
  letter-spacing: .06em;
  line-height: .92;
}
.behind__role {
  color: var(--gold);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 .55rem;
}
.behind__status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1.15rem;
  color: #8ee5b0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.behind__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ee5b0;
  display: block;
  box-shadow: 0 0 0 4px rgba(142, 229, 176, 0.12);
}
.behind__lead {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 500;
  margin: 0 0 .55rem;
  max-width: 36rem;
}
.behind__text {
  color: var(--text-muted);
  margin: 0 0 .7rem;
  max-width: 36rem;
  font-size: .95rem;
}
.behind__note {
  color: var(--text-muted);
  font-size: .82rem;
  margin: 0 0 1.25rem;
  max-width: 34rem;
}
.behind__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.1rem;
  margin: 0 0 1.45rem;
  padding: 0;
}
.behind__stats li {
  min-width: 7.2rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-muted);
  line-height: 1.35;
}
.behind__stats strong {
  display: block;
  color: var(--gold);
  font-size: .62rem;
  letter-spacing: .14em;
  margin-bottom: .12rem;
}
.behind__cta span {
  display: inline-block;
  margin-left: .15rem;
  transition: transform .35s ease;
}
.behind__cta:hover span { transform: translateX(7px); }
.behind__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: .85rem;
}
.behind__tg {
  margin: 0 0 .55rem;
  font-size: .88rem;
  color: var(--text-muted);
}
.behind__more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
}

.hire {
  padding: 3.2rem 0 3.6rem;
  text-align: center;
}
.hire__inner { max-width: 640px; }
.hire h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: .4rem 0 .7rem;
}
.hire p { color: var(--text-muted); margin: 0 0 1.3rem; }
.hire__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: center;
}

.lead-modal__card { width: min(480px, 100%); max-height: min(92vh, 820px); overflow: auto; }
.lead-modal__sub {
  color: var(--text-muted);
  font-size: .9rem;
  margin: 0 0 1.1rem;
  text-align: center;
}
.publish-progress { margin: .9rem 0 0; }
.publish-progress__bar {
  height: 8px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.publish-progress__bar > i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
}
.publish-progress__txt {
  font-size: .82rem;
  color: var(--text-muted);
  margin: .4rem 0 0;
}

.lead-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.lead-consent {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .8rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}
.lead-consent input { margin-top: .2rem; accent-color: var(--gold); }
.lead-ok__mark {
  text-align: center;
  font-size: 2rem;
  color: #8ee5b0;
  margin: .4rem 0 .6rem;
}

[data-theme="light"] .behind__photo::after {
  background:
    linear-gradient(90deg, transparent 48%, rgba(240, 232, 255, 0.45) 74%, var(--bg-elevated) 100%),
    linear-gradient(180deg, transparent 64%, rgba(250, 247, 255, 0.5) 100%);
}
[data-theme="light"] .behind__caption strong { color: var(--text); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .behind__photo img { transition: none; }
}

.dev-hero {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 5.8rem 0 3.2rem;
}
.dev-hero__photo {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.dev-hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .7s ease;
}
.dev-hero__photo:hover img { transform: scale(1.035); }
.dev-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: .04em;
  margin: .35rem 0 .3rem;
}
.dev-hero .behind__kicker { margin-bottom: .35rem; }

.dev-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.dev-grid .dev-card:nth-child(1),
.dev-work article:nth-child(1),
.timeline__item:nth-child(1) { --d: .04s; }
.dev-grid .dev-card:nth-child(2),
.dev-work article:nth-child(2),
.timeline__item:nth-child(2) { --d: .1s; }
.dev-grid .dev-card:nth-child(3),
.dev-work article:nth-child(3),
.timeline__item:nth-child(3) { --d: .16s; }
.dev-grid .dev-card:nth-child(4),
.dev-work article:nth-child(4),
.timeline__item:nth-child(4) { --d: .22s; }
.timeline__item:nth-child(5) { --d: .28s; }
.timeline__item:nth-child(6) { --d: .34s; }
.dev-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem 1.4rem 1.45rem;
}
.dev-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-light);
  margin: 0 0 .45rem;
  letter-spacing: .06em;
}
.dev-card p { color: var(--text-muted); margin: 0; font-size: .92rem; }

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.tech-list span {
  padding: .45rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding-left: 1.4rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(232,184,74,.12));
}
.timeline__item {
  position: relative;
  padding: 0 0 1.7rem 1.6rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.4rem;
  top: .35rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 184, 74, 0.15);
}
.timeline__n {
  display: block;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: .25rem;
}
.timeline__item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 .35rem;
}
.timeline__item p { color: var(--text-muted); margin: 0; }

.code-window {
  max-width: 520px;
  margin: 0 auto;
  background: #12081f;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.code-window__bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.code-window__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c49a2e;
  display: block;
}
.code-window__bar i:nth-child(2) { background: #e8b84a; }
.code-window__bar i:nth-child(3) { background: #9b5de5; }
.code-window pre {
  margin: 0;
  padding: 1.1rem 1.2rem 0.4rem;
  color: #d8cce8;
  font-size: .86rem;
  line-height: 1.65;
  overflow-x: auto;
}
.code-window .k { color: #9b5de5; }
.code-window .s { color: var(--gold-light); }
.code-window__live {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .2rem 1.2rem 1rem;
  color: #8ee5b0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.code-window__live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8ee5b0;
}

.dev-work { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.dev-work article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem 1.15rem 1.25rem;
}
.dev-work span {
  display: block;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  margin-bottom: .4rem;
}
.dev-work h3 { font-size: .95rem; margin: 0 0 .35rem; letter-spacing: .04em; }
.dev-work p { margin: 0; color: var(--text-muted); font-size: .85rem; }

.dev-end { text-align: center; padding-bottom: 1rem; }

.side-rail {
  position: fixed;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.side-rail a {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--text-muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .55;
}
.side-rail a span { color: var(--gold); }
.side-rail a.is-on { opacity: 1; color: var(--text); }
.side-rail a.is-on span { color: var(--gold-light); }

.scene {
  padding: 5.5rem 0;
  text-align: center;
}
.scene--dark { background: var(--bg-elevated); }
.scene__text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}
.scene__text span { display: block; }
.scene__text--gold { color: var(--gold); }

.story__path {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.story__path li {
  padding: 1.1rem 0.9rem 1.2rem;
  border-top: 1px solid var(--gold);
  background: var(--bg-card);
  border-radius: 0 0 14px 14px;
}
.story__path strong {
  display: block;
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .12em;
  margin-bottom: .45rem;
}
.story__path span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: .3rem;
}
.story__path em {
  font-style: normal;
  color: var(--text-muted);
  font-size: .78rem;
}

.festival-card__peek {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.15rem 1.1rem 1.05rem;
  background: linear-gradient(transparent, rgba(18, 8, 31, 0.92));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
.festival-card__peek em {
  font-style: normal;
  font-size: .65rem;
  letter-spacing: .12em;
  color: var(--gold-light);
}
.festival-card__peek strong { font-size: .95rem; }
.festival-card__peek span { font-size: .78rem; color: var(--gold); }
.festival-card:hover .festival-card__peek,
.festival-card:focus-within .festival-card__peek {
  opacity: 1;
  transform: none;
}
.festival-card:hover .festival-card__img img,
.festival-card:hover .festival-card__img video { transform: scale(1.07); }

.explore {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.2rem;
}
.explore h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: .35rem 0 .5rem;
}
.explore p { color: var(--text-muted); margin: 0 0 1.1rem; }
.explore__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: 0;
}
.explore__list a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: .82rem;
  font-weight: 600;
}
.explore__list i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: block;
}
.explore__list a:hover { border-color: var(--gold); color: var(--gold-light); }

.pass {
  padding: 1.4rem 1.35rem 1.5rem;
  border-radius: 18px;
  border: 1px dashed rgba(232, 184, 74, 0.45);
  background:
    linear-gradient(180deg, rgba(232, 184, 74, 0.08), transparent 40%),
    var(--bg-card);
}
.pass__kicker {
  margin: 0 0 .6rem;
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--gold);
  font-weight: 800;
}
.pass__brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0;
}
.pass__name { margin: .2rem 0 .7rem; color: var(--gold-light); font-weight: 600; }
.pass__meta { color: var(--text-muted); font-size: .82rem; margin: 0 0 1rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.facts article {
  padding: 1.3rem 1.1rem;
  border-top: 1px solid var(--gold);
  text-align: center;
}
.facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--gold-light);
  line-height: 1;
}
.facts span { color: var(--text-muted); font-size: .82rem; }

.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.bento__cell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.55rem;
}
.bento__cell:nth-child(1) { grid-column: 1 / 3; min-height: 220px; }
.bento__cell:nth-child(4) {
  grid-column: 2 / 4;
  background:
    linear-gradient(160deg, rgba(232, 184, 74, 0.12), transparent 55%),
    var(--bg-elevated);
}
.bento__icon { font-size: 1.6rem; display: block; margin-bottom: .7rem; }
.bento__cell h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 .4rem;
}
.bento__cell p { margin: 0; color: var(--text-muted); font-size: .9rem; }

.bridge {
  padding: 5rem 0 2.5rem;
  text-align: center;
}
.bridge__pause {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.1rem;
  letter-spacing: .04em;
}
.bridge__line {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  max-width: 18ch;
  margin: 0 auto 2.2rem;
  line-height: 1.2;
}
.system {
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #12081f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
  color: var(--text-muted);
}
.system p { margin: 0 0 .35rem; }
.system strong { color: var(--gold-light); }
.system__live {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .7rem !important;
  color: #8ee5b0;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 700;
}
.system__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ee5b0;
  display: block;
}

@media (max-width: 1100px) {
  .side-rail { display: none; }
}
@media (max-width: 900px) {
  .story__path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explore, .bento, .facts { grid-template-columns: 1fr 1fr; }
  .bento__cell:nth-child(1),
  .bento__cell:nth-child(4) { grid-column: auto; grid-row: auto; min-height: 0; }
}
@media (max-width: 640px) {
  .story__path, .explore, .bento, .facts { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .festival-card__peek { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg img { transform: none !important; }
  .festival-card__peek { transition: none; }
}

@media (max-width: 900px) {
  .admin-tabs { overflow-x: auto; }
  .imagine-layout { grid-template-columns: 1fr; }
  .imagine-row { grid-template-columns: 1fr; }
  .admin-work {
    grid-template-columns: 1fr;
  }
  .admin-side {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .admin-side .admin-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .admin-tiles {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .account-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .account-card__actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .account-card__actions .btn { flex: 1; }
  .guide-row { grid-template-columns: 1fr; }
  .behind {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .behind__photo {
    border-radius: 22px;
    order: -1;
  }
  .behind__photo::after {
    background:
      linear-gradient(180deg, transparent 55%, var(--bg-elevated) 100%);
  }
  .behind__copy { padding: 0; margin-left: 0; }
  [data-theme="light"] .behind__photo::after {
    background: linear-gradient(180deg, transparent 55%, var(--bg-elevated) 100%);
  }
  .behind h3 { font-size: clamp(2.35rem, 12vw, 3.3rem); }
  .behind__stats li { min-width: 6.4rem; }
  .behind__actions .btn,
  .hire__actions .btn { width: 100%; }
  .dev-hero {
    grid-template-columns: 1fr;
    padding-top: 5.2rem;
  }
  .dev-grid,
  .dev-work { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .dev-grid,
  .dev-work { grid-template-columns: 1fr; }
}