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

:root {
  --emerald-950: #022c22;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;
  --cream-50: #fafaf8;
  --cream-100: #f5f4f0;
  --cream-200: #e8e6df;
  --cream-300: #d4d2ca;
  --stone-900: #0c0a09;
  --stone-800: #1c1917;
  --stone-700: #292524;
  --stone-600: #44403c;
  --stone-500: #57534e;
  --stone-400: #78716c;
  --stone-300: #a8a29e;
  --stone-200: #d6d3d1;
  --stone-100: #e7e5e4;
  --white: #ffffff;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--stone-700);
  background-color: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

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

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--emerald-800);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 1000;
  font-size: 14px;
}
.skip-link:focus {
  top: 16px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone-100);
  transition: box-shadow 0.3s var(--ease-out);
}
.header.scrolled {
  box-shadow: 0 1px 0 var(--stone-100);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--emerald-800);
  border-radius: 6px;
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 6px;
  right: 6px;
  height: 1px;
  background: var(--emerald-100);
  box-shadow: 0 4px 0 var(--emerald-100);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-line-one {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-800);
}
.logo-line-two {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-500);
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-list a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--stone-600);
  transition: color 0.2s;
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--emerald-700);
  transition: width 0.3s var(--ease-out);
}
.nav-list a:hover {
  color: var(--emerald-700);
}
.nav-list a:hover::after {
  width: 100%;
}
.nav-cta {
  background: var(--emerald-800);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s var(--ease-out) !important;
}
.nav-cta::after {
  display: none;
}
.nav-cta:hover {
  background: var(--emerald-700);
  color: var(--white) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 101;
}
.nav-toggle-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--stone-700);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 4px;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--emerald-800);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--emerald-700);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--stone-700);
  border: 1px solid var(--stone-200);
}
.btn-ghost:hover {
  border-color: var(--emerald-600);
  color: var(--emerald-700);
}
.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* Section Eyebrow */
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 16px;
}

/* Section Title */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--stone-900);
  margin-bottom: 20px;
}

/* Section Subtitle */
.section-subtitle {
  font-size: 17px;
  color: var(--stone-500);
  max-width: 520px;
  line-height: 1.7;
}

/* Hero */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--cream-50);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-content {
  padding-right: 24px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--stone-900);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--emerald-800);
}
.hero-subtitle {
  font-size: 17px;
  line-height: 1.75;
  color: var(--stone-500);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--emerald-800);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-400);
}
.hero-divider {
  width: 1px;
  height: 40px;
  background: var(--stone-200);
}
.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 4px;
}
.hero-image-accent {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 120px;
  height: 120px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: 4px;
  z-index: -1;
}

/* About */
.about {
  padding: 120px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
}
.about-content .section-title {
  margin-bottom: 24px;
}
.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--stone-500);
  margin-bottom: 16px;
}
.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--stone-600);
}
.feature-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-600);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* Programs */
.programs {
  padding: 120px 0;
  background: var(--cream-50);
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-subtitle {
  margin: 0 auto;
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--stone-100);
  border-radius: 4px;
  padding: 40px 32px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.program-card:hover {
  border-color: var(--emerald-200);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(6, 95, 70, 0.08);
}
.program-icon {
  width: 48px;
  height: 48px;
  color: var(--emerald-700);
  margin-bottom: 24px;
}
.program-icon svg {
  width: 100%;
  height: 100%;
}
.program-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--stone-900);
  margin-bottom: 12px;
}
.program-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--stone-500);
  margin-bottom: 24px;
}
.program-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.program-features li {
  font-size: 14px;
  color: var(--stone-600);
  padding-left: 16px;
  position: relative;
}
.program-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--emerald-500);
  border-radius: 50%;
}
.program-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-700);
  transition: gap 0.25s var(--ease-out);
}
.program-link:hover {
  gap: 14px;
}
.program-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-out);
}
.program-link:hover .program-arrow {
  transform: translateX(2px);
}

/* Why */
.why {
  padding: 120px 0;
  background: var(--white);
}
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-content .section-title {
  margin-bottom: 40px;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.why-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.why-number {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--emerald-100);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.why-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--stone-800);
  margin-bottom: 6px;
}
.why-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--stone-500);
}
.why-image img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 4px;
}

/* Process */
.process {
  padding: 120px 0;
  background: var(--cream-50);
}
.process .section-header {
  margin-bottom: 72px;
}
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.process-step {
  flex: 1;
  text-align: center;
}
.step-number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--emerald-200);
  line-height: 1;
  margin-bottom: 20px;
}
.step-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--stone-800);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--stone-500);
  max-width: 220px;
  margin: 0 auto;
}
.process-step-connector {
  width: 32px;
  flex-shrink: 0;
  align-self: center;
}
.process-step-connector::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--stone-200);
  position: relative;
}
.process-step-connector::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--emerald-400);
  border-radius: 50%;
  margin: 10px auto 0;
}

/* Contact */
.contact {
  padding: 120px 0;
  background: var(--white);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-title {
  margin-bottom: 20px;
}
.contact-intro {
  font-size: 16px;
  line-height: 1.75;
  color: var(--stone-500);
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--emerald-700);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 4px;
}
.contact-value {
  font-size: 15px;
  color: var(--stone-700);
  line-height: 1.6;
}
.contact-value a {
  color: var(--stone-700);
  transition: color 0.2s;
}
.contact-value a:hover {
  color: var(--emerald-700);
}

/* Form */
.contact-form-wrap {
  background: var(--cream-50);
  border: 1px solid var(--stone-100);
  border-radius: 4px;
  padding: 40px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--stone-800);
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 4px;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-600);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--stone-300);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: 4px;
  color: var(--emerald-800);
  font-size: 14px;
}
.form-success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--emerald-600);
}

/* Footer */
.footer {
  background: var(--emerald-950);
  color: var(--cream-200);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-line-one {
  color: var(--cream-100);
}
.footer-brand .logo-line-two {
  color: var(--emerald-400);
}
.footer-tagline {
  font-size: 14px;
  color: var(--stone-400);
  margin-top: 12px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--stone-400);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--cream-100);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}
.footer-phone {
  font-size: 16px;
  font-weight: 400;
  color: var(--cream-100);
  transition: color 0.2s;
}
.footer-phone:hover {
  color: var(--emerald-400);
}
.footer-address {
  font-size: 14px;
  color: var(--stone-400);
  line-height: 1.6;
}
.footer-bottom {
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--stone-500);
}

/* Mobile Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(250, 250, 248, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.nav-overlay.active {
  display: flex;
}
.nav-overlay .nav-list {
  flex-direction: column;
  gap: 24px;
}
.nav-overlay .nav-list a {
  font-size: 20px;
  font-weight: 300;
  color: var(--stone-700);
  letter-spacing: 0.02em;
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 32px;
  }
  .hero-image img {
    height: 480px;
  }
  .about-grid,
  .why-layout,
  .contact-layout {
    gap: 40px;
  }
  .why-image img {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }
  .hero-content {
    padding-right: 0;
    order: 1;
  }
  .hero-image {
    order: 2;
  }
  .hero-image img {
    height: 360px;
  }
  .hero-image-accent {
    display: none;
  }
  .hero-stats {
    gap: 20px;
  }
  .about-grid,
  .why-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .about-image-wrap {
    order: -1;
  }
  .about-image-wrap img,
  .why-image img {
    height: 300px;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    flex-direction: column;
    gap: 32px;
  }
  .process-step-connector {
    display: none;
  }
  .step-number {
    font-size: 36px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-contact {
    text-align: center;
  }
  .contact-form-wrap {
    padding: 24px;
  }
  .btn {
    padding: 12px 22px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hero-divider {
    width: 40px;
    height: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
