/* ============================================
   MYSTERY SCHOOL NETWORK — Global Styles
   ============================================ */

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

:root {
  --deep-forest: #1a2318;
  --forest: #243020;
  --moss: #3d5c35;
  --sage: #7a9e6e;
  --pale-sage: #b8cdb0;
  --midnight: #0f1520;
  --navy: #1c2a3a;
  --steel-blue: #2e4a66;
  --mist: #8aa5be;
  --warm-sand: #c8b89a;
  --parchment: #e8dcc8;
  --cream: #f5f0e8;
  --gold: #c9a84c;
  --gold-light: #e8cc7a;
  --charcoal: #2a2a2a;
  --text-primary: #e8dcc8;
  --text-secondary: #a09080;
  --text-muted: #6a6058;

  --font-display: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-ui: 'Jost', sans-serif;

  --transition: 0.3s ease;
  --border-subtle: 1px solid rgba(201, 168, 76, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--midnight);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background texture ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(26, 35, 24, 0.85) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(28, 42, 58, 0.7) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.025) 0%, transparent 70%),
    radial-gradient(ellipse at 90% 10%, rgba(46, 74, 102, 0.35) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

/* ── Film grain overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23grain)' opacity='0.4'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  animation: grainShift 8s steps(10) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-3%, -4%); }
  20%  { transform: translate(4%, 2%); }
  30%  { transform: translate(-2%, 5%); }
  40%  { transform: translate(5%, -2%); }
  50%  { transform: translate(-4%, 3%); }
  60%  { transform: translate(2%, -5%); }
  70%  { transform: translate(-5%, 1%); }
  80%  { transform: translate(3%, 4%); }
  90%  { transform: translate(-1%, -3%); }
  100% { transform: translate(0, 0); }
}

/* ── Nav dropdown ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  transition: color var(--transition);
}

.nav-dropdown-trigger:hover {
  color: var(--gold-light);
}

.nav-caret {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-dropdown.open .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(12, 18, 28, 0.97);
  backdrop-filter: blur(16px);
  border: var(--border-subtle);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  list-style: none;
  padding: 0.5rem 0;
  z-index: 200;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
  color: var(--gold-light);
  background: rgba(201,168,76,0.06);
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 21, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: var(--border-subtle);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 1;
}

.hero-logo {
  width: min(155px, 28vw);
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease 0.1s both;
  flex-shrink: 0;
  filter: drop-shadow(0 0 30px rgba(201,168,76,0.3));
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--gold-light);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--warm-sand);
  transition: var(--transition);
}

/* ── Page wrapper ── */
main {
  position: relative;
  z-index: 1;
  padding-top: 64px;
}

/* ── Hero ── */
.hero {
  height: calc(100vh - 64px);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 2rem;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
}


.hero > * {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--cream);
  max-width: 820px;
  margin-bottom: 0;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

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

.hero-sub {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--parchment);
  max-width: 600px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
  margin-bottom: 0;
}

/* ── Ornament divider ── */
.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem auto;
  max-width: 400px;
  opacity: 0.5;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.ornament::after {
  background: linear-gradient(to left, transparent, var(--gold));
}

.ornament-symbol {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
}

/* ── Sections ── */
section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Subtle depth tint on alternating sections */
main > section:nth-child(even) {
  position: relative;
}

main > section:nth-child(even)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 42, 58, 0.06);
  pointer-events: none;
  z-index: -1;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-align: center;
  font-style: italic;
  margin-bottom: 3rem;
}

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: rgba(255,255,255,0.03);
  border: var(--border-subtle);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}

.card:hover::before {
  opacity: 1;
}

.card-tag {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.card-arrow {
  margin-top: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--warm-sand);
  border: 1px solid rgba(200, 184, 154, 0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-large {
  padding: 1.1rem 3rem;
  font-size: 0.9rem;
}

/* ── Forms ── */
.form-section {
  background: rgba(255,255,255,0.02);
  border: var(--border-subtle);
  padding: 3rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 8px 48px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 2rem;
}

/* Kit form overrides */
.formkit-form {
  background: transparent !important;
}

.formkit-input {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(201,168,76,0.3) !important;
  color: var(--cream) !important;
  font-family: var(--font-ui) !important;
  padding: 0.85rem 1.2rem !important;
  border-radius: 0 !important;
}

.formkit-submit {
  background: var(--gold) !important;
  color: var(--midnight) !important;
  font-family: var(--font-ui) !important;
  letter-spacing: 0.15em !important;
  border-radius: 0 !important;
}

/* ── Video embed ── */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: var(--border-subtle);
  max-width: 800px;
  margin: 0 auto;
}

.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ── Coming soon badge ── */
.coming-soon-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--midnight);
  background: var(--gold);
  padding: 0.4rem 1.2rem;
  margin-bottom: 2rem;
}

/* ── Feature list ── */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto;
  text-align: left;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '⟡';
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: var(--border-subtle);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  list-style: none;
  margin-bottom: 2rem;
}

.footer-links a {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── Path Map ── */
.path-map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.path-card {
  background: rgba(255,255,255,0.02);
  border: var(--border-subtle);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.03);
}

.path-card:hover {
  border-color: rgba(201,168,76,0.35);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.path-card-symbol {
  font-size: 1.6rem;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 1rem;
  display: block;
}

.path-card-domain {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.path-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.path-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
}

/* ── Elements Grid ── */
.elements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.element-card {
  background: rgba(255,255,255,0.02);
  border: var(--border-subtle);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: 0 3px 16px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.03);
}

.element-card:hover {
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.element-symbol {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.75rem;
  color: var(--gold);
  opacity: 0.65;
}

.element-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.25rem;
  letter-spacing: 0.08em;
}

.element-domain {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.element-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
}

/* ── Featured Offer Block ── */
.offer-block {
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.22);
  padding: 3.5rem 3rem;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.06), inset 0 1px 0 rgba(201,168,76,0.08);
}

.offer-block::after {
  content: '✦';
  position: absolute;
  bottom: -30px;
  right: -10px;
  font-size: 140px;
  color: var(--gold);
  opacity: 0.03;
  line-height: 1;
  pointer-events: none;
}

.offer-tag {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--midnight);
  background: var(--gold);
  padding: 0.35rem 1.1rem;
  display: inline-block;
  margin-bottom: 1.75rem;
}

.offer-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.offer-block > p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Channels Wide Grid ── */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.channel-tile {
  background: rgba(255,255,255,0.02);
  border: var(--border-subtle);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all var(--transition);
  box-shadow: 0 3px 16px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.03);
}

.channel-tile:hover {
  border-color: rgba(201,168,76,0.35);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.44), inset 0 1px 0 rgba(255,255,255,0.05);
}

.channel-tile-tag {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.channel-tile h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.channel-tile p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.65;
}

/* ── Who This Is For ── */
.who-for-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

.who-for-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.who-for-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
}

.who-for-list li::before {
  content: '◈';
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.3rem;
}

/* ── Mission Block ── */
.mission-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.mission-lead {
  font-size: 1.25rem;
  color: var(--parchment);
  font-style: italic;
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

.mission-body {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: left;
}

.mission-pillar {
  background: rgba(255,255,255,0.02);
  border: var(--border-subtle);
  padding: 1.5rem;
  box-shadow: 0 3px 16px rgba(0,0,0,0.28);
}

.mission-pillar-symbol {
  display: block;
  font-size: 1.1rem;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.mission-pillar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.mission-pillar p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .mission-pillars {
    grid-template-columns: 1fr;
  }
}

/* ── Courses Page ── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.course-card {
  background: rgba(255,255,255,0.02);
  border: var(--border-subtle);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all var(--transition);
  box-shadow: 0 3px 16px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.03);
}

.course-card:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.course-status {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.course-status.open { color: var(--sage); }
.course-status.soon { color: var(--gold); opacity: 0.7; }

.course-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.3;
}

.course-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(15,21,32,0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: var(--border-subtle);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .form-section {
    padding: 2rem 1.5rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .who-for-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .offer-block {
    padding: 2.5rem 1.5rem;
  }

  .channels-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: rgba(255,255,255,0.04);
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0.25rem 0 0.25rem 1rem;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    font-size: 0.78rem;
  }

  .path-map-grid {
    grid-template-columns: 1fr;
  }

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

  .courses-grid {
    grid-template-columns: 1fr;
  }
}
