:root {
  --ink: #17221d;
  --muted: #66716b;
  --paper: #f6f3ec;
  --card: #fffdf8;
  --line: rgba(23, 34, 29, 0.13);
  --lime: #dfff75;
  --green: #174c3b;
  --orange: #ff8d5c;
  --shadow: 0 24px 60px rgba(26, 48, 38, 0.1);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 236, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; background: var(--green); color: var(--lime); font-family: Georgia, serif; font-size: 22px; }
.brand span:last-child { font-size: 17px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--green); text-decoration: underline; text-underline-offset: 7px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; font-size: 21px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; text-decoration: none; font-weight: 800; font-size: 14px; transition: .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23,34,29,.16); }
.btn-light { background: transparent; color: var(--ink); }
.btn-lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.eyebrow { margin: 0 0 16px; color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h1 { max-width: 830px; margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 8vw, 104px); font-weight: 500; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 64px); font-weight: 500; }
h3 { font-size: 22px; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); }

.hero { padding: 100px 0 58px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: end; gap: 52px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-card { position: relative; min-height: 390px; padding: 32px; border-radius: 36px; color: white; background: var(--green); box-shadow: var(--shadow); overflow: hidden; }
.hero-card::before { content: ""; position: absolute; width: 250px; height: 250px; right: -75px; top: -70px; border-radius: 50%; border: 60px solid var(--lime); opacity: .95; }
.hero-card::after { content: ""; position: absolute; width: 130px; height: 130px; left: -38px; bottom: -42px; border-radius: 38px; transform: rotate(24deg); background: var(--orange); }
.browser { position: relative; z-index: 2; margin-top: 92px; padding: 14px; border-radius: 18px; color: var(--ink); background: var(--card); transform: rotate(-3deg); }
.browser-top { display: flex; gap: 5px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.browser-top i { width: 7px; height: 7px; border-radius: 50%; background: #c7cdc9; }
.mini-site { padding: 22px 10px 10px; }
.mini-site strong { font-family: Georgia, serif; font-size: 28px; }
.mini-site p { color: var(--muted); font-size: 12px; }
.mini-bar { height: 8px; width: 70%; margin: 12px 0; border-radius: 20px; background: var(--lime); }

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { padding: 24px; text-align: center; font-size: 13px; font-weight: 800; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.section { padding: 100px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-head h2 { max-width: 680px; margin-bottom: 0; }
.section-head p { max-width: 400px; margin-bottom: 8px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.card-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 48px; border-radius: 50%; background: var(--lime); font-family: Georgia, serif; font-size: 18px; }
.card p { color: var(--muted); }
.text-link { font-weight: 900; text-decoration: none; border-bottom: 1px solid; }

.dark-section { color: white; background: var(--ink); }
.dark-section .eyebrow { color: var(--lime); }
.dark-section .section-head p, .dark-section .muted { color: #aeb9b3; }
.project-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; }
.project { min-height: 430px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 28px; color: var(--ink); background: var(--lime); overflow: hidden; }
.project:nth-child(2) { background: var(--orange); }
.project-tag { align-self: flex-start; padding: 6px 12px; border: 1px solid rgba(23,34,29,.25); border-radius: 999px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.project-screen { padding: 20px; border-radius: 18px 18px 0 0; background: var(--card); box-shadow: 0 22px 50px rgba(23,34,29,.18); transform: translateY(30px); }
.project-screen small { color: var(--muted); }
.project-screen h3 { margin: 18px 0 6px; font-family: Georgia, serif; font-size: 30px; }

.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step span { color: var(--green); font-weight: 900; }
.step p { margin-bottom: 0; color: var(--muted); }

.cta { padding: 80px 0; }
.cta-box { padding: clamp(34px, 7vw, 80px); display: flex; align-items: end; justify-content: space-between; gap: 40px; border-radius: 36px; color: white; background: var(--green); }
.cta-box h2 { max-width: 700px; margin-bottom: 0; }

.page-hero { padding: 88px 0 70px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 84px); }
.service-list { display: grid; gap: 16px; }
.service-row { display: grid; grid-template-columns: 70px 1fr 210px; gap: 24px; align-items: start; padding: 34px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.service-row > span { color: var(--green); font-weight: 900; }
.service-row h3 { margin-bottom: 10px; font-size: 29px; }
.service-row p { max-width: 650px; margin-bottom: 0; color: var(--muted); }
.price { text-align: right; font-family: Georgia, serif; font-size: 23px; }
.price small { display: block; color: var(--muted); font-family: Inter, sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.portfolio-card { min-height: 430px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 28px; background: #e8dfcf; }
.portfolio-card:nth-child(2) { background: #d8e7df; }
.portfolio-card:nth-child(3) { background: #f4c9b4; }
.portfolio-card:nth-child(4) { background: #dde4b6; }
.portfolio-meta { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.portfolio-preview { margin-top: 80px; padding: 28px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.portfolio-preview h3 { margin: 45px 0 6px; font-family: Georgia, serif; font-size: 34px; }
.school-project-card { background: #cddcff !important; }
.school-project-card .text-link { display: inline-block; margin-top: 12px; }

.school-hero { padding: 72px 0 36px; }
.school-shell { border-radius: 34px; overflow: hidden; color: #17223b; background: #f7f9ff; box-shadow: var(--shadow); }
.school-topline { padding: 9px 28px; display: flex; justify-content: space-between; gap: 20px; color: white; background: #243c79; font-size: 11px; font-weight: 800; }
.school-topline-left { display: flex; align-items: center; gap: 18px; }
.language-switcher { display: flex; align-items: center; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.12); }
.language-option { padding: 4px 9px; border: 0; border-radius: 999px; color: #d8e1f9; background: transparent; font: inherit; font-size: 10px; cursor: pointer; }
.language-option:hover, .language-option.active { color: #17223b; background: white; }
.language-option:focus-visible { outline: 2px solid #f4c654; outline-offset: 2px; }
.school-nav { padding: 20px 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; background: white; }
.school-brand { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.school-crest { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: white; background: #e9a928; font-family: Georgia, serif; font-size: 24px; }
.school-links { display: flex; gap: 20px; color: #5a6480; font-size: 12px; font-weight: 800; }
.school-banner { min-height: 430px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; background: linear-gradient(120deg, #eef3ff 0 58%, #dce6ff 58%); }
.school-banner-copy { padding: clamp(36px, 7vw, 78px); }
.school-banner-copy h2 { margin: 10px 0 18px; color: #17223b; font-size: clamp(42px, 6vw, 70px); }
.school-banner-copy p { max-width: 580px; color: #5a6480; }
.school-banner-art { position: relative; min-height: 430px; overflow: hidden; background: linear-gradient(150deg, #f4c654, #e9a928); }
.school-banner-art::before { content: "A+"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-8deg); color: white; font-family: Georgia, serif; font-size: 140px; font-weight: 800; text-shadow: 0 20px 50px rgba(36,60,121,.2); }
.school-banner-art::after { content: "Learn • Lead • Serve"; position: absolute; left: 50%; bottom: 48px; transform: translateX(-50%); width: max-content; padding: 10px 18px; border-radius: 999px; color: white; background: #243c79; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.school-quicklinks { padding: 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); transform: translateY(-22px); }
.school-quicklink { min-height: 94px; padding: 20px; color: white; background: #243c79; border-right: 1px solid rgba(255,255,255,.17); }
.school-quicklink:nth-child(even) { background: #31529e; }
.school-quicklink strong { display: block; margin-bottom: 4px; }
.school-quicklink small { color: #d8e1f9; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 220px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 36px; border-radius: 14px; color: #243c79; background: #e8eeff; font-size: 20px; font-weight: 900; }
.feature-card p { margin-bottom: 0; color: var(--muted); }
.feature-card .text-link { margin-top: auto; padding-top: 16px; align-self: flex-start; }
.school-notice-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.notice-panel, .calendar-panel { padding: 30px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.notice-item { padding: 16px 0; display: grid; grid-template-columns: 54px 1fr; gap: 14px; border-bottom: 1px solid var(--line); }
.notice-item:last-child { border-bottom: 0; }
.notice-date { width: 50px; padding: 7px 3px; text-align: center; border-radius: 9px; color: white; background: #243c79; font-size: 10px; font-weight: 900; line-height: 1.2; }
.notice-item strong { font-size: 14px; }
.notice-item p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar-grid span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; font-size: 12px; }
.calendar-grid .day { color: var(--muted); font-size: 10px; font-weight: 900; }
.calendar-grid .event { color: white; background: #e9a928; font-weight: 900; }
.case-study-note { margin-top: 24px; padding: 18px 22px; border-left: 4px solid #e9a928; color: var(--muted); background: #fffaf0; }
.school-growth-section { background: #17223b; color: white; }
.school-growth-section .eyebrow { color: #f4c654; }
.school-growth-section .section-head p { color: #b8c2d8; }
.growth-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.growth-card { min-height: 190px; padding: 28px; display: grid; grid-template-columns: 52px 1fr; gap: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.05); }
.growth-card:nth-child(5) { grid-column: 1 / -1; }
.growth-card > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #17223b; background: #f4c654; font-family: Georgia, serif; font-weight: 800; }
.growth-card h3 { margin: 5px 0 10px; color: white; }
.growth-card p { margin: 0; color: #b8c2d8; }
.growth-outcome { margin-top: 18px; padding: 34px; display: grid; grid-template-columns: .45fr .8fr 1fr; align-items: center; gap: 28px; border-radius: 22px; color: #17223b; background: #f4c654; }
.growth-outcome .eyebrow { margin: 0; color: #243c79; }
.growth-outcome h3, .growth-outcome p { margin: 0; }
.growth-outcome p:last-child { color: #4e5362; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.portrait { min-height: 520px; display: flex; align-items: end; padding: 32px; border-radius: 30px; background: var(--green); overflow: hidden; }
.portrait-art { width: 100%; padding: 35px 20px; text-align: center; border-radius: 50% 50% 20px 20px; color: var(--ink); background: var(--lime); font-family: Georgia, serif; font-size: 58px; }
.about-copy p { color: var(--muted); font-size: 18px; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
.value { padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.value strong { display: block; margin-bottom: 6px; }
.value p { margin: 0; font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.contact-options { display: grid; gap: 12px; margin-top: 32px; }
.contact-option { padding: 20px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-decoration: none; font-weight: 800; }
.contact-option span { color: var(--muted); font-weight: 500; font-size: 13px; }
.contact-form { padding: 34px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; margin-bottom: 16px; font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; margin-top: 7px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); font: inherit; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,76,59,.1); }
textarea { min-height: 140px; resize: vertical; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }

footer { padding: 60px 0 30px; color: white; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: start; padding-bottom: 50px; }
.footer-grid .brand { color: white; }
.footer-copy { max-width: 460px; margin-top: 18px; color: #aeb9b3; }
.footer-links { display: grid; grid-template-columns: repeat(2, 140px); gap: 10px 30px; }
.footer-links a { color: #d7ddd9; text-decoration: none; font-size: 14px; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); color: #8e9b94; font-size: 12px; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; left: 20px; right: 20px; top: 72px; padding: 22px; display: none; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hero { padding-top: 68px; }
  .hero-grid, .process, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .cards { grid-template-columns: 1fr; }
  .card-number { margin-bottom: 28px; }
  .project-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .school-banner { grid-template-columns: 1fr; }
  .school-banner-art { min-height: 260px; }
  .school-links { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .school-notice-demo { grid-template-columns: 1fr; }
  .growth-outcome { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 45px 1fr; }
  .price { grid-column: 2; text-align: left; }
  .section-head { align-items: start; flex-direction: column; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand span:last-child { font-size: 15px; }
  h1 { font-size: 51px; }
  .section { padding: 72px 0; }
  .hero-card { min-height: 330px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-box { align-items: start; flex-direction: column; }
  .service-row { padding: 24px; }
  .field-grid, .values { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .school-quicklinks { grid-template-columns: repeat(2, 1fr); }
  .school-topline > span:last-child, .school-topline-left > span { display: none; }
  .growth-grid { grid-template-columns: 1fr; }
  .growth-card:nth-child(5) { grid-column: auto; }
  .growth-card { grid-template-columns: 42px 1fr; padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
