/* Alpha Tutoring. Tokens first, then base, layout, components. */
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('../fonts/source-sans-3.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }
:root {
  --navy: #101a33;
  --navy-2: #1b2a4e;
  --navy-3: #2a3b66;
  --gold: #d4a23a;
  --gold-hover: #e2b455;
  --gold-ink: #7a5710; /* gold for text on light backgrounds (AA on white) */
  --bg: #ffffff;
  --bg-soft: #f6f4ee;
  --line: #e3dfd3;
  --text: #1c2540;
  --muted: #55607a;
  --danger: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 26, 51, 0.06), 0 8px 24px rgba(16, 26, 51, 0.08);
  --font: 'Source Sans 3', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 1.1875rem; }
img { max-width: 100%; height: auto; }
a { color: var(--navy-3); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.9rem, 4.8vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
[id] { scroll-margin-top: 84px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.icon { flex: none; vertical-align: -0.2em; }

/* Buttons */
.btn { font-family: var(--font-head); font-size: 0.95rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background 0.15s, transform 0.15s, box-shadow 0.15s; line-height: 1.2; min-height: 46px; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hover); color: var(--navy); box-shadow: 0 6px 18px rgba(212, 162, 58, 0.35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-ghost-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 8px 16px; min-height: 40px; font-size: 0.85rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.text-link { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; letter-spacing: 0.14em; font-size: 1.25rem; color: var(--navy); }
.brand-sub { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.3em; font-size: 0.62rem; color: var(--gold-ink); margin-top: 4px; }
.top-bar { background: var(--navy); color: #d9deeb; font-size: 0.85rem; }
.top-bar .container { display: flex; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.top-bar a { color: #fff; text-decoration: none; font-weight: 600; }
.top-bar a:hover { color: var(--gold); text-decoration: underline; }
.header-inner { position: relative; }
.primary-nav { position: absolute; top: calc(100% + 6px); right: 20px; width: min(300px, calc(100vw - 40px)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 48px rgba(16, 26, 51, 0.2); display: none; }
.primary-nav.open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; }
.primary-nav a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; }
.primary-nav a:hover { background: var(--bg-soft); }
.primary-nav a[aria-current='page'] { background: var(--bg-soft); color: var(--navy); box-shadow: inset 3px 0 0 var(--gold); }
.nav-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1.5px solid var(--line); border-radius: 999px; height: 44px; padding: 0 16px 0 18px; cursor: pointer; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; }
.nav-toggle:hover { border-color: var(--navy); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform 0.2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded='true'] .bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 420px) { .header-cta { display: none; } .menu-label { display: none; } .nav-toggle { padding: 0 14px; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(212, 162, 58, 0.18), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 600px; border: 3px solid rgba(212, 162, 58, 0.18); border-radius: 22% 22% 50% 50% / 8% 8% 45% 45%; transform: rotate(-8deg); pointer-events: none; }
.hero h1 { color: #fff; max-width: 20ch; }
.hero .lead { max-width: 52ch; }
.hero-grid { display: grid; gap: 36px; align-items: center; position: relative; z-index: 1; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.hero .lead { color: #d9deeb; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; font-weight: 800; color: var(--gold-ink); margin-bottom: 12px; }
.eyebrow-gold, .hero .eyebrow, .section-navy .eyebrow { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-card { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); padding: 24px; }
.hero-card h2 { color: var(--gold); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.14em; }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.hero-card li { display: flex; gap: 14px; align-items: flex-start; color: #d9deeb; }
.hero-card li .icon { color: var(--gold); margin-top: 3px; }
.hero-card strong { display: block; color: #fff; }
@media (min-width: 900px) { .hero { padding: 88px 0 96px; } .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; } }

/* Page hero (inner pages) */
.page-hero { background: var(--bg-soft); padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); max-width: 22ch; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 16px; display: flex; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line); }

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--bg-soft); }
.section-navy { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #d9deeb; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.two-col { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.note { background: var(--bg-soft); border-left: 4px solid var(--gold); border-radius: 8px; padding: 16px 20px; margin-top: 32px; }
.note p { margin: 0; }
.note-inline { color: var(--muted); }

/* Cards */
.card-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { display: flex; gap: 10px; align-items: center; }
.card p:last-child { margin-bottom: 0; }
.card-lg { padding: 36px; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.card-icon-lg { width: 68px; height: 68px; margin: 0 auto 20px; }
.card-tag { font-family: var(--font-head); display: inline-block; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 0.78rem; padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; letter-spacing: 0.04em; }
.compare { display: grid; gap: 20px; }
@media (min-width: 760px) { .compare { grid-template-columns: repeat(3, 1fr); } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.steps p { margin: 0; color: var(--muted); }
.step-badge { font-family: var(--font-head); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 900; margin-bottom: 14px; }

/* Chips */
.chips { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: 0.97rem; }
.chips-lg li { padding: 9px 18px; }
.chips li a { text-decoration: none; color: var(--navy); }
.chips li a:hover { text-decoration: underline; }
.chips .chip-accent { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.subject-block { margin-bottom: 40px; }
.subject-block h2 { font-size: 1.5rem; }

/* FAQ */
.faq-list { display: grid; gap: 12px; margin-bottom: 24px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq-list summary { font-family: var(--font-head); font-size: 0.98rem; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold-ink); }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-a { padding: 0 20px 6px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--navy); color: #d9deeb; padding: 48px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; max-width: 56ch; }

/* Enquiry layout */
.enquire-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .enquire-grid { grid-template-columns: 1fr 1.5fr; gap: 56px; } .enquire-grid-page { grid-template-columns: 1.6fr 1fr; } .enquire-grid-page .enquire-side { position: sticky; top: 92px; } }
.enquire-intro h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.next-steps { padding-left: 1.2rem; display: grid; gap: 12px; }
.section-navy .next-steps strong { color: #fff; }
.form-card { background: #fff; color: var(--text); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (min-width: 640px) { .form-card { padding: 36px; } }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow); }
.side-card h2 { font-size: 1.2rem; }
.side-card-soft { background: var(--bg-soft); box-shadow: none; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.tick-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; }
.tick-list .icon { color: var(--gold-ink); margin-top: 4px; }

/* Forms */
.enquiry-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-section { margin-bottom: 28px; }
.form-section > legend { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 0; }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 0.9rem; }
.grid-2 { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label, .field > legend { display: block; font-weight: 650; margin-bottom: 6px; color: var(--navy); font-size: 0.98rem; padding: 0; }
.req { color: var(--danger); }
.opt, .hint-inline { color: var(--muted); font-weight: 400; font-size: 0.88rem; }
.hint { color: var(--muted); font-size: 0.9rem; margin: 6px 0 0; }
input[type='text'], input[type='email'], input[type='tel'], select, textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid #b9bfce; border-radius: 10px; padding: 12px 14px; min-height: 48px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(212, 162, 58, 0.55); border-color: var(--navy); }
[aria-invalid='true'] { border-color: var(--danger) !important; }
.error { color: var(--danger); font-size: 0.9rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.error:empty { display: none; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; margin: 0 !important; font-weight: 600 !important; }
.choice input, .chip-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice span, .chip-choice span { display: inline-block; padding: 10px 18px; border: 1.5px solid #b9bfce; border-radius: 999px; background: #fff; font-weight: 600; font-size: 0.97rem; color: var(--text); transition: background 0.12s, border-color 0.12s; }
.choice input:checked + span, .chip-choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span, .chip-choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.chip-choice { position: relative; margin: 0 !important; }
.chip-choice span { padding: 7px 14px; font-size: 0.92rem; }
.chip-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.subject-group { margin: 0 0 14px !important; }
.subject-group > legend { font-size: 0.82rem !important; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted) !important; font-weight: 700 !important; margin-bottom: 8px !important; }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { margin: 0; font-weight: 600; }
.form-status.err { color: var(--danger); }
.form-note { color: var(--muted); font-size: 0.9rem; margin: 14px 0 0; }
.form-error-summary { background: #fdecea; border: 1px solid #f1b8b3; color: #7a1a14; border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-weight: 600; }
.spinner { display: none; width: 18px; height: 18px; border: 3px solid rgba(16, 26, 51, 0.25); border-top-color: var(--navy); border-radius: 50%; animation: spin 0.7s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn { opacity: 0.85; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: center; padding: 24px 8px; }
.form-success h2 { margin-top: 12px; }

/* Footer */
.site-footer { background: var(--navy); color: #c8cfe0; padding: 56px 0 0; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-logo { background: #fff; border-radius: 14px; padding: 8px; margin-bottom: 14px; width: 130px; height: auto; }
.footer-h { font-family: var(--font-head); color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #e6eaf5; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer .icon { color: var(--gold); }
.footer-legal { font-size: 0.68rem; opacity: 0.8; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 20px; padding-bottom: 28px; }
.footer-legal p { margin: 0; }

/* Assistant */
#assistant { position: fixed; right: 16px; bottom: 16px; z-index: 150; }
.as-launch { font-family: var(--font-head); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; background: var(--gold); color: var(--navy); border: 0; border-radius: 999px; padding: 13px 20px; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 8px 24px rgba(16, 26, 51, 0.3); }
.as-launch:hover { background: var(--gold-hover); }
.as-panel { position: absolute; right: 0; bottom: 0; width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 32px)); background: #fff; border-radius: 18px; box-shadow: 0 18px 60px rgba(16, 26, 51, 0.35); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.as-panel[hidden] { display: none; }
.as-head { background: var(--navy); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.as-head img { background: #fff; border-radius: 8px; padding: 2px; }
strong { font-weight: 700; }
.as-head strong { display: block; line-height: 1.2; }
.as-head span { font-size: 0.82rem; color: #c8cfe0; }
.as-close { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; }
.as-close:hover { background: rgba(255, 255, 255, 0.12); }
.as-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.as-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 0.97rem; line-height: 1.5; }
.as-msg p { margin: 0 0 0.5em; }
.as-msg p:last-child { margin: 0; }
.as-bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.as-user { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.as-chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.as-chip { background: #fff; border: 1.5px solid var(--navy-3); color: var(--navy); border-radius: 999px; padding: 7px 13px; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; text-align: left; }
.as-chip:hover { background: var(--navy); color: #fff; }
.as-cta { align-self: flex-start; }
.as-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.as-form input { flex: 1; min-height: 44px; }
.as-send { width: 46px; border: 0; border-radius: 10px; background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center; }
.as-send:hover { background: var(--navy-3); }
.as-foot { font-size: 0.78rem; color: var(--muted); padding: 0 14px 10px; background: #fff; margin: 0; }
@media (max-width: 480px) { .as-panel { position: fixed; right: 8px; left: 8px; bottom: 8px; width: auto; } }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, #assistant, .cta-band, .site-footer { display: none; } }
.subject-group[hidden] { display: none; }

/* Founders */
.founder { text-align: center; padding: 32px 24px; }
.founder h2 { font-size: 1.35rem; margin-bottom: 4px; }
.avatar { width: 88px; height: 88px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin: 0 auto 18px; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; letter-spacing: 0.04em; border: 3px solid var(--gold); }
.founder-role { color: var(--gold-ink); font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 14px; }
.founder-study { margin-bottom: 4px; }
.founder-majors { color: var(--muted); }
.founder-phone { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 18px 0 0; font-weight: 600; }
.founder-phone .icon { color: var(--gold-ink); }

/* Testimonials */
.testimonials { padding: 40px 0; }
.quote-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 18px 20px; }
.quote p { margin: 0 0 8px; font-size: 1rem; }
.quote figcaption { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.quote blockquote { margin: 0; }
.quote { padding: 14px 18px; }
.testimonials { padding: 32px 0; }
@media (max-width: 759px) { .quote:nth-child(n+3) { display: none; } }
.google-link { margin: 32px 0 0; font-weight: 600; }
.google-link .icon { color: var(--gold-ink); }

/* Phone layout */
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .container { padding: 0 18px; }
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 22px; }
  .section-head p { font-size: 1.02rem; }
  .hero { padding: 36px 0 44px; }
  .hero::after { display: none; }
  .hero-actions { gap: 10px; margin-top: 22px; }
  .hero-actions .btn { flex: 1 1 auto; padding: 13px 18px; }
  .page-hero { padding: 30px 0 26px; }
  .lead { font-size: 1.05rem; }
  .card { padding: 18px; }
  .card-lg { padding: 24px 20px; }
  .card-grid { gap: 12px; }
  .card-grid.cols-4 .card { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; }
  .card-grid.cols-4 .card-icon { grid-row: span 2; width: 46px; height: 46px; margin: 0; }
  .card-grid.cols-4 .card h3 { margin: 0 0 2px; }
  .steps { gap: 12px; margin-bottom: 8px; }
  .steps li { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; padding: 16px 18px; }
  .steps .step-badge { grid-row: span 2; margin: 0; }
  .steps h3 { margin: 0 0 4px; }
  .compare { gap: 12px; }
  .subject-block { margin-bottom: 28px; }
  .cta-band { padding: 34px 0; }
  .cta-inner { gap: 18px; }
  .cta-inner .btn { width: 100%; }
  .form-card { padding: 18px; border-radius: 14px; }
  .form-section { margin-bottom: 22px; }
  .founder { padding: 24px 18px; }
  .site-footer { padding: 36px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .footer-brand { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; }
  .footer-brand p { margin: 0; }
  .footer-logo { width: 84px; margin: 0; padding: 6px; border-radius: 10px; flex: none; }
  .footer-links { gap: 6px; font-size: 0.98rem; }
  .footer-legal { margin-top: 26px; padding-bottom: 76px; }
  #assistant { right: 12px; bottom: 12px; }
  .as-launch { padding: 14px; box-shadow: 0 6px 18px rgba(16, 26, 51, 0.3); }
  .as-launch span { display: none; }
}

/* Compact footer */
.site-footer { padding: 28px 0 0; font-size: 0.85rem; line-height: 1.45; }
.footer-grid { gap: 18px 24px; }
.footer-brand p { margin: 0; font-size: 0.85rem; }
.footer-logo { width: 64px; padding: 5px; border-radius: 8px; margin-bottom: 10px; }
.footer-h { font-size: 0.68rem; margin: 0 0 8px; }
.footer-links { gap: 4px; font-size: 0.85rem; }
.contact-list { gap: 6px; }
.site-footer .icon { width: 14px; height: 14px; }
.footer-legal { margin-top: 20px; padding-top: 12px; padding-bottom: 20px; }
@media (max-width: 640px) {
  .site-footer { padding: 24px 0 0; }
  .footer-grid { gap: 16px 14px; }
  .footer-brand { gap: 12px; }
  .footer-logo { width: 56px; margin: 0; }
  .footer-links { gap: 3px; font-size: 0.85rem; }
  .footer-legal { margin-top: 16px; padding-bottom: 64px; }
}
.footer-links { display: block; columns: 2; column-gap: 20px; }
.footer-links li { break-inside: avoid; padding: 2px 0; }
@media (max-width: 640px) { .footer-grid > div:nth-child(2) { grid-column: 1 / -1; } .footer-grid > div:nth-child(3) { grid-column: 1 / -1; } }
