/* ============================================================
   Admin Panel — Dark Theme
   ============================================================ */

:root {
  --bg-base:    #0f0f13;
  --bg-surface: #18181f;
  --bg-card:    #1e1e27;
  --bg-hover:   #25252f;
  --border:     #2e2e3a;
  --border-light: #3a3a48;

  --text-primary:   #e8e6f0;
  --text-secondary: #8f8da0;
  --text-muted:     #5c5a70;

  --accent:       #c9a05a;
  --accent-hover: #dbb870;
  --accent-dim:   rgba(201, 160, 90, 0.15);
  --accent-dim2:  rgba(201, 160, 90, 0.08);

  --danger:       #e05555;
  --danger-hover: #ef6e6e;
  --danger-dim:   rgba(224, 85, 85, 0.12);

  --success:      #5bbf7a;
  --success-dim:  rgba(91, 191, 122, 0.12);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;

  --shadow: 0 2px 16px rgba(0,0,0,0.4);
  --shadow-sm: 0 1px 6px rgba(0,0,0,0.3);
}

/* ---- Reset & Base ---- */
/* Scope all element overrides inside .admin-body to prevent site.css bleed */
body.admin-body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  min-height: 100vh;
}

body.admin-body a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}
body.admin-body a:hover { color: var(--accent-hover); }

body.admin-body h1,
body.admin-body h2,
body.admin-body h3,
body.admin-body h4,
body.admin-body h5,
body.admin-body h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
}

body.admin-body p { margin: 0; }

body.admin-body strong { font-weight: 600; }

code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  background: var(--bg-hover);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--accent);
}

/* ---- Layout ---- */
.admin-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.admin-header__brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}

.admin-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-nav {
  background: #13131a;
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  gap: 0;
}

.admin-nav a {
  display: inline-block;
  padding: 0.8rem 1.25rem;
  color: #c8c6d8;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.admin-nav a:hover {
  color: #fff;
  border-bottom-color: var(--border-light);
}
.admin-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.admin-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem;
}

/* ---- Flash Messages ---- */
.flash {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.flash--notice {
  background: var(--success-dim);
  border: 1px solid var(--success);
  color: var(--success);
}
.flash--alert {
  background: var(--danger-dim);
  border: 1px solid var(--danger);
  color: var(--danger);
}

/* ---- Page Header ---- */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.page-header h2,
.page-header h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
}

.page-header .page-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
  font-weight: 400;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  line-height: 1.4;
}

body.admin-body .btn-primary,
body.admin-body a.btn-primary {
  background: var(--accent);
  color: #0f0f13;
  border-color: var(--accent);
}
body.admin-body .btn-primary:hover,
body.admin-body a.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #0f0f13;
}

body.admin-body .btn-secondary,
body.admin-body a.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-light);
}
body.admin-body .btn-secondary:hover,
body.admin-body a.btn-secondary:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-light);
}

body.admin-body a.btn-danger,
body.admin-body .btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: transparent;
  padding: 0;
  font-size: 0.85rem;
}
body.admin-body a.btn-danger:hover,
body.admin-body .btn-danger:hover {
  color: var(--danger-hover);
}

body.admin-body a.btn-ghost,
body.admin-body .btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: transparent;
  padding: 0;
  font-size: 0.85rem;
}
body.admin-body a.btn-ghost:hover,
body.admin-body .btn-ghost:hover { color: var(--accent-hover); }

/* submit button */
input[type="submit"],
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.4rem;
  background: var(--accent);
  color: #0f0f13;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--accent-hover);
}

/* Logout button inside header */
.admin-header__actions form button,
.admin-header__actions form input[type="submit"] {
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}
.admin-header__actions form button:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* ---- Tables ---- */
.admin-table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.admin-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}
.admin-table tbody tr:last-child { border-bottom: none; }
.admin-table tbody tr:hover { background: var(--bg-hover); }

.admin-table td {
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  vertical-align: middle;
}

.admin-table td.text-muted { color: var(--text-secondary); }
.admin-table td.actions {
  white-space: nowrap;
}

.admin-table td.actions a,
.admin-table td.actions button {
  margin-right: 1rem;
}
.admin-table td.actions a:last-child,
.admin-table td.actions button:last-child {
  margin-right: 0;
}

/* ---- Back link ---- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  transition: color 0.15s;
}
.back-link:hover { color: var(--text-secondary); }

/* ---- Cards ---- */
.admin-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea,
.form-group select,
.form-control {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  max-width: 540px;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group input[readonly],
.form-group input[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-group textarea {
  resize: vertical;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238f8da0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

/* ---- Attachment block ---- */
.attachment-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  max-width: 540px;
  background: var(--bg-card);
}

.attachment-block__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.attachment-block__preview {
  margin-bottom: 0.75rem;
}

.attachment-block__preview img {
  display: block;
  max-width: 300px;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.attachment-block__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.attachment-block__remove {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--danger);
  margin: 0.5rem 0;
  cursor: pointer;
}

.attachment-block__none {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.35rem 0 0.75rem;
}

/* file input */
input[type="file"] {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
input[type="file"]::file-selector-button {
  padding: 0.35rem 0.8rem;
  background: var(--bg-hover);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.82rem;
  margin-right: 0.5rem;
  transition: background 0.15s;
}
input[type="file"]::file-selector-button:hover {
  background: var(--border);
}

/* checkbox */
.form-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.form-check input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ---- Gallery Grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}
.gallery-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.gallery-card__img {
  height: 160px;
  background: var(--bg-card);
  overflow: hidden;
  position: relative;
}

.gallery-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
  height: 100%;
}

.gallery-card__body {
  padding: 0.85rem 1rem;
}

.gallery-card__caption {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-card__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.gallery-card__actions {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

/* ---- Error list ---- */
.form-errors {
  background: var(--danger-dim);
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  max-width: 540px;
}

.form-errors p {
  margin: 0;
  color: var(--danger);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ---- Subsection heading ---- */
.section-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---- Tag/badge ---- */
.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: var(--accent-dim);
  color: var(--accent);
}

/* ---- Utilities ---- */
.text-muted  { color: var(--text-muted); }
.text-danger { color: var(--danger); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

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

:root {
  --ink:        #0c0e14;
  --ink-light:  #151822;
  --ink-mid:    #1e2130;
  --gold:       #c8a84b;
  --gold-warm:  #dbb96a;
  --gold-pale:  #eedfa0;
  --gold-dim:   rgba(200, 168, 75, 0.18);
  --cream:      #f6f0e4;
  --cream-mid:  #ede4d3;
  --white:      #ffffff;
  --text-dark:  #1e1a14;
  --text-mid:   #4a4236;
  --text-light: #7d7264;
  --border-gold: rgba(200, 168, 75, 0.2);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--ink);
  color: var(--cream);
  overflow-x: hidden;
}

/* ════════════════════════════
   ШАПКА
════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 3rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(12, 14, 20, 0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border-gold);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-emblem {
  width: 38px;
  height: 38px;
  position: relative;
  flex-shrink: 0;
}

.logo-emblem svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: 'EB Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold-warm);
  letter-spacing: 0.06em;
}

nav { display: flex; align-items: center; gap: 0.1rem; }

nav a {
  font-family: 'Jost', sans-serif;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 240, 228, 0.4);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  transition: color 0.3s;
  position: relative;
}

nav a:hover { color: var(--gold-warm); }

.nav-cta {
  margin-left: 1rem;
  padding: 0.55rem 1.4rem !important;
  border: 1px solid var(--border-gold);
  color: var(--gold) !important;
  transition: background 0.3s, color 0.3s !important;
}

.nav-cta:hover {
  background: var(--gold-dim) !important;
  color: var(--gold-warm) !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}

/* ════════════════════════════
   HERO — сакральный круг
════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

/* Концентрические кольца */
.rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 300px;  height: 300px;  opacity: 0.6; }
.ring-2 { width: 500px;  height: 500px;  opacity: 0.35; }
.ring-3 { width: 700px;  height: 700px;  opacity: 0.2; }
.ring-4 { width: 900px;  height: 900px;  opacity: 0.1; }
.ring-5 { width: 1100px; height: 1100px; opacity: 0.06; }

/* Вращающееся кольцо с текстом */
.ring-text-wrap {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  animation: ringRotate 80s linear infinite;
}

@keyframes ringRotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.ring-text-svg {
  width: 100%;
  height: 100%;
}

.ring-text-path {
  fill: none;
}

.ring-text-label {
  font-size: 10px;
  fill: var(--gold);
  opacity: 0.35;
  letter-spacing: 0.35em;
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
}

/* Крест-разделитель */
.hero-cross {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1px; height: 200px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.15;
}

.hero-cross::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  width: 200px; height: 1px;
  background: inherit;
}

/* Звёздные точки */
.star-points {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  pointer-events: none;
}

.star-dot {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}

.star-dot:nth-child(1)  { top: 0;    left: 50%;  transform: translate(-50%); }
.star-dot:nth-child(2)  { top: 50%;  right: 0;   transform: translateY(-50%); }
.star-dot:nth-child(3)  { bottom: 0; left: 50%;  transform: translate(-50%); }
.star-dot:nth-child(4)  { top: 50%;  left: 0;    transform: translateY(-50%); }
.star-dot:nth-child(5)  { top: 13%;  left: 13%; }
.star-dot:nth-child(6)  { top: 13%;  right: 13%; }
.star-dot:nth-child(7)  { bottom: 13%; left: 13%; }
.star-dot:nth-child(8)  { bottom: 13%; right: 13%; }

/* Контент Hero */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
}

.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 1.8rem;
}

.hero-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.hero-title-accent {
  font-style: italic;
  color: var(--gold-warm);
}

.hero-ornament-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 2rem auto;
  opacity: 0.4;
}

.hero-sub {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(246, 240, 228, 0.5);
  letter-spacing: 0.04em;
  margin-bottom: 3rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding: 1rem 2.5rem;
  border: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
  transition: color 0.4s;
}

.hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn:hover::before { transform: scaleX(1); }
.hero-btn:hover { color: var(--ink); }

.hero-btn span { position: relative; z-index: 1; }
.hero-btn svg  { position: relative; z-index: 1; width: 14px; height: 14px; }

/* ════════════════════════════
   ORNAMENTAL DIVIDER
════════════════════════════ */
.orn-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 3rem;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0.25;
}

.orn-line {
  flex: 1;
  height: 1px;
  background: var(--gold);
}

.orn-diamond {
  width: 6px; height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ════════════════════════════
   ABOUT — светлая секция
════════════════════════════ */
.about {
  background: var(--cream);
  padding: 7rem 3rem;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-tag-line {
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-tag-text {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-headline {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 3rem;
}

.about-headline em {
  font-style: italic;
  color: var(--gold);
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.about-columns p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-mid);
}

.about-columns p + p { margin-top: 1.2rem; }

/* Большой pull-quote */
.pull-quote {
  border-left: 2px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 3rem 0 0;
  background: var(--cream-mid);
}

.pull-quote p {
  font-family: 'EB Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
}

.pull-quote cite {
  display: block;
  margin-top: 0.8rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ════════════════════════════
   MENU SECTIONS — тёмная
════════════════════════════ */
.sections {
  background: var(--ink-light);
  padding: 7rem 3rem;
}

.sections-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sections-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
}

.sections-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--cream);
}

.sections-count {
  font-family: 'EB Garamond', serif;
  font-size: 5rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.08;
  line-height: 1;
}

/* Список-аккордеон разделов */
.section-list {
  list-style: none;
}

.section-item {
  border-top: 1px solid rgba(200, 168, 75, 0.1);
}

.section-item:last-child {
  border-bottom: 1px solid rgba(200, 168, 75, 0.1);
}

.section-link {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  text-decoration: none;
  color: inherit;
  transition: gap 0.4s;
}

.section-link:hover { gap: 2.5rem; }

.section-link:hover .sl-num   { color: var(--gold); }
.section-link:hover .sl-title { color: var(--gold-warm); }
.section-link:hover .sl-arrow { opacity: 1; transform: translateX(0); }

.sl-num {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(200, 168, 75, 0.3);
  transition: color 0.3s;
}

.sl-body { min-width: 0; }

.sl-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}

.sl-desc {
  font-size: 0.85rem;
  color: rgba(246, 240, 228, 0.3);
  line-height: 1.5;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s, opacity 0.4s;
  opacity: 0;
}

.section-item:hover .sl-desc {
  max-height: 60px;
  opacity: 1;
}

.sl-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s, transform 0.3s;
}

.sl-arrow svg { width: 16px; height: 16px; }

/* ════════════════════════════
   ОРИША — сетка пантеона
════════════════════════════ */
.orisha {
  background: var(--ink);
  padding: 7rem 3rem;
}

.orisha-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.orisha-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-gold);
  margin-top: 4rem;
}

.orisha-card {
  background: var(--ink);
  padding: 2.5rem 2rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}

.orisha-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.orisha-card:hover { background: var(--ink-light); }
.orisha-card:hover::before { transform: scaleX(1); }

.orisha-symbol {
  font-family: 'EB Garamond', serif;
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 1rem;
  display: block;
  transition: opacity 0.3s;
}

.orisha-card:hover .orisha-symbol { opacity: 0.8; }

.orisha-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.orisha-domain {
  font-size: 0.75rem;
  color: rgba(246, 240, 228, 0.3);
  letter-spacing: 0.08em;
}

/* ════════════════════════════
   ЦИТАТА — полосная
════════════════════════════ */
.big-quote {
  padding: 6rem 3rem;
  background: var(--ink-mid);
  position: relative;
  overflow: hidden;
}

.big-quote::before {
  content: '"';
  position: absolute;
  top: -2rem; left: 2rem;
  font-family: 'EB Garamond', serif;
  font-size: 20rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.04;
  pointer-events: none;
}

.big-quote-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.big-quote blockquote {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.big-quote blockquote strong {
  font-style: normal;
  color: var(--gold-warm);
}

.big-quote cite {
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.5;
}

/* ════════════════════════════
   ГАЛЕРЕЯ — mosaic
════════════════════════════ */
.gallery {
  background: var(--cream);
  padding: 7rem 3rem;
}

.gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, 160px);
  gap: 8px;
}

.mosaic-item {
  background: var(--cream-mid);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s, filter 0.4s;
  filter: saturate(0.8);
}

.mosaic-item:hover {
  transform: scale(1.02);
  filter: saturate(1);
  z-index: 2;
}

.mosaic-item:nth-child(1) { grid-column: 1 / 5;  grid-row: 1 / 3; }
.mosaic-item:nth-child(2) { grid-column: 5 / 8;  grid-row: 1 / 2; }
.mosaic-item:nth-child(3) { grid-column: 8 / 13; grid-row: 1 / 2; }
.mosaic-item:nth-child(4) { grid-column: 5 / 10; grid-row: 2 / 3; }
.mosaic-item:nth-child(5) { grid-column: 10 / 13; grid-row: 2 / 3; }
.mosaic-item:nth-child(6) { grid-column: 1 / 7;  grid-row: 3 / 4; }
.mosaic-item:nth-child(7) { grid-column: 7 / 13; grid-row: 3 / 4; }

.mosaic-glyph {
  font-family: 'EB Garamond', serif;
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.2;
}

.mosaic-item:nth-child(1) .mosaic-glyph { font-size: 4rem; }

/* ════════════════════════════
   КОНТАКТЫ
════════════════════════════ */
.contact {
  background: var(--ink-light);
  padding: 7rem 3rem;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: start;
}

.contact-left h2 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.contact-left h2 em {
  font-style: italic;
  color: var(--gold-warm);
}

.contact-left p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(246, 240, 228, 0.4);
  margin-bottom: 2.5rem;
}

.contact-btn-wrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  transition: background 0.3s, color 0.3s;
}

.c-btn svg { width: 14px; height: 14px; }

.c-btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.c-btn-primary:hover { background: var(--gold-warm); }

.c-btn-outline {
  border: 1px solid var(--border-gold);
  color: var(--gold);
}

.c-btn-outline:hover { background: var(--gold-dim); }

/* Форма обратной связи */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(246, 240, 228, 0.35);
}

.form-input {
  background: rgba(200, 168, 75, 0.05);
  border: 1px solid rgba(200, 168, 75, 0.12);
  padding: 0.85rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--cream);
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}

.form-input::placeholder { color: rgba(246, 240, 228, 0.2); }
.form-input:focus { border-color: rgba(200, 168, 75, 0.4); }

.form-submit {
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 0.9rem 2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit:hover { background: var(--gold-warm); }

/* ════════════════════════════
   FOOTER
════════════════════════════ */
footer {
  background: var(--ink);
  padding: 5rem 3rem 2.5rem;
  border-top: 1px solid var(--border-gold);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(200, 168, 75, 0.08);
}

.footer-brand-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold-warm);
  margin-bottom: 0.8rem;
}

.footer-brand-sub {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(246, 240, 228, 0.25);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(200, 168, 75, 0.5);
  text-decoration: none;
  font-size: 0.7rem;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s, border-color 0.3s;
}

.footer-social a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 3rem;
}

.footer-nav-grid a {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  color: rgba(246, 240, 228, 0.25);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(200, 168, 75, 0.05);
  transition: color 0.3s, border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-nav-grid a:hover {
  color: var(--gold-warm);
  border-bottom-color: rgba(200, 168, 75, 0.15);
}

.footer-nav-grid a::after {
  content: '→';
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.75rem;
}

.footer-nav-grid a:hover::after { opacity: 0.5; }

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(246, 240, 228, 0.15);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.72rem;
  color: rgba(246, 240, 228, 0.15);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ════════════════════════════
   АНИМАЦИИ
════════════════════════════ */
.up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.up.visible { opacity: 1; transform: translateY(0); }
.up.d1 { transition-delay: 0.1s; }
.up.d2 { transition-delay: 0.2s; }
.up.d3 { transition-delay: 0.3s; }
.up.d4 { transition-delay: 0.4s; }
.up.d5 { transition-delay: 0.5s; }
.up.d6 { transition-delay: 0.6s; }
.up.d7 { transition-delay: 0.7s; }
.up.d8 { transition-delay: 0.8s; }

/* ════════════════════════════
   АДАПТИВ
════════════════════════════ */
@media (max-width: 1100px) {
  .orisha-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 4rem; }
  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
  .about-columns { grid-template-columns: 1fr; gap: 1.5rem; }
  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 160px);
  }
  .mosaic-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; }
  .mosaic-item:nth-child(2) { grid-column: 1 / 2; grid-row: 2 / 3; }
  .mosaic-item:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
  .mosaic-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3 / 4; }
  .mosaic-item:nth-child(5) { display: none; }
  .mosaic-item:nth-child(6) { grid-column: 1 / 2; grid-row: 4 / 5; }
  .mosaic-item:nth-child(7) { grid-column: 2 / 3; grid-row: 4 / 5; }
}

@media (max-width: 768px) {
  header { padding: 0 1.5rem; }

  nav {
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: rgba(12, 14, 20, 0.98);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }

  nav.open { transform: translateX(0); }

  nav a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(200, 168, 75, 0.06);
    font-size: 1rem;
    color: rgba(246, 240, 228, 0.5);
    text-transform: none;
    letter-spacing: 0.05em;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
    border: 1px solid var(--border-gold);
  }

  .burger { display: flex; }

  .hero-title { font-size: 3.5rem; }
  .ring-4, .ring-5 { display: none; }

  .sections-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-link {
    grid-template-columns: 50px 1fr auto;
    gap: 1rem;
  }

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

  .about, .sections, .orisha, .big-quote,
  .gallery, .contact { padding: 5rem 1.5rem; }

  .footer-nav-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; text-align: center; }
}
  
/* ════════════════════════════
   PAGE HERO (уменьшенный)
════════════════════════════ */
.page-hero {
  padding-top: 68px;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

/* Декоративные полукружья */
.hero-arc {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-arc-1 { width: 260px; height: 260px; opacity: 0.5; }
.hero-arc-2 { width: 440px; height: 440px; opacity: 0.25; }
.hero-arc-3 { width: 620px; height: 620px; opacity: 0.12; }
.hero-arc-4 { width: 800px; height: 800px; opacity: 0.06; }

/* Вращающийся маленький орнамент */
.hero-spinner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 320px;
  animation: spin 90s linear infinite;
  pointer-events: none;
}

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-spinner svg { width: 100%; height: 100%; }

.hero-cross-v {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1px; height: 160px;
  background: linear-gradient(to bottom, transparent, rgba(200, 168, 75, 0.2), transparent);
}

.hero-cross-v::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  width: 160px; height: 1px;
  background: inherit;
}

.hero-dot-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}

.page-hero-content {
  position: relative;
  z-index: 10;
  padding: 3rem 2rem;
}

/* Хлебные крошки */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.breadcrumb a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200, 168, 75, 0.45);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb-sep {
  color: rgba(200, 168, 75, 0.25);
  font-size: 0.65rem;
}

.breadcrumb-current {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

.page-hero-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 1.4rem;
}

.role-hero-glyph {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.page-hero-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.page-hero-title em {
  font-style: italic;
  color: var(--gold-warm);
}

.page-hero-lead {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(246, 240, 228, 0.45);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-ornament-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  opacity: 0.3;
}

/* ════════════════════════════
   INTRO — светлая
════════════════════════════ */
.intro {
  background: var(--cream);
  padding: 6rem 3rem;
}

.intro-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-tag-line { width: 30px; height: 1px; background: var(--gold); }

.section-tag-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.intro-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.intro-title em { font-style: italic; color: var(--gold); }

.intro-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.intro-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-mid);
}

.intro-body p + p { margin-top: 1.2rem; }

/* Первая буква */
.drop-cap::first-letter {
  font-family: 'EB Garamond', serif;
  font-size: 3.8rem;
  font-weight: 700;
  float: left;
  line-height: 0.75;
  margin-right: 0.15em;
  margin-top: 0.1em;
  color: var(--gold);
}

/* ════════════════════════════
   TIMELINE
════════════════════════════ */
.timeline {
  background: var(--ink-light);
  padding: 7rem 3rem;
}

.timeline-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.timeline-header {
  margin-bottom: 5rem;
}

.timeline-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--cream);
}

/* Вертикальная линия таймлайна */
.timeline-track {
  position: relative;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    var(--border-gold) 5%,
    var(--border-gold) 95%,
    transparent
  );
}

/* Один период */
.era {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 2.5rem;
  margin-bottom: 0;
  position: relative;
}

/* Точка на линии */
.era-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.3rem;
}

.era-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--ink-light);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background 0.3s, box-shadow 0.3s;
}

.era:hover .era-dot {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(200, 168, 75, 0.4);
}

/* Контент эпохи */
.era-body {
  padding-bottom: 4rem;
}

.era:last-child .era-body { padding-bottom: 0; }

.era-period {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 0.7rem;
}

.era-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.era-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(246, 240, 228, 0.5);
  max-width: 680px;
}

.era-text p + p { margin-top: 1rem; }

/* Вставная карточка-факт */
.era-fact {
  display: inline-flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(200, 168, 75, 0.05);
  border: 1px solid var(--border-gold);
  padding: 1.2rem 1.4rem;
  margin-top: 1.5rem;
  max-width: 480px;
}

.era-fact-icon {
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
  line-height: 1.4;
}

.era-fact-text {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(246, 240, 228, 0.45);
  line-height: 1.6;
}

/* Картинка-плейсхолдер в таймлайне */
.era-image {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(200, 168, 75, 0.06), rgba(200, 168, 75, 0.02));
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.era-image-glyph {
  font-family: 'EB Garamond', serif;
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.15;
}

/* Разделитель между эпохами */
.era-sep {
  grid-column: 2;
  height: 1px;
  background: var(--border-gold);
  margin: 0 0 4rem;
  opacity: 0.3;
}

/* ════════════════════════════
   БОЛЬШАЯ ЦИТАТА
════════════════════════════ */
.big-quote {
  padding: 6rem 3rem;
  background: var(--ink-mid);
  position: relative;
  overflow: hidden;
}

.big-quote::before {
  content: '"';
  position: absolute;
  top: -2rem; left: 2rem;
  font-family: 'EB Garamond', serif;
  font-size: 20rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.04;
  pointer-events: none;
}

.big-quote-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.big-quote blockquote {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.big-quote blockquote strong {
  font-style: normal;
  color: var(--gold-warm);
}

.big-quote cite {
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.5;
}

/* ════════════════════════════
   КАРТЫ / КЛЮЧЕВЫЕ МЕСТА
════════════════════════════ */
.geo {
  background: var(--ink);
  padding: 7rem 3rem;
}

.geo-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.geo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-gold);
  margin-top: 3.5rem;
}

.geo-card {
  background: var(--ink);
  padding: 2.5rem 2rem;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}

.geo-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.geo-card:hover { background: var(--ink-light); }
.geo-card:hover::after { transform: scaleX(1); }

.geo-icon {
  font-size: 1.8rem;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: 1rem;
}

.geo-place {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
}

.geo-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin: 0.5rem 0.3rem 0;
}

.geo-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(246, 240, 228, 0.4);
  margin-top: 0.8rem;
}

/* ════ GALLERY PAGE ════ */
.filters-bar {
  position: sticky;
  top: 72px;
  z-index: 80;
  background: rgba(12, 14, 20, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  padding: 1rem 3rem;
}

.filters-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(246, 240, 228, 0.25);
  margin-right: 0.5rem;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(200, 168, 75, 0.2);
  background: transparent;
  color: rgba(246, 240, 228, 0.4);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  font-family: 'Jost', sans-serif;
}

.filter-btn:hover { color: var(--gold-warm); border-color: var(--border-gold); }
.filter-btn.active { color: var(--gold-warm); border-color: var(--gold); background: var(--gold-dim); }

.gallery-section { background: var(--ink); padding: 4rem 3rem 6rem; }

.gallery-inner { max-width: 1200px; margin: 0 auto; }

.gallery-count {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(246, 240, 228, 0.25);
  margin-bottom: 2.5rem;
  text-align: right;
}

.gallery-grid {
  columns: 4;
  column-gap: 12px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--ink-light);
  border: 1px solid transparent;
  transition: border-color 0.3s;
}

.gallery-item:hover { border-color: var(--border-gold); }

.gallery-thumb {
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}

.gallery-item:nth-child(3n+1) .gallery-thumb { aspect-ratio: 3/4; }
.gallery-item:nth-child(3n+2) .gallery-thumb { aspect-ratio: 1/1; }
.gallery-item:nth-child(3n)   .gallery-thumb { aspect-ratio: 4/5; }
.gallery-item:nth-child(7)    .gallery-thumb { aspect-ratio: 3/2; }
.gallery-item:nth-child(11)   .gallery-thumb { aspect-ratio: 1/1.2; }

.gallery-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 168, 75, 0.08) 0%, rgba(200, 168, 75, 0.02) 100%);
  transition: opacity 0.4s;
}

.gallery-item:hover .gallery-bg { opacity: 0; }

.gallery-glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--gold);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.4s;
}

.gallery-item:hover .gallery-glyph { opacity: 0.3; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 20, 0.85) 0%, rgba(12, 14, 20, 0.2) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-cat {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: 0.3rem;
}

.gallery-caption {
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  color: var(--cream);
  line-height: 1.3;
}

.gallery-zoom {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(200, 168, 75, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
  background: rgba(12, 14, 20, 0.5);
}

.gallery-item:hover .gallery-zoom { opacity: 1; }
.gallery-zoom svg { width: 14px; height: 14px; }

.gallery-item.hidden { opacity: 0.15; pointer-events: none; }

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img { transform: scale(1.05); }

.gallery-count {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 240, 228, 0.35);
  margin-bottom: 2rem;
}

.gallery-empty {
  text-align: center;
  padding: 5rem 2rem;
  color: rgba(246, 240, 228, 0.3);
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  transition: background 0.3s;
}

.lightbox-close:hover { background: rgba(200,168,75,0.15); }
.lightbox-close svg { width: 18px; height: 18px; }

.lightbox-inner {
  position: relative;
  max-width: min(90vw, 960px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border: 1px solid var(--border-gold);
}

.lightbox-info {
  text-align: center;
}

.lightbox-cat {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 0.3rem;
}

.lightbox-caption {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: rgba(246, 240, 228, 0.7);
}

@media (max-width: 1100px) { .gallery-grid { columns: 3; } }
@media (max-width: 768px) {
  .filters-bar { top: 60px; padding: 1.2rem 1.25rem; }
  .gallery-section { padding: 3rem 1.25rem 4rem; }
  .gallery-grid { columns: 2; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; }
}
@media (max-width: 480px) { .gallery-grid { columns: 1; } }

/* ════ HOME GALLERY MOSAIC WITH IMAGES ════ */
.mosaic-item--linked {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}

.mosaic-item--linked:hover { border-color: var(--border-gold); }

.mosaic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.mosaic-item--linked:hover .mosaic-img { transform: scale(1.04); }

.mosaic-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(to top, rgba(12,14,20,0.85) 0%, transparent 100%);
  font-family: 'EB Garamond', serif;
  font-size: 0.82rem;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.35s;
  line-height: 1.3;
}

.mosaic-item--linked:hover .mosaic-caption { opacity: 1; }

.mosaic-caption--glyph {
  background: linear-gradient(to top, rgba(12,14,20,0.7) 0%, transparent 100%);
  font-size: 0.75rem;
  color: rgba(246,240,228,0.5);
}

/* ════ LIGHTBOX ════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12, 14, 20, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

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

.lb-inner {
  position: relative;
  max-width: min(90vw, 900px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-media {
  width: 100%;
  position: relative;
}

.lb-real-img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  border: 1px solid var(--border-gold);
}

.lb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: min(600px, 80vw);
  min-height: 400px;
  background: linear-gradient(135deg, rgba(200, 168, 75, 0.07) 0%, rgba(200, 168, 75, 0.02) 100%);
  border: 1px solid var(--border-gold);
}

.lb-placeholder-glyph {
  font-family: 'EB Garamond', serif;
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.2;
}

.lb-info {
  width: 100%;
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lb-caption {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: rgba(246, 240, 228, 0.6);
}

.lb-counter {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(246, 240, 228, 0.25);
  flex-shrink: 0;
}

.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-gold);
  background: rgba(12, 14, 20, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.lb-btn:hover { background: var(--gold-dim); border-color: var(--gold); }
.lb-btn svg { width: 18px; height: 18px; }
.lb-prev { left: -60px; }
.lb-next { right: -60px; }

.lb-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-gold);
  background: rgba(12, 14, 20, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(246, 240, 228, 0.5);
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.3s, border-color 0.3s;
}

.lb-close:hover { color: var(--gold); border-color: var(--gold); }

/* Mosaic overlay on hover */
.mosaic-item--linked { cursor: pointer; }
.mosaic-item--linked:focus { outline: 1px solid var(--gold); }

.mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,14,20,0.85) 0%, rgba(12,14,20,0.15) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
  gap: 0.4rem;
}

.mosaic-item--linked:hover .mosaic-overlay { opacity: 1; }

.mosaic-zoom-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200,168,75,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.mosaic-zoom-icon svg { width: 14px; height: 14px; }

.mosaic-caption {
  font-family: 'EB Garamond', serif;
  font-size: 0.82rem;
  color: var(--cream);
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .lb-prev { left: -48px; }
  .lb-next { right: -48px; }
}

@media (max-width: 768px) {
  .lb-placeholder { min-width: unset; min-height: 260px; }
  .lb-inner { max-width: 95vw; }
  .lb-btn { display: none; }
  .lb-close { top: -44px; }
}

/* ════════════════════════════
   КЛЮЧЕВЫЕ ДАТЫ (history page)
════════════════════════════ */
.dates {
  background: var(--ink-light);
  padding: 5rem 3rem;
  overflow: hidden;
}

.dates-inner { max-width: 1100px; margin: 0 auto; }

.dates-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border-gold) transparent;
  padding-bottom: 1rem;
}

.dates-scroll::-webkit-scrollbar { height: 3px; }
.dates-scroll::-webkit-scrollbar-track { background: transparent; }
.dates-scroll::-webkit-scrollbar-thumb { background: var(--border-gold); }

.dates-row {
  display: flex;
  gap: 0;
  min-width: max-content;
  border-top: 1px solid var(--border-gold);
  padding-top: 2rem;
  margin-top: 2.5rem;
}

.date-item {
  padding: 0 2.5rem 0 0;
  flex-shrink: 0;
  position: relative;
}

.date-item::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: 0;
  width: 1px;
  height: 1rem;
  background: var(--border-gold);
}

.date-year {
  font-family: 'EB Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.date-event {
  font-size: 0.82rem;
  color: rgba(246, 240, 228, 0.45);
  line-height: 1.5;
  max-width: 180px;
}

/* ════════════════════════════
   НАВИГАЦИЯ ПО РАЗДЕЛАМ (history page)
════════════════════════════ */
.article-nav {
  background: var(--ink);
  padding: 5rem 3rem;
  border-top: 1px solid var(--border-gold);
}

.article-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-gold);
}

.article-nav-item {
  background: var(--ink);
  padding: 2.5rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.4s;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.article-nav-item:hover { background: var(--ink-light); }

.nav-direction {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200, 168, 75, 0.4);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-direction svg { width: 14px; height: 14px; }

.nav-item-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--cream);
  transition: color 0.3s;
}

.article-nav-item:hover .nav-item-title { color: var(--gold-warm); }

.nav-item-desc {
  font-size: 0.82rem;
  color: rgba(246, 240, 228, 0.3);
  line-height: 1.5;
}

.nav-back { text-align: right; }
.nav-back .nav-direction { justify-content: flex-end; }

/* Адаптив для dates и article-nav */
@media (max-width: 900px) {
  .article-nav-inner { grid-template-columns: 1fr; }
  .nav-back { text-align: left; }
  .nav-back .nav-direction { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .dates { padding: 3rem 1.25rem; }
  .article-nav { padding: 3rem 1.25rem; }
  .article-nav-item { padding: 2rem 1.5rem; }
  .date-item { padding-right: 2rem; }
  .date-year { font-size: 1.4rem; }
}

/* ════════════════════════════
   ERA-IMAGE с лайтбоксом (history page)
════════════════════════════ */
.era-image--linked {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  max-width: 480px;
  margin-top: 1.5rem;
  display: block;
}

.era-img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.era-image--linked:hover .era-img {
  transform: scale(1.04);
}

.era-image-hover {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 20, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.era-image--linked:hover .era-image-hover,
.era-image--linked:focus .era-image-hover {
  opacity: 1;
}

.era-image-hover svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
  stroke: var(--gold);
}

.era-image--linked:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ════════════════════════════
   COSMOLOGY PAGE — общие заголовки
════════════════════════════ */
.section-title-light {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.15;
}

.section-title-light em { font-style: italic; color: var(--gold); }

.section-title-dark {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.15;
}

/* ════════════════════════════
   INTRO (cosmology variant)
════════════════════════════ */
.intro-lead {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.intro-lead em { font-style: italic; color: var(--gold); }

.intro-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.intro-cols p { font-size: 1.05rem; line-height: 1.9; color: var(--text-mid); }
.intro-cols p + p { margin-top: 1rem; }

/* ════════════════════════════
   ТРИ МИРА
════════════════════════════ */
.three-worlds {
  background: var(--ink-light);
  padding: 7rem 3rem;
}

.three-worlds-inner { max-width: 1100px; margin: 0 auto; }

.worlds-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: center;
  margin-top: 4rem;
}

.worlds-diagram {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.world-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.world-ring-orun {
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(200,168,75,0.04) 0%, transparent 70%);
}

.world-ring-aiye {
  width: 65%; height: 65%;
  background: rgba(200,168,75,0.03);
}

.world-ring-ile {
  width: 32%; height: 32%;
  background: rgba(200,168,75,0.06);
  border-color: rgba(200,168,75,0.4);
}

.world-dot-center {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

.world-label {
  position: absolute;
  text-align: center;
  pointer-events: none;
}

.world-label-orun  { top: 8px; left: 50%; transform: translateX(-50%); }
.world-label-aiye  { top: 28%; left: 50%; transform: translateX(-50%); }
.world-label-ile   { top: 44%; left: 50%; transform: translateX(-50%); }

.world-label-name {
  font-family: 'EB Garamond', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold-warm);
  display: block;
}

.world-label-desc {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(246,240,228,0.3);
  display: block;
  margin-top: 2px;
}

.worlds-list { display: flex; flex-direction: column; gap: 2.5rem; }

.world-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

.world-num {
  font-family: 'EB Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  text-align: right;
}

.world-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.world-name em {
  font-style: italic;
  color: var(--gold-warm);
  font-size: 1rem;
  margin-left: 0.5rem;
}

.world-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(246,240,228,0.45);
}

/* ════════════════════════════
   ОЛОДУМАРЕ
════════════════════════════ */
.olodumare {
  background: var(--ink);
  padding: 7rem 3rem;
}

.olodumare-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.olo-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.olo-title em { font-style: italic; color: var(--gold-warm); }

.olo-body p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(246,240,228,0.5);
  margin-bottom: 1.2rem;
}

.olo-body p strong { color: var(--cream); font-weight: 600; }

.concept-card {
  background: rgba(200,168,75,0.05);
  border: 1px solid var(--border-gold);
  padding: 2rem;
  position: relative;
}

.concept-card-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 1.2rem;
}

.concept-card-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--gold-warm);
  margin-bottom: 0.8rem;
}

.concept-card-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(246,240,228,0.45);
}

.concept-card-glyph {
  position: absolute;
  bottom: 1rem; right: 1.5rem;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.06;
  font-family: 'EB Garamond', serif;
  pointer-events: none;
}

/* ════════════════════════════
   АШЕ
════════════════════════════ */
.ashe-section {
  background: var(--cream);
  padding: 6rem 3rem;
}

.ashe-inner { max-width: 1100px; margin: 0 auto; }

.ashe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(74,66,54,0.15);
  margin-top: 3rem;
}

.ashe-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.ashe-card:hover { background: var(--cream-mid); }

.ashe-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.ashe-card:hover::before { transform: scaleX(1); }

.ashe-icon {
  font-size: 1.8rem;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: 1.2rem;
  transition: opacity 0.3s;
}

.ashe-card:hover .ashe-icon { opacity: 0.85; }

.ashe-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.ashe-name em { font-style: italic; color: var(--gold); }

.ashe-desc { font-size: 0.88rem; line-height: 1.7; color: var(--text-light); }

/* ════════════════════════════
   ПАНТЕОН ОРИША (cosmology)
════════════════════════════ */
.pantheon {
  background: var(--ink-light);
  padding: 7rem 3rem;
}

.pantheon-inner { max-width: 1100px; margin: 0 auto; }

.pantheon-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
  align-items: end;
}

.pantheon-intro p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(246,240,228,0.45);
}

.cosm-orisha-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.cosm-orisha-card {
  background: var(--ink);
  border: 1px solid var(--border-gold);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, background 0.4s;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

.cosm-orisha-card:hover {
  border-color: rgba(200,168,75,0.5);
  background: var(--ink-light);
}

.cosm-orisha-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.cosm-orisha-card:hover::after { opacity: 0.4; }

.cosm-orisha-glyph-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.cosm-orisha-glyph-wrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
  opacity: 0.6;
  transition: opacity 0.3s, border-color 0.3s;
  flex-shrink: 0;
}

.cosm-orisha-card:hover .cosm-orisha-glyph-wrap {
  opacity: 1;
  border-color: rgba(200,168,75,0.5);
}

.cosm-orisha-number {
  font-family: 'EB Garamond', serif;
  font-size: 0.75rem;
  color: var(--gold);
  opacity: 0.35;
  letter-spacing: 0.05em;
}

.cosm-orisha-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.cosm-orisha-domain-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 0.8rem;
}

.cosm-orisha-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(246,240,228,0.4);
  margin-bottom: 1rem;
}

.cosm-orisha-attrs { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.cosm-orisha-attr {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(200,168,75,0.15);
  color: rgba(246,240,228,0.3);
}

.cosm-orisha-card-featured {
  grid-column: 1 / -1;
  grid-template-columns: 120px 1fr;
}

.cosm-orisha-card-featured .cosm-orisha-glyph-wrap {
  width: 88px; height: 88px;
  font-size: 2rem;
}

.cosm-orisha-card-featured .cosm-orisha-name { font-size: 1.8rem; }

/* ════════════════════════════
   ИФА
════════════════════════════ */
.ifa {
  background: var(--ink);
  padding: 7rem 3rem;
}

.ifa-inner { max-width: 1100px; margin: 0 auto; }

.ifa-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
  align-items: center;
}

.ifa-body p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(246,240,228,0.5);
  margin-bottom: 1.2rem;
}

.ifa-body p strong { color: var(--cream); }

.odu-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 1.5rem;
}

.odu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-gold);
}

.odu-cell {
  background: var(--ink-light);
  padding: 1rem;
  text-align: center;
  transition: background 0.3s;
}

.odu-cell:hover { background: var(--ink-mid); }

.odu-symbol {
  font-family: 'EB Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 0.3rem;
}

.odu-name { font-size: 0.72rem; color: rgba(246,240,228,0.35); letter-spacing: 0.04em; }

/* ════════════════════════════
   АДАПТИВ — cosmology
════════════════════════════ */
@media (max-width: 1024px) {
  .worlds-layout { grid-template-columns: 1fr; gap: 3rem; }
  .worlds-diagram { max-width: 320px; }
  .olodumare-inner { grid-template-columns: 1fr; gap: 3rem; }
  .ifa-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
  .intro-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .pantheon-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .ashe-grid { grid-template-columns: 1fr; }
  .cosm-orisha-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .three-worlds, .olodumare, .ashe-section, .pantheon, .ifa {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .three-worlds { padding-top: 4rem; padding-bottom: 4rem; }
  .olodumare { padding-top: 4rem; padding-bottom: 4rem; }
  .ashe-section { padding-top: 4rem; padding-bottom: 4rem; }
  .pantheon { padding-top: 4rem; padding-bottom: 4rem; }
  .ifa { padding-top: 4rem; padding-bottom: 4rem; }
  .worlds-diagram { display: none; }
  .worlds-layout { grid-template-columns: 1fr; }
  .cosm-orisha-card-featured { grid-template-columns: 80px 1fr; }
  .cosm-orisha-card-featured .cosm-orisha-glyph-wrap { width: 64px; height: 64px; font-size: 1.6rem; }
  .cosm-orisha-card-featured .cosm-orisha-name { font-size: 1.4rem; }
  .odu-cell { padding: 0.75rem 0.5rem; }
}

@media (max-width: 480px) {
  .cosm-orisha-card { grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.5rem; }
  .cosm-orisha-glyph-wrap { width: 52px; height: 52px; font-size: 1.3rem; }
  .odu-grid { grid-template-columns: repeat(2, 1fr); }
  .world-item { grid-template-columns: 36px 1fr; gap: 1rem; }
  .world-num { font-size: 1.5rem; }
}

/* ════════════════════════════
   INITIATIONS PAGE — заголовки (псевдонимы для совместимости)
════════════════════════════ */
.sec-title-dark {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.15;
}

.sec-title-dark em { font-style: italic; color: var(--gold-warm); }

.sec-title-light {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.15;
}

.sec-title-light em { font-style: italic; color: var(--gold); }

/* ════════════════════════════
   ЛЕСТНИЦА ПОСВЯЩЕНИЙ
════════════════════════════ */
.ladder { background: var(--ink-light); padding: 7rem 3rem; }
.ladder-inner { max-width: 1100px; margin: 0 auto; }
.ladder-header { margin-bottom: 5rem; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 36px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    var(--border-gold) 5%,
    var(--border-gold) 95%,
    transparent
  );
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 2.5rem;
  position: relative;
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
  gap: 0;
}

.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'EB Garamond', serif;
  font-size: 0.9rem;
  color: var(--gold);
  background: var(--ink-light);
  position: relative; z-index: 1;
  transition: background 0.4s, box-shadow 0.4s;
  flex-shrink: 0;
}

.step:hover .step-num {
  background: rgba(200,168,75,0.12);
  box-shadow: 0 0 16px rgba(200,168,75,0.25);
}

.step-body { padding-bottom: 4rem; }
.step:last-child .step-body { padding-bottom: 0; }

.step-type {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold); opacity: 0.55;
  margin-bottom: 0.5rem;
}

.step-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 500; color: var(--cream);
  margin-bottom: 0.3rem; line-height: 1.25;
}

.step-subtitle {
  font-family: 'EB Garamond', serif;
  font-size: 1rem; font-style: italic;
  color: var(--gold-warm); opacity: 0.7;
  margin-bottom: 1rem;
}

.step-text {
  font-size: 0.9rem; line-height: 1.85;
  color: rgba(246,240,228,0.45);
  max-width: 640px;
}

.step-text p + p { margin-top: 0.9rem; }

.step-insight {
  display: flex; align-items: flex-start; gap: 1rem;
  background: rgba(200,168,75,0.04);
  border: 1px solid var(--border-gold);
  padding: 1.2rem 1.4rem;
  margin-top: 1.2rem;
  max-width: 560px;
}

.step-insight-icon { font-size: 1rem; color: var(--gold); opacity: 0.5; flex-shrink: 0; margin-top: 2px; }

.step-insight-text {
  font-family: 'EB Garamond', serif;
  font-size: 0.98rem; font-style: italic;
  color: rgba(246,240,228,0.4); line-height: 1.6;
}

.step-sep {
  grid-column: 2;
  height: 1px;
  background: var(--border-gold);
  margin: 0 0 4rem;
  opacity: 0.25;
}

/* ════════════════════════════
   ГОД В БЕЛОМ — ийаво
════════════════════════════ */
.iyawo { background: var(--cream); padding: 7rem 3rem; }
.iyawo-inner { max-width: 1100px; margin: 0 auto; }

.iyawo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 4rem;
}

.iyawo-text p {
  font-size: 1.05rem; line-height: 1.9;
  color: var(--text-mid); margin-bottom: 1.2rem;
}

.iyawo-text p strong { color: var(--text-dark); }
.iyawo-text p em { font-style: italic; color: var(--gold); }

.rules-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.2rem; font-weight: 500;
  color: var(--text-dark); margin-bottom: 1.2rem;
}

.rules-list { list-style: none; display: flex; flex-direction: column; gap: 0; }

.rules-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(74,66,54,0.1);
  font-size: 0.88rem; line-height: 1.6; color: var(--text-mid);
}

.rules-list li:first-child { border-top: 1px solid rgba(74,66,54,0.1); }

.rule-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid rgba(200,168,75,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--gold); margin-top: 1px;
}

/* ════════════════════════════
   РОЛИ
════════════════════════════ */
.roles { background: var(--ink); padding: 7rem 3rem; }
.roles-inner { max-width: 1100px; margin: 0 auto; }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-gold);
  margin-top: 4rem;
}

.role-card {
  background: var(--ink);
  padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: background 0.4s;
}

.role-card:hover { background: var(--ink-light); }

.role-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}

.role-card:hover::before { transform: scaleX(1); }

.role-icon {
  font-size: 1.8rem; color: var(--gold); opacity: 0.35;
  display: block; margin-bottom: 1.2rem; transition: opacity 0.3s;
}

.role-card:hover .role-icon { opacity: 0.8; }

.role-type {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold); opacity: 0.6; margin-bottom: 0.5rem;
}

.role-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.4rem; font-weight: 500; color: var(--cream); margin-bottom: 0.4rem;
}

.role-altname {
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem; font-style: italic;
  color: var(--gold-warm); opacity: 0.6; margin-bottom: 1rem;
}

.role-desc { font-size: 0.85rem; line-height: 1.75; color: rgba(246,240,228,0.35); }

/* ════════════════════════════
   ПРИНЦИПЫ
════════════════════════════ */
.principles { background: var(--ink-mid); padding: 7rem 3rem; }
.principles-inner { max-width: 1100px; margin: 0 auto; }

.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.principle {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border-gold);
  transition: border-color 0.4s, background 0.4s;
}

.principle:hover {
  border-color: rgba(200,168,75,0.4);
  background: rgba(200,168,75,0.03);
}

.principle-num {
  font-family: 'EB Garamond', serif;
  font-size: 1.8rem; color: var(--gold);
  opacity: 0.2; text-align: right; line-height: 1;
}

.principle-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem; font-weight: 500;
  color: var(--cream); margin-bottom: 0.5rem;
}

.principle-text {
  font-size: 0.85rem; line-height: 1.7;
  color: rgba(246,240,228,0.4);
}

/* ════════════════════════════
   АДАПТИВ — initiations
════════════════════════════ */
@media (max-width: 1024px) {
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .iyawo-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
  .principles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .ladder, .iyawo, .roles, .principles {
    padding-left: 1.25rem; padding-right: 1.25rem;
  }
  .ladder { padding-top: 4rem; padding-bottom: 4rem; }
  .iyawo { padding-top: 4rem; padding-bottom: 4rem; }
  .roles { padding-top: 4rem; padding-bottom: 4rem; }
  .principles { padding-top: 4rem; padding-bottom: 4rem; }

  .steps::before { left: 16px; }
  .step { grid-template-columns: 36px 1fr; gap: 0 1rem; }
  .step-num { width: 30px; height: 30px; font-size: 0.8rem; }
  .step-body { padding-bottom: 2.5rem; }
  .step-insight { max-width: 100%; }

  .roles-grid { grid-template-columns: 1fr; }
  .principle { grid-template-columns: 40px 1fr; gap: 1rem; padding: 1.5rem; }
}

@media (max-width: 480px) {
  .step { grid-template-columns: 28px 1fr; gap: 0 0.75rem; }
  .steps::before { left: 10px; }
  .step-num { width: 26px; height: 26px; font-size: 0.72rem; }
}

/* ════════════════════════════
   LINEAGE PAGE — ключевые понятия
════════════════════════════ */
.concepts { background: var(--ink-light); padding: 7rem 3rem; }
.concepts-inner { max-width: 1100px; margin: 0 auto; }

.concepts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-gold);
  margin-top: 4rem;
}

.lg-concept-card {
  background: var(--ink-light);
  padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: background 0.4s;
}

.lg-concept-card:hover { background: var(--ink-mid); }

.lg-concept-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-warm));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}

.lg-concept-card:hover::after { transform: scaleX(1); }

.lg-concept-word {
  font-family: 'EB Garamond', serif;
  font-size: 0.75rem; font-style: italic;
  color: var(--gold); opacity: 0.6;
  letter-spacing: 0.1em; margin-bottom: 0.6rem;
}

.lg-concept-name {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500; color: var(--cream); margin-bottom: 1rem;
}

.lg-concept-body {
  font-size: 0.9rem; line-height: 1.8;
  color: rgba(246,240,228,0.45);
}

.lg-concept-body p + p { margin-top: 0.8rem; }

.lg-concept-glyph {
  position: absolute; bottom: 1rem; right: 1.5rem;
  font-size: 5rem; color: var(--gold); opacity: 0.04;
  font-family: 'EB Garamond', serif; pointer-events: none; line-height: 1;
}

/* ════════════════════════════
   LINEAGE — ЦЕПЬ ПЕРЕДАЧИ
════════════════════════════ */
.chain-section { background: var(--ink); padding: 7rem 3rem; }
.chain-inner { max-width: 1100px; margin: 0 auto; }

.chain-desc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
  margin-bottom: 5rem;
}

.chain-desc p { font-size: 0.95rem; line-height: 1.85; color: rgba(246,240,228,0.45); }
.chain-desc p + p { margin-top: 1rem; }
.chain-desc p strong { color: var(--cream); }

.chain-visual {
  position: relative;
  padding: 2rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.chain-row {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 680px;
}

.chain-node { flex-shrink: 0; text-align: center; position: relative; }

.chain-node-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.8rem;
  font-family: 'EB Garamond', serif;
  font-size: 1.4rem; color: var(--gold); opacity: 0.7;
}

.chain-node.first .chain-node-ring {
  border-color: var(--gold-warm);
  background: rgba(200,168,75,0.07);
  opacity: 1;
  width: 88px; height: 88px; font-size: 1.8rem;
}

.chain-node.highlight .chain-node-ring {
  border-color: var(--gold-warm);
  color: var(--gold-warm);
  opacity: 1;
}

.chain-node.dim .chain-node-ring {
  border-color: rgba(200,168,75,0.3);
  opacity: 0.4;
}

.chain-node-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; color: rgba(246,240,228,0.45);
  white-space: nowrap;
}

.chain-node.first .chain-node-label,
.chain-node.highlight .chain-node-label { color: var(--gold-warm); }

.chain-link {
  flex: 1; min-width: 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 4px; padding: 0 4px;
}

.chain-link-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-warm));
  opacity: 0.25;
}

.chain-link-arrow { font-size: 0.7rem; color: var(--gold); opacity: 0.4; flex-shrink: 0; }

/* ════════════════════════════
   LINEAGE — КАК РАБОТАЕТ
════════════════════════════ */
.how { background: var(--cream); padding: 7rem 3rem; }
.how-inner { max-width: 1100px; margin: 0 auto; }

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  background: rgba(74,66,54,0.15);
  margin-top: 4rem;
}

.how-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: background 0.4s;
}

.how-card:hover { background: var(--cream-mid); }

.how-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}

.how-card:hover::before { transform: scaleX(1); }

.how-num {
  font-family: 'EB Garamond', serif;
  font-size: 3.5rem; color: var(--gold); opacity: 0.12;
  font-weight: 400; line-height: 1; margin-bottom: 1.2rem;
}

.how-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.25rem; font-weight: 500;
  color: var(--text-dark); margin-bottom: 0.7rem;
}

.how-body { font-size: 0.88rem; line-height: 1.75; color: var(--text-light); }

/* ════════════════════════════
   LINEAGE — ОБЯЗАННОСТИ
════════════════════════════ */
.duties { background: var(--ink-light); padding: 7rem 3rem; }
.duties-inner { max-width: 1100px; margin: 0 auto; }

.duties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.duty-block { display: flex; flex-direction: column; gap: 0; }

.duty-role { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }

.duty-role-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border: 1px solid var(--border-gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--gold); opacity: 0.6;
}

.duty-role-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.4rem; font-weight: 500; color: var(--cream);
}

.duty-role-sub {
  font-family: 'EB Garamond', serif;
  font-size: 0.9rem; font-style: italic; color: var(--gold-warm); opacity: 0.6;
}

.duty-list { list-style: none; display: flex; flex-direction: column; gap: 0; }

.duty-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(200,168,75,0.08);
  font-size: 0.88rem; line-height: 1.6;
  color: rgba(246,240,228,0.45);
}

.duty-list li:first-child { border-top: 1px solid rgba(200,168,75,0.08); }

.duty-bullet {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); opacity: 0.5; flex-shrink: 0; margin-top: 7px;
}

/* ════════════════════════════
   LINEAGE — ИСТОРИЧЕСКИЕ ЛИНИИ
════════════════════════════ */
.lineages { background: var(--ink); padding: 7rem 3rem; }
.lineages-inner { max-width: 1100px; margin: 0 auto; }

.lin-intro {
  font-size: 0.95rem; line-height: 1.85;
  color: rgba(246,240,228,0.45); max-width: 700px; margin: 2rem 0 4rem;
}

.lin-intro strong { color: var(--cream); }

.lin-table { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border-gold); }

.lin-row {
  display: grid; grid-template-columns: 200px 1fr;
  background: var(--ink); transition: background 0.3s;
}

.lin-row:hover { background: var(--ink-light); }

.lin-place {
  padding: 1.8rem 2rem;
  border-right: 1px solid var(--border-gold);
  display: flex; flex-direction: column; justify-content: center;
}

.lin-city {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem; font-weight: 500; color: var(--cream); margin-bottom: 0.2rem;
}

.lin-country {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); opacity: 0.5;
}

.lin-info { padding: 1.8rem 2rem; }

.lin-name {
  font-family: 'EB Garamond', serif;
  font-size: 1rem; font-style: italic; color: var(--gold-warm); margin-bottom: 0.5rem;
}

.lin-text { font-size: 0.85rem; line-height: 1.7; color: rgba(246,240,228,0.35); }

/* ════════════════════════════
   LINEAGE — ПОИСК ЛИНИИ + FAQ
════════════════════════════ */
.find { background: var(--cream); padding: 7rem 3rem; }
.find-inner { max-width: 1100px; margin: 0 auto; }

.find-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start; margin-top: 4rem;
}

.find-text p { font-size: 1.05rem; line-height: 1.9; color: var(--text-mid); margin-bottom: 1.2rem; }
.find-text p strong { color: var(--text-dark); }

.faq { display: flex; flex-direction: column; gap: 0; }

.faq-item { border-top: 1px solid rgba(74,66,54,0.15); }
.faq-item:last-child { border-bottom: 1px solid rgba(74,66,54,0.15); }

.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0;
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem; font-weight: 500; color: var(--text-dark);
  background: none; border: none; cursor: pointer;
  transition: color 0.3s;
}

.faq-q:hover { color: var(--gold); }

.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1px solid rgba(200,168,75,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--gold); transition: transform 0.3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  font-size: 0.9rem; line-height: 1.75; color: var(--text-light);
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.4s;
  padding-bottom: 0;
}

.faq-item.open .faq-a { max-height: 400px; padding-bottom: 1.2rem; }

/* ════════════════════════════
   АДАПТИВ — lineage
════════════════════════════ */
@media (max-width: 1024px) {
  .duties-grid { grid-template-columns: 1fr; gap: 4rem; }
  .find-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
  .chain-desc { grid-template-columns: 1fr; gap: 1.5rem; }
  .concepts-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .lin-row { grid-template-columns: 1fr; }
  .lin-place { border-right: none; border-bottom: 1px solid var(--border-gold); padding-bottom: 1rem; }
}

@media (max-width: 768px) {
  .concepts, .chain-section, .how, .duties, .lineages, .find {
    padding-left: 1.25rem; padding-right: 1.25rem;
  }
  .concepts { padding-top: 4rem; padding-bottom: 4rem; }
  .chain-section { padding-top: 4rem; padding-bottom: 4rem; }
  .how { padding-top: 4rem; padding-bottom: 4rem; }
  .duties { padding-top: 4rem; padding-bottom: 4rem; }
  .lineages { padding-top: 4rem; padding-bottom: 4rem; }
  .find { padding-top: 4rem; padding-bottom: 4rem; }

  .chain-row { min-width: 500px; }
  .chain-node-ring { width: 58px; height: 58px; font-size: 1.2rem; }
  .chain-node.first .chain-node-ring { width: 70px; height: 70px; font-size: 1.5rem; }
  .how-grid { grid-template-columns: 1fr; }
  .duties-grid { grid-template-columns: 1fr; gap: 3rem; }
  .lg-concept-card, .how-card { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .chain-row { min-width: 420px; }
}

/* ════════════════════════════
   ARTICLES PAGE
════════════════════════════ */

/* Тег категории */
.cat-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  opacity: 0.75;
}

/* Фильтры */
.filters-bar {
  background: var(--ink-light);
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border-gold);
}

.filters-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246,240,228,0.3);
  margin-right: 0.5rem;
}

/* ── Featured article ── */
.featured { background: var(--ink-light); padding: 5rem 3rem; }
.featured-inner { max-width: 1100px; margin: 0 auto; }

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-gold);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.4s;
  position: relative;
  overflow: hidden;
}

.featured-card:hover { border-color: rgba(200,168,75,0.5); }

.featured-image {
  min-height: 360px;
  background: linear-gradient(135deg, rgba(200,168,75,0.08) 0%, rgba(200,168,75,0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.featured-glyph {
  font-family: 'EB Garamond', serif;
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.1;
  line-height: 1;
}

.featured-label {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  padding: 0.3rem 0.8rem;
}

.featured-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.featured-date {
  font-size: 0.72rem;
  color: rgba(246,240,228,0.3);
  letter-spacing: 0.08em;
}

.featured-read {
  font-size: 0.72rem;
  color: rgba(246,240,228,0.3);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.featured-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  transition: color 0.3s;
}

.featured-card:hover .featured-title { color: var(--gold-warm); }

.featured-excerpt {
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(246,240,228,0.45);
  margin-bottom: 2rem;
  flex: 1;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Автор */
.author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-ava {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.78rem;
  color: rgba(246,240,228,0.45);
}

.read-link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.read-link svg { width: 14px; height: 14px; transition: transform 0.3s; }
.featured-card:hover .read-link svg { transform: translateX(4px); }

/* ── Articles grid ── */
.articles-section { background: var(--ink); padding: 6rem 3rem; }
.articles-inner { max-width: 1100px; margin: 0 auto; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.article-card {
  border: 1px solid var(--border-gold);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, background 0.4s;
  position: relative;
  overflow: hidden;
}

.article-card:hover {
  border-color: rgba(200,168,75,0.45);
  background: var(--ink-light);
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-warm));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.article-card:hover::before { transform: scaleX(1); }

.card-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(200,168,75,0.07) 0%, rgba(200,168,75,0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-gold);
  position: relative;
}

.card-thumb-glyph {
  font-family: 'EB Garamond', serif;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.12;
}

.card-body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.card-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.3;
  transition: color 0.3s;
}

.article-card:hover .card-title { color: var(--gold-warm); }

.card-excerpt {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(246,240,228,0.35);
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(200,168,75,0.08);
  margin-top: auto;
}

.card-date { font-size: 0.7rem; color: rgba(246,240,228,0.25); }

.card-read-time {
  font-size: 0.7rem;
  color: rgba(200,168,75,0.4);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Широкая карточка */
.article-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 280px 1fr;
  flex-direction: unset;
}

.article-card-wide .card-thumb {
  aspect-ratio: unset;
  border-bottom: none;
  border-right: 1px solid var(--border-gold);
}

.article-card-wide .card-thumb-glyph { font-size: 5rem; }
.article-card-wide .card-body { padding: 2.5rem; }
.article-card-wide .card-title { font-size: 1.5rem; }

/* Кнопка "Загрузить ещё" */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: 1px solid var(--border-gold);
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.load-more-btn:hover { background: var(--gold-dim); }

/* Скрытая статья при фильтрации */
.article-card.filtered-out {
  opacity: 0.15;
  pointer-events: none;
}

/* ════ Адаптив articles ════ */
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card-wide { grid-template-columns: 200px 1fr; }
}

@media (max-width: 900px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-image { min-height: 240px; }
  .article-card-wide { grid-column: unset; grid-template-columns: 1fr; }
  .article-card-wide .card-thumb { border-right: none; border-bottom: 1px solid var(--border-gold); }
}

@media (max-width: 768px) {
  .filters-bar { padding: 1.2rem 1.25rem; }
  .featured, .articles-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .featured { padding-top: 4rem; padding-bottom: 4rem; }
  .articles-section { padding-top: 4rem; padding-bottom: 4rem; }
  .featured-body { padding: 2rem 1.5rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card-wide { grid-template-columns: 1fr; }
  .article-card-wide .card-thumb { border-right: none; border-bottom: 1px solid var(--border-gold); }
}

@media (max-width: 480px) {
  .card-body { padding: 1.4rem; }
}

/* ── Articles section nav ── */
.art-nav {
  background: var(--ink);
  padding: 5rem 3rem;
  border-top: 1px solid var(--border-gold);
}

.art-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-gold);
}

.art-nav-item {
  background: var(--ink);
  padding: 2.5rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.4s;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.art-nav-item:hover { background: var(--ink-light); }

.nav-dir {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200,168,75,0.4);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-dir svg { width: 14px; height: 14px; }

.nav-t {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--cream);
  transition: color 0.3s;
}

.art-nav-item:hover .nav-t { color: var(--gold-warm); }

.nav-d {
  font-size: 0.82rem;
  color: rgba(246,240,228,0.3);
  line-height: 1.5;
}

.nav-r { text-align: right; }
.nav-r .nav-dir { justify-content: flex-end; }

@media (max-width: 900px) {
  .art-nav-inner { grid-template-columns: 1fr; }
  .nav-r { text-align: left; }
  .nav-r .nav-dir { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .art-nav { padding: 3rem 1.25rem; }
  .art-nav-item { padding: 2rem 1.5rem; }
}

/* ── Обложка статьи ── */
.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

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

.card-thumb { overflow: hidden; position: relative; }

.featured-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.featured-card:hover .featured-image-img { transform: scale(1.03); }

.featured-image { position: relative; overflow: hidden; }

/* ════════════════════════════
   ARTICLE PAGE
════════════════════════════ */

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: center;
}

.article-meta-author,
.article-meta-date,
.article-meta-read {
  font-size: 0.8rem;
  color: rgba(246,240,228,0.4);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.article-meta-sep { color: rgba(200,168,75,0.3); }

/* Обложка */
.article-cover {
  background: var(--ink-mid);
  border-bottom: 1px solid var(--border-gold);
}

.article-cover-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 3rem;
}

.article-cover-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* Тело статьи */
.article-body-section {
  background: var(--cream);
  padding: 5rem 3rem;
}

.article-body-inner {
  max-width: 720px;
  margin: 0 auto;
}

.article-body {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-dark);
}

.article-body p { margin-bottom: 1.5rem; }
.article-body p:last-child { margin-bottom: 0; }

.article-body strong { font-weight: 700; }

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 500;
  margin: 2.5rem 0 1rem;
  color: var(--text-dark);
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 2rem 0 0.8rem;
  color: var(--text-dark);
}

.article-body blockquote {
  border-left: 3px solid var(--gold);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: rgba(200,168,75,0.04);
  font-style: italic;
  color: var(--text-mid);
}

@media (max-width: 768px) {
  .article-cover-inner { padding: 0 1.25rem; }
  .article-body-section { padding: 3rem 1.25rem; }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
