/* Typical Monk — Spoken English · 3D sunset scene · no scroll */

:root {
  --sky-top: #e85a10;
  --sky-mid: #f58220;
  --sky-glow: #ffd54a;
  --orange: #f58220;
  --orange-light: #ffb347;
  --orange-dark: #c45a08;
  --surface: rgba(12, 10, 8, 0.78);
  --surface-border: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.72);
  --display: "Outfit", system-ui, sans-serif;
  --panel-shadow:
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: #0f1115;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 1rem; top: -100px; padding: .5rem 1rem;
  background: var(--orange); color: #000; border-radius: 999px; z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.text-orange { color: var(--orange); }

/* ══════════════════════════════════════
   APP SHELL — fixed viewport, no scroll
   ══════════════════════════════════════ */
.app {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.app > * { pointer-events: auto; }

/* Header */
.site-header {
  flex-shrink: 0;
  padding: 0.65rem 1.25rem;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}
.brand img { border-radius: 10px; }
.brand strong { display: block; font-size: 0.9rem; color: #fff; line-height: 1.2; }
.brand em { display: block; font-style: normal; font-size: 0.9rem; font-weight: 700; color: var(--orange); line-height: 1.2; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav button {
  background: none;
  border: none;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav button:hover { color: #fff; }
.nav button.is-active { color: var(--orange); background: rgba(245,130,32,0.12); }

.nav-cta {
  background: linear-gradient(145deg, var(--orange-light), var(--orange-dark)) !important;
  color: #000 !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Panel stage — panels appear/disappear in place */
.panel-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transform: translateX(40px) scale(0.96);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
  pointer-events: none;
}

.panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.panel.is-exiting {
  opacity: 0;
  transform: translateX(-30px) scale(0.98);
}

.panel__card {
  width: min(100%, 480px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid var(--surface-border);
  box-shadow: var(--panel-shadow);
}

.panel__card--wide { width: min(100%, 560px); }
.panel__card--cta { text-align: center; width: min(100%, 440px); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 0.65rem;
}

.panel h1,
.panel h2 {
  margin: 0 0 0.85rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}
.panel h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
.panel h2 { font-size: clamp(1.4rem, 3vw, 2rem); }

.lead {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 1rem;
}

.panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: filter 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(145deg, var(--orange-light), var(--orange-dark));
  color: #000;
  box-shadow: 0 6px 20px rgba(245,130,32,0.3);
}
.btn--primary:hover { filter: brightness(1.08); }
.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}
.btn--ghost:hover { border-color: rgba(245,130,32,0.35); }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero-chips span {
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  background: rgba(245,130,32,0.1);
  border: 1px solid rgba(245,130,32,0.2);
  border-radius: 999px;
  color: var(--orange-light);
}

.check-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.check-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
.check-list strong { color: #fff; }

.level-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.level-card {
  padding: 1rem;
  background: rgba(0,0,0,0.25);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
}
.level-card--highlight {
  border-color: rgba(245,130,32,0.3);
  background: rgba(245,130,32,0.08);
}
.level-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
}
.level-card h3 {
  margin: 0.25rem 0 0.35rem;
  font-size: 1rem;
  color: #fff;
}
.level-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.method-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}
.method-step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.method-icon { font-size: 1.4rem; flex-shrink: 0; }
.method-step strong { display: block; color: #fff; margin-bottom: 0.1rem; }
.method-step p { margin: 0; font-size: 0.88rem; color: var(--muted); }

.cta-logo img {
  margin: 0 auto 0.75rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.cta-form input {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}
.cta-form input:focus {
  outline: none;
  border-color: rgba(245,130,32,0.45);
}
.cta-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

/* Panel dots */
.panel-dots {
  position: fixed;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 50;
}
.panel-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.panel-dots button span { display: none; }
.panel-dots button.is-active {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.2);
}

.panel-hint {
  position: fixed;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  z-index: 5;
  pointer-events: none;
}
.panel-hint__arrows {
  font-size: 0.85rem;
  opacity: 0.7;
}

.site-footer {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}
.site-footer p {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .panel { transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .panel {
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 56px 0 auto 0;
    flex-direction: column;
    padding: 1rem;
    background: rgba(18,18,20,0.95);
    backdrop-filter: blur(16px);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 200;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-cta { margin-left: 0; }
  .level-grid { grid-template-columns: 1fr; }
  .panel-dots {
    flex-direction: row;
    left: 50%;
    top: auto;
    bottom: 2.8rem;
    transform: translateX(-50%);
  }
  .panel-hint { display: none; }
  .panel__card { width: 100%; }
}
