:root {
  --navy: #102a43;
  --navy-deep: #0a1f33;
  --red: #c83232;
  --red-dark: #a92626;
  --red-light: #f7e2df;
  --ink: #17212b;
  --muted: #61707f;
  --cream: #f4f1ea;
  --paper: #fbfaf7;
  --white: #fff;
  --amber: #f2b84b;
  --line: rgba(16, 42, 67, .15);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(10, 31, 51, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 1000; padding: 12px 18px; background: var(--white); }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.announcement {
  min-height: 38px;
  padding: 8px 5%;
  background: var(--navy-deep);
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 12px;
  letter-spacing: .02em;
}
.announcement p { margin: 0; }
.announcement p span { color: var(--amber); font-weight: 800; margin-right: 8px; text-transform: uppercase; letter-spacing: .12em; }
.announcement a { color: var(--white); font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.4); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,250,247,.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(10,31,51,.07); }
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy-deep); letter-spacing: -.035em; font-size: 19px; }
.brand > span:last-child > span { color: var(--red); }
.brand-mark { width: 46px; height: 46px; display: block; object-fit: contain; flex: 0 0 46px; }
.desktop-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; margin-right: 36px; }
.desktop-nav a { font-size: 14px; font-weight: 650; color: #344454; transition: color .2s; }
.desktop-nav a:hover { color: var(--red); }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 14px 21px;
  cursor: pointer;
  font-weight: 750;
  font-size: 14px;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 9px 17px; font-size: 13px; }
.button-large { min-height: 61px; padding-inline: 27px; }
.button-primary { background: var(--red); color: var(--white); box-shadow: 0 10px 22px rgba(200,50,50,.24); }
.button-primary:hover { background: var(--red-dark); }
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: var(--navy-deep); }
.button-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.button-outline:hover { background: var(--navy); color: var(--white); }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-button span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 6px auto; transition: transform .25s; }
.mobile-nav { display: none; }

.hero {
  min-height: 725px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,20,34,.94) 0%, rgba(8,26,43,.82) 38%, rgba(8,24,40,.22) 75%, rgba(8,24,40,.08) 100%); }
.hero-content { position: relative; z-index: 1; padding: 88px 0 64px; }
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 850; color: var(--red); text-transform: uppercase; letter-spacing: .18em; }
.eyebrow.light { color: #f5aaa3; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
h1 { max-width: 730px; font-size: clamp(62px, 7.2vw, 104px); }
h1 em, h2 em { color: #f08f86; font-weight: 400; }
.hero-copy { max-width: 570px; margin: 28px 0 0; font-size: 19px; color: rgba(255,255,255,.76); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 35px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 14px; }
.light-link { color: var(--white); }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.hero-proof { display: flex; gap: 0; margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); width: min(680px, 100%); }
.hero-proof div { display: flex; flex-direction: column; padding-right: 34px; margin-right: 34px; border-right: 1px solid rgba(255,255,255,.18); }
.hero-proof div:last-child { border: 0; }
.hero-proof strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.hero-proof span { margin-top: 2px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); }

.course-section { background: var(--paper); }
.split-heading { display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 60px; }
h2 { font-size: clamp(44px, 5.2vw, 72px); color: var(--navy); }
.split-heading > p { max-width: 470px; justify-self: end; margin: 0 0 7px; color: var(--muted); font-size: 17px; }
.course-toolbar { margin: 52px 0 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.filter-group { display: flex; gap: 8px; }
.filter-button { padding: 9px 15px; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 750; cursor: pointer; }
.filter-button.active { color: var(--white); background: var(--navy); border-color: var(--navy); }
.course-search { min-width: 250px; display: flex; align-items: center; border-bottom: 1px solid var(--line); padding: 7px 0; }
.course-search svg { width: 18px; margin-right: 10px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.course-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.course-card, .request-card { min-height: 510px; padding: 28px; border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-card { border-top: 4px solid var(--red); padding-top: 25px; }
.course-card[hidden] { display: none; }
.course-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 58px; }
.course-code { font-weight: 850; letter-spacing: .08em; color: var(--navy); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #b6c8bd; border-radius: 100px; padding: 4px 9px; color: #496e58; font-size: 10px; font-weight: 750; white-space: nowrap; }
.status-pill i, .status-dot { width: 6px; height: 6px; background: #48a16c; border-radius: 50%; box-shadow: 0 0 0 4px rgba(72,161,108,.12); }
.course-school { margin: 0 0 4px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.course-card h3, .request-card h3 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.12; color: var(--navy); }
.course-description { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.course-meta { list-style: none; padding: 0; margin: auto 0 28px; display: grid; gap: 8px; color: #3e4e5d; font-size: 12px; }
.course-meta span { display: inline-block; width: 20px; color: var(--red); }
.course-card-footer { padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.course-card-footer > div { display: flex; flex-direction: column; }
.course-card-footer div > span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.course-card-footer strong { color: var(--navy); font-family: var(--serif); font-size: 24px; font-weight: 400; }
.course-card-footer small { font-family: var(--sans); font-size: 9px; color: var(--muted); }
.course-card-footer .button { min-height: 43px; padding: 9px 15px; }
.notify-trap { position:absolute !important; width:1px !important; height:1px !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; white-space:nowrap !important; }
.request-card { justify-content: space-between; background: var(--red-light); border: 0; }
.request-icon { width: 49px; height: 49px; display: grid; place-items: center; border: 1px solid rgba(16,42,67,.25); border-radius: 50%; color: var(--red); font-size: 23px; }
.request-card h3 { font-size: 38px; }
.request-card p:not(.eyebrow) { color: #4b6073; font-size: 14px; }
.no-results { padding: 40px; text-align: center; border: 1px dashed var(--line); }
.no-results a { color: var(--red); text-decoration: underline; }

.experience-section { min-height: 760px; display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: var(--white); }
.experience-image { min-height: 760px; position: relative; overflow: hidden; }
.experience-image img { width: 100%; height: 100%; object-fit: cover; }
.image-note { position: absolute; bottom: 36px; left: 36px; padding: 19px 22px; background: rgba(10,31,51,.92); backdrop-filter: blur(10px); border-left: 3px solid var(--amber); }
.image-note span { display: block; margin-bottom: 4px; color: #f5aaa3; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.image-note strong { font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.25; }
.experience-content { padding: 105px clamp(40px, 8vw, 130px); display: flex; flex-direction: column; justify-content: center; }
.experience-content h2 { color: var(--white); }
.experience-intro { max-width: 570px; margin: 30px 0 38px; color: rgba(255,255,255,.68); font-size: 17px; }
.process-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.14); }
.process-list li { display: grid; grid-template-columns: 48px 1fr; gap: 13px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.process-list li > span { color: #f08f86; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.process-list h3 { margin: 0 0 5px; font-size: 15px; }
.process-list p { margin: 0; max-width: 510px; color: rgba(255,255,255,.6); font-size: 13px; }

.testimonials { background: var(--cream); }
.testimonial-lead { display: grid; grid-template-columns: 1.2fr auto; position: relative; margin-bottom: 45px; }
.testimonial-lead .eyebrow { grid-column: 1 / -1; }
.quote-mark { align-self: end; color: var(--red); font-family: var(--serif); font-size: 120px; line-height: .3; opacity: .2; }
.testimonial-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.testimonial-card { margin: 0; padding: 38px; background: var(--white); }
.testimonial-card p { margin: 0; color: var(--navy); font-family: var(--serif); font-size: 23px; line-height: 1.45; }
.primary-quote { min-height: 430px; padding: 54px; display: flex; flex-direction: column; justify-content: space-between; background: var(--red); }
.primary-quote p { color: var(--white); font-size: clamp(25px, 3vw, 37px); line-height: 1.4; }
.testimonial-card footer { display: flex; flex-direction: column; margin-top: 28px; }
.testimonial-card footer span { color: var(--navy); font-weight: 800; font-size: 13px; }
.testimonial-card footer small { color: var(--muted); font-size: 11px; }
.primary-quote footer span { color: var(--white); }
.primary-quote footer small { color: rgba(255,255,255,.6); }
.testimonial-stack { display: grid; gap: 18px; }
.testimonial-stack .testimonial-card { display: flex; flex-direction: column; justify-content: space-between; }

.tutoring-section { background: var(--paper); }
.tutoring-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 9vw; }
.large-copy { max-width: 520px; margin: 27px 0; color: var(--muted); font-size: 17px; }
.check-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; color: #344454; font-size: 14px; }
.check-list span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 9px; border-radius: 50%; background: var(--red-light); color: var(--red); font-weight: 900; font-size: 11px; }
.tutoring-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 30px 0 10px; }
.pricing-option { min-height: 132px; padding: 16px 13px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; background: var(--white); }
.pricing-option.featured-price { border-top: 3px solid var(--red); padding-top: 14px; }
.price-label { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pricing-option strong { color: var(--navy); font-family: var(--serif); font-size: 25px; font-weight: 400; white-space: nowrap; }
.pricing-option strong small, .intensive-option strong small { font-family: var(--sans); font-size: 8px; color: var(--muted); }
.price-detail { color: var(--muted); font-size: 9px; line-height: 1.35; }
.intensive-option { margin-bottom: 28px; padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--red-light); border-left: 3px solid var(--red); }
.intensive-option > div { display: flex; flex-direction: column; }
.intensive-option div span { color: var(--navy); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.intensive-option div small { color: var(--muted); font-size: 9px; }
.intensive-option > strong { color: var(--navy); font-family: var(--serif); font-size: 25px; font-weight: 400; white-space: nowrap; }
.intensive-learn-more { width: max-content; margin-top: 4px; padding: 0; border: 0; background: transparent; color: var(--red); font-size: 10px; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.intensive-learn-more:hover { color: var(--red-dark); }
.exam-packages { margin: 0 0 28px; border: 1px solid var(--line); background: var(--white); }
.package-heading { padding: 17px 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; border-bottom: 1px solid var(--line); }
.package-heading > div { display: flex; flex-direction: column; }
.package-kicker { color: var(--red); font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.package-heading strong { color: var(--navy); font-family: var(--serif); font-size: 18px; font-weight: 400; }
.package-heading > span { color: var(--muted); font-size: 8px; text-align: right; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.package-option { min-width: 0; padding: 15px 13px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.package-option:last-child { border-right: 0; }
.package-option.featured-package { background: var(--red-light); }
.package-option > span { color: var(--navy); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.package-option > strong { margin-top: 5px; color: var(--navy); font-family: var(--serif); font-size: 22px; font-weight: 400; white-space: nowrap; }
.package-option > strong small { font-family: var(--sans); font-size: 7px; color: var(--muted); }
.package-option p { margin: 3px 0 0; color: var(--muted); font-size: 8px; line-height: 1.4; }
.tutoring-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.tutoring-visual { position: relative; }
.tutoring-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.availability-card { position: absolute; left: -45px; bottom: 40px; width: 245px; padding: 19px; display: flex; align-items: flex-start; gap: 13px; background: var(--white); box-shadow: var(--shadow); }
.availability-card .status-dot { flex: 0 0 auto; margin-top: 7px; }
.availability-card div { display: flex; flex-direction: column; }
.availability-card strong { color: var(--navy); font-size: 13px; }
.availability-card small { margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.5; }

.about-section { background: var(--navy-deep); color: var(--white); overflow: hidden; }
.about-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 10vw; align-items: center; }
.about-title { position: relative; }
.about-title h2 { color: var(--white); }
.instructor-portrait { width: min(430px, 100%); margin: 40px 0 0; position: relative; }
.instructor-portrait::before { content: ""; position: absolute; inset: -10px 10px 10px -10px; border: 1px solid rgba(240,143,134,.55); pointer-events: none; }
.instructor-portrait img { display: block; width: 100%; max-width: 100%; height: auto !important; max-height: none; aspect-ratio: auto; object-fit: contain; filter: saturate(.88) contrast(1.03); }
.instructor-portrait figcaption { position: absolute; right: -20px; bottom: 20px; min-width: 195px; padding: 13px 16px; display: flex; flex-direction: column; background: var(--paper); color: var(--navy); box-shadow: var(--shadow); font-family: var(--serif); font-size: 16px; }
.instructor-portrait figcaption span { color: var(--red); font-family: var(--sans); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.about-copy .lead { margin: 0 0 32px; color: var(--white); font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); line-height: 1.35; }
.about-copy > p:not(.lead) { max-width: 690px; color: rgba(255,255,255,.65); }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.about-facts div { display: flex; flex-direction: column; }
.about-facts strong { color: var(--white); font-family: var(--serif); font-size: 20px; font-weight: 400; }
.about-facts span { color: rgba(255,255,255,.45); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }

.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10vw; }
.faq-heading { position: sticky; top: 130px; align-self: start; }
.faq-heading > p:last-child { margin-top: 28px; color: var(--muted); font-size: 13px; }
.faq-heading a { color: var(--red); text-decoration: underline; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 25px; cursor: pointer; list-style: none; color: var(--navy); font-weight: 750; font-size: 15px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 22px; font-weight: 300; transition: transform .25s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 620px; margin: -6px 45px 27px 0; color: var(--muted); font-size: 14px; }

.final-cta { padding: 86px 0; background: #153854; color: var(--white); }
.final-cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.final-cta h2 { color: var(--white); }
.site-footer { padding: 75px 0 22px; background: var(--navy-deep); color: rgba(255,255,255,.55); }
.footer-main { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 58px; }
.footer-brand { color: var(--white); }
.footer-main > div:first-child p { margin-top: 20px; font-size: 13px; }
.footer-links { display: flex; gap: 90px; }
.footer-links > div { display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.footer-links strong { margin-bottom: 7px; color: var(--white); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; font-size: 10px; }

.notify-modal { width: min(490px, calc(100% - 32px)); border: 0; padding: 43px; background: var(--paper); color: var(--ink); box-shadow: 0 35px 90px rgba(0,0,0,.32); }
.notify-modal::backdrop { background: rgba(6,20,34,.72); backdrop-filter: blur(5px); }
.notify-modal h2 { font-size: 44px; }
.notify-modal > p:not(.eyebrow) { color: var(--muted); }
.modal-close { position: absolute; top: 13px; right: 16px; border: 0; background: transparent; font-size: 26px; cursor: pointer; }
.notify-modal form { display: grid; gap: 13px; margin-top: 25px; }
.notify-modal label { display: grid; gap: 6px; color: var(--navy); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.notify-modal input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); background: var(--white); outline: 0; }
.notify-modal input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,50,50,.12); }
.notify-modal small { color: var(--muted); text-align: center; font-size: 10px; }
.intensive-modal { width: min(650px, calc(100% - 32px)); max-height: calc(100vh - 40px); border: 0; padding: 43px; background: var(--paper); color: var(--ink); box-shadow: 0 35px 90px rgba(0,0,0,.32); overflow-y: auto; }
.intensive-modal::backdrop { background: rgba(6,20,34,.72); backdrop-filter: blur(5px); }
.intensive-modal h2 { max-width: 520px; font-size: 39px; }
.intensive-modal-intro { margin: 13px 0 24px; color: var(--muted); }
.intensive-steps { margin: 0; padding: 0; display: grid; list-style: none; }
.intensive-steps li { padding: 13px 0; display: grid; grid-template-columns: 32px 1fr; gap: 13px; border-top: 1px solid var(--line); }
.intensive-steps li > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--red-light); color: var(--red); font-size: 10px; font-weight: 900; }
.intensive-steps li div { display: grid; gap: 2px; }
.intensive-steps strong { color: var(--navy); font-size: 12px; }
.intensive-steps p { margin: 0; color: var(--muted); font-size: 11px; }
.intensive-modal-cta { margin-top: 22px; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 100; transform: translate(-50%, 25px); padding: 13px 18px; background: var(--navy-deep); color: var(--white); border-radius: 3px; box-shadow: var(--shadow); font-size: 13px; opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .desktop-nav, .desktop-cta { display: none; }
  .menu-button { display: block; cursor: pointer; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: fixed; inset: 116px 0 auto; padding: 25px 24px 32px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 30px 60px rgba(10,31,51,.18); flex-direction: column; gap: 0; }
  .mobile-nav.open { display: flex; }
  .mobile-nav > a:not(.button) { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 25px; }
  .mobile-nav .button { margin-top: 20px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .request-card { min-height: 360px; grid-column: 1 / -1; }
  .experience-content { padding: 80px 45px; }
  .tutoring-layout { gap: 50px; }
  .about-layout, .faq-layout { gap: 7vw; }
}

@media (max-width: 740px) {
  .container { width: min(100% - 32px, 1180px); }
  .section { padding: 78px 0; }
  .announcement { min-height: 43px; justify-content: space-between; }
  .announcement p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .announcement p span { display: none; }
  .nav-wrap { height: 68px; }
  .mobile-nav { inset-block-start: 111px; }
  .hero { min-height: 690px; align-items: flex-end; }
  .hero-image { object-position: 64% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(6,21,35,.98) 4%, rgba(7,22,37,.82) 56%, rgba(7,22,37,.22) 100%); }
  .hero-content { padding-bottom: 38px; }
  h1 { font-size: clamp(51px, 15.3vw, 72px); }
  .hero-copy { font-size: 16px; line-height: 1.55; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .hero-proof { margin-top: 34px; gap: 14px; }
  .hero-proof div { flex: 1; padding-right: 12px; margin-right: 0; }
  .hero-proof strong { font-size: 15px; }
  .hero-proof span { font-size: 8px; line-height: 1.4; }
  .split-heading { grid-template-columns: 1fr; gap: 25px; }
  .split-heading > p { justify-self: start; }
  h2 { font-size: clamp(42px, 13vw, 61px); }
  .course-toolbar { align-items: stretch; flex-direction: column; margin-top: 36px; }
  .filter-group { overflow-x: auto; padding-bottom: 3px; }
  .filter-button { white-space: nowrap; }
  .course-search { width: 100%; min-width: 0; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card, .request-card { min-height: 475px; }
  .request-card { grid-column: auto; min-height: 350px; }
  .experience-section { grid-template-columns: 1fr; }
  .experience-image { min-height: 470px; }
  .experience-content { padding: 72px 24px; }
  .testimonial-lead { display: block; }
  .quote-mark { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .primary-quote { min-height: 420px; padding: 34px; }
  .testimonial-card { padding: 30px; }
  .testimonial-stack .testimonial-card { min-height: 290px; }
  .tutoring-layout, .about-layout, .faq-layout { grid-template-columns: 1fr; }
  .tutoring-content { order: 2; }
  .tutoring-visual { order: 1; margin-left: 22px; }
  .tutoring-visual img { aspect-ratio: 4 / 4.4; }
  .availability-card { left: -22px; bottom: 22px; }
  .tutoring-pricing { grid-template-columns: 1fr; }
  .pricing-option { min-height: 105px; }
  .intensive-option { align-items: flex-start; flex-direction: column; gap: 8px; }
  .package-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .package-heading > span { text-align: left; }
  .package-grid { grid-template-columns: 1fr; }
  .package-option { min-height: 92px; border-right: 0; border-bottom: 1px solid var(--line); justify-content: center; }
  .package-option:last-child { border-bottom: 0; }
  .tutoring-actions { align-items: stretch; flex-direction: column; }
  .tutoring-actions .text-link { justify-content: center; }
  .about-title { display: grid; grid-template-columns: 1fr auto; align-items: end; }
  .about-title .eyebrow { grid-column: 1 / -1; }
  .instructor-portrait { grid-column: 1 / -1; width: calc(100% - 20px); margin: 35px 0 0 10px; }
  .instructor-portrait figcaption { right: -10px; }
  .about-facts { grid-template-columns: 1fr; }
  .faq-heading { position: static; }
  .final-cta-inner { align-items: stretch; flex-direction: column; }
  .footer-main, .footer-bottom { flex-direction: column; }
  .footer-links { gap: 42px; flex-wrap: wrap; }
  .footer-bottom { gap: 6px; }
  .notify-modal, .intensive-modal { padding: 36px 24px 28px; }
  .intensive-modal h2 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
