
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Patrick+Hand&display=swap');

:root{
  --navy:#0b2f5b;
  --navy2:#143f72;
  --gold:#efbd3d;
  --cream:#fff9ef;
  --paper:#fffdf8;
  --ink:#23384b;
  --muted:#67788a;
  --sage:#98ae7e;
  --sky:#bdd9e7;
  --coral:#dfa39c;
  --line:#dfd3bc;
  --shadow:0 10px 24px rgba(41,55,72,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  font-family:'Nunito',sans-serif;
  background:
    repeating-linear-gradient(0deg,rgba(90,65,40,.018) 0 1px,transparent 1px 5px),
    #fbf6ea;
}
a{color:inherit}
.topbar{
  background:var(--navy);
  color:#fff;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
}
.topbar-inner{
  width:min(1180px,calc(100% - 32px));
  display:flex;
  justify-content:space-between;
  gap:20px;
}
.topbar a{text-decoration:none;font-weight:700}

.hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 18% 28%,rgba(130,170,104,.18) 0 110px,transparent 111px),
    radial-gradient(circle at 84% 18%,rgba(187,217,231,.26) 0 125px,transparent 126px),
    linear-gradient(180deg,#fffdf7,#f6efdf);
  border-bottom:1px solid #e6dbc8;
}
.hero:before{
  content:"";
  position:absolute;
  left:-70px; top:-20px;
  width:420px; height:220px;
  background:
    radial-gradient(ellipse at 30% 50%,rgba(95,135,73,.55) 0 32%,transparent 33%),
    radial-gradient(ellipse at 62% 38%,rgba(122,158,91,.46) 0 28%,transparent 29%);
  transform:rotate(-8deg);
}
.hero-inner{
  width:min(1180px,calc(100% - 48px));
  margin:auto;
  min-height:470px;
  display:grid;
  grid-template-columns:260px 1fr 330px;
  align-items:center;
  gap:30px;
  position:relative;
  z-index:2;
  padding:36px 0 34px;
}
.falcon-wrap{text-align:center}
.falcon-wrap img{
  width:230px;
  max-width:100%;
  filter:drop-shadow(0 10px 12px rgba(0,0,0,.14));
}
.wood-sign{
  margin-top:3px;
  display:inline-block;
  background:#c89b5d;
  color:#4f3821;
  border:2px solid #9a6f39;
  border-radius:4px;
  padding:9px 15px;
  font-family:'Patrick Hand',cursive;
  font-size:19px;
  box-shadow:0 5px 0 rgba(115,79,36,.16);
  transform:rotate(-2deg);
}
.hero-title{text-align:center}
.welcome{
  font-family:'Patrick Hand',cursive;
  font-size:44px;
  color:var(--navy);
  line-height:.95;
}
.hero-title h1{
  font-family:Georgia,serif;
  font-size:clamp(92px,11vw,150px);
  line-height:.76;
  color:var(--navy);
  margin:8px 0 22px;
  letter-spacing:-6px;
  text-shadow:3px 4px 0 #d5c19d;
}
.school-ribbon{
  display:inline-block;
  background:var(--gold);
  color:var(--navy);
  font-family:'Patrick Hand',cursive;
  font-size:28px;
  padding:7px 30px;
  border-radius:6px;
  transform:rotate(-1deg);
  box-shadow:0 5px 0 #c99a22;
}
.home-falcons{
  font-family:'Patrick Hand',cursive;
  font-size:25px;
  color:var(--navy);
  margin-top:17px;
}
.teacher-polaroid{
  background:#fff;
  padding:12px 12px 49px;
  box-shadow:0 12px 30px rgba(48,55,58,.2);
  transform:rotate(2deg);
  position:relative;
}
.teacher-polaroid:before{
  content:"";
  position:absolute;
  width:88px; height:25px;
  top:-13px; left:calc(50% - 44px);
  background:rgba(232,210,158,.72);
  transform:rotate(-3deg);
}
.teacher-polaroid img{
  width:100%;
  height:345px;
  object-fit:cover;
  object-position:center top;
  display:block;
}
.teacher-polaroid span{
  position:absolute;
  left:10px; right:10px; bottom:10px;
  text-align:center;
  font-family:'Patrick Hand',cursive;
  font-size:22px;
  color:var(--navy);
}

.navbar{
  background:var(--navy);
  border-top:2px dashed rgba(255,255,255,.35);
  border-bottom:2px dashed rgba(255,255,255,.35);
  box-shadow:0 4px 13px rgba(0,0,0,.10);
}
.nav-inner{
  width:min(1180px,100%);
  margin:auto;
  display:grid;
  grid-template-columns:repeat(8,1fr);
}
.nav-link{
  min-height:100px;
  color:#fff;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border-right:1px dashed rgba(255,255,255,.28);
  font-family:'Patrick Hand',cursive;
  font-size:17px;
  line-height:1.08;
  padding:8px;
}
.nav-link .icon{font-size:31px;margin-bottom:7px}
.nav-link:hover,.nav-link.active{
  background:var(--gold);
  color:var(--navy);
}

.content{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
  padding:34px 0 60px;
}
.home-grid-top{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.home-grid-bottom{
  margin-top:20px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.paper-card{
  background:rgba(255,253,248,.96);
  border:1px solid var(--line);
  border-radius:16px;
  padding:24px;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}
.paper-card:after{
  content:"";
  position:absolute;
  inset:8px;
  border:1px dashed rgba(120,95,63,.18);
  border-radius:10px;
  pointer-events:none;
}
.paper-card > *{position:relative;z-index:1}
.paper-card h2,.paper-card h3{
  font-family:'Patrick Hand',cursive;
  color:var(--navy);
  margin:0 0 12px;
}
.paper-card h2{font-size:37px}
.paper-card h3{font-size:29px}
.paper-card p,.paper-card li{line-height:1.65}
.at-glance{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  text-align:center;
}
.glance-item{
  padding:12px 8px;
  border-right:1px solid #e0d7c7;
}
.glance-item:last-child{border-right:0}
.glance-icon{font-size:34px}
.glance-label{
  color:var(--navy);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  margin-top:6px;
}
.glance-value{
  font-size:20px;
  font-weight:800;
  margin-top:3px;
}
.welcome-card{
  display:grid;
  grid-template-columns:1fr 160px;
  gap:20px;
  align-items:center;
}
.welcome-card .mini-photo{
  width:150px;
  height:150px;
  border-radius:14px;
  object-fit:cover;
  object-position:center top;
}
.ribbon-label{
  display:inline-block;
  color:var(--navy);
  font-family:'Patrick Hand',cursive;
  font-size:26px;
  background:#dcebf4;
  padding:4px 18px;
  border-radius:6px;
  transform:rotate(-1deg);
}
.ribbon-label.green{background:#dfe9d1}
.ribbon-label.coral{background:#f5d8d4}
.card-illustration{
  font-size:58px;
  text-align:right;
  margin-top:10px;
}
.cta{
  display:inline-block;
  background:var(--gold);
  color:var(--navy);
  text-decoration:none;
  border-radius:8px;
  padding:10px 15px;
  font-weight:800;
  box-shadow:0 3px 0 #c99a22;
}
.page-head{
  text-align:center;
  margin-bottom:26px;
}
.page-head h1{
  margin:0;
  font-family:'Patrick Hand',cursive;
  color:var(--navy);
  font-size:48px;
}
.page-head p{
  color:var(--muted);
  max-width:760px;
  margin:6px auto 0;
}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.details-list details{
  background:#fff;
  border:1px solid var(--line);
  border-radius:13px;
  margin:10px 0;
  box-shadow:0 4px 11px rgba(40,55,70,.06);
}
.details-list summary{
  cursor:pointer;
  padding:16px 18px;
  font-family:'Patrick Hand',cursive;
  font-size:21px;
  color:var(--navy);
  font-weight:700;
}
.details-list p{
  margin:0;
  padding:0 18px 18px;
  line-height:1.65;
  color:#516579;
}
.wish-box{
  background:#fffaf1;
  border:1px solid #e4d5ba;
  border-radius:15px;
  padding:21px;
}
.wish-box h2{font-family:'Patrick Hand',cursive;color:var(--navy)}
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.gallery-empty{
  grid-column:1/-1;
  padding:55px 22px;
  text-align:center;
  border:2px dashed #c8d7df;
  background:linear-gradient(135deg,#f6fbfd,#fffaf2);
  border-radius:18px;
}
.gallery-empty .camera{font-size:64px}
.gallery-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:8px;
  box-shadow:var(--shadow);
  cursor:pointer;
}
.gallery-item img{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:10px;
}
.gallery-caption{padding:8px 4px 2px;font-size:14px;color:var(--muted)}
.about-grid{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:30px;
  align-items:start;
}
.about-grid img{
  width:100%;
  border-radius:18px;
  box-shadow:var(--shadow);
}
.about-grid p{line-height:1.7}
.code{
  color:var(--navy);
  font-family:Georgia,serif;
  font-size:48px;
  font-weight:800;
  letter-spacing:5px;
  margin:10px 0 20px;
}
.footer{
  background:var(--navy);
  color:#fff;
  padding:28px 20px;
}
.footer-inner{
  width:min(1180px,100%);
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:20px;
  align-items:center;
}
.footer-brand{
  font-family:'Patrick Hand',cursive;
  font-size:24px;
}
.footer-center{text-align:center;font-size:14px;line-height:1.6}
.footer-message{
  text-align:right;
  font-family:'Patrick Hand',cursive;
  font-size:22px;
}
.lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:100;
  background:rgba(7,22,40,.93);
  align-items:center;
  justify-content:center;
  padding:25px;
}
.lightbox.open{display:flex}
.lightbox-inner{position:relative;max-width:1100px;width:100%;text-align:center}
.lightbox img{max-width:100%;max-height:82vh;border-radius:12px}
.lbbtn{
  position:absolute;
  border:0;
  background:#fff;
  color:var(--navy);
  width:44px;height:44px;border-radius:50%;
  font-size:25px;cursor:pointer;
}
#lbClose{right:0;top:-52px}
#lbPrev{left:5px;top:50%}
#lbNext{right:5px;top:50%}
.lbcap{color:#fff;margin-top:10px}

@media(max-width:980px){
  .hero-inner{grid-template-columns:190px 1fr 260px}
  .falcon-wrap img{width:180px}
  .teacher-polaroid img{height:285px}
  .nav-inner{grid-template-columns:repeat(4,1fr)}
  .nav-link{min-height:88px}
}
@media(max-width:760px){
  .topbar-inner{display:block;text-align:center}
  .topbar-inner span{display:block;margin:2px 0}
  .hero-inner{grid-template-columns:1fr;padding-top:24px}
  .falcon-wrap{order:2}
  .hero-title{order:1}
  .teacher-polaroid{order:3;max-width:310px;margin:auto}
  .home-grid-top,.home-grid-bottom,.two-col,.about-grid{grid-template-columns:1fr}
  .at-glance{grid-template-columns:1fr 1fr}
  .welcome-card{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr;text-align:center}
  .footer-message{text-align:center}
  .gallery{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:500px){
  .nav-inner{grid-template-columns:repeat(2,1fr)}
  .gallery{grid-template-columns:1fr}
  .content,.hero-inner{width:min(100% - 28px,1180px)}
  .welcome{font-size:36px}
  .hero-title h1{font-size:96px}
  .school-ribbon{font-size:23px;padding:6px 18px}
}


/* === OPTION 3 PRODUCTION HERO ===
   The full approved Option 2 illustration is a real responsive image.
   This avoids the cropping caused by background-size: cover. */
.hero-image-wrap{
  width:100%;
  background:#fffaf1;
  overflow:hidden;
  line-height:0;
}
.hero-image{
  display:block;
  width:100%;
  height:auto;
}
.navbar{margin-top:0}

/* Better page transitions / polish */
.nav-link, .cta, .paper-card, .gallery-item{
  transition:transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.paper-card:hover{box-shadow:0 14px 30px rgba(41,55,72,.12)}
.cta:hover{transform:translateY(1px)}
.nav-link:hover{transform:translateY(-1px)}

/* Production photo gallery */
.gallery-note{
  text-align:center;
  color:var(--muted);
  font-size:13px;
  margin-top:16px;
}

/* Mobile: retain entire hero rather than crop it */
@media(max-width:760px){
  .hero-image{width:100%;height:auto}
}
