/* James Novis Tuition – Clean & calm */
:root {
  --ink: #17233A;
  --ink-soft: #44506A;
  --muted: #5A6478;
  --teal: #0E6668;
  --teal-dark: #0A4C4E;
  --teal-tint: #E6F2F1;
  --quill: #2AAFB2;
  --line: #E3E7EC;
  --band: #F4F6F8;
  --white: #FFFFFF;
  --radius: 16px;
  --display: 'Young Serif', Georgia, serif;
  --body: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--quill); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--teal); color: var(--white); text-decoration: none; font-weight: 700; font-size: 18px; }
.btn:hover { background: var(--teal-dark); color: var(--white); }
.btn-soft { background: var(--teal-tint); color: var(--teal-dark); }
.btn-soft:hover { background: #D3E9E7; color: var(--teal-dark); }
.btn-light { background: var(--white); color: var(--teal-dark); }
.btn-light:hover { background: var(--teal-tint); color: var(--teal-dark); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 64px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 25px; }
.brand-sub { font-size: 13px; font-weight: 700; letter-spacing: 0.32em; color: var(--teal); padding-top: 5px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 16px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; }
.site-nav a:not(.btn):hover { color: var(--teal); }
.site-nav a[aria-current="page"]:not(.btn) { font-weight: 700; color: var(--teal); }

/* Hero */
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
.hero-text { flex: 999 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.hero h1 { font-size: clamp(36px, 5vw, 54px); }
.lead { font-size: 21px; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.hero-art { flex: 1 1 360px; max-width: 480px; margin: 0 auto; }
.hero-art img { mix-blend-mode: multiply; }

/* Key points band */
.band { background: var(--band); padding: 56px 0; }
.section-title { font-size: clamp(30px, 4vw, 40px); margin-bottom: 28px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.point { background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; line-height: 1.5; }
.point-big { font-family: var(--display); font-size: 34px; color: var(--teal); line-height: 1.1; }

/* Tuition options */
.section { padding-top: 72px; padding-bottom: 72px; }
.section-lead { margin: -16px 0 32px; color: var(--ink-soft); max-width: 640px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.card-feature { border: 2px solid var(--teal); }
.card h3 { font-size: 26px; }
.muted { color: var(--muted); font-size: 16px; }
.price { margin-top: auto; padding-top: 12px; font-size: 30px; font-weight: 700; }
.price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.price-block { font-size: 16px; font-weight: 700; color: var(--teal); }
.section-foot { margin-top: 24px; }

/* Call to action */
.cta { background: var(--teal); color: var(--white); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
.cta-inner > div { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta h2 { font-size: clamp(26px, 3.4vw, 34px); }
.cta a:not(.btn) { color: var(--white); }
.cta-contact { color: #DDEEEC; }

/* Footer */
.site-footer { padding: 28px 0; font-size: 15px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }

/* About page */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.about-photo { flex: 0 1 340px; max-width: 340px; margin: 0 auto; }
.about-photo img { width: 100%; mix-blend-mode: multiply; }
.about-text { flex: 999 1 460px; min-width: 0; }
.prose h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 24px; }
.prose p { margin-bottom: 18px; max-width: 680px; color: var(--ink-soft); }
.about-close { font-family: var(--display); font-size: 22px; line-height: 1.45; color: var(--teal) !important; padding-top: 8px; }

/* Inner page headings and availability */
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.page-head > div { flex: 999 1 420px; min-width: 0; }
.page-title { font-size: clamp(36px, 5vw, 52px); margin-bottom: 28px; }
.page-head .section-lead { margin: 0; }
.page-head-art { flex: 0 0 auto; width: 160px; mix-blend-mode: multiply; }
.card-title { font-size: 26px; }
.slots { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.slots li { background: var(--teal-tint); color: var(--teal-dark); font-weight: 700; border-radius: 10px; padding: 12px 16px; }
.slot-extra { display: block; font-weight: 400; font-size: 15px; color: var(--ink-soft); }

/* Pricing page */
.page-lead { margin-top: -12px; }
.cards-two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.price-row { margin-top: auto; padding-top: 16px; }
.price-row .price { margin: 0; padding: 0; }
.price-save { font-size: 15px; font-style: italic; color: var(--muted); }
.price-alt { font-size: 18px; font-weight: 700; color: var(--teal); }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pay-item { background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.pay-item h3 { font-size: 24px; }

/* Terms page */
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 8px; }
.term { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; color: var(--ink-soft); }
.term img { height: 120px; width: auto; align-self: center; mix-blend-mode: multiply; margin-bottom: 8px; }
.term h2 { font-size: 26px; color: var(--ink); }
.term-key { font-weight: 700; color: var(--teal-dark); }
.term ul { margin: 0; padding-left: 22px; }
.terms-close { margin-top: 40px; max-width: 760px; display: flex; flex-direction: column; gap: 12px; color: var(--ink-soft); }

/* Contact page */
.contact { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info .page-title { margin-bottom: 4px; }
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; font-size: 20px; }
.contact-label { font-size: 15px; font-weight: 700; color: var(--muted); }
.where { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 24px; }
.where img { width: 220px; mix-blend-mode: multiply; }
.where h2 { font-size: 26px; margin-bottom: 10px; }
.where address { font-style: normal; line-height: 1.7; margin-bottom: 10px; }
.contact-form-wrap { flex: 1 1 440px; min-width: 0; }
.form, .form-success { background: var(--band); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form h2, .form-success h2 { font-size: 30px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row .field { flex: 1 1 200px; }
.field-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field label { font-weight: 700; font-size: 16px; }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--white); border: 1.5px solid #B8C2CE; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid var(--teal-tint); outline-offset: 0; }
.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--teal); flex: 0 0 auto; }
.field-check label { font-weight: 400; flex: 1 1 200px; }
.field-check .field-error { flex-basis: 100%; }
.has-error input, .has-error textarea { border-color: #B42318; }
.field-error, .form-error-summary { color: #B42318; font-size: 15px; font-weight: 700; }
.form .btn { align-self: flex-start; border: 0; cursor: pointer; font-family: inherit; }
.form-success { background: var(--teal-tint); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Privacy notice */
.privacy { max-width: 760px; }
.privacy h2 { font-size: 28px; margin: 36px 0 12px; }
.privacy ul { margin: 0 0 18px; padding-left: 22px; color: var(--ink-soft); }
.privacy li { margin-bottom: 8px; }
.privacy .lead { margin-bottom: 8px; }
