/* Learning Squid — shared site styles */
:root {
  --navy: #0B2D4A;
  --navy-2: #123F60;
  --teal: #0EA5A0;
  --turquoise: #10B8C5;
  --seafoam: #7ED6B7;
  --gold: #F7A21B;
  --ink: #10212D;
  --muted: #5E7180;
  --mist: #EAF9F8;
  --paper: #FBFDFC;
  --white: #FFFFFF;
  --line: #DCE9E9;
  --shadow: 0 24px 70px rgba(11, 45, 74, .14);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 12px 18px; border-radius: 0 0 10px 0; z-index: 100;
}
.skip-link:focus { left: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px;
  color: var(--teal); font-size: .8rem; font-weight: 800; letter-spacing: .16em;
}
.eyebrow::before { content: ""; width: 32px; height: 3px; border-radius: 99px; background: var(--gold); }
h1, h2, h3, h4 { margin: 0; font-family: "Nunito", "Manrope", sans-serif; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.03; letter-spacing: -.03em; }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); line-height: 1.06; letter-spacing: -.025em; }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
.muted { color: var(--muted); }
.highlight { color: var(--teal); }
.lede { max-width: 640px; color: #4D6472; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 253, 252, .9); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 233, 233, .8);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; }
.brand-copy { line-height: 1; }
.brand-name { display: block; font-family: "Nunito", sans-serif; font-size: 1.12rem; font-weight: 900; color: var(--navy); letter-spacing: -.02em; }
.brand-tag { display: block; margin-top: 6px; font-size: .64rem; font-weight: 800; letter-spacing: .2em; color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: #385160; font-size: .89rem; font-weight: 700; }
.nav-links a:hover { color: var(--teal); }
.nav-links .nav-cta { color: #fff; }
.nav-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 21px; border: 0; border-radius: 999px; background: var(--navy);
  color: #fff; text-decoration: none; font-weight: 800; cursor: pointer;
  box-shadow: 0 10px 24px rgba(11,45,74,.12);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover, .nav-cta:hover { transform: translateY(-2px); background: var(--navy-2); box-shadow: 0 16px 30px rgba(11,45,74,.17); }
.btn.secondary { background: transparent; color: var(--navy); border: 1px solid #BFD8DA; box-shadow: none; }
.btn.secondary:hover { border-color: var(--teal); color: var(--teal); background: #fff; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.menu-btn { display: none; border: 0; background: transparent; color: var(--navy); font-size: 1.4rem; cursor: pointer; }

/* Breadcrumbs */
.crumbs { padding: 18px 0 0; font-size: .82rem; color: var(--muted); }
.crumbs a { color: var(--teal); text-decoration: none; font-weight: 700; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 74px;
  background: radial-gradient(circle at 90% 10%, rgba(16,184,197,.16), transparent 31%),
              radial-gradient(circle at 0% 88%, rgba(126,214,183,.18), transparent 32%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; }
.hero h1 span { display: block; color: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 26px; color: #47606F; font-size: .9rem; font-weight: 700; }
.trust-row span::before { content: "•"; color: var(--gold); margin-right: 8px; }

/* Hero tutoring photo — fixed aspect ratio prevents layout shift.
   Keep assets/project-based-tutoring.jpg compressed to roughly 1200–1600 px wide. */
.hero-photo-card {
  position: relative; margin: 0; min-height: 420px; border-radius: 34px; overflow: hidden;
  background: linear-gradient(200deg, #0B2D4A 0%, #0E4160 40%, #0EA5A0 100%);
  box-shadow: var(--shadow);
}
.hero-photo {
  width: 100%; height: 100%; min-height: 420px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center;
}
.hero-photo-card.photo-missing::before {
  content: "Add assets/project-based-tutoring.jpg"; position: absolute; inset: 0; display: grid; place-items: center;
  padding: 40px; text-align: center; color: rgba(255,255,255,.78); font-weight: 800;
}
.photo-badge { position: absolute; left: 22px; bottom: 22px; padding: 16px 18px; border-radius: 20px;
  background: rgba(11,45,74,.84); color: #fff; backdrop-filter: blur(6px); }
.photo-badge strong { display: block; font-family: "Nunito", sans-serif; font-size: 1.7rem; line-height: 1; }
.photo-badge span { display: block; margin-top: 6px; color: #CFEFF0; font-size: .78rem; font-weight: 700; line-height: 1.35; }

/* Difference strip */
.difference-strip { background: var(--navy); color: #fff; }
.difference-grid { display: grid; grid-template-columns: 1.1fr repeat(3, .7fr); gap: 20px; align-items: center; }
.difference-title { font-family: "Nunito", sans-serif; font-size: 1.5rem; font-weight: 900; line-height: 1.15; }
.difference-title span { color: #75E3D1; }
.mini-stat { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.18); }
.mini-stat strong { display: block; font-family: "Nunito", sans-serif; font-size: 1.02rem; }
.mini-stat span { display: block; margin-top: 3px; color: #BBD0DA; font-size: .82rem; }

/* How it works */
.intro-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: start; }
.section-copy { max-width: 570px; }
.section-copy p { margin-top: 18px; color: var(--muted); font-size: 1.03rem; }
.steps { display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.step-num { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: var(--mist); color: var(--teal); font-family: "Nunito", sans-serif; font-size: 1.2rem; font-weight: 900; }
.step p { margin-top: 6px; color: var(--muted); font-size: .93rem; }

/* 50/50 */
.fifty { background: linear-gradient(135deg, #E8FAF7, #F6FBFA 56%, #FFF8E8); border-top: 1px solid #D7ECEA; border-bottom: 1px solid #D7ECEA; }
.fifty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.half { position: relative; overflow: hidden; min-height: 320px; padding: 34px; border-radius: 28px; background: #fff; border: 1px solid rgba(11,45,74,.08); box-shadow: 0 20px 50px rgba(11,45,74,.08); }
.half.dark { background: var(--navy); color: #fff; }
.half-number { font-family: "Nunito", sans-serif; font-size: 4.3rem; line-height: 1; font-weight: 900; letter-spacing: -.06em; color: var(--teal); }
.half.dark .half-number { color: #75E3D1; }
.half h3 { margin-top: 10px; font-size: 1.6rem; }
.half.dark h3 { color: #fff; }
.half p { margin-top: 12px; color: var(--muted); max-width: 50ch; }
.half.dark p { color: #C7D8E1; }
.half ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.half li { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; font-size: .91rem; }
.half li::before { content: "✓"; color: var(--gold); font-weight: 900; }

/* Projects / subjects */
.projects-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 36px; }
.projects-head p { max-width: 520px; color: var(--muted); }
.project-grid, .subject-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { position: relative; padding: 26px; min-height: 280px; border-radius: 26px; background: #fff; border: 1px solid var(--line); }
.project-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: var(--mist); font-size: 1.5rem; }
.project-card h3 { margin-top: 20px; font-size: 1.3rem; }
.project-card p { margin-top: 10px; color: var(--muted); font-size: .92rem; }
.tag { display: inline-flex; margin-top: 20px; padding: 7px 11px; border-radius: 999px; background: #F2F8F8; color: var(--teal); font-size: .74rem; font-weight: 800; }

.subjects { background: var(--navy); color: #fff; }
.subjects h2 { color: #fff; }
.subjects .eyebrow { color: #75E3D1; }
.subjects-lede { margin-top: 16px; color: #C1D3DC; max-width: 650px; }
.subject-grid { grid-template-columns: repeat(4, 1fr); margin-top: 36px; }
.subject-card { padding: 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(255,255,255,.055); text-decoration: none; }
.subject-card .num { color: #75E3D1; font-family: "Nunito", sans-serif; font-weight: 900; }
.subject-card h3 { margin-top: 30px; color: #fff; }
.subject-card p { margin-top: 8px; color: #B8CDD6; font-size: .89rem; }
.subject-card .link { margin-top: 12px; display: inline-block; font-size: .82rem; font-weight: 800; color: #75E3D1; }


/* About */
.about-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 64px; align-items: center; }
.about-mark { position: relative; min-height: 400px; display: grid; place-items: center; border-radius: 34px; background: linear-gradient(150deg, #DDF8F3, #EFFAF8 65%, #FFF2D2); overflow: hidden; }
.about-mark img { width: 210px; filter: drop-shadow(0 20px 30px rgba(11,45,74,.13)); }
.about-mark::before, .about-mark::after { content: ""; position: absolute; border: 2px solid rgba(16,184,197,.18); border-radius: 999px; }
.about-mark::before { width: 300px; height: 300px; }
.about-mark::after { width: 360px; height: 360px; }
.about-copy p { margin-top: 16px; color: var(--muted); font-size: 1.01rem; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.cred { padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: #385261; font-size: .89rem; font-weight: 700; }
.cred strong { color: var(--navy); }

/* Service area */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.area-pill { padding: 9px 16px; border-radius: 999px; background: var(--mist); color: var(--navy); font-weight: 800; font-size: .85rem; border: 1px solid var(--line); }


/* FAQ */
.faq-list { margin-top: 32px; display: grid; gap: 12px; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 4px 22px; }
.faq-item summary { cursor: pointer; padding: 18px 0; font-weight: 800; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 20px; color: var(--muted); font-size: .95rem; max-width: 68ch; }

/* CTA */
.cta-shell { position: relative; overflow: hidden; padding: 52px; border-radius: 34px; background: linear-gradient(120deg, var(--teal), #0A8999); color: #fff; }
.cta-shell::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -150px; border: 50px solid rgba(255,255,255,.09); border-radius: 50%; }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; }
.cta-shell h2 { color: #fff; max-width: 720px; }
.cta-shell p { margin-top: 12px; color: #DDF8F5; max-width: 650px; }
.cta-shell .btn { background: #fff; color: var(--navy); box-shadow: none; white-space: nowrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; }
.contact-copy p { margin-top: 16px; color: var(--muted); }
.contact-points { display: grid; gap: 12px; margin-top: 26px; }
.contact-point { display: flex; gap: 11px; color: #3C5967; font-weight: 700; }
.contact-point::before { content: "✓"; color: var(--teal); }
.form-card { padding: 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(11,45,74,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; margin-bottom: 7px; color: var(--navy); font-size: .8rem; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid #CADDDD; border-radius: 14px; background: #FBFDFD; color: var(--ink); padding: 13px 14px; outline: none; transition: border .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,165,160,.12); }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 14px; }
.form-note { margin-top: 12px; color: var(--muted); font-size: .78rem; }
.form-note a { color: var(--teal); font-weight: 800; text-decoration: none; }
.success-banner { margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; background: #E9F8F4; border: 1px solid #A8DDD0; color: #174F4A; font-weight: 800; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

/* Footer */
footer { padding: 40px 0 44px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; }
.footer-title { font-family: "Nunito", sans-serif; font-weight: 900; color: var(--navy); }
.footer-tag { color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.footer-col h4 { font-size: .82rem; letter-spacing: .04em; color: var(--navy); margin-bottom: 12px; }
.footer-col a, .footer-col p { display: block; color: var(--muted); font-size: .88rem; text-decoration: none; margin-bottom: 8px; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 980px) {
  .hero-grid, .intro-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .difference-grid { grid-template-columns: 1fr 1fr; }
  .mini-stat:nth-child(2) { border-left: 0; padding-left: 0; }
  .fifty-grid, .cta-grid { grid-template-columns: 1fr; }
  .cta-grid .btn { justify-self: start; }
  .project-grid, .subject-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .hero-photo-card, .hero-photo { min-height: 320px; }
  .wrap { width: min(100% - 28px, var(--max)); }
  .nav { min-height: 68px; }
  .menu-btn { display: block; }
  .nav-links { position: absolute; left: 14px; right: 14px; top: 74px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; border-radius: 12px; }
  .nav-links .nav-cta { margin-top: 4px; text-align: center; }
  .difference-grid { grid-template-columns: 1fr; gap: 22px; }
  .mini-stat { border-left: 0; padding-left: 0; }
  .projects-head { display: block; }
  .projects-head p { margin-top: 16px; }
  .project-grid, .subject-grid, .cred-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .half, .cta-shell { padding: 26px; }
  .cta-shell { border-radius: 26px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
