@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

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

:root {
  --bg: hsl(40, 33%, 98%);
  --fg: hsl(25, 20%, 20%);
  --card: hsl(40, 30%, 96%);
  --primary: hsl(25, 35%, 35%);
  --primary-fg: hsl(40, 33%, 98%);
  --muted: hsl(40, 20%, 92%);
  --muted-fg: hsl(25, 15%, 45%);
  --border: hsl(30, 15%, 85%);
  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
  padding: 20px 0;
}

header.scrolled {
  background: hsla(40, 33%, 98%, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(58,47,40,0.8);
  transition: color 0.2s;
}

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

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  text-align: center;
}

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

.btn-primary:hover {
  background: hsl(25, 35%, 30%);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid rgba(58,47,40,0.2);
}

.btn-outline:hover {
  background: rgba(58,47,40,0.05);
}

.btn-secondary {
  background: var(--muted);
  color: var(--fg);
}

.btn-secondary:hover {
  background: hsl(40, 20%, 86%);
}

.btn-lg {
  font-size: 1rem;
  padding: 18px 40px;
}

.btn-full {
  width: 100%;
}

.btn-cta {
  font-size: 1.1rem;
  padding: 20px 40px;
  background: var(--primary);
  color: var(--primary-fg);
  width: 100%;
}

.btn-cta:hover {
  background: hsl(25, 35%, 30%);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 16px 24px;
  flex-direction: column;
  gap: 0;
}

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

.mobile-nav a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  padding: 14px 0;
  border-bottom: 1px solid rgba(30,20,15,0.1);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--primary);
}

.mobile-nav .btn {
  margin-top: 16px;
  width: 100%;
}

section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(122, 76, 53, 0.25);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 249, 246, 0.65);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--fg);
}

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

.hero p {
  font-size: 1.125rem;
  color: rgba(58,47,40,0.78);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.value-section {
  background: var(--card);
  padding: 100px 0;
}

.value-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 20px;
  text-align: center;
}

.value-intro {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
  color: var(--muted-fg);
  font-size: 1.1rem;
  line-height: 1.7;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.value-item {
  border-top: 1px solid rgba(122,76,53,0.2);
  padding-top: 24px;
}

.value-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.value-item h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.value-item p {
  color: var(--muted-fg);
  line-height: 1.7;
}

.outcomes-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 12px;
}

.outcomes-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 24px;
  flex-wrap: wrap;
}

.outcomes-header p {
  color: var(--muted-fg);
  font-size: 1.1rem;
  max-width: 420px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.outcome-main {
  display: flex;
  flex-direction: column;
}

.outcome-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.outcome-card img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.outcome-card:hover img {
  transform: scale(1.04);
}

.outcome-card .img-wrap {
  overflow: hidden;
  background: var(--muted);
  margin-bottom: 16px;
}

.outcome-main .img-wrap {
  aspect-ratio: 3/4;
}

.outcome-stack .img-wrap {
  aspect-ratio: 4/3;
}

.outcome-card h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.outcome-card p {
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.process-strip {
  padding: 0;
}

.process-strip img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

.mentor-section {
  background: var(--card);
  padding: 100px 0;
}

.mentor-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mentor-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--muted);
}

.mentor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-img-wrap::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(58,47,40,0.1);
  pointer-events: none;
}

.mentor-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 12px;
}

.mentor-role {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 28px;
}

.mentor-text p {
  color: rgba(58,47,40,0.78);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.faq-section {
  padding: 100px 0;
}

.faq-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 56px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  text-align: left;
  transition: color 0.2s;
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
}

.faq-icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1.5px;
  transform: translateX(-50%);
  transition: opacity 0.3s, transform 0.3s;
}

.faq-item.open .faq-icon::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-inner {
  padding-bottom: 24px;
  color: var(--muted-fg);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.enroll-section {
  background: var(--fg);
  color: var(--bg);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.enroll-section::before {
  content: '';
  position: absolute;
  top: -250px;
  right: -250px;
  width: 500px;
  height: 500px;
  background: rgba(122,76,53,0.12);
  border-radius: 50%;
  filter: blur(80px);
}

.enroll-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.enroll-header {
  text-align: center;
  margin-bottom: 40px;
}

.enroll-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--bg);
  margin-bottom: 16px;
}

.enroll-header p {
  color: rgba(250,249,246,0.7);
  font-size: 1.05rem;
  line-height: 1.7;
}

.form-card {
  background: var(--bg);
  color: var(--fg);
  padding: 48px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(58,47,40,0.7);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--border);
  background: var(--muted);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(122,76,53,0.12);
}

.form-group input.error {
  border-color: hsl(0, 60%, 50%);
}

.form-error {
  display: none;
  color: hsl(0, 60%, 48%);
  font-size: 0.8rem;
  margin-top: 6px;
}

.form-group.has-error .form-error {
  display: block;
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(58,47,40,0.45);
  margin-top: 16px;
}

.form-note a {
  text-decoration: underline;
  transition: color 0.2s;
}

.form-note a:hover {
  color: var(--fg);
}

footer {
  background: var(--fg);
  color: rgba(250,249,246,0.75);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: var(--bg);
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--bg);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--bg);
}

.footer-bottom {
  border-top: 1px solid rgba(250,249,246,0.15);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: rgba(250,249,246,0.5);
}

.footer-bottom p + p {
  margin-top: 4px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 16px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--fg);
  color: rgba(250,249,246,0.9);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.12);
}

.cookie-inner p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.cookie-inner a {
  text-decoration: underline;
  transition: opacity 0.2s;
}

.cookie-inner a:hover {
  opacity: 0.75;
}

.cookie-inner .btn {
  flex-shrink: 0;
  padding: 10px 24px;
  font-size: 0.875rem;
  background: var(--muted);
  color: var(--fg);
}

.cookie-inner .btn:hover {
  background: hsl(40, 20%, 86%);
}

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

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }

.legal-page {
  padding: 140px 0 80px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-content p {
  color: rgba(58,47,40,0.8);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  color: rgba(58,47,40,0.8);
  line-height: 1.75;
  margin-bottom: 8px;
}

.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.success-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.success-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: rgba(122,76,53,0.06);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.success-card {
  max-width: 520px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.success-card.visible {
  opacity: 1;
  transform: scale(1);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(122,76,53,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.success-icon svg {
  color: var(--primary);
}

.success-card h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  margin-bottom: 24px;
}

.success-card p {
  font-size: 1.05rem;
  color: rgba(58,47,40,0.78);
  line-height: 1.7;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .value-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .outcome-main .img-wrap {
    aspect-ratio: 4/3;
  }

  .mentor-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mentor-img-wrap {
    aspect-ratio: 4/3;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  section {
    padding: 64px 0;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  .nav-links,
  header .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .form-card {
    padding: 28px 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-inner .btn {
    width: 100%;
  }

  .outcomes-header {
    flex-direction: column;
  }
}
