@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&family=Acme&family=Inter:wght@300;400;500&display=swap');

@font-face {
  font-family: 'Aileron';
  src: url('../fonts/Aileron-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aileron';
  src: url('../fonts/Aileron-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aileron';
  src: url('../fonts/Aileron-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Acme';
  src: url('../fonts/Acme-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Aileron', 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fff;
}

/* ── Nav ───────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 48px;
  height: 50px;
}

/* Inner pages — match scrolled home nav height */
nav:not(.transparent-nav) {
  height: 86px;
}

/* Transparent variant — homepage only */
nav.transparent-nav {
  background: transparent;
  border-bottom: none;
  padding-top: 20px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

nav.transparent-nav.scrolled {
  background: #000;
  border-bottom: none;
  padding-top: 0;
  height: 86px;
}

nav.transparent-nav.scrolled .nav-links a,
nav.transparent-nav.scrolled .nav-brand {
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  justify-self: start;
}

.nav-links a {
  font-family: 'Aileron', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: normal;
  text-decoration: none;
  color: #1a1a1a;
  transition: opacity 0.15s;
}

nav.transparent-nav .nav-links a {
  color: #fff;
}

.nav-links a:hover { opacity: 0.5; }

.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-brand {
  font-family: 'Acme', sans-serif;
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  letter-spacing: normal;
  text-decoration: none;
  color: #1a1a1a;
  justify-self: center;
}

nav.transparent-nav .nav-brand {
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ── Hamburger ─────────────────────────────────── */

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
}

nav.transparent-nav .hamburger span {
  background: #fff;
}

nav.transparent-nav.scrolled .hamburger span {
  background: #fff;
}

/* ── Mobile Nav Overlay ─────────────────────────── */

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 300;
  flex-direction: column;
}

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

.mobile-nav-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 24px;
  height: 46px;
  flex-shrink: 0;
}

.mobile-nav-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  justify-self: start;
}

.mobile-nav-brand-label {
  font-family: 'Acme', sans-serif;
  font-size: 22px;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  color: #1a1a1a;
  justify-self: center;
  grid-column: 2;
  transform: translateX(0px);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
}

.mobile-nav-links li a {
  font-family: 'Aileron', sans-serif;
  font-size: 36px;
  font-weight: 300;
  color: #1a1a1a;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  -webkit-font-smoothing: antialiased;
}

.mobile-nav-links li a:hover { opacity: 0.5; }

/* ── Buttons ───────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0 37px;
  height: 77px;
  background: rgb(245, 243, 117);
  color: #000;
  text-decoration: none;
  font-family: 'Aileron', sans-serif;
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  letter-spacing: normal;
  text-transform: none;
  transition: opacity 0.15s;
}

.btn:hover { opacity: 0.8; }

/* ── Home: Hero ────────────────────────────────── */

.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 1000px;
  text-align: center;
}

.hero-eyebrow {
  font-family: 'Lora', serif;
  font-size: 27.6928px;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  margin-bottom: 20px;
  text-decoration: underline;
  text-decoration-color: rgb(245, 243, 117);
  text-underline-offset: 5px;
}

.hero h1,
.section-mission h1 {
  font-family: 'Lora', serif;
  font-size: clamp(24px, 3.5vw, 51px);
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  line-height: 1.2;
  margin-bottom: 28px;
}

/* ── Home: Statement of Faith ──────────────────── */

.section-faith {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 55vh;
}

.section-faith-image {
  padding: 80px 48px 80px 60px;
  display: flex;
  align-items: flex-start;
}

.section-faith-image img {
  width: 100%;
  height: 98%;
  object-fit: cover;
  display: block;
}

.section-faith-content {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #555;
  margin-bottom: 16px;
}

.section-faith-content h2 {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 32px;
}

.faith-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faith-list li {
  font-family: 'Aileron', sans-serif;
  font-size: 17.7796px;
  font-weight: 300;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  color: #333;
}


/* ── Home: Mission ─────────────────────────────── */

.section-mission {
  min-height: 88vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
  position: relative;
}

.section-mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.section-mission .hero-content { color: #fff; }

/* ── Inner page header ─────────────────────────── */

.page-header {
  height: 520px;
  width: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
  position: relative;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
}

.page-header h1 {
  position: relative;
  z-index: 1;
  font-family: 'Lora', serif;
  font-size: clamp(32px, 3.9vw, 58px);
  font-weight: 400;
  color: #fff;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

/* ── About: Teacher Profiles ───────────────────── */

.page-intro {
  max-width: 2000px;
  margin: 0 auto;
  padding: 220px 60px 0;
}

.page-intro h1 {
  font-family: 'Lora', serif;
  font-size: clamp(32px, 3.9vw, 58px);
  font-weight: 400;
  margin-bottom: 0;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

.page-content {
  max-width: 2000px;
  margin: 0 auto;
  padding: 72px 60px 80px;
}

.teacher-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-bottom: 100px;
  align-items: start;
}

.teacher-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.teacher-bio h2 {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 28px;
  line-height: 1.1;
}

.teacher-bio p {
  font-family: 'Aileron', sans-serif;
  font-size: 18.4px;
  font-weight: 300;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  line-height: 1.85;
  color: #333;
  margin-bottom: 16px;
}

/* ── Courses page ──────────────────────────────── */

.courses-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-bottom: 80px;
  align-items: start;
}

.courses-top .left h2 {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 24px;
}

.courses-top .left p {
  font-family: 'Aileron', sans-serif;
  font-size: 18.4px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  line-height: 1.85;
  color: #333;
}

.course-group { margin-bottom: 48px; }

.course-group h3 {
  font-family: 'Lora', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e4e4e4;
}

.course-list {
  list-style: none;
  counter-reset: course;
}

.course-list li {
  counter-increment: course;
  font-size: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  gap: 16px;
  align-items: baseline;
  color: #333;
}

.course-list li::before {
  content: counter(course, decimal-leading-zero);
  font-size: 11px;
  color: #bbb;
  min-width: 22px;
  flex-shrink: 0;
}

/* Certificate Program */
.cert-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-bottom: 80px;
  align-items: start;
}

.cert-section img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.cert-content h2 {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 24px;
}

.cert-content p {
  font-family: 'Aileron', sans-serif;
  font-size: 18.4px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  line-height: 1.85;
  color: #333;
  margin-bottom: 16px;
}

.cert-content ul {
  list-style: none;
  margin: 16px 0;
}

.cert-content ul li {
  font-size: 14px;
  color: #333;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.cert-content ul li::before {
  content: '\00B7';
  position: absolute;
  left: 0;
  color: #aaa;
  font-size: 18px;
  line-height: 1.4;
}

/* Fees */
.fees-section {
  border-top: 1px solid #e4e4e4;
  padding-top: 64px;
  margin-bottom: 72px;
}

.fees-section h2 {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 8px;
}

.fees-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 36px 0 14px;
  color: #555;
}

.fees-intro {
  font-family: 'Aileron', sans-serif;
  font-size: 18.4px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  line-height: 1.85;
  color: #333;
  max-width: 680px;
  margin-bottom: 36px;
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
}

.fees-table td {
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}

.fees-table td:first-child {
  font-weight: 500;
  color: #1a1a1a;
  width: 220px;
}

.fees-table td:nth-child(2) {
  color: #1a1a1a;
  width: 100px;
}

.fees-table td:last-child { color: #666; }

.fees-note {
  font-size: 13px;
  color: #888;
  font-style: italic;
  margin-top: 12px;
}

/* Policy blocks */
.policy-block {
  border-top: 1px solid #e4e4e4;
  padding-top: 48px;
  margin-bottom: 48px;
}

.policy-block .label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #555;
  margin-bottom: 12px;
}

.policy-block h3 {
  font-family: 'Lora', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 16px;
}

.policy-block p {
  font-family: 'Aileron', sans-serif;
  font-size: 18.4px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  line-height: 1.85;
  color: #333;
}

/* ── Course Descriptions ───────────────────────── */

.course-desc-section {
  border-top: 1px solid #e4e4e4;
  padding-top: 64px;
  margin-bottom: 80px;
}

.course-desc-section h2 {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 36px;
}

.course-desc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 72px;
}

.course-desc-item h3 {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.2;
}

.course-desc-item p {
  font-family: 'Aileron', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

/* ── Register page ─────────────────────────────── */

.register-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding: 80px 60px;
  max-width: 2000px;
  margin: 0 auto;
}

.instructions h2 {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 36px;
  line-height: 1.1;
}

.instructions ol {
  list-style: none;
  counter-reset: step;
}

.instructions ol li {
  counter-increment: step;
  font-size: 14px;
  line-height: 1.75;
  padding: 16px 0;
  border-bottom: 1px solid #ebebeb;
  display: flex;
  gap: 20px;
  color: #333;
}

.instructions ol li::before {
  content: counter(step);
  font-size: 11px;
  font-weight: 600;
  color: #ccc;
  min-width: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

.form-section h2 {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 36px;
  line-height: 1.1;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid #d4d4d4;
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #fff;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1a1a1a;
}

.form-group textarea { min-height: 90px; resize: vertical; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  grid-column: 1 / -1;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #1a1a1a;
  flex-shrink: 0;
  border: none;
  padding: 0;
}

.checkbox-group label {
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: #444;
  font-weight: 400;
}

.btn-submit {
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 15px 48px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.15s;
  grid-column: 1 / -1;
  justify-self: start;
}

.btn-submit:hover { background: #333; }

.form-group-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  font-weight: 600;
  font-family: 'Aileron', sans-serif;
  margin-bottom: 10px;
  display: block;
}

.checkbox-stack,
.radio-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Aileron', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #1a1a1a;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"],
.checkbox-item input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}

/* ── Footer ────────────────────────────────────── */

footer {
  background: #f0f0f0;
  color: #1a1a1a;
  padding: 64px 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  max-width: 2000px;
  margin: 0 auto;
}

.footer-brand h3 {
  font-family: 'Lora', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.1;
}

.footer-brand p {
  font-size: 13px;
  color: #444;
  line-height: 1.7;
}

.footer-brand a { color: #1a1a1a; }

.footer-col h4 {
  font-family: 'Lora', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 15px;
  color: #333;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: #000; }


/* ── Scroll reveal ─────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ────────────────────────────────── */

@media (max-width: 900px) {
  nav, nav:not(.transparent-nav) { padding: 20px 24px 0; height: 46px; }
  .nav-brand { font-size: 22px; }
  .nav-links { display: none; }
  .hamburger {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .section-faith { grid-template-columns: 1fr; }
  .section-faith-image { padding: 40px 24px 0; }
  .section-faith-content { padding: 56px 24px; }
  .section-faith-content h2 { font-size: 44px; }

  .page-header { padding: 0 24px 40px; }
  .page-intro { padding: 100px 24px 0; }
  .page-content { padding: 80px 24px 80px; }

  .teacher-profile {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 72px;
  }

  .teacher-photo {
    aspect-ratio: 4 / 3;
    order: -1;
  }

  .courses-top,
  .cert-section,
  .course-desc-grid { grid-template-columns: 1fr; }

  .btn {
    width: 80vw;
    justify-content: center;
  }

  .register-layout {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 56px;
  }

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

  footer { padding: 48px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
