:root{
  --maroon:#8f0000;
  --maroon-dark:#520000;
  --maroon-soft:#b01515;
  --gold:#f6c747;
  --gold-dark:#d99c16;
  --cream:#fff8ec;
  --paper:#fbf6ee;
  --white:#ffffff;
  --ink:#17140f;
  --muted:#5d554b;
  --line:rgba(23,20,15,.12);
  --shadow:0 24px 70px rgba(60,25,0,.14);
  --serif:'Playfair Display', Georgia, serif;
  --sans:'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif;
}

/* RESET */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:var(--sans);
  background:var(--paper);
  color:var(--ink);
  line-height:1.6;
  overflow-x:hidden;
}

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

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

button,
input,
textarea{
  font:inherit;
}

/* ACCESSIBILITY */
.skip-link{
  position:absolute;
  left:16px;
  top:-80px;
  background:var(--ink);
  color:#fff;
  padding:10px 16px;
  border-radius:999px;
  z-index:9999;
}

.skip-link:focus{
  top:12px;
}

.screen-reader-text{
  position:absolute!important;
  height:1px;
  width:1px;
  overflow:hidden;
  clip:rect(1px,1px,1px,1px);
  white-space:nowrap;
}

a:focus,
button:focus,
input:focus,
textarea:focus{
  outline:3px solid rgba(246,199,71,.85);
  outline-offset:3px;
}

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

.section{
  padding:96px 0;
}

/* TYPOGRAPHY */
.eyebrow{
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--maroon);
  margin-bottom:14px;
}

.eyebrow:before{
  content:"";
  width:30px;
  height:2px;
  background:var(--gold);
  border-radius:999px;
}

.section-title{
  font-family:var(--serif);
  font-size:clamp(36px,5vw,64px);
  line-height:1.04;
  letter-spacing:-.035em;
  color:var(--ink);
}

.section-title em{
  font-style:normal;
  color:var(--maroon);
}

.lead{
  font-size:18px;
  color:var(--muted);
  max-width:680px;
}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,248,236,.94);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}

.nav{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
}

.brand-logo,
.custom-logo{
  width:54px!important;
  height:54px!important;
  max-width:54px!important;
  max-height:54px!important;
  object-fit:contain;
  flex:0 0 auto;
}

.brand-name{
  font-weight:800;
  line-height:1.15;
  font-size:17px;
  color:var(--ink);
}

.brand-name span{
  display:block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--maroon);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:4px;
}

.nav-links a{
  font-weight:800;
  font-size:14px;
  padding:12px 14px;
  border-radius:999px;
  color:#19130d;
}

.nav-links a:hover,
.nav-links a:focus{
  background:#fff;
  color:var(--maroon);
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
}

.mobile-menu{
  display:none;
  background:var(--cream);
  border-top:1px solid var(--line);
  padding:14px 0;
}

.mobile-menu a{
  display:block;
  padding:14px 20px;
  font-weight:800;
}

.mobile-menu.open{
  display:block;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:7px;
  border:0;
  font-weight:900;
  cursor:pointer;
  transition:.2s ease;
  white-space:nowrap;
}

.btn-primary{
  background:var(--gold);
  color:#180f05;
  padding:15px 24px;
  box-shadow:0 14px 35px rgba(246,199,71,.35);
}

.btn-primary:hover,
.btn-primary:focus{
  transform:translateY(-2px);
  background:#ffd75f;
}

.btn-secondary{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.55);
  padding:14px 22px;
}

.btn-secondary:hover,
.btn-secondary:focus{
  background:#fff;
  color:var(--maroon);
}

.btn-light{
  background:#fff;
  color:var(--maroon);
  border:1px solid var(--line);
  padding:14px 24px;
  box-shadow:0 8px 25px rgba(80,40,0,.08);
}

/* HERO */
.hero{
  position:relative;
  min-height:calc(100vh - 78px);
  display:grid;
  place-items:center;
  overflow:hidden;
  background:var(--maroon-dark);
  isolation:isolate;
}

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

.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  background-size:cover;
  background-position:center;
  animation:heroFade 24s infinite;
}

.hero-slide:nth-child(1){animation-delay:0s}
.hero-slide:nth-child(2){animation-delay:6s}
.hero-slide:nth-child(3){animation-delay:12s}
.hero-slide:nth-child(4){animation-delay:18s}

@keyframes heroFade{
  0%,22%{opacity:1}
  28%,100%{opacity:0}
}

.hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(82,0,0,.94) 0%,rgba(143,0,0,.86) 44%,rgba(143,0,0,.58) 100%);
  z-index:-2;
}

.hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 78% 20%,rgba(246,199,71,.28),transparent 34%),linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.32));
  z-index:-1;
}

.hero-art{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.32;
  background-image:url("data:image/svg+xml,%3Csvg width='1200' height='720' viewBox='0 0 1200 720' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-40 560 C180 360 320 620 580 380 C780 190 940 260 1240 40' fill='none' stroke='%23ff4b3e' stroke-width='2'/%3E%3Cpath d='M40 320 C260 430 520 260 760 300 C970 336 1030 470 1240 420' fill='none' stroke='%23ff4b3e' stroke-width='1.4'/%3E%3Cpath d='M80 640 C300 570 320 660 500 560 C700 450 840 520 1140 470' fill='none' stroke='%23ff4b3e' stroke-width='1.8'/%3E%3C/svg%3E");
  background-size:cover;
  background-position:center;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:58px;
  align-items:center;
  padding:88px 0;
  position:relative;
  z-index:2;
}

.hero-copy{
  color:#fff;
  max-width:720px;
}

.hero-kicker{
  font-size:13px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:22px;
}

.hero h1{
  font-family:var(--serif);
  font-weight:900;
  font-size:clamp(48px,6.7vw,96px);
  line-height:.95;
  letter-spacing:-.045em;
  margin-bottom:24px;
  text-wrap:balance;
}

.hero-text{
  font-size:18px;
  color:rgba(255,255,255,.9);
  max-width:620px;
  margin-bottom:22px;
}

.hero-checks{
  display:grid;
  gap:12px;
  margin:26px 0 32px;
}

.hero-checks li{
  list-style:none;
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-weight:800;
  color:#fff;
}

.check{
  width:26px;
  height:26px;
  display:inline-grid;
  place-items:center;
  background:var(--gold);
  color:#1b1102;
  border-radius:50%;
  font-size:16px;
  flex:0 0 26px;
}

.hero-buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.hero-panel{
  background:rgba(255,248,236,.15);
  border:1px solid rgba(255,255,255,.22);
  border-radius:32px;
  padding:18px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(8px);
}

.hero-photo-card{
  min-height:470px;
  border-radius:24px;
  overflow:hidden;
  position:relative;
  background:linear-gradient(135deg,rgba(255,248,236,.96),rgba(255,238,205,.86));
  display:flex;
  align-items:flex-end;
  border:1px solid rgba(255,255,255,.32);
}

.hero-photo-card:before{
  content:"";
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:.72;
  mix-blend-mode:multiply;
}

.hero-photo-card:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(143,0,0,.04),rgba(82,0,0,.84));
}

.hero-card-content{
  position:relative;
  z-index:2;
  color:#fff;
  padding:32px;
  width:100%;
}

.hero-card-content h2{
  font-family:var(--serif);
  font-size:36px;
  line-height:1.05;
  margin-bottom:8px;
}

.hero-card-content p{
  color:rgba(255,255,255,.84);
  font-weight:700;
}

.level-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:22px;
}

.level{
  background:rgba(255,255,255,.40);
  border:1px solid rgba(255,255,255,.22);
  border-radius:18px;
  padding:16px 10px;
  text-align:center;
  color:#fff;
}

.level strong{
  display:block;
  color:var(--gold);
  font-size:21px;
}

.level span{
  font-size:13px;
  font-weight:800;
  color:#fff;
}

/* ABOUT */
.about{
  background:linear-gradient(180deg,#fffaf0 0%,#f8efe1 100%);
}

.about-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:56px;
  align-items:start;
}

.about-copy p{
  margin-top:18px;
  font-size:18px;
  color:var(--muted);
}

.about-actions{
  margin-top:30px;
}

.feature-stack{
  display:grid;
  gap:20px;
}

.feature-card{
  position:relative;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:28px 30px;
  box-shadow:0 18px 55px rgba(80,40,0,.08);
}

.feature-card:after{
  content:"";
  position:absolute;
  right:-80px;
  top:-80px;
  width:210px;
  height:210px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(246,199,71,.22),transparent 70%);
}

.feature-head{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:12px;
  position:relative;
  z-index:2;
}

.feature-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  background:var(--cream);
  display:grid;
  place-items:center;
  font-size:25px;
  flex:0 0 48px;
  color:var(--maroon);
}

.feature-head h3{
  font-family:var(--serif);
  font-size:28px;
  line-height:1.08;
  letter-spacing:-.02em;
  color:var(--ink);
}

.feature-card p{
  font-size:17px;
  color:var(--muted);
  position:relative;
  z-index:2;
}

/* PROGRAMS */
.programs{
  position:relative;
  overflow:hidden;
  background:var(--maroon-dark);
  color:#fff;
  isolation:isolate;
}

.programs:before{
  content:"";
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:.28;
  z-index:-2;
}

.programs:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(82,0,0,.94),rgba(143,0,0,.82));
  z-index:-1;
}

.programs .section-title,
.programs .lead{
  color:#fff;
}

.programs .eyebrow{
  color:var(--gold);
}

.program-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:46px;
}

.program-card{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.18);
  border-radius:28px;
  overflow:hidden;
  backdrop-filter:blur(8px);
}

.program-img{
  height:210px;
  background-size:cover;
  background-position:center;
  position:relative;
}

.program-body{
  padding:28px;
}

.program-body h3{
  font-family:var(--serif);
  font-size:30px;
  margin-bottom:8px;
}

.program-body p{
  color:rgba(255,255,255,.82);
  margin-bottom:18px;
}

.mini-list{
  display:grid;
  gap:8px;
  color:#fff;
  font-weight:800;
  font-size:14px;
}

.mini-list span{
  display:flex;
  gap:9px;
  align-items:center;
}

.mini-list span:before{
  content:"✓";
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--gold);
  color:#160b00;
  display:inline-grid;
  place-items:center;
  font-size:13px;
  flex:0 0 20px;
}

/* PARENT HUB */
.hub{
  background:#fffaf0;
}

.hub-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:40px;
}

.hub-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:26px;
  box-shadow:0 14px 40px rgba(80,40,0,.07);
}

.hub-card strong{
  display:block;
  font-family:var(--serif);
  font-size:24px;
  margin-bottom:8px;
}

.hub-card p{
  color:var(--muted);
  font-size:15px;
  margin-bottom:16px;
}

.hub-card a{
  font-weight:900;
  color:var(--maroon);
}

/* CTA */
.cta{
  background:linear-gradient(135deg,var(--maroon-dark),var(--maroon));
  color:#fff;
  padding:76px 0;
  position:relative;
  overflow:hidden;
}

.cta:after{
  content:"";
  position:absolute;
  right:-120px;
  bottom:-160px;
  width:420px;
  height:420px;
  border-radius:50%;
  background:rgba(246,199,71,.2);
}

.cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  position:relative;
  z-index:2;
}

.cta h2{
  font-family:var(--serif);
  font-size:clamp(36px,5vw,66px);
  line-height:1.02;
  letter-spacing:-.04em;
  max-width:700px;
}

.cta p{
  color:rgba(255,255,255,.82);
  font-size:18px;
  margin-top:12px;
  max-width:620px;
}

/* NEWS */
.news{
  background:var(--paper);
}

.news-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  margin-top:40px;
}

.news-main,
.news-list{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 14px 40px rgba(80,40,0,.07);
}

.news-img{
  height:300px;
  background-position:center;
  background-size:cover;
}

.news-body{
  padding:28px;
}

.news-body h3{
  font-family:var(--serif);
  font-size:34px;
  line-height:1.08;
  margin-bottom:10px;
}

.news-body p{
  color:var(--muted);
}

.news-list{
  padding:12px;
}

.news-item{
  padding:20px;
  border-radius:20px;
  border-bottom:1px solid var(--line);
}

.news-item:last-child{
  border-bottom:0;
}

.news-item small{
  font-weight:900;
  color:var(--maroon);
  letter-spacing:.08em;
  text-transform:uppercase;
}

.news-item h4{
  font-size:18px;
  margin-top:6px;
}

/* FOOTER */
.footer{
  background:#111;
  color:#fff;
  padding:80px 0 24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:48px;
  padding-bottom:48px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.footer-brand h3{
  font-family:var(--serif);
  font-size:28px;
  margin-bottom:14px;
  color:#fff;
}

.footer-brand p{
  color:rgba(255,255,255,.58);
  line-height:1.8;
  max-width:420px;
}

.footer-column{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.footer-column h4{
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:18px;
  color:rgba(255,255,255,.4);
}

.footer-column a,
.footer-column p{
  color:rgba(255,255,255,.62);
  line-height:1.7;
  transition:.2s ease;
}

.footer-column a:hover{
  color:var(--gold);
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  padding-top:22px;
  color:rgba(255,255,255,.32);
  font-size:14px;
}

/* FOOTER SOCIAL ICONS */
.social-links{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:22px;
}

.social-link{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  background:rgba(255,255,255,.025);
  color:rgba(255,255,255,.32);
  transition:background .22s ease,border-color .22s ease,color .22s ease,transform .22s ease;
}

.social-link svg{
  width:16px;
  height:16px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.social-link:hover,
.social-link:focus{
  border-color:rgba(246,199,71,.65);
  background:rgba(246,199,71,.08);
  color:var(--gold);
  transform:translateY(-2px);
}

/* STANDARD CONTENT */
.wp-content{
  background:#fff;
  padding:60px 0;
}

/* RESPONSIVE */
@media(max-width:980px){
  .nav-links,
  .nav-actions .btn-primary{
    display:none;
  }

  .menu-toggle{
    display:block;
  }

  .brand{
    min-width:auto;
  }

  .hero-grid,
  .about-grid,
  .news-grid{
    grid-template-columns:1fr;
  }

  .hero{
    min-height:auto;
  }

  .hero-panel{
    max-width:620px;
  }

  .program-grid,
  .hub-grid{
    grid-template-columns:1fr 1fr;
  }

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

  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:36px;
  }
}

@media(max-width:640px){
  .container{
    width:min(100% - 28px,1180px);
  }

  .nav{
    height:68px;
  }

  .brand-logo,
  .custom-logo{
    width:44px!important;
    height:44px!important;
    max-width:44px!important;
    max-height:44px!important;
  }

  .brand-name{
    font-size:15px;
  }

  .hero-grid{
    padding:58px 0;
    gap:34px;
  }

  .hero h1{
    font-size:46px;
  }

  .hero-photo-card{
    min-height:380px;
  }

  .level-row,
  .program-grid,
  .hub-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .section{
    padding:70px 0;
  }

  .feature-card{
    padding:24px;
  }

  .feature-head h3{
    font-size:24px;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}
