@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

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

:root {
  --bg: #f5f2eb;
  --bg-card: #ede9e0;
  --fg: #22201c;
  --fg-muted: #7a7069;
  --fg-light: rgba(34, 32, 28, 0.75);
  --primary: #c4694a;
  --primary-fg: #ffffff;
  --primary-hover: #b05c3f;
  --secondary: #d4ddd4;
  --border: rgba(34, 32, 28, 0.12);
  --border-strong: rgba(34, 32, 28, 0.2);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', system-ui, sans-serif;
  --container: 1200px;
  --container-narrow: 800px;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.container--narrow {
  max-width: var(--container-narrow);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 235, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  transition: color 0.2s;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--fg-light);
  transition: color 0.2s;
}

nav a:hover {
  color: var(--fg);
}

.nav-cta {
  background: var(--primary);
  color: var(--primary-fg) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 500;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--primary-hover) !important;
  color: var(--primary-fg) !important;
}

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

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

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 8px 0 16px;
}

.mobile-nav a {
  padding: 12px 24px;
  font-size: 0.95rem;
  color: var(--fg-light);
  transition: color 0.2s;
}

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

.mobile-nav .nav-cta {
  margin: 8px 24px 0;
  display: block;
  text-align: center;
  padding: 10px 24px;
}

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

section.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(245,242,235,0.35) 0%, transparent 50%, rgba(245,242,235,1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  background: rgba(212, 221, 212, 0.5);
  border: 1px solid var(--secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--fg);
}

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

.hero p {
  font-size: 1.125rem;
  color: var(--fg-light);
  max-width: 560px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-dark {
  background: var(--fg);
  color: var(--bg);
  padding: 1rem 2rem;
  box-shadow: var(--shadow-lg);
}

.btn-dark:hover {
  background: var(--primary);
  color: var(--primary-fg);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.875rem 1.75rem;
  box-shadow: var(--shadow);
  width: 100%;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

section.outcomes {
  padding: 96px 24px;
  background: var(--bg-card);
}

.section-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.section-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.section-heading .divider {
  width: 80px;
  height: 1px;
  background: var(--primary);
  margin: 0 auto;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.outcome-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid rgba(34,32,28,0.07);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
}

.outcome-card:hover {
  box-shadow: var(--shadow);
}

.outcome-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.outcome-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.outcome-card p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

section.format {
  padding: 96px 24px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.format-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  position: relative;
}

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

.format-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(34,32,28,0.1);
  pointer-events: none;
}

.format-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.format-content > p {
  font-size: 1.0625rem;
  color: var(--fg-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.format-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.format-item {
  display: flex;
  gap: 1rem;
}

.format-item-icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}

.format-item h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.format-item p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

section.teacher {
  padding: 96px 24px;
  background: var(--fg);
  color: var(--bg);
}

.teacher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.teacher-text {
  order: 1;
}

.teacher-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}

.teacher-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.teacher-text p {
  font-size: 1.0625rem;
  font-weight: 300;
  color: rgba(245,242,235,0.8);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.teacher-img {
  order: 2;
  border-radius: 2rem;
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

section.program {
  padding: 96px 24px;
}

.program-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 5rem;
}

.program-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.program-intro p {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-strong);
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.timeline-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline-card {
  flex: 1;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
  margin-top: 6px;
}

.timeline-card:hover {
  box-shadow: var(--shadow);
}

.timeline-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.timeline-card p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

section.quote {
  padding: 140px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

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

.quote-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245,242,235,0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.quote-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.quote-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 2rem;
  color: var(--primary);
  opacity: 0.5;
}

.quote-content blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--fg);
}

section.enroll {
  padding: 96px 24px;
  background: var(--bg-card);
}

.enroll-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.faq-col h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.faq-col > p {
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.faq-q-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.faq-q span {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.faq-a {
  padding-left: 2rem;
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.form-col {
  position: sticky;
  top: 88px;
}

.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: rgba(212,221,212,0.3);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.form-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 160px;
  height: 160px;
  background: rgba(196,105,74,0.08);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.form-card h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 0.375rem;
  position: relative;
  z-index: 1;
}

.form-card > p {
  color: var(--fg-muted);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.form-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  color: var(--fg-light);
  font-weight: 400;
}

.form-group input,
.form-group select {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--fg);
  background: rgba(245,242,235,0.6);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder {
  color: var(--fg-muted);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196,105,74,0.1);
}

.form-group .select-wrap {
  position: relative;
}

.form-group .select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--fg-muted);
  pointer-events: none;
}

.form-group select {
  padding-right: 2.5rem;
}

.form-error {
  font-size: 0.8125rem;
  color: #c0392b;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-group input.invalid,
.form-group select.invalid {
  border-color: #c0392b;
}

.form-note {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 0.75rem;
}

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

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

footer {
  background: var(--fg);
  color: var(--bg);
  padding: 64px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.75rem;
  color: var(--bg);
  transition: color 0.2s;
}

.footer-logo:hover {
  color: var(--primary);
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(245,242,235,0.6);
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--bg);
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(245,242,235,0.65);
  margin-bottom: 0.625rem;
  transition: color 0.2s;
}

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

.footer-col p {
  font-size: 0.875rem;
  color: rgba(245,242,235,0.65);
  margin-bottom: 0.375rem;
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid rgba(245,242,235,0.15);
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(245,242,235,0.4);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-inner {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--fg-light);
  line-height: 1.6;
}

.cookie-text a {
  color: var(--primary);
  font-weight: 500;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie {
  background: var(--primary);
  color: var(--primary-fg);
  border: none;
  border-radius: 100px;
  padding: 0.625rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-cookie:hover {
  background: var(--primary-hover);
}

.legal-page {
  min-height: 100vh;
  padding: 80px 24px 80px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.legal-back:hover {
  color: var(--primary);
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

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

.legal-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg-light);
  margin-bottom: 1.25rem;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--fg);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-content ul li {
  font-size: 0.9375rem;
  color: var(--fg-light);
  line-height: 1.65;
}

.legal-content strong {
  color: var(--fg);
  font-weight: 500;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

.legal-content th {
  text-align: left;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border-strong);
  font-weight: 500;
}

.legal-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--fg-light);
  vertical-align: top;
}

.legal-content code {
  font-family: monospace;
  font-size: 0.85em;
}

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.success-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(196,105,74,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.success-card h1 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.success-card p {
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.success-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  color: var(--primary);
  font-weight: 500;
  transition: gap 0.2s;
}

.success-back:hover {
  gap: 0.625rem;
}

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

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

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .two-col,
  .teacher-grid,
  .enroll-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .cookie-actions {
    width: 100%;
  }

  .btn-cookie {
    flex: 1;
    text-align: center;
  }

  .form-card {
    padding: 1.75rem;
  }

  .teacher-img {
    order: -1;
  }

  .success-card {
    padding: 2.5rem 1.75rem;
  }
}
