/* Landing page page-specific styles. Imports tokens from colors_and_type.css */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg-1);
  color: var(--fg-2);
  overflow-x: hidden;
}

/* ---------- Effects primitives ---------- */

.fx-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.93 0 0 0 0 0.78 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.fx-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 110% 80% at 50% 40%, transparent 0%, transparent 55%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
}

.fx-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 25%, rgba(201, 169, 97, 0.16) 0%, transparent 60%);
  z-index: 1;
  animation: pulse 8s var(--ease-cinema) infinite;
}

.fx-flare {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 168, 71, 0.45) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: all var(--dur-base) var(--ease-out);
}
.header.scrolled {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-faint);
  padding: 16px 48px;
}
.header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header__wm {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--ivory);
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.header__link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--smoke-4);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}
.header__link:hover { color: var(--ivory); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  overflow: hidden;
  background: var(--bg-0);
}
.hero__inner {
  position: relative;
  z-index: 3;
  max-width: 980px;
  text-align: center;
}
.hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--amber-400);
  opacity: 0.6;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ivory);
  margin: 0 0 56px;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--amber-400);
}
.hero__sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--smoke-5);
  max-width: 640px;
  margin: 0 auto 48px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero__meta {
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke-3);
}
.hero__meta b {
  display: block;
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: none;
  margin-top: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 16px 32px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary {
  background: var(--amber-400);
  color: var(--noir-1);
  box-shadow: var(--glow-amber-sm);
}
.btn-primary:hover {
  background: var(--amber-300);
  box-shadow: var(--glow-amber-md);
  transform: translateY(-1px);
}
.btn-primary:active { transform: scale(0.98); }
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(244, 236, 220, 0.05);
  border-color: var(--ivory);
}

/* ---------- Section ---------- */
.section {
  position: relative;
  padding: 144px 48px;
  max-width: 1240px;
  margin: 0 auto;
}
.section__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--amber-400);
}
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin: 0 0 24px;
  max-width: 720px;
}
.section__title em {
  font-style: italic;
  color: var(--amber-400);
  font-weight: 300;
}
.section__intro {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 20px;
  line-height: 1.55;
  color: var(--smoke-5);
  max-width: 560px;
  margin: 0 0 80px;
}

/* ---------- Curriculum ---------- */
.curriculum {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border-faint);
}
.curriculum__item {
  display: grid;
  grid-template-columns: 100px 1fr 280px;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-faint);
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
  align-items: baseline;
}
.curriculum__item:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.04) 0%, transparent 100%);
}
.curriculum__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: var(--amber-400);
  letter-spacing: -0.02em;
}
.curriculum__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  color: var(--ivory);
  margin: 0;
}
.curriculum__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--smoke-4);
}

/* ---------- Testimonials ---------- */
.testimonials {
  position: relative;
  padding: 144px 48px;
  background: var(--bg-0);
  overflow: hidden;
}
.testimonials__inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.testimonial {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.3;
  color: var(--ivory);
  margin: 0 0 40px;
  letter-spacing: -0.005em;
}
.testimonial__quote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 0.5;
  color: var(--amber-400);
  margin-bottom: 32px;
  opacity: 0.7;
}
.testimonial__attr {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-400);
}
.testimonial__attr span {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--smoke-4);
  margin-top: 6px;
}
.testimonial__nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 56px;
}
.testimonial__dot {
  width: 24px;
  height: 1px;
  background: var(--smoke-1);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  border: none;
  padding: 0;
}
.testimonial__dot.active { background: var(--amber-400); width: 48px; }

/* ---------- Registration form ---------- */
.register {
  position: relative;
  padding: 144px 48px;
  background: var(--bg-1);
}
.register__inner {
  max-width: 760px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 64px;
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(244, 236, 220, 0.06);
  position: relative;
  z-index: 2;
}
.register__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin: 0 0 12px;
  text-align: center;
}
.register__title em {
  font-style: italic;
  color: var(--amber-400);
  font-weight: 300;
}
.register__intro {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--smoke-4);
  text-align: center;
  margin: 0 0 48px;
}
.field {
  margin-bottom: 28px;
}
.field__label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke-3);
  display: block;
  margin-bottom: 10px;
}
.field__input, .field__select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ivory);
  outline: none;
  transition: border-color var(--dur-base) var(--ease-out);
}
.field__input:focus, .field__select:focus { border-bottom-color: var(--amber-400); }
.field__input::placeholder { color: var(--fg-5); font-style: italic; }
.field__select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A961' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.field__help {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--smoke-3);
  margin-top: 8px;
  font-style: italic;
}
.register__submit {
  width: 100%;
  margin-top: 16px;
  padding: 20px;
  font-size: 15px;
  justify-content: center;
}
.register__terms {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--smoke-2);
  text-align: center;
  margin-top: 20px;
  letter-spacing: 0.05em;
  font-style: italic;
}

/* ---------- Footer ---------- */
.footer {
  padding: 64px 48px 48px;
  background: var(--bg-0);
  border-top: 1px solid var(--border-faint);
}
.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(201,169,97,0.18));
}
.footer__rule { width: 1px; height: 32px; background: var(--amber-400); opacity: 0.4; }
.footer__wm { font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.32em; color: var(--ivory); }
.footer__wm em { display: block; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 13px; letter-spacing: 0; color: var(--smoke-3); margin-top: 4px; text-transform: none; }
.footer__links {
  display: flex;
  gap: 32px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke-3);
}
.footer__links a {
  color: var(--smoke-3);
  border-bottom: none;
  cursor: pointer;
  transition: color var(--dur-fast);
}
.footer__links a:hover { color: var(--amber-400); }
.footer__copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--smoke-2);
  letter-spacing: 0.05em;
}

/* ---------- Section divider ---------- */
.divider {
  display: flex;
  justify-content: center;
  padding: 0 48px;
}
.divider__line {
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--amber-400), transparent);
  opacity: 0.4;
}

/* responsive */
@media (max-width: 720px) {
  .header, .header.scrolled { padding: 16px 24px; }
  .header__nav { display: none; }
  .hero { padding: 120px 24px 80px; }
  .section { padding: 96px 24px; }
  .testimonials, .register { padding: 96px 24px; }
  .register__inner { padding: 40px 28px; }
  .curriculum__item { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .curriculum__item:hover { padding-left: 0; background: transparent; }
  .curriculum__desc { grid-column: auto; padding-left: 0; padding-top: 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
