/* ====== Base ====== */
:root{
  --bg: #fffaf4;
  --bg-alt: #f8f1e9;
  --text: #1b1a17;
  --muted: rgba(27, 26, 23, 0.72);
  --border: rgba(58, 25, 11, 0.12);
  --brand: #e17200;
  --brand-2: #995707;
  --shadow: 0 12px 32px rgba(58, 25, 11, 0.12);
  --radius: 18px;
  --container: 1120px;
  --topbar-height: 44px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

.muted{ color: var(--muted); font-size: 12px;}
.dot{ opacity: .6; margin: 0 10px; }

/* ====== Topbar ====== */
.topbar{
  position: relative;
  z-index: 60;
  background: linear-gradient(180deg, rgba(255,250,244,0.78) 0%, rgba(255,250,244,0.55) 70%, rgba(255,250,244,0) 100%);
  backdrop-filter: blur(20px);
  box-shadow: none;
  display: flex;
  height: 50px;
  font-size: 14px;
}
.topbar__inner{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
}
.topbar__left, .topbar__right{
  display:flex; align-items:center; flex-wrap:wrap;
}

/* ====== Header ====== */
.header{
  position: relative;
  width: 100%;
  /* background: #fff; */
  /* border-bottom: 1px solid var(--border); */
  /* box-shadow: 0 10px 28px rgba(0,0,0,0.06); */
  /* overflow: hidden; */
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 18px;
  width: 100%;
  max-width: none;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  /* transition: transform 180ms ease, box-shadow 180ms ease; */
}
.brand:hover{ transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.brand__logo{
  width: 30%;
  /* height: 68px; */
  filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(0,0,0,0.15));
  margin-bottom: 40px;
}
.brand__text{ letter-spacing: .02em; }
.brand--light{
  background: rgba(255,255,255,0.96);
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  /* box-shadow: 0 12px 32px rgba(0,0,0,0.16); */
}
.brand--light .brand__logo{
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.15));
}
.brand--light .brand__text{ display: none; }

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  font-weight: 600;
}
.nav a{ opacity: .9; }
.nav a:hover{ opacity: 1; }

.nav-toggle{
  display:none;
  border:1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}
.nav-toggle__bar{
  display:block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

/* ====== Buttons ====== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fffaf4;
  font-weight: 600;
  box-shadow: var(--shadow);
  text-decoration:none;
}
.btn:hover{ filter: brightness(0.98); text-decoration:none; }
.btn--ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}
.btn--small{
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: none;
}

/* ====== Sections ====== */
.section{ padding: 72px 0; }
.section--alt{ background: var(--bg-alt); }
.section--tight{ padding: 36px 0; }

.section__head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.section__head h2{ margin:0; }
.section__head p{ margin:0; color: var(--muted); }

/* ====== Hero ====== */
.hero{
  position: relative;
  padding: 96px 0 28px;
  overflow: hidden;
  background: #fffaf4;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-24px;
  background: url('../assets/hero.jpeg') center/cover no-repeat;
  filter: blur(18px);
  transform: scale(1.06);
  opacity: 0.9;
  z-index: 0;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom, rgba(255,250,244,0) 32%, rgba(255,250,244,0.78) 60%, #fffaf4 88%);
  z-index: 1;
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items:center;
  position: relative;
  z-index: 2;
}
.hero__content h1{
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  margin: 14px 0 14px;
  max-width: 16ch;
  word-wrap: break-word;
}
.lead{
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 38ch;
  word-wrap: break-word;
}

.badge{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  border: 1px solid var(--border);
  background: rgb(255, 255, 255);
  padding: 3px 12px;
  border-radius: 10px;
  font-size: 12px;
  margin: 0;
}
.hero__actions{ display:flex; gap: 12px; flex-wrap:wrap; margin: 16px 0 18px; }

.hero__media img{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero__media{ display:none; }

.hero__stats{
  display:flex;
  gap: 18px;
  flex-wrap:nowrap;
  margin-top: 18px;
  justify-content: flex-start;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100vw;
  touch-action: pan-x;
  padding-right: 20%;
}
.hero__stats::-webkit-scrollbar{ display: none; width: 0; height: 0; }
.stat{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  border-radius: 16px;
  padding: 10px 12px;
  min-width: 140px;
  white-space: nowrap;
}
.stat__num{ font-size: 18px; font-weight: 700; }
.stat__label{ color: var(--muted); font-weight: 600; font-size: 12px; }

/* ====== Grids & Cards ====== */
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3{ margin: 0 0 8px; }
.card p{ margin: 0; color: var(--muted); }

/* ====== Split (About) ====== */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items:center;
}
.split__media img{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.checklist{
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}
.checklist li{
  padding-left: 28px;
  margin: 10px 0;
  position: relative;
}
.checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: var(--brand);
}

/* ====== Programs ====== */
.program{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.program__top h3{ margin:0 0 6px; }
.program__top p{ margin:0; color: var(--muted); }
.program__meta{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.link{
  font-weight: 800;
  color: var(--brand);
  text-decoration:none;
}
.link:hover{ text-decoration: underline; }

/* ====== Events ====== */
.events{ display:flex; flex-direction: column; gap: 12px; }
.event{
  display:grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items:center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px 14px;
  box-shadow: var(--shadow);
}
.event__date{
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 0;
  background: rgba(245,158,11,0.12);
}
.event__month{ font-weight: 800; color: var(--brand); }
.event__day{ font-size: 26px; font-weight: 900; }
.event__body h3{ margin:0 0 4px; }
.event__body p{ margin:0; color: var(--muted); }

/* ====== Testimonials ====== */
.quote{
  margin: 0;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.quote blockquote{ margin:0 0 12px; color: var(--text); font-weight: 650; }
.quote figcaption{ color: var(--muted); font-weight: 650; }

/* ====== Contact ====== */
.contact{
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  align-items:start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: none;
  padding: 22px;
}
.contact__info h2{ margin: 6px 0 8px; }
.contact__info .lead{ max-width: 42ch; }
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius: 999px;
  background: rgba(245,158,11,0.12);
  color: var(--brand-2);
  font-weight: 700;
  font-size: 12px;
  margin: 0 0 6px;
}
.contact__chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 12px 0 14px;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 12px;
}
.contact__blocks{ display:grid; gap: 10px; margin-top: 10px; }
.contact__block{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
  box-shadow: none;
}
.contact__block h3{ margin:0 0 6px; }
.contact__block p{ margin:0; color: var(--muted); }

.form{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  box-shadow: none;
}
.form--join{ display:flex; flex-direction:column; gap: 12px; }
.form__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form__field{
  display:flex;
  flex-direction:column;
  /* font-weight: 750; */
  gap: 6px;
}
.form__field input,
.form__field textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  outline: none;
  font: inherit;
  font-size: 12px;
}
.form input:focus, .form textarea:focus{
  border-color: rgba(245,158,11,0.55);
  box-shadow: 0 0 0 2px rgba(245,158,11,0.15);
}
.form__actions{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  align-items:center;
}
.form__email{
  font-weight: 700;
  color: var(--brand-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form__note{
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 650;
}

/* ====== Footer ====== */
.footer{
  border-top: 1px solid var(--border);
  padding: 26px 0;
  background: #fff;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer__brand{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 6px;
}
.footer__logo{ width: 28px; height: 28px; }
.footer__links{ display:flex; gap: 14px; font-weight: 700; color: var(--muted); }

/* ====== Responsive ====== */
@media (max-width: 940px){
  .hero__inner{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .contact{ padding: 18px; }
  .grid3{ grid-template-columns: 1fr; }
  .event{ grid-template-columns: 90px 1fr; }
  .event .btn{ grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 780px){
  .topbar{
    font-size: 12px;
    padding: 4px 0;
    line-height: 1.2;
  }
  .topbar__inner{
    flex-direction: row;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    min-height: 24px;
  }
  .topbar__inner::-webkit-scrollbar{ display: none; }
  .topbar__left,
  .topbar__right{
    flex: 0 0 auto;
    gap: 6px;
    align-items: center;
  }
  .topbar__right::before{
    content: "•";
    opacity: .6;
    margin: 0 6px;
  }
  .hero{
    padding: 72px 0 20px;
  }
  .hero::before{
    filter: blur(10px);
    background-position: center 20%;
    inset: -12px;
    transform: scale(1.02);
  }
  .hero::after{
    background: linear-gradient(to bottom, rgba(255,250,244,0) 18%, rgba(255,250,244,0.72) 52%, #fffaf4 88%);
  }
  .hero__inner{
    gap: 14px;
    text-align: left;
  }
  .hero__content{
    margin: 0 auto;
    max-width: 560px;
  }
  .hero__actions{
    justify-content: flex-start;
    gap: 8px;
  }
  .hero__actions .btn{
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 12px;
  }
  .hero__stats{
    justify-content: flex-start;
  }
  .contact{
    padding: 14px;
    border-radius: 18px;
    gap: 14px;
  }
  .form__row{ grid-template-columns: 1fr; }
  .form__actions{ flex-direction: column; align-items: stretch; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav{
    position: absolute;
    right: 20px;
    top: 64px;
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow);
    min-width: 240px;
  }
  .nav.is-open{ display:flex; }
}

