:root {
  --blue: #0837C0;
  --navy: #00207C;
  --deep: #051140;
  --tint: #EEF2FD;
  --gray: #666666;
  --ink: #111316;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Hanken Grotesk', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: inline-block;
}

.eyebrow.on-dark { color: var(--white); opacity: 0.85; }

p { color: var(--gray); }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Speed-slash motif */
.slash-divider {
  height: 6px;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0% 100%);
  width: 120px;
  margin: 0 auto 32px;
}

/* Header / lang toggle */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header img { height: 34px; }

.lang-toggle {
  display: flex;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  overflow: hidden;
}

.lang-toggle button {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  padding: 6px 14px;
  background: transparent;
  color: var(--white);
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
}

.lang-toggle button.active {
  background: var(--white);
  color: var(--blue);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(0,32,124,0.55) 0%, rgba(5,17,64,0.88) 100%), url('photos/group.jpg') center / cover no-repeat;
  padding: 80px 0 56px;
}

.hero-inner { color: var(--white); }
.hero h1 { color: var(--white); font-size: clamp(32px, 6vw, 56px); max-width: 720px; }
.hero .subhead { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 560px; margin-bottom: 28px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-inner > * {
  opacity: 0;
  animation: fadeUp 0.6s ease-out forwards;
}

.hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.25s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.4s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .hero-inner > * { opacity: 1; animation: none; }
}

.btn {
  display: inline-block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 15px;
  padding: 16px 32px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0% 100%);
}

.btn { transition: background 0.2s ease-out, transform 0.2s ease-out; }
.btn:hover { background: var(--navy); transform: translateY(-2px); }

.btn.btn-light { background: var(--white); color: var(--blue); }
.btn.btn-light:hover { background: var(--tint); }

.btn.btn-glow {
  filter: drop-shadow(0 0 14px rgba(8,55,192,0.65)) drop-shadow(0 6px 10px rgba(8,55,192,0.4));
  transition: filter 0.2s ease-out, background 0.2s ease-out, transform 0.2s ease-out;
}

.btn.btn-glow:hover {
  filter: drop-shadow(0 0 20px rgba(8,55,192,0.85)) drop-shadow(0 6px 14px rgba(8,55,192,0.5));
}

/* Proof strip */
.proof-strip {
  background: var(--tint);
  padding: 20px 0;
}

.proof-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.chip {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(8,55,192,0.2);
}

.scarcity-badge {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #B3261E;
  background: #FDECEC;
  border: 1px solid rgba(179,38,30,0.25);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(179,38,30,0.35);
}

/* Sections */
section { padding: 72px 0; }
section.center { text-align: center; }

.section-head { text-align: center; margin-bottom: 48px; }

/* Technique cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 28px 24px;
  text-align: left;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(8,55,192,0.3);
  box-shadow: 0 12px 24px rgba(8,55,192,0.08);
}

.card .icon { font-size: 28px; line-height: 1; margin-bottom: 12px; display: block; }
.card .icon-img { width: 28px; height: 28px; object-fit: contain; margin-bottom: 12px; display: block; }
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card p { font-size: 14px; margin: 0; }

/* Teachers */
.teachers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.teacher img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  transition: transform 0.35s ease-out;
}

.teacher:hover img { transform: scale(1.03); }
.teacher { overflow: hidden; }

.teacher h3 { font-size: 18px; margin-bottom: 4px; }
.teacher p { font-size: 14px; margin: 0; }

/* Reviews */
.reviews {
  background: var(--deep);
  color: var(--white);
}

.reviews .section-head h2 { color: var(--white); }

.review-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.review-carousel::-webkit-scrollbar { display: none; }

.review {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 24px;
}

.carousel-arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
}

.carousel-arrow:hover { background: rgba(255,255,255,0.1); }

@media (max-width: 900px) {
  .review { flex: 0 0 calc(85% - 10px); }
}

@media (max-width: 640px) {
  .carousel-arrow { display: none; }
  .review { flex: 0 0 88%; }
}

.review p.quote {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 16px;
}

.review .attribution {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* Details table */
.details-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  background: var(--tint);
  border-radius: 8px;
  padding: 32px;
}

.detail-item .label {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.detail-item .value { font-weight: 700; font-size: 16px; }

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 4px 24px;
  margin-bottom: 12px;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  font-family: 'Space Mono', monospace;
  color: var(--blue);
  font-size: 18px;
  transition: transform 0.25s ease-out;
}

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

.faq-item p {
  font-size: 14px;
  margin: 0 0 18px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid #E5E7EB;
  padding: 12px 24px;
  display: flex;
  justify-content: center;
  z-index: 20;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
}

/* Final CTA section */
.final-cta {
  background: var(--blue);
  color: var(--white);
  text-align: center;
}

.final-cta h2 { color: var(--white); }
.final-cta p { color: rgba(255,255,255,0.85); }

/* Footer */
footer {
  text-align: center;
  padding: 40px 24px 100px;
}

footer img { height: 44px; margin-bottom: 16px; }
footer p { font-size: 12px; }
footer a { color: var(--gray); }

/* Register page */
.register-header {
  background: var(--navy);
  padding: 24px;
  text-align: center;
}

.register-header img { height: 28px; }

.register-recap {
  background: var(--tint);
  padding: 24px;
}

.register-main {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px 120px;
}

.form-row { margin-bottom: 20px; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

input[type="text"], input[type="email"], input[type="tel"], select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 4px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 15px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}

.checkbox-row input { margin-top: 3px; }

.ticket-inline {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.payment-note {
  font-size: 13px;
  color: var(--gray);
  background: var(--tint);
  border-radius: 6px;
  padding: 12px 14px;
  margin: 0 0 16px;
}

.form-error {
  color: #C0362C;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.submit-status {
  margin-top: 16px;
  font-size: 14px;
  display: none;
}

@media (max-width: 640px) {
  .form-row.two-col { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
