@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@500;600;700;800&family=Inter:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,500;0,700;1,500&display=swap');

:root {
  --cream: #FAF5EA;
  --cream-2: #F2E9D3;
  --burgundy: #5C1A1B;
  --burgundy-2: #7A2222;
  --gold: #C79A4D;
  --gold-2: #E5C97A;
  --green: #1E5A3F;
  --green-2: #2D7A55;
  --terracotta: #C35E3C;
  --blue: #1B3A5C;
  --ink: #2A2622;
  --muted: #6E635A;
  --border: #E5D9BF;
  --shadow: 0 4px 20px rgba(92, 26, 27, 0.08);
  --shadow-lg: 0 12px 40px rgba(30, 90, 63, 0.15);
  --glow-gold: 0 0 28px rgba(199, 154, 77, 0.5);
  --glow-green: 0 0 28px rgba(30, 90, 63, 0.4);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Rubik", "Inter", sans-serif;
  color: var(--burgundy);
  line-height: 1.2;
  margin-top: 0;
  letter-spacing: -0.01em;
}

h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }

a { color: var(--burgundy); text-decoration: none; border-bottom: 1px solid var(--gold-2); }
a:hover { color: var(--burgundy-2); border-bottom-color: var(--burgundy); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ===== TOP NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 225, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 22px; max-width: 1180px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 12px; border: none; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo .brand {
  font-family: "Rubik", sans-serif;
  color: var(--green);
  font-weight: 700;
  font-size: 1.2em;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex; gap: 4px 6px; font-size: 0.92em; align-items: center;
  font-family: "Rubik", sans-serif; font-weight: 500;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  border: none;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: manual;
}
.nav-links a:hover {
  color: var(--cream);
  background: var(--green);
}
.nav-links a.accent {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
.nav-links a.accent:hover { background: var(--burgundy); color: var(--cream); }
.nav-links a.terra-nav {
  background: #1a1412;
  color: var(--gold) !important;
  font-weight: 600;
  border: 1px solid var(--gold);
}
.nav-links a.terra-nav:hover {
  background: var(--gold);
  color: #1a1412 !important;
}
/* Узкие экраны: меню переносится в несколько строк, центрируется */
@media (max-width: 860px) {
  .nav-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    padding: 10px 14px;
  }
  .nav-logo { flex: 0 0 auto; }
  .nav-links {
    flex: 1 1 100%;
    justify-content: center;
    gap: 5px 7px;
    font-size: 0.82em;
    padding: 4px 0 2px;
  }
  .nav-links a {
    padding: 6px 10px;
    max-width: 132px;
  }
}
@media (max-width: 480px) {
  .nav-links { font-size: 0.76em; gap: 4px 5px; }
  .nav-links a { padding: 5px 8px; max-width: 108px; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(199, 154, 77, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(30, 90, 63, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(195, 94, 60, 0.10), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 70px 22px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(199, 154, 77, 0.35) 0%, transparent 1%),
    radial-gradient(circle at 80% 40%, rgba(30, 90, 63, 0.3) 0%, transparent 1%),
    radial-gradient(circle at 40% 80%, rgba(195, 94, 60, 0.3) 0%, transparent 1%),
    radial-gradient(circle at 75% 70%, rgba(199, 154, 77, 0.25) 0%, transparent 1%);
  background-size: 3px 3px, 4px 4px, 3px 3px, 5px 5px;
  opacity: 0.4;
  animation: drift 25s linear infinite;
  pointer-events: none;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-40px, -40px); }
}
#particles-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.hero > .container { position: relative; z-index: 2; }
.hero-logo {
  max-width: 280px; width: 60%;
  margin: 0 auto 20px; display: block;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 8px 30px rgba(30, 90, 63, 0.18));
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero h1 {
  font-family: "Rubik", sans-serif;
  font-size: clamp(2.4em, 6vw, 3.8em);
  font-weight: 800;
  background: linear-gradient(135deg, var(--green) 0%, var(--burgundy) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 6px;
  animation: gradient-shift 8s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero .domain {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.3em;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.hero-divider {
  width: 160px; height: 2px; margin: 22px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: none;
}
.hero-motto {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.2em, 2.5vw, 1.55em);
  color: var(--ink);
  max-width: 660px; margin: 0 auto 14px;
  line-height: 1.45;
}
.hero-address {
  color: var(--muted);
  font-size: 1em;
  margin: 18px 0 30px;
  font-family: "Inter", sans-serif;
}
.hero-address strong { color: var(--ink); font-weight: 600; }
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; align-items: center;
  margin-top: 10px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--terracotta) 100%);
  color: var(--cream) !important;
  padding: 16px 34px;
  border-radius: 999px;
  font-family: "Rubik", sans-serif;
  font-weight: 600; font-size: 1.08em;
  border: none !important;
  box-shadow: 0 8px 30px rgba(199, 154, 77, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  position: relative; overflow: hidden;
}
.hero-cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.hero-cta:hover::before { transform: translateX(100%); }
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(199, 154, 77, 0.55), var(--glow-gold);
  filter: brightness(1.05);
}
.hero-cta.ghost {
  background: transparent;
  color: var(--green) !important;
  border: 2px solid var(--green) !important;
  box-shadow: none;
}
.hero-cta.ghost:hover {
  background: var(--green);
  color: var(--cream) !important;
  box-shadow: var(--glow-green);
}
.hero-cta.play {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  box-shadow: 0 8px 30px rgba(30, 90, 63, 0.35);
  animation: pulse-glow 3s ease-in-out infinite;
}
.hero-cta.play:hover {
  box-shadow: 0 12px 40px rgba(30, 90, 63, 0.5), var(--glow-green);
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 30px rgba(30, 90, 63, 0.35); }
  50% { box-shadow: 0 8px 40px rgba(199, 154, 77, 0.5), 0 0 30px rgba(30, 90, 63, 0.4); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.section.alt { background: #FDF4DA; }
.section-title {
  text-align: center;
  font-size: clamp(1.6em, 3.5vw, 2.2em);
  margin-bottom: 8px;
}
.section-sub {
  text-align: center; color: var(--muted);
  max-width: 640px; margin: 0 auto 40px;
}

/* ===== GRID OF CARDS ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-2);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--green));
  transition: width 0.3s;
}
.card:hover::before { width: 6px; }
.card .emoji { font-size: 2em; line-height: 1; margin-bottom: 10px; }
.card h3 { margin: 0 0 10px; font-size: 1.25em; }
.card .quote {
  font-family: Georgia, serif; font-style: italic;
  color: var(--burgundy-2); margin: 0 0 14px;
  border-left: 3px solid var(--gold); padding-left: 12px;
}
.card .audience { color: var(--muted); font-size: 0.9em; margin: 10px 0 6px; }
.card .cta {
  margin-top: auto;
  display: inline-block;
  color: var(--burgundy); font-weight: 600;
  border: none; padding-top: 14px;
}
.card .cta::after { content: " →"; }

/* ===== BLOCKS ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px; align-items: center;
}
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; } }
.two-col img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===== MEDIA ===== */
.media-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px; margin: 24px 0;
}
@media (max-width: 780px) { .media-row { grid-template-columns: 1fr; } }
.video-box, .audio-box {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}
.video-box video {
  width: 100%; border-radius: 8px; display: block;
  background: #000;
}
.video-box .placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-2));
  color: var(--cream); display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-family: Georgia, serif; font-style: italic;
  text-align: center; padding: 20px;
}
.audio-box .placeholder {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--burgundy); padding: 30px 20px; border-radius: 8px;
  text-align: center; font-family: Georgia, serif; font-style: italic;
}
.media-box h4 { margin: 0 0 10px; color: var(--burgundy); }

/* ===== PDF GALLERY ===== */
.pdf-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin: 20px 0;
}
.pdf-gallery img {
  width: 100%; border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  cursor: zoom-in;
}
.pdf-gallery img:hover { transform: scale(1.03); }

/* ===== TG STRIP (News / Events) ===== */
.tg-strip {
  background: linear-gradient(135deg, #229ED9 0%, #1a7eb3 100%);
  padding: 36px 0;
  color: #FFF8E1;
  position: relative;
  overflow: hidden;
}
.tg-strip::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15), transparent 45%);
  pointer-events: none;
}
.tg-strip-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  position: relative;
}
@media (max-width: 860px) { .tg-strip-inner { grid-template-columns: 1fr; } }
.tg-strip-head {
  display: flex; align-items: center; gap: 18px;
}
.tg-strip .tg-icon {
  font-size: 2.6em;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
  animation: tg-float 3.5s ease-in-out infinite;
}
@keyframes tg-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-4px) rotate(-5deg); }
}
.tg-strip h3 {
  color: #FFF8E1;
  margin: 0;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.55em;
}
.tg-strip p {
  margin: 3px 0 0;
  opacity: 0.9;
  font-size: 0.95em;
}
.tg-strip-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tg-pill {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35) !important;
  color: #FFF8E1 !important;
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 0.92em;
  transition: all 0.25s;
  white-space: nowrap;
}
.tg-pill:hover {
  background: #FFF8E1;
  color: #1a7eb3 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.tg-pill.primary {
  background: #FFF8E1;
  color: #1a7eb3 !important;
  font-weight: 700;
}
.tg-pill.primary:hover {
  background: var(--gold);
  color: #1a1412 !important;
}
.tg-pill.bot {
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.55) !important;
}
.tg-pill.bot:hover {
  background: rgba(255,255,255,0.2);
  color: #FFF8E1 !important;
}

/* TG link in nav */
.nav-links a.tg-link {
  background: #229ED9;
  color: #FFF8E1 !important;
  font-weight: 600;
}
.nav-links a.tg-link:hover {
  background: #1a7eb3;
  color: var(--gold) !important;
}

/* Post-grid TG invitation (below 12 doors) */
.tg-post-grid {
  margin-top: 40px;
  padding: 28px 30px;
  background: linear-gradient(135deg, #e3f2fd 0%, #FFF8E1 100%);
  border-radius: var(--radius);
  border: 1px solid #bbdefb;
  text-align: center;
}
.tg-post-grid .tg-pill {
  background: #229ED9;
  color: #FFF8E1 !important;
  border: none !important;
}
.tg-post-grid .tg-pill:hover {
  background: #1a7eb3;
}
.tg-post-grid .tg-pill.primary {
  background: var(--gold);
  color: #1a1412 !important;
}
.tg-post-grid .tg-pill.primary:hover {
  background: var(--burgundy);
  color: #FFF8E1 !important;
}
.tg-post-grid .tg-pill.bot {
  background: transparent;
  color: var(--burgundy) !important;
  border: 1px dashed var(--burgundy) !important;
}

/* ===== FOUR ELEMENTS MANDALA ===== */
.elements-mandala {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 40px auto 0;
  padding: 0;
}
.element-tile {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border-radius: 20px;
  text-decoration: none !important;
  border: none !important;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  transition: transform 0.55s cubic-bezier(.2,.9,.3,1.12),
              box-shadow 0.5s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  isolation: isolate;
}
.element-tile::before {
  /* Bg infographic layer */
  content: "";
  position: absolute; inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.7s cubic-bezier(.2,.9,.3,1),
              transform 0.9s cubic-bezier(.2,.9,.3,1),
              filter 0.55s ease;
  filter: saturate(1) contrast(1);
  z-index: 0;
}
.element-tile::after {
  /* Elemental gradient + hover shine */
  content: "";
  position: absolute; inset: 0;
  background: var(--elem-gradient);
  transition: opacity 0.6s ease, background 0.5s ease;
  z-index: 1;
}
.element-tile > * {
  position: relative;
  z-index: 2;
  transition: color 0.5s ease, text-shadow 0.5s ease, transform 0.55s cubic-bezier(.2,.9,.3,1.2), opacity 0.5s ease;
}

.element-tile:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 28px 60px rgba(0,0,0,0.28);
}
.element-tile:hover::before {
  opacity: 1;
  transform: scale(1.08);
  filter: saturate(1.2) contrast(1.08);
}
.element-tile:hover::after {
  /* Gradient fades to reveal image, with dark tint for readability */
  opacity: 0.35;
}

.element-tile .el-icon {
  font-size: 2.8em;
  line-height: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}
.element-tile:hover .el-icon {
  transform: scale(1.12) rotate(-4deg);
}
.element-tile .el-title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.6em;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.element-tile .el-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15em;
  line-height: 1.35;
  margin-bottom: auto;
  opacity: 0.9;
}
.element-tile .el-meta {
  margin-top: 18px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.85;
}

/* === HOVER text inversion — add shadow for readability over image === */
.element-tile:hover .el-title,
.element-tile:hover .el-sub,
.element-tile:hover .el-meta {
  text-shadow: 0 2px 14px rgba(0,0,0,0.6), 0 0 2px rgba(0,0,0,0.4);
}
.element-tile:hover .el-meta {
  opacity: 1;
  letter-spacing: 1.2px;
}

/* === Elemental gradient colours === */
.el-play {
  --elem-gradient: linear-gradient(135deg, #C79A4D 0%, #E5C97A 100%);
  color: #2A2622;
}
.el-work {
  --elem-gradient: linear-gradient(135deg, #1E5A3F 0%, #2D7A55 100%);
  color: #FAF5EA;
}
.el-mind {
  --elem-gradient: linear-gradient(135deg, #1B3A5C 0%, #2B5A8C 100%);
  color: #FAF5EA;
}
.el-warm {
  --elem-gradient: linear-gradient(135deg, #5C1A1B 0%, #C35E3C 100%);
  color: #FAF5EA;
}

/* Per-element hover text colour (inverts vs normal state) */
.el-play:hover { color: #FAF5EA; }
.el-work:hover { color: #E5C97A; }
.el-mind:hover { color: #FFF8E1; }
.el-warm:hover { color: #FFF8E1; }

/* Mandala center — colorful cabin logo */
.mandala-core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.18), 0 0 0 10px var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
  animation: core-pulse 4s ease-in-out infinite;
}
.mandala-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
@keyframes core-pulse {
  0%, 100% { box-shadow: 0 10px 40px rgba(0,0,0,0.25), 0 0 0 10px var(--cream), 0 0 0 12px rgba(199,154,77,0); }
  50%      { box-shadow: 0 10px 40px rgba(0,0,0,0.25), 0 0 0 10px var(--cream), 0 0 0 22px rgba(199,154,77,0.22); }
}
@keyframes core-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes core-rotate-reverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@media (max-width: 780px) {
  .elements-mandala { grid-template-columns: 1fr; gap: 14px; }
  .mandala-core { display: none; }
  .element-tile { min-height: auto; padding: 26px 24px; }
}

/* ===== 12 DOORS GRID (with bg infographic + audio preview) ===== */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.topic-mini {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  transition: transform 0.55s cubic-bezier(.2,.9,.3,1.12),
              box-shadow 0.5s ease,
              border-color 0.3s ease;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.topic-mini::before {
  /* Bg infographic */
  content: "";
  position: absolute; inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  z-index: 0;
  transition: opacity 0.55s cubic-bezier(.2,.9,.3,1),
              transform 0.8s cubic-bezier(.2,.9,.3,1),
              filter 0.55s ease;
  filter: saturate(1) contrast(1);
}
.topic-mini::after {
  /* Readability gradient overlay */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(250,245,234,0.72) 100%);
  z-index: 0;
  transition: background 0.55s cubic-bezier(.2,.9,.3,1), opacity 0.45s ease;
}
.topic-mini > * { position: relative; z-index: 1; }

/* === HOVER: full-color vivid motion with text inversion === */
.topic-mini:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 22px 55px rgba(0,0,0,0.25);
  border-color: transparent;
}
.topic-mini:hover::before {
  opacity: 1;
  transform: scale(1.08);
  filter: saturate(1.15) contrast(1.06);
}
.topic-mini:hover::after {
  background: linear-gradient(150deg,
              rgba(26,20,18,0.25) 0%,
              rgba(92,26,27,0.18) 45%,
              rgba(30,90,63,0.12) 100%);
}

.topic-link {
  display: block;
  text-decoration: none !important;
  border: none !important;
  color: inherit;
  transition: none;
}
.topic-link .n {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 1.5em;
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  transition: background 0.45s ease, transform 0.45s cubic-bezier(.2,.9,.3,1.2);
}
.topic-link .t {
  display: block;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  color: var(--burgundy);
  font-size: 1.15em;
  margin: 4px 0 6px;
  letter-spacing: -0.01em;
  transition: color 0.5s ease, text-shadow 0.5s ease, letter-spacing 0.45s ease;
}
.topic-link .d {
  display: block;
  color: var(--muted);
  font-size: 0.92em;
  line-height: 1.4;
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

/* === HOVER TEXT INVERSION (light theme) === */
.topic-mini:hover .topic-link .t {
  color: #FFF8E1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55), 0 0 2px rgba(0,0,0,0.3);
  letter-spacing: 0;
}
.topic-mini:hover .topic-link .d {
  color: rgba(255,248,225,0.95);
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.topic-mini:hover .topic-link .n {
  background: linear-gradient(135deg, #FFF8E1, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.08);
}

/* === DARK variant (Terra) inverts toward gold→light === */
.topic-mini.topic-dark::after {
  background: linear-gradient(135deg, rgba(26,20,18,0.86) 0%, rgba(42,38,34,0.78) 100%);
}
.topic-mini.topic-dark .t { color: var(--gold) !important; }
.topic-mini.topic-dark .d { color: rgba(250,245,234,0.82); }

.topic-mini.topic-dark:hover::after {
  background: linear-gradient(150deg,
              rgba(199,154,77,0.88) 0%,
              rgba(229,201,122,0.75) 50%,
              rgba(199,154,77,0.85) 100%);
}
.topic-mini.topic-dark:hover .topic-link .t {
  color: #1a1412 !important;
  text-shadow: none;
}
.topic-mini.topic-dark:hover .topic-link .d {
  color: rgba(26,20,18,0.88);
  text-shadow: none;
}
.topic-mini.topic-dark:hover .topic-link .n {
  background: linear-gradient(135deg, #1a1412, #5C1A1B);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.topic-audio {
  width: 100%;
  height: 34px;
  margin-top: auto;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  transition: background 0.5s ease;
}
.topic-mini:hover .topic-audio {
  background: rgba(255,248,225,0.85);
}
.topic-mini.topic-dark .topic-audio {
  background: rgba(199,154,77,0.15);
}
.topic-mini.topic-dark:hover .topic-audio {
  background: rgba(26,20,18,0.25);
}

/* ===== LIGHTBOX ===== */
img:not(.hero-logo):not([data-no-lightbox]) {
  cursor: zoom-in;
  transition: opacity 0.2s;
}
img:not(.hero-logo):not([data-no-lightbox]):hover { opacity: 0.92; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 20, 18, 0.94);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: lb-fade 0.22s ease-out;
}
.lightbox-overlay.active { display: flex; }
@keyframes lb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox-image {
  max-width: 94vw;
  max-height: 86vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  cursor: default;
  animation: lb-zoom 0.28s cubic-bezier(.2,.9,.3,1.1);
}
@keyframes lb-zoom {
  from { transform: scale(0.90); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 248, 225, 0.14);
  color: #FFF8E1;
  border: 1px solid rgba(255, 248, 225, 0.35);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, transform 0.2s;
  font-family: 'Rubik', sans-serif;
  line-height: 1;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 248, 225, 0.28);
  transform: scale(1.08);
}
.lightbox-close {
  top: 20px; right: 20px;
  font-size: 26px;
  font-weight: 300;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  font-weight: 300;
}
.lightbox-prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-caption {
  position: absolute;
  bottom: 56px; left: 50%;
  transform: translateX(-50%);
  color: #FFF8E1;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05em;
  max-width: 82vw;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  padding: 0 10px;
}
.lightbox-counter {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 248, 225, 0.7);
  font-family: 'Rubik', sans-serif;
  font-size: 0.85em;
  letter-spacing: 2px;
}
@media (max-width: 720px) {
  .lightbox-overlay { padding: 14px; }
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next { width: 40px; height: 40px; font-size: 22px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; font-size: 22px; }
  .lightbox-caption { font-size: 0.9em; bottom: 44px; }
  .lightbox-counter { bottom: 14px; font-size: 0.75em; }
}

/* ===== SCROLL-ACTIVATED MOTION FOR TOUCH DEVICES =====
   On devices without hover, .in-view class (added by IntersectionObserver)
   reproduces the :hover state when the tile enters viewport center. */
@media (hover: none) and (pointer: coarse) {
  .topic-mini.in-view {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
    border-color: transparent;
  }
  .topic-mini.in-view::before {
    opacity: 1;
    transform: scale(1.06);
    filter: saturate(1.15) contrast(1.06);
  }
  .topic-mini.in-view::after {
    background: linear-gradient(150deg,
      rgba(26,20,18,0.25) 0%,
      rgba(92,26,27,0.18) 45%,
      rgba(30,90,63,0.12) 100%);
  }
  .topic-mini.in-view .topic-link .t {
    color: #FFF8E1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.55), 0 0 2px rgba(0,0,0,0.3);
  }
  .topic-mini.in-view .topic-link .d {
    color: rgba(255,248,225,0.95);
    text-shadow: 0 1px 6px rgba(0,0,0,0.45);
  }
  .topic-mini.in-view .topic-link .n {
    background: linear-gradient(135deg, #FFF8E1, var(--gold-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.08);
  }
  .topic-mini.topic-dark.in-view::after {
    background: linear-gradient(150deg,
      rgba(199,154,77,0.88) 0%,
      rgba(229,201,122,0.75) 50%,
      rgba(199,154,77,0.85) 100%);
  }
  .topic-mini.topic-dark.in-view .topic-link .t {
    color: #1a1412 !important;
    text-shadow: none;
  }
  .topic-mini.topic-dark.in-view .topic-link .d {
    color: rgba(26,20,18,0.88);
    text-shadow: none;
  }
  .topic-mini.topic-dark.in-view .topic-link .n {
    background: linear-gradient(135deg, #1a1412, #5C1A1B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .topic-mini.in-view .topic-audio { background: rgba(255,248,225,0.85); }
  .topic-mini.topic-dark.in-view .topic-audio { background: rgba(26,20,18,0.25); }

  /* Element tiles — scroll-triggered */
  .element-tile.in-view {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 50px rgba(0,0,0,0.25);
  }
  .element-tile.in-view::before {
    opacity: 1;
    transform: scale(1.06);
    filter: saturate(1.2) contrast(1.08);
  }
  .element-tile.in-view::after {
    opacity: 0.35;
  }
  .element-tile.in-view .el-icon {
    transform: scale(1.1) rotate(-4deg);
  }
  .element-tile.in-view .el-title,
  .element-tile.in-view .el-sub,
  .element-tile.in-view .el-meta {
    text-shadow: 0 2px 14px rgba(0,0,0,0.6), 0 0 2px rgba(0,0,0,0.4);
  }
  .element-tile.in-view .el-meta {
    opacity: 1;
    letter-spacing: 1.2px;
  }
  .el-play.in-view { color: #FAF5EA; }
  .el-work.in-view { color: #E5C97A; }
  .el-mind.in-view { color: #FFF8E1; }
  .el-warm.in-view { color: #FFF8E1; }

  /* Cards (related sections on sub-landings) — scroll-triggered, soft warm lift */
  .card {
    transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  }
  .card.in-view {
    transform: translateY(-4px);
    box-shadow:
      0 10px 26px rgba(92, 26, 27, 0.10),
      0 2px 8px rgba(199, 154, 77, 0.14);
    border-color: rgba(199, 154, 77, 0.35);
  }
  .card.in-view::before { width: 5px; }
  .card.in-view .emoji {
    transform: scale(1.12) rotate(-4deg);
    transition: transform 0.35s ease-out;
  }

  /* Editorial cover — scroll-triggered, subtle */
  .editorial-cover img {
    transition: transform 0.6s ease-out, filter 0.6s ease-out;
  }
  .editorial-cover.in-view img {
    transform: scale(1.025);
    filter: saturate(1.05);
  }
}

/* ===== MOBILE ADAPTATIONS ===== */
@media (max-width: 780px) {
  .hero { padding: 40px 16px 36px; }
  .hero h1 { font-size: 2.2em; }
  .hero-logo { max-width: 200px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .hero-cta { justify-content: center; width: 100%; }

  .nav-inner { padding: 8px 14px; }
  .nav-logo img { height: 36px; }
  .nav-logo .brand { font-size: 1em; }

  .container { padding: 0 16px; }

  .section { padding: 40px 0; }
  .section-title { font-size: 1.6em; }

  .editorial { padding: 50px 0 40px; }
  .editorial-content h2 { font-size: 1.7em; }
  .editorial-cover { margin-bottom: 6px; }

  .tg-strip-head { flex-direction: column; text-align: center; gap: 10px; }
  .tg-strip-ctas { justify-content: center; }
  .tg-pill { font-size: 0.85em; padding: 9px 16px; }

  .topic-grid { grid-template-columns: 1fr; gap: 14px; }
  .topic-mini { min-height: 180px; padding: 20px 18px; }

  .pdf-pages-strip img { height: 140px; }

  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .footer { padding: 36px 18px 24px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 1.9em; }
  .hero .domain { font-size: 1.05em; }
  .hero-motto { font-size: 1.05em; }
  .hero-cta { padding: 13px 22px; font-size: 0.98em; }
  .tg-pill { font-size: 0.8em; padding: 8px 14px; }
  .topic-grid { grid-template-columns: 1fr; }
  .element-tile { min-height: 180px; padding: 24px 22px; }
  .element-tile .el-title { font-size: 1.4em; }
  .download-strip { flex-direction: column; align-items: stretch; text-align: center; }
  .theme-link { display: block; text-align: center; }
  .pdf-pages-strip img { height: 120px; }
}
/* Force audio controls to fit nicely */
audio.topic-audio::-webkit-media-controls-panel {
  background: transparent;
}

/* ===== EDITORIAL SECTIONS (full-width magazine style) ===== */
.editorial {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.editorial.style-light {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  color: var(--ink);
}
.editorial.style-light h2 { color: var(--burgundy); }
.editorial.style-light h3 { color: var(--burgundy-2); }
.editorial.style-light p { color: var(--ink); }

.editorial.style-dark {
  background: linear-gradient(180deg, #1a1412 0%, #2a2622 100%);
  color: var(--cream);
}
.editorial.style-dark h2,
.editorial.style-dark h3,
.editorial.style-dark h4 { color: var(--gold); }
.editorial.style-dark p,
.editorial.style-dark li { color: rgba(250, 245, 234, 0.82); }
.editorial.style-dark blockquote {
  color: var(--gold-2); border-color: var(--gold);
  background: rgba(199, 154, 77, 0.08);
}
.editorial.style-dark .audio-box,
.editorial.style-dark .video-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(199, 154, 77, 0.25);
}
.editorial.style-dark .theme-link {
  background: var(--gold); color: #1a1412 !important;
}
.editorial.style-dark .theme-link:hover { background: var(--cream); }
.editorial.style-dark .pdf-mini { color: rgba(250,245,234,0.5) !important; }
.editorial.style-dark .pdf-mini:hover { color: var(--gold) !important; }
.editorial.style-dark .kicker { background: var(--gold); color: #1a1412; }

.editorial::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.editorial.reverse .editorial-grid { grid-template-columns: 1fr 1.05fr; }
.editorial.reverse .editorial-cover { order: 2; }
.editorial.reverse .editorial-content { order: 1; }
@media (max-width: 900px) {
  .editorial-grid,
  .editorial.reverse .editorial-grid { grid-template-columns: 1fr; gap: 30px; }
  .editorial.reverse .editorial-cover { order: 1; }
  .editorial.reverse .editorial-content { order: 2; }
}

.editorial-cover {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22);
  position: relative;
  transition: transform 0.4s;
}
.editorial-cover:hover { transform: translateY(-6px) scale(1.01); }
.editorial-cover img { width: 100%; display: block; }
.editorial-cover::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 80px rgba(0,0,0,0.15);
  pointer-events: none;
  border-radius: var(--radius);
}

.editorial-content .kicker {
  display: inline-block;
  padding: 6px 18px;
  background: var(--burgundy);
  color: var(--cream);
  border-radius: 999px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.78em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 18px;
}
.editorial-content .block-num {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 0.9em;
  opacity: 0.5;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.editorial-content h2 {
  font-size: clamp(1.9em, 4.2vw, 2.8em);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
}
.editorial-content .subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.05em, 1.6vw, 1.3em);
  opacity: 0.85;
  margin-bottom: 22px;
  line-height: 1.4;
}
.editorial-content .body { font-size: 1.02em; line-height: 1.65; }
.editorial-content .body ul { padding-left: 22px; }
.editorial-content .body li { margin: 6px 0; }

.editorial-media {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.editorial.style-dark .editorial-media .media-box { border-radius: 10px; padding: 14px; }
.editorial-media h4 {
  margin: 0 0 10px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.95em;
  font-weight: 600;
}

/* PDF page spread */
.pdf-spread {
  margin-top: 32px;
  background: rgba(0,0,0,0.03);
  border-radius: var(--radius);
  padding: 14px 20px;
}
.editorial.style-dark .pdf-spread {
  background: rgba(199, 154, 77, 0.06);
  border: 1px solid rgba(199, 154, 77, 0.15);
}
.pdf-spread summary {
  cursor: pointer;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 0.95em;
  padding: 6px 0;
  list-style: none;
  user-select: none;
}
.pdf-spread summary::-webkit-details-marker { display: none; }
.pdf-spread summary::before {
  content: "▸ ";
  display: inline-block;
  transition: transform 0.2s;
}
.pdf-spread[open] summary::before { transform: rotate(90deg); }
.pdf-pages-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 18px 0 10px;
  scroll-snap-type: x mandatory;
}
.pdf-pages-strip::-webkit-scrollbar { height: 6px; }
.pdf-pages-strip::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
.pdf-pages-strip img {
  flex: 0 0 auto;
  height: 180px;
  width: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pdf-pages-strip img:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}

.editorial-footer {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px dashed rgba(127, 127, 127, 0.25);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.editorial.style-dark .editorial-footer { border-top-color: rgba(199, 154, 77, 0.2); }

.editorial-footer .theme-link { font-size: 0.95em; padding: 10px 22px; }

/* ===== TOPIC CARDS (4 per row, compact) — legacy, kept ===== */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
@media (max-width: 1180px) { .topic-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .topic-grid { grid-template-columns: 1fr; } }

.topic-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px 18px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-2);
}
.topic-card::before {
  content: ""; position: absolute;
  left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--terracotta));
  background-size: 200% 100%;
  animation: gradient-shift 6s ease infinite;
}
.topic-card-num {
  position: absolute; top: 14px; right: 18px;
  font-family: "Rubik", sans-serif;
  font-weight: 800; font-size: 1.3em;
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.topic-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--cream-2);
}
.topic-card-kicker {
  font-family: "Rubik", sans-serif;
  font-size: 0.72em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--green);
  margin-bottom: 4px;
  line-height: 1.3;
}
.topic-card h3 {
  font-size: 1.15em;
  margin: 4px 0 8px;
  color: var(--burgundy);
}
.topic-card-desc {
  font-size: 0.92em;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.45;
  flex-grow: 1;
}
.topic-card-video {
  width: 100%;
  border-radius: 8px;
  background: #000;
  aspect-ratio: 16/9;
  display: block;
}
.topic-card audio { border-radius: 8px; }
.topic-card-footer {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed var(--border);
  flex-wrap: wrap;
}
.topic-card-footer .theme-link {
  flex: 1; text-align: center;
  padding: 8px 14px; font-size: 0.85em;
}
.pdf-mini {
  color: var(--muted) !important;
  border: none !important;
  font-size: 0.85em;
  padding: 6px 10px;
}
.pdf-mini:hover { color: var(--burgundy) !important; }

/* ===== THEMATIC BLOCK HEADER ===== */
.theme-head {
  display: flex; align-items: center; gap: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 6px;
}
.theme-num {
  flex: 0 0 auto;
  font-family: "Rubik", sans-serif;
  font-weight: 800;
  font-size: 2.6em;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  min-width: 70px;
}
.theme-kicker {
  font-family: "Rubik", sans-serif;
  font-size: 0.82em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
}
.theme-link {
  display: inline-block;
  background: var(--green);
  color: var(--cream) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: "Rubik", sans-serif;
  font-weight: 600; font-size: 0.95em;
  border: none !important;
  transition: all 0.2s;
}
.theme-link:hover {
  background: var(--burgundy);
  transform: translateX(3px);
  box-shadow: var(--glow-gold);
}

/* ===== BIG PROMO INFOGRAPHIC ===== */
.promo-hero {
  position: relative;
  padding: 60px 0 50px;
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.promo-hero::after {
  content: ""; position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,154,77,0.25), transparent 70%);
  filter: blur(40px);
  top: -60px; right: -80px;
  z-index: 0;
  animation: drift-slow 20s ease-in-out infinite;
}
@keyframes drift-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 30px); }
}
.promo-hero .container { position: relative; z-index: 1; }
.promo-hero img { max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.promo-hero .cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 26px;
}

/* ===== DOWNLOAD STRIP ===== */
.download-strip {
  background: var(--burgundy); color: var(--cream);
  padding: 22px 26px; border-radius: var(--radius);
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  margin: 28px 0;
}
.download-strip a {
  color: var(--cream) !important;
  background: rgba(255,255,255,0.12);
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3) !important;
  font-weight: 600;
}
.download-strip a:hover { background: rgba(255,255,255,0.22); }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink); color: var(--cream);
  padding: 44px 22px 28px;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 780px) { .footer-inner { grid-template-columns: 1fr; } }
.footer h4 { color: var(--gold); margin: 0 0 12px; font-family: Georgia, serif; }
.footer a { color: var(--cream); border: none; opacity: 0.85; }
.footer a:hover { color: var(--gold-2); }
.footer ul { list-style: none; padding: 0; margin: 0; line-height: 2; }
.footer .attribution {
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 1180px; margin: 28px auto 0; padding-top: 20px;
  color: rgba(255, 248, 225, 0.55);
  font-size: 0.85em; text-align: center; font-family: Georgia, serif;
}
.footer .attribution .chain {
  color: var(--gold-2); letter-spacing: 0.5px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 20px 0 0; font-size: 0.92em; color: var(--muted);
}
.breadcrumb a { border: none; color: var(--burgundy); }

/* ===== PAGE HERO (topic pages) ===== */
.page-hero {
  padding: 50px 22px 30px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
}
.page-hero .tag {
  display: inline-block;
  background: var(--gold); color: var(--burgundy);
  padding: 4px 14px; border-radius: 999px;
  font-size: 0.82em; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero h1 { font-size: clamp(1.8em, 4.5vw, 2.8em); margin-bottom: 10px; }
.page-hero .lead { color: var(--muted); max-width: 680px; margin: 0 auto; font-size: 1.08em; }

/* ===== CONTENT COLUMN ===== */
.content { max-width: 820px; margin: 0 auto; padding: 40px 22px; }
.content h2 { margin-top: 40px; font-size: 1.6em; }
.content h3 { margin-top: 28px; font-size: 1.25em; color: var(--burgundy-2); }
.content p { margin: 14px 0; }
.content ul { padding-left: 22px; }
.content li { margin: 6px 0; }
.content blockquote {
  border-left: 4px solid var(--gold);
  background: var(--cream-2);
  padding: 14px 20px; margin: 20px 0;
  border-radius: 0 8px 8px 0;
  font-family: Georgia, serif; font-style: italic;
  color: var(--burgundy-2);
}

/* ===== UTIL ===== */
.center { text-align: center; }
.muted { color: var(--muted); }
