:root{
  --navy:#09275b;
  --blue:#1d5fc7;
  --gold:#f2ad24;
  --cream:#fbf5ec;
  --ink:#17243a;
  --muted:#617086;
  --green:#34724d;
  --purple:#533681;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--cream);
}
a{color:inherit}

/* HEADER — same visual system as contact.html */
.ep-site-header{
  background:#fff;
  border-bottom:1px solid rgba(9,39,91,.08);
  position:relative;
  z-index:20;
}
.ep-nav-inner{
  max-width:1320px;
  margin:auto;
  min-height:82px;
  padding:0 55px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.ep-brand{
  color:var(--navy);
  font-size:25px;
  font-weight:900;
  letter-spacing:-1px;
  text-decoration:none;
  white-space:nowrap;
}
.ep-brand span{color:var(--blue)}
.ep-menu{display:flex;align-items:center;gap:4px}
.ep-menu>a,.ep-dropdown-button{
  padding:12px 14px;
  color:var(--ink);
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  background:none;
  border:0;
  cursor:pointer;
  font-family:inherit;
}
.ep-menu>a:hover,.ep-dropdown-button:hover{color:var(--blue)}
.ep-dropdown{position:relative}
.ep-dropdown-menu{
  display:none;
  position:absolute;
  right:0;
  top:100%;
  min-width:190px;
  padding:8px;
  background:#fff;
  border:1px solid rgba(9,39,91,.09);
  border-radius:12px;
  box-shadow:0 14px 35px rgba(9,39,91,.12);
}
.ep-dropdown-open .ep-dropdown-menu{display:block}
.ep-dropdown-menu a{
  display:block;
  padding:11px 13px;
  color:var(--ink);
  text-decoration:none;
  border-radius:8px;
  font-size:14px;
}
.ep-dropdown-menu a:hover{background:var(--cream);color:var(--blue)}
.ep-menu-toggle{
  display:none;
  background:none;
  border:0;
  padding:8px;
  cursor:pointer;
}
.ep-menu-toggle span{
  display:block;
  width:25px;
  height:2px;
  background:var(--navy);
  margin:5px 0;
}

/* PAGE */
.ep-page{
  max-width:1320px;
  margin:auto;
  padding:58px 55px 80px;
}
.ep-page-title{
  text-align:center;
  max-width:1000px;
  margin:0 auto 48px;
}
.ep-eyebrow{
  color:var(--blue);
  font-size:13px;
  font-weight:800;
  letter-spacing:2.5px;
  text-transform:uppercase;
  margin-bottom:14px;
}
.ep-page-title h1{
  margin:0;
  color:var(--navy);
  font-size:clamp(44px,6vw,74px);
  line-height:1;
  letter-spacing:-3px;
}
.ep-rule{
  width:88px;
  height:6px;
  margin:20px auto 0;
  border-radius:20px;
  background:var(--gold);
}

/* INTRO */
.ep-intro-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:stretch;
  margin-bottom:55px;
}
.ep-intro-copy{
  padding:38px 40px;
  background:rgba(255,255,255,.45);
  border:1px solid rgba(9,39,91,.06);
  border-radius:28px;
}
.ep-intro-copy h2{
  margin:0 0 18px;
  color:var(--navy);
  font-size:34px;
  line-height:1.1;
  letter-spacing:-1px;
}
.ep-intro-copy p{
  margin:0 0 14px;
  color:var(--ink);
  font-size:18px;
  line-height:1.7;
}
.ep-intro-copy p:last-child{margin-bottom:0}
.ep-intro-visual{
  min-height:330px;
  border-radius:28px;
  overflow:hidden;
  background:#fff;
}
.ep-intro-visual img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

/* SECTION HEADINGS */
.ep-section-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin:42px 0 20px;
}
.ep-section-heading h2{
  margin:0;
  color:var(--navy);
  font-size:32px;
  letter-spacing:-1px;
}
.ep-section-rule{
  flex:1;
  height:1px;
  background:rgba(9,39,91,.12);
  margin-bottom:7px;
}

/* HOW IT WORKS */
.ep-how-intro{
  max-width:820px;
  margin:0 auto 28px;
  text-align:center;
  color:var(--muted);
  font-size:18px;
  line-height:1.65;
}
.ep-how-image{
  margin:0 0 24px;
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(9,39,91,.06);
}
.ep-how-image img{
  display:block;
  width:100%;
  height:auto;
}
.ep-steps{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
}
.ep-step-image{
  margin:-23px -18px 18px;
  height:300px;
  overflow:hidden;
  background:#fff;
  border-bottom:1px solid rgba(9,39,91,.06);
}
.ep-step-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.ep-step{
  padding:23px 18px 22px;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(9,39,91,.07);
  border-radius:18px;
  text-align:center;
}
.ep-step-number{
  width:44px;
  height:44px;
  margin:0 auto 14px;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:900;
}
.ep-step h3{
  margin:0 0 8px;
  color:var(--navy);
  font-size:17px;
}
.ep-step p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

/* PROGRAM ACCORDION */
.ep-program{
  margin-top:55px;
}
.ep-program-intro{
  max-width:850px;
  color:var(--muted);
  font-size:17px;
  line-height:1.65;
  margin:0 0 20px;
}
.ep-accordion{
  display:grid;
  gap:12px;
}
.ep-event{
  background:rgba(255,255,255,.58);
  border:1px solid rgba(9,39,91,.08);
  border-radius:18px;
  overflow:hidden;
}
.ep-event-button{
  width:100%;
  border:0;
  background:transparent;
  padding:21px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  text-align:left;
  color:var(--navy);
  font:inherit;
  font-size:18px;
  font-weight:800;
  cursor:pointer;
}
.ep-event-button:hover{background:rgba(255,255,255,.78)}
.ep-event-button:focus-visible{
  outline:3px solid rgba(29,95,199,.35);
  outline-offset:-3px;
}
.ep-event-title{
  display:flex;
  align-items:center;
  gap:14px;
  line-height:1.35;
}
.ep-accordion-icon{
  width:42px;
  height:42px;
  flex:0 0 42px;
  object-fit:contain;
  border-radius:10px;
}
.ep-chevron{
  flex:0 0 auto;
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--cream);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--blue);
  font-size:20px;
  transition:transform .18s ease,background .18s ease;
}
.ep-event.open .ep-chevron{
  transform:rotate(180deg);
  background:#fff;
}
.ep-event-content{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .25s ease;
}
.ep-event.open .ep-event-content{grid-template-rows:1fr}
.ep-event-content-inner{
  overflow:hidden;
  min-height:0;
  padding:0 24px;
}
.ep-event.open .ep-event-content-inner{
  padding:0 24px 25px;
}
.ep-event-details{
  padding:2px 0 0;
  border-top:1px solid rgba(9,39,91,.08);
}
.ep-event-details p{
  margin:18px 0 0;
  color:var(--ink);
  font-size:16px;
  line-height:1.7;
}
.ep-event-details a{
  color:var(--blue);
  font-weight:700;
  text-decoration:underline;
}
.ep-event-details a:hover{color:var(--navy)}
.ep-event-details ul{
  margin:14px 0 0 20px;
  padding:0;
  columns:2;
  column-gap:55px;
}
.ep-event-details li{
  margin:0 0 9px;
  color:var(--ink);
  line-height:1.45;
  break-inside:avoid;
}
.ep-form-button{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-top:8px;
  padding:13px 19px;
  border-radius:9px;
  background:var(--blue);
  color:#fff !important;
  text-decoration:none !important;
  font-weight:800 !important;
  box-shadow:0 9px 22px rgba(29,95,199,.18);
}
.ep-form-button:hover{
  background:var(--navy);
  color:#fff !important;
}

/* CALLOUT */
.ep-callout{
  margin-top:55px;
  padding:48px 55px;
  border-radius:26px;
  background:var(--navy);
  color:#fff;
  text-align:center;
}
.ep-callout h2{
  margin:0;
  font-size:clamp(32px,4vw,46px);
  letter-spacing:-1px;
}
.ep-callout p{
  max-width:760px;
  margin:17px auto 25px;
  color:rgba(255,255,255,.82);
  font-size:17px;
  line-height:1.65;
}
.ep-button{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:14px 21px;
  border-radius:9px;
  background:var(--gold);
  color:var(--navy);
  text-decoration:none;
  font-weight:800;
}
.ep-button:hover{
  background:#fff;
}

/* FOOTER */
.ep-footer{
  padding:50px 24px;
  background:#fffdf9;
  border-top:1px solid rgba(9,39,91,.08);
}
.ep-footer-inner{
  max-width:1100px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  gap:40px;
}
.ep-footer h3{
  color:var(--navy);
  margin:0 0 10px;
}
.ep-footer p{
  color:var(--muted);
  margin:0;
  line-height:1.6;
}

/* RESPONSIVE */
@media(max-width:1050px){
  .ep-steps{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  .ep-nav-inner{min-height:70px;padding:0 28px}
  .ep-menu-toggle{display:block}
  .ep-menu{
    display:none;
    position:absolute;
    left:20px;
    right:20px;
    top:70px;
    padding:10px;
    background:#fff;
    border:1px solid rgba(9,39,91,.09);
    border-radius:14px;
    box-shadow:0 14px 35px rgba(9,39,91,.12);
    flex-direction:column;
    align-items:stretch;
  }
  .ep-menu.ep-menu-open{display:flex}
  .ep-menu>a,.ep-dropdown-button{
    display:block;
    width:100%;
    text-align:left;
    padding:13px 14px;
  }
  .ep-dropdown-menu{
    position:static;
    box-shadow:none;
    border:0;
    padding:0 0 6px 12px;
  }
  .ep-page{padding:48px 24px 65px}
  .ep-intro-grid{grid-template-columns:1fr}
  .ep-intro-visual{min-height:300px}
}
@media(max-width:600px){
  .ep-page-title{margin-bottom:34px}
  .ep-page-title h1{font-size:46px;letter-spacing:-2px}
  .ep-intro-copy{padding:28px 25px}
  .ep-intro-copy h2{font-size:29px}
  .ep-intro-visual{min-height:230px;border-radius:22px}
  .ep-section-heading h2{font-size:28px}
  .ep-how-image{border-radius:18px}
  .ep-steps{grid-template-columns:1fr}
  .ep-event-button{padding:18px}
  .ep-event-content-inner{padding-left:18px;padding-right:18px}
  .ep-event.open .ep-event-content-inner{padding-left:18px;padding-right:18px;padding-bottom:20px}
  .ep-event-details ul{columns:1}
  .ep-callout{padding:40px 25px}
  .ep-footer-inner{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important}
}

/* Dropdown layering and reliable hover support for desktop, click support on touch */
.ep-site-header { z-index: 100; }
.ep-dropdown { z-index: 101; }
.ep-dropdown-menu { z-index: 102; }
@media (hover: hover) and (min-width: 901px) {
  .ep-dropdown:hover .ep-dropdown-menu,
  .ep-dropdown:focus-within .ep-dropdown-menu { display: block; }
}

/* Workshops: label is a link, arrow is the submenu toggle */
.ep-dropdown-heading { display: flex; align-items: center; }
.ep-dropdown-heading .ep-dropdown-link,
.ep-dropdown-heading .ep-dropdown-link:visited {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding-right: 4px;
}
.ep-dropdown-heading .ep-dropdown-link:hover,
.ep-dropdown-heading .ep-dropdown-link:focus-visible { color: var(--blue); }
.ep-dropdown-heading .ep-dropdown-button { padding-left: 4px; }

@media (max-width: 900px) {
  .ep-dropdown-heading .ep-dropdown-link { flex: 1; padding: 13px 14px; }
  .ep-dropdown-heading .ep-dropdown-button { width: auto; padding: 13px 14px; }
}

/* =========================================================
   FIXES + MOBILE REFINEMENTS
   ========================================================= */

/* Step images: tablet — keep 5 steps balanced (3 + 2, centered) and shorter */
@media(min-width:601px) and (max-width:1050px){
  .ep-steps{grid-template-columns:repeat(6,1fr)}
  .ep-step{grid-column:span 2}
  .ep-step:nth-child(4){grid-column:2 / span 2}
  .ep-step:nth-child(5){grid-column:4 / span 2}
  .ep-step-image{height:240px}
}

/* Step images: phones — compact rows (small image + text) instead of
   five full-width, 300px-tall pictures */
@media(max-width:600px){
  .ep-steps{gap:10px}
  .ep-step{
    position:relative;
    display:grid;
    grid-template-columns:96px minmax(0,1fr);
    column-gap:16px;
    align-items:center;
    padding:14px;
    text-align:left;
  }
  .ep-step-image{
    grid-column:1;
    grid-row:1 / span 2;
    width:96px;
    height:96px;
    margin:0;
    border:1px solid rgba(9,39,91,.06);
    border-radius:12px;
  }
  .ep-step-number{
    position:absolute;
    top:8px;
    left:8px;
    z-index:1;
    width:28px;
    height:28px;
    margin:0;
    font-size:14px;
  }
  .ep-step h3{grid-column:2;grid-row:1;align-self:end;margin:0 0 6px;font-size:16px}
  .ep-step p{grid-column:2;grid-row:2;align-self:start;font-size:14px}
}

/* Accessibility: links inside collapsed accordion panels should not be
   reachable with the keyboard until the panel is opened */
.ep-event-content-inner{visibility:hidden;transition:visibility 0s linear .25s}
.ep-event.open .ep-event-content-inner{visibility:visible;transition-delay:0s}

/* Same iPhone/Safari navigation fixes that main.css already has */
.ep-menu-toggle,
.ep-dropdown-button,
.ep-event-button,
body{
  cursor:pointer;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}
@media(max-width:900px){
  .ep-menu{
    -webkit-transform:translateZ(0);
    transform:translateZ(0);
    z-index:1001;
  }
  .ep-site-header{
    z-index:1000;
    isolation:isolate;
  }
  .ep-dropdown-open .ep-dropdown-menu{
    display:block;
    -webkit-transform:translateZ(0);
    transform:translateZ(0);
  }
}
