:root {
  --bg-canvas: #1e1612;
  --bg-surface: #35261e;
  --bg-surface-glass: rgba(53, 38, 30, 0.84);
  --bg-surface-hover: #463227;
  --text-primary: #f5ecdf;
  --text-muted: #cbb89d;
  --text-espresso: #1e1612;
  --accent-primary: #f59e0b;
  --accent-secondary: #d97706;
  --border-subtle: rgba(245, 236, 223, 0.16);
  --border-espresso: rgba(30, 22, 18, 0.22);
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.45);
  --glow-accent: 0 0 24px -4px rgba(245, 158, 11, 0.35);
  --glass-backdrop: blur(16px) saturate(180%);
}
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.75;
  letter-spacing: 0.015em;
  overflow-wrap: anywhere;
  hyphens: auto;
}
img { max-width: 100%; height: auto; display: block; object-fit: cover; border-radius: 0; }
a { color: var(--accent-primary); text-decoration: none; transition: color 0.2s var(--ease-kinetic); }
a:hover { color: #fbbf24; text-decoration: underline; }
.amber-band a:not(.btn-pill) { color: var(--text-espresso); text-decoration: underline; font-weight: 700; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: 70ch; margin: 0 auto; }
.prose p, .prose li { margin-bottom: 1.25rem; }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: 0.02em; margin-top: 0; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.site-header {
  position: relative;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.3s ease;
  z-index: 50;
}
.site-header.scrolled { background-color: var(--bg-surface); }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-link:hover { color: var(--accent-primary); text-decoration: none; }
.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: var(--text-espresso);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.main-nav a {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}
.menu-dots-btn {
  display: none;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.75rem;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.btn-pill {
  display: inline-block;
  background-color: var(--accent-primary);
  color: var(--text-espresso);
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.98rem;
  transition: transform 0.25s var(--ease-kinetic), box-shadow 0.25s var(--ease-kinetic), background-color 0.2s ease;
}
.btn-pill:hover {
  background-color: #fbbf24;
  color: var(--text-espresso);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
}
.btn-pill-dark {
  background-color: var(--text-espresso);
  color: var(--accent-primary);
}
.btn-pill-dark:hover {
  background-color: #2b1f19;
  color: #fbbf24;
}
.hero-section {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-frame {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-photo-wrap {
  position: relative;
  box-shadow: var(--shadow-elevation);
  border: 1px solid var(--border-subtle);
  background: #120d0a;
}
.hero-photo-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  filter: contrast(1.08) brightness(0.88);
}
.floating-listening-card {
  background: var(--bg-surface-glass);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem;
  box-shadow: var(--shadow-elevation);
  margin-top: -3.5rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  position: relative;
  z-index: 5;
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}
.fact-item {
  border-left: 2px solid var(--accent-primary);
  padding-left: 0.85rem;
}
.fact-item strong {
  display: block;
  color: var(--accent-primary);
  font-size: 1.05rem;
}
.section-quiet {
  padding: 4.5rem 0;
  background-color: var(--bg-canvas);
}
.amber-band {
  padding: 4.5rem 0;
  background-color: var(--accent-primary);
  color: var(--text-espresso);
}
.amber-band h2, .amber-band h3, .amber-band p { color: var(--text-espresso); }
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-section.reverse > :first-child { order: 2; }
.split-section.reverse > :last-child { order: 1; }
.espresso-panel {
  background: var(--bg-surface-glass);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  color: var(--text-primary);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevation);
  transition: transform 0.3s var(--ease-kinetic);
}
.amber-band .espresso-panel h2,
.amber-band .espresso-panel h3,
.amber-band .espresso-panel p,
.amber-band .espresso-panel li {
  color: var(--text-primary);
}
.amber-band .espresso-panel a:not(.btn-pill) {
  color: var(--accent-primary);
}
.espresso-panel:hover {
  transform: translateY(-4px);
}
.exercise-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: var(--text-espresso);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface-hover);
  border: 2px solid var(--accent-primary);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.pitch-ladder {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(30, 22, 18, 0.75);
  border: 1px solid var(--border-subtle);
}
.pitch-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.9rem;
  background: var(--bg-surface);
  border-left: 4px solid var(--accent-primary);
}
.pitch-step.step-1 { width: 65%; }
.pitch-step.step-2 { width: 78%; }
.pitch-step.step-3 { width: 90%; }
.pitch-step.step-4 { width: 100%; }
.breath-diagram {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.breath-phase {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.15rem;
}
.challenge-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}
.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.card-tag {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  background: var(--accent-primary);
  color: var(--text-espresso);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.card-tag.submission-tag {
  background: var(--text-primary);
  color: var(--text-espresso);
}
.faq-accordion details {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.85rem;
  padding: 1rem 1.25rem;
}
.faq-accordion summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-accordion summary::after {
  content: "+";
  color: var(--accent-primary);
  font-size: 1.3rem;
  font-weight: 700;
}
.faq-accordion details[open] summary::after { content: "−"; }
.faq-accordion details p { margin: 0.85rem 0 0; color: var(--text-muted); }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  color: var(--text-primary);
}
th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border: 1px solid var(--border-subtle);
}
th { background: rgba(245, 158, 11, 0.18); color: var(--accent-primary); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: 0.4rem; }
.form-control {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-canvas);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-family: inherit;
  font-size: 1rem;
}
.form-control:focus { outline: 2px solid var(--accent-primary); }
.composer-output {
  background: #140e0b;
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  white-space: pre-wrap;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.site-footer {
  background: #140e0b;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease-kinetic), transform 0.65s var(--ease-kinetic);
}
.reveal-item.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .menu-dots-btn { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 1.5rem;
  }
  .main-nav.nav-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .hero-frame, .split-section { grid-template-columns: 1fr; gap: 2rem; }
  .split-section.reverse > :first-child { order: 1; }
  .split-section.reverse > :last-child { order: 2; }
  .floating-listening-card { margin: 1rem 0 0; }
  .fact-grid { grid-template-columns: 1fr; }
  .challenge-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
