/* ============================================================
   Easton (PA) — Delaware Teal / Lehigh Gold / Sage / Cream
   Hero: text left, one portrait photo in an arch-topped frame on the
   right with a gold offset outline (nothing overlaps the photo)
   ============================================================ */

:root {
  --teal: #1F6F78;
  --teal-deep: #145058;
  --teal-soft: #E4F0F1;
  --gold: #E1A23B;
  --gold-deep: #B57E1E;
  --gold-pale: #FCF3E2;
  --sage: #7EA076;
  --sage-pale: #EDF3EB;
  --cream: #FBF7EE;
  --white: #FFFFFF;
  --ink: #1C2628;
  --muted: #5A6668;
  --muted-2: #99A3A4;
  --line: #E2E4DC;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 10px;
  --r-lg: 18px;
  --serif: 'Crimson Pro', Georgia, serif;
  --sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; font-size: 1.03rem; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--teal-deep); line-height: 1.1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.ce { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.se { padding: 5.5rem 0; }
.se-w { background: var(--white); }
.se-t { background: var(--teal-deep); }
.se-g { background: var(--gold-pale); }
@media (max-width: 860px) { .ce { padding: 0 1.3rem; } .se { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--teal-deep); border-bottom: 3px solid var(--gold); }
.ne { max-width: 1140px; margin: 0 auto; padding: 0.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.ne-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ne-logo img { width: 42px; height: 42px; }
.ne-logo span { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; color: var(--cream); }
.ne-links { list-style: none; display: flex; gap: 2rem; }
.ne-links a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: rgba(251,247,238,0.74); transition: color .2s; }
.ne-links a:hover { color: var(--cream); }
.ne-links a.active { color: var(--gold); }
.ne-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.ne-btn span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; }
@media (max-width: 860px) {
  .ne { padding: 0.8rem 1.3rem; }
  .ne-links { position: fixed; top: 69px; left: 0; right: 0; background: var(--teal-deep); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem; border-bottom: 3px solid var(--gold);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .ne-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .ne-links li { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .ne-links li:last-child { border-bottom: none; }
  .ne-btn { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.95rem 1.5rem; border-radius: 999px; font-family: var(--sans);
  font-weight: 700; font-size: 0.96rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-deep); }
.btn-gold { background: var(--gold); color: var(--teal-deep); }
.btn-gold:hover { background: var(--gold-deep); color: var(--white); }
.btn-ol { background: transparent; color: var(--teal-deep); border-color: var(--teal); }
.btn-ol:hover { background: var(--teal); color: var(--white); }

/* ---------- Headings ---------- */
.ey { display: inline-block; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.9rem; }
.h2 { font-size: clamp(2.2rem, 3.8vw, 3.1rem); margin-bottom: 0.9rem; }
.ld { color: var(--muted); max-width: 40rem; }
.hd { margin-bottom: 3rem; }
.hd.c { text-align: center; }
.hd.c .ld { margin: 0 auto; }

/* ---------- Hero: arch frame ---------- */
.hero { padding: 4rem 0 4.5rem; }
.hero-g { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 4.8vw, 4.1rem); margin-bottom: 1.2rem; }
.hero h1 em { color: var(--teal); }
.hero p { color: var(--muted); font-size: 1.08rem; max-width: 31rem; margin-bottom: 2rem; }
.hero-b { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.ar { position: relative; max-width: 420px; width: 100%; margin-left: auto; }
.ar-img { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--teal-soft); position: relative; z-index: 1; }
.ar-img img { width: 100%; height: 100%; object-fit: cover; }
.ar::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: 999px 999px var(--r-lg) var(--r-lg); border: 2px solid var(--gold); z-index: 0; }
@media (max-width: 860px) { .hero { padding: 2.5rem 0 3.5rem; } .hero-g { grid-template-columns: 1fr; gap: 2.8rem; } .ar { margin: 0 auto; max-width: 320px; } }

/* ---------- Numbered cards ---------- */
.nc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.nc-i { background: var(--cream); border-radius: var(--r-lg); padding: 1.7rem 1.4rem; position: relative; overflow: hidden; }
.nc-i::before { content: attr(data-n); position: absolute; right: 0.8rem; top: -0.5rem; font-family: var(--serif); font-weight: 700; font-size: 5.2rem; color: var(--teal-soft); line-height: 1; }
.nc-i h3 { font-size: 1.5rem; margin-bottom: 0.4rem; position: relative; }
.nc-i p { color: var(--muted); font-size: 0.96rem; position: relative; }
.cs { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; justify-content: center; background: var(--gold-pale); border-radius: var(--r-lg); padding: 1.1rem 1.5rem; }
.cs span { font-weight: 600; color: var(--teal-deep); }
.cs b { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-deep); margin-right: 0.3rem; }
@media (max-width: 960px) { .nc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .nc { grid-template-columns: 1fr; } }

/* ---------- Students ---------- */
.se-t .ey { color: var(--gold); }
.se-t .h2 { color: var(--white); }
.se-t .ld { color: rgba(255,255,255,0.84); }
.stu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.stu-c { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r-lg); padding: 1.9rem 1.6rem; }
.stu-c small { display: inline-block; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-deep); background: var(--gold); border-radius: 999px; padding: 0.22rem 0.7rem; margin-bottom: 0.9rem; }
.stu-c h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.5rem; }
.stu-c p { color: rgba(255,255,255,0.82); font-size: 0.96rem; }
.stu-note { color: rgba(255,255,255,0.62); font-size: 0.88rem; margin-top: 1.3rem; }
@media (max-width: 860px) { .stu { grid-template-columns: 1fr; } }

/* ---------- Conditions ---------- */
.chips-wrap { max-width: 1000px; margin: 0 auto; text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: center; }
.chips span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.92rem; font-weight: 600; color: var(--teal-deep); }
.chips-note { margin-top: 1.3rem; color: var(--muted); font-size: 0.93rem; }
.chips-note a { color: var(--teal); font-weight: 700; }

/* ---------- Local ---------- */
.lc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; }
.lc-c { border-radius: var(--r-lg); padding: 2rem; }
.lc-c.a { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--teal); }
.lc-c.b { background: var(--sage-pale); }
.lc-c h3 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.lc-c address { font-style: normal; font-weight: 700; color: var(--gold-deep); margin-bottom: 0.7rem; }
.lc-c p { color: var(--muted); margin-bottom: 0.7rem; }
.lc-c p:last-child { margin-bottom: 0; }
.lc-c a { color: var(--teal); font-weight: 700; }
@media (max-width: 860px) { .lc { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.tq { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.tq-c { background: var(--white); border-radius: var(--r-lg); padding: 2rem; border-top: 4px solid var(--gold); }
.tq-c p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; margin-bottom: 1rem; }
.tq-c span { font-weight: 700; font-size: 0.9rem; color: var(--teal); }
@media (max-width: 860px) { .tq { grid-template-columns: 1fr; } }

/* ---------- Chevron accordion ---------- */
.ac { max-width: 880px; margin: 0 auto; }
.ac details { background: var(--white); margin-bottom: 0.6rem; border: 1px solid var(--line); border-radius: var(--r); }
.ac details[open] { border-color: var(--gold); }
.ac summary { list-style: none; cursor: pointer; padding: 1.15rem 3rem 1.15rem 1.4rem; font-weight: 700; font-size: 1.03rem; color: var(--teal-deep); position: relative; }
.ac summary::-webkit-details-marker { display: none; }
.ac summary::after { content: ""; position: absolute; right: 1.4rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.ac details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.ac details p { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.ac a { color: var(--teal); font-weight: 700; }

/* ---------- Overview ---------- */
.ov { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.ov h3 { font-size: 1.5rem; margin: 1.5rem 0 0.5rem; }
.ov h3:first-of-type { margin-top: 0; }
.ov p { color: var(--muted); line-height: 1.8; }
.ov a { color: var(--teal); font-weight: 700; }
.sr { background: var(--teal-deep); border-radius: var(--r-lg); padding: 1.6rem; }
.sr h4 { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.sr a { display: block; padding: 0.9rem 0; border-top: 1px solid rgba(255,255,255,0.14); text-decoration: none; }
.sr a strong { display: block; color: var(--white); }
.sr a small { color: rgba(255,255,255,0.64); font-size: 0.86rem; }
.sr a:hover strong { color: var(--gold); }
@media (max-width: 860px) { .ov { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Closing ---------- */
.fin { background: var(--teal); padding: 4.5rem 0; }
.fin-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.fin h2 { color: var(--white); font-size: clamp(2.2rem, 3.8vw, 3rem); max-width: 34rem; }
.fin p { color: rgba(255,255,255,0.9); margin-top: 0.4rem; }

/* ---------- Footer ---------- */
footer { background: var(--teal-deep); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.fe { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fe p { font-size: 0.92rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.62); }
footer h4 { font-family: var(--sans); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 0.9rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
footer a { color: rgba(255,255,255,0.86); text-decoration: none; font-size: 0.94rem; }
footer a:hover { color: var(--gold); }
.fe-b { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.84rem; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .fe { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--teal-soft); padding: 3.5rem 0 3rem; border-bottom: 3px solid var(--gold); }
.ph h1 { font-size: clamp(2.4rem, 4.2vw, 3.4rem); margin-bottom: 0.6rem; }
.ph p { color: var(--muted); max-width: 40rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
