/* ===== Tokens ===== */
:root{
  --navy: #12305C;
  --navy-deep: #0A1D38;
  --teal: #00A99D;
  --purple: #7C3AED;
  --leaf: #43A047;
  --pop: #E8FF5B;
  --paper: #FFFFFF;
  --paper-dim: #F3F1EC;
  --ink: #12131A;
  --ink-soft: #4B5157;
  --line: rgba(18,19,26,0.12);
  --radius: 4px;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
h1,h2,h3{
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 0.5em;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1em; color: var(--ink-soft); }
a{ color: inherit; }
ul{ padding: 0; margin: 0; list-style: none; }
.wrap{ max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation: none !important; transition: none !important; }
}

/* ===== Buttons ===== */
.btn{
  display: inline-block;
  padding: 0.72em 1.5em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-light{
  background: rgba(255,255,255,0.94);
  color: var(--navy-deep);
}
.btn-light:hover{ background: #fff; }
.btn-ghost{
  border-color: rgba(22,50,79,0.35);
  color: var(--navy-deep);
  background: transparent;
}
.btn-ghost:hover{ border-color: var(--navy-deep); }
.btn-primary{
  background: var(--navy-deep);
  color: #fff;
  width: 100%;
  font-size: 1rem;
}
.btn-primary:hover{ background: var(--navy); }
.btn-pop{
  background: var(--pop);
  color: var(--navy-deep);
}
.btn-pop:hover{ background: #dfff3d; }

/* ===== Header ===== */
.site-header{
  position: sticky; top: 0; z-index: 40;
  background: rgba(247,245,241,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
  gap: 20px;
}
.brand{ display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text{ font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--navy-deep); }
.site-nav{ display: flex; gap: 28px; font-size: 0.95rem; font-weight: 500; }
.site-nav a{ text-decoration: none; color: var(--ink-soft); }
.site-nav a:hover{ color: var(--navy-deep); }
.nav-cta{ white-space: nowrap; }

@media (max-width: 760px){
  .site-nav{ display: none; }
}

/* ===== Hero: title bar + split panels with diagonal seam ===== */
.hero-title-bar{
  text-align: center;
  padding: 48px 28px 40px;
  background: var(--paper);
}
.hero-title-bar h1{
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--navy-deep);
  margin: 0;
  font-style: italic;
}
.hero-tagline{
  margin: 6px 0 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.hero-sub{
  margin: 14px auto 0;
  max-width: 44ch;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.4;
}

.hero-panels{
  position: relative;
  display: flex;
  min-height: 62vh;
  overflow: hidden;
}
.hero-panel{
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  color: #fff;
  min-width: 0;
}
.hero-academic{
  background: linear-gradient(155deg, var(--navy-deep), var(--navy) 80%);
  padding-right: 8vw;
}
.hero-health{
  background: linear-gradient(155deg, var(--teal), var(--purple) 85%);
  padding-left: 8vw;
}
.hero-panel-inner{
  max-width: 440px;
  padding: 56px 32px;
}
.hero-academic .hero-panel-inner{ margin-left: auto; margin-right: 4vw; text-align: right; }
.hero-health .hero-panel-inner{ margin-right: auto; margin-left: 4vw; }
.hero-panel h2{ color: #fff; font-size: clamp(1.3rem, 2.3vw, 1.9rem); }
.hero-copy{ color: rgba(255,255,255,0.86); }
.eyebrow{
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.6em;
}
.hero-seam{
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 90px;
  transform: translateX(-50%) skewX(-8deg);
  background: var(--paper);
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.02);
}

@media (max-width: 820px){
  .hero-panels{ flex-direction: column; min-height: auto; }
  .hero-panel{ padding: 0; }
  .hero-panel-inner{ margin: 0 !important; max-width: none; text-align: left !important; padding: 48px 28px 40px; }
  .hero-academic{ padding-right: 0; }
  .hero-health{ padding-left: 0; }
  .hero-seam{ display: none; }
}

/* ===== Intro ===== */
.intro{ padding: 72px 28px 40px; }
.intro-lead{
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--navy-deep);
  max-width: 62ch;
  line-height: 1.5;
}

/* ===== Services ===== */
.services{ padding: 40px 0 96px; }
.services-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-col{ padding: 44px 40px; background: #fff; }
.service-academic{ border-right: 1px solid var(--line); border-top: 4px solid var(--navy); }
.service-health{ border-top: 4px solid var(--purple); }
.service-col h3{ font-size: 1.3rem; margin-bottom: 1em; }
.service-list li{
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.service-list li:first-child{ border-top: none; padding-top: 0; }
.service-name{ font-weight: 600; color: var(--ink); }
.service-desc{ color: var(--ink-soft); font-size: 0.94rem; }

@media (max-width: 760px){
  .services-grid{ grid-template-columns: 1fr; }
  .service-academic{ border-right: none; }
}

/* ===== Tutor / Promise banded sections ===== */
.tutor, .promise{ padding: 84px 0; }
.tutor{
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 75%);
}
.tutor h2{ color: #fff; font-size: 1.7rem; }
.tutor p{ color: rgba(255,255,255,0.88); font-size: 1.08rem; }
.tutor-inner, .promise-inner{ max-width: 68ch; }
.promise{
  background: linear-gradient(120deg, var(--teal), var(--purple) 85%);
}
.promise h2{ color: #fff; font-size: 1.7rem; }
.promise p{ color: rgba(255,255,255,0.92); font-size: 1.08rem; }

/* ===== Testimonials ===== */
.testimonials{ padding: 88px 0; }
.testimonials h2{ font-size: 1.7rem; margin-bottom: 1.2em; }
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: start;
}
.testimonial{
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px 36px;
  position: relative;
}
.testimonial::before{
  content: "\201C";
  position: absolute;
  top: 18px; left: 30px;
  font-family: var(--serif);
  font-size: 3rem;
  font-style: italic;
  color: var(--pop);
  line-height: 1;
  -webkit-text-stroke: 0;
}
.testimonial p{ margin-top: 0.6em; }
.testimonial-academic{ border-top: 4px solid var(--navy); }
.testimonial-health{ border-top: 4px solid var(--purple); }
.testimonial p{
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.55;
  margin: 0 0 1.4em;
}
.testimonial footer{ display: flex; flex-direction: column; gap: 2px; }
.testimonial-name{ font-weight: 600; color: var(--navy-deep); font-size: 0.95rem; }
.testimonial-role{ font-size: 0.85rem; color: var(--ink-soft); }

.feedback-cta{
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  max-width: 640px;
}
.feedback-cta h3{ font-size: 1.25rem; margin-bottom: 0.4em; }
.feedback-cta > p{ max-width: 52ch; }
.feedback-form{
  margin-top: 20px;
  display: grid;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.feedback-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feedback-form label{ font-size: 0.85rem; font-weight: 600; margin-top: 10px; }
.feedback-form input, .feedback-form select, .feedback-form textarea{
  font-family: var(--sans);
  font-size: 0.98rem;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.feedback-submit{ margin-top: 16px; width: auto; padding-left: 2em; padding-right: 2em; }

@media (max-width: 560px){
  .feedback-row{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .testimonial-grid{ grid-template-columns: 1fr; }
}

/* ===== Contact ===== */
.contact{ padding: 88px 0; }
.contact-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact h2{ font-size: 1.7rem; }
.contact-lede{ max-width: 42ch; }
.contact-list{ margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list dt{
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--ink-soft); margin-bottom: 2px;
}
.contact-list dd{ margin: 0; color: var(--ink); }
.contact-list a{ text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover{ border-color: var(--navy-deep); }

.contact-form{
  display: grid; gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-form label{ font-size: 0.85rem; font-weight: 600; margin-top: 10px; }
.contact-form input, .contact-form select, .contact-form textarea{
  font-family: var(--sans);
  font-size: 0.98rem;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.contact-form button{ margin-top: 16px; }
.form-note{ font-size: 0.78rem; margin-top: 10px; margin-bottom: 0; }

@media (max-width: 760px){
  .contact-inner{ grid-template-columns: 1fr; gap: 40px; }
}

/* ===== Footer ===== */
.site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 28px 0;
  font-size: 0.85rem;
}
.footer-inner{
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}
