/* Gina's Language Tuition — navy, cream and champagne gold, following Georgina's layout sketch. */
:root {
  --paper: #faf6ef;          /* cream page */
  --paper-2: #f2ebdf;        /* tinted band */
  --white: #fffdf9;
  --ink: #0a1d47;            /* logo navy */
  --ink-2: #2a3961;
  --navy-text: #c9d0e2;      /* body text on navy */
  --navy-soft: #9aa5c0;
  --gold: #dcc48f;           /* champagne gold: buttons, rules on navy */
  --gold-hover: #e8d4a6;
  --gold-deep: #8a6a2c;      /* gold for text and rules on cream */
  --stone: #5d6070;
  --rule: #e3dac9;
  --red: #c9262e;            /* logo red, used sparingly */

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --wrap: 1180px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
html:has(.stage-nav) { scroll-padding-top: calc(var(--header-h) + 68px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--gold-deep); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 500; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.5rem; line-height: 1.2; }
.lead { font-size: clamp(1.2rem, 1.6vw, 1.38rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--stone); }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(var(--wrap), 100% - 4rem); } }
.measure { max-width: 36em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Eyebrow label: short gold rule and small capitals */
.label {
  display: flex; align-items: center; gap: .8rem;
  font-size: .86rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: var(--gold-deep); margin: 0 0 1rem;
}
.label::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; flex: none; }
.center .label, .label.center { justify-content: center; }
.on-navy .label, .section-ink .label { color: var(--gold); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 500 1.08rem/1.1 var(--serif); letter-spacing: .01em;
  color: #fff; background: var(--ink); text-decoration: none;
  padding: .95rem 1.5rem; border-radius: 3px; border: 1px solid var(--ink); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.link { font-size: 1.1rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-deep); text-underline-offset: .28em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2rem; }

/* ---------- Header (navy) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid rgba(220, 196, 143, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.brand { display: flex; align-items: center; line-height: 0; flex-shrink: 0; padding-right: 1.6rem; border-right: 1px solid rgba(255,255,255,.18); }
.brand img { height: 52px; width: auto; }
@media (min-width: 1000px) { .brand img { height: 58px; } }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: #e7eaf2; text-decoration: none; font-size: 1.1rem; padding: .3rem 0; border-bottom: 1px solid transparent; }
.site-nav a:not(.btn):hover { color: #fff; border-bottom-color: var(--gold); }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.site-nav .btn { padding: .7rem 1.1rem; font-size: 1rem; margin-left: .4rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle .bar { display: block; width: 26px; height: 1.5px; background: #fff; margin: 6px 0; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { transform: translateY(-3.75px) rotate(-45deg); }
@media (max-width: 1099px) {
  .brand { border-right: 0; padding-right: 0; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid rgba(220,196,143,.25); padding: .5rem 1rem 1.25rem; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .85rem .2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .site-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: rgba(255,255,255,.1); }
  .site-nav .btn { margin: 1rem 0 0; justify-content: center; }
}
@media (max-width: 420px) { .brand img { height: 44px; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0; border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; } }
.hero h1 { margin-bottom: 1.4rem; }
.hero h1::after { content: ""; display: block; width: 3.2rem; height: 1.5px; background: var(--gold-deep); margin-top: 1.5rem; }
.hero .lead { margin-bottom: 0; }
.credentials { margin: 1.3rem 0 0; color: var(--stone); font-size: 1.04rem; line-height: 1.5; }
.photo { margin: 0; }
.photo img { width: 100%; border-radius: 3px; box-shadow: 0 30px 60px -38px rgba(10, 29, 71, .55); }
.photo-tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.photo figcaption { margin-top: .8rem; font-style: italic; color: var(--stone); font-size: 1rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section + .section { padding-top: 0; }
.section-tint { background: var(--paper-2); }
.section-tint + .section { padding-top: clamp(4rem, 8vw, 6.5rem); }
.section-ink { background: var(--ink); color: var(--navy-text); }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .muted { color: var(--navy-soft); }
.section-head { max-width: 40em; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

/* Promises row */
.facts { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 0; padding: clamp(2.2rem, 4vw, 3rem) 0; }
.facts div { border-top: 1px solid var(--gold-deep); padding-top: .9rem; }
.facts dt { font-size: 1.35rem; line-height: 1.2; font-weight: 500; }
.facts dd { margin: .3rem 0 0; color: var(--stone); font-size: 1.04rem; line-height: 1.45; }

/* Language cards (home) */
.explore { display: grid; gap: 2.5rem 4rem; align-items: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .explore { grid-template-columns: 1fr 1.1fr; } }
.langs { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .langs { grid-template-columns: repeat(3, 1fr); } }
.lang-card { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; background: var(--white); border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.lang-card:hover { color: var(--ink); border-color: var(--gold); box-shadow: 0 24px 40px -30px rgba(10, 29, 71, .45); }
.lang-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lang-card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.lang-name { font-size: 1.85rem; line-height: 1.1; margin: 0 0 .15rem; }
.lang-name i { font-style: italic; color: var(--gold-deep); font-size: 1.15rem; margin-left: .4rem; }
.lang-desc { color: var(--ink-2); font-size: 1.06rem; line-height: 1.5; margin: .4rem 0 1rem; }
.lang-price { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--rule); color: var(--stone); font-size: 1.04rem; }
.lang-price b { color: var(--ink); font-weight: 500; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem 3rem; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps.steps-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.steps.steps-stack { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; }
.steps li::before { content: counter(step); grid-row: span 2; font-size: 2.6rem; line-height: .95; font-style: italic; color: var(--gold-deep); font-variant-numeric: lining-nums; min-width: 1.4rem; }
.steps b { font-weight: 500; font-size: 1.35rem; line-height: 1.2; display: block; margin-bottom: .3rem; }
.steps span { color: var(--stone); font-size: 1.04rem; line-height: 1.5; }
.section-ink .steps span { color: #b3bdd4; }
.section-ink .steps b { color: #fff; }
.section-ink .steps li::before { color: var(--gold); }

/* Two-column media + text */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } .split-flip > :first-child { order: 2; } }
.split figure { margin: 0; }
.split img { width: 100%; border-radius: 3px; }
.photo-pair { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin: 0; }
.photo-pair img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }

/* Testimonials */
.quotes { display: grid; gap: 1.6rem; }
@media (min-width: 820px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quotes figure { margin: 0; background: var(--white); border: 1px solid var(--rule); border-top: 2px solid var(--gold); border-radius: 3px; padding: 1.8rem 2rem 1.6rem; }
.quotes blockquote { margin: 0 0 1rem; font-size: 1.3rem; font-style: italic; line-height: 1.45; }
.quotes blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--gold-deep); font-style: normal; margin-bottom: .2rem; height: 1.2rem; }
.quotes figcaption { color: var(--stone); font-size: 1.02rem; }
.quotes figcaption strong { color: var(--ink); font-weight: 500; }

/* Closing band (navy with gold hairlines) */
.closing { background: var(--ink); color: var(--navy-text); padding: clamp(3.5rem, 7vw, 5rem) 0; }
.closing-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; border-top: 1px solid rgba(220,196,143,.45); border-bottom: 1px solid rgba(220,196,143,.45); padding: 2.4rem 0; }
.closing h2 { color: #fff; margin-bottom: .3rem; }
.closing p { margin: 0; font-size: 1.15rem; max-width: 34em; }

/* ---------- Inner pages ---------- */
.page-head { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--rule); }
.page-head h1::after { content: ""; display: block; width: 3.2rem; height: 1.5px; background: var(--gold-deep); margin-top: 1.4rem; }

.prose { max-width: 36em; }
.prose h2 { font-size: 1.9rem; margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.about-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 940px) { .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 5rem; } .about-grid > .about-photos { position: sticky; top: calc(var(--header-h) + 24px); } }
.about-photos { display: grid; gap: 1.2rem; }

.list { list-style: none; padding: 0; margin: 0 0 1.4rem; border-top: 1px solid var(--rule); }
.list li { padding: .62rem 0 .62rem 1.5rem; border-bottom: 1px solid var(--rule); position: relative; line-height: 1.45; }
.list li::before { content: ""; position: absolute; left: .2rem; top: calc(.62rem + .72em - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--gold-deep); }
.list-cols { columns: 2 14rem; column-gap: 2.5rem; border-top: 0; }
.list-cols li { break-inside: avoid; }
.list-cols li:first-child { border-top: 1px solid var(--rule); }
@media (min-width: 520px) { .list-cols li:nth-child(-n+2) { border-top: 1px solid var(--rule); } }

/* Fees */
.fees-block { background: var(--paper-2); padding: clamp(4rem, 8vw, 6rem) 0; }
.fees-grid { display: grid; gap: 3rem 5rem; }
@media (min-width: 940px) { .fees-grid { grid-template-columns: 1fr 1fr; } }
.price-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.price-list li { display: flex; align-items: baseline; gap: .6rem; padding: .85rem 0; font-size: clamp(1.25rem, 2.2vw, 1.5rem); border-bottom: 1px solid var(--rule); }
.price-list li:first-child { border-top: 1px solid var(--ink); }
.price-list .leader { flex: 1; }
.price-list .price { white-space: nowrap; }
.price-list .price small { font-size: .7em; color: var(--stone); }
.price-list .enquire { font-style: italic; color: var(--stone); font-size: .85em; }
.taster { margin: 0; font-size: 1.15rem; color: var(--ink-2); }
.taster b { font-weight: 500; color: var(--ink); }

/* FAQ */
.faq { max-width: 46rem; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem 0; font-size: 1.3rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-deep); font-size: 1.6rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 1.1rem; margin: 0; max-width: 38em; }

/* ---------- Language page stages ---------- */
.stage-nav { position: sticky; top: var(--header-h); z-index: 40; background: var(--paper); border-bottom: 1px solid var(--rule); }
.stage-nav-inner { display: flex; gap: 2rem; overflow-x: auto; scrollbar-width: none; }
.stage-nav-inner::-webkit-scrollbar { display: none; }
.stage-nav a { flex: none; color: var(--stone); text-decoration: none; font-size: 1.08rem; padding: .85rem 0 .75rem; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.stage-nav a:hover { color: var(--ink); }
.stage-nav a.active { color: var(--ink); border-bottom-color: var(--gold-deep); }

.stage { padding: clamp(4rem, 8vw, 6rem) 0; border-bottom: 1px solid var(--rule); }
.stage-grid { display: grid; gap: 1.5rem 5rem; }
@media (min-width: 940px) { .stage-grid { grid-template-columns: 19rem 1fr; } .stage-head { position: sticky; top: calc(var(--header-h) + 80px); align-self: start; } }
.stage-head h2 { margin-bottom: 1rem; }
.stage-head .photo { margin-top: 1.5rem; }
.stage-body { max-width: 40em; }
.stage-body h3 { font-size: 1.4rem; margin: 2.2rem 0 .8rem; }
.stage-body > .lead:first-child { margin-top: 0; }

/* A-Level (navy) */
.section-ink .stage-head { position: static; }
.section-ink .lead { color: #d6dcea; }
.ink-top { display: grid; gap: 2.5rem 4rem; align-items: center; }
@media (min-width: 940px) { .ink-top { grid-template-columns: 1.1fr 1fr; } }
.ink-block { margin-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid rgba(220,196,143,.35); padding-top: 2rem; }
.block-title { font-size: 1.75rem; margin-bottom: 1.2rem; }
.themes { display: grid; gap: 1.8rem 3rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.themes h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.themes p, .ink-cols p { margin: 0; color: #b3bdd4; font-size: 1.04rem; line-height: 1.55; }
.reading { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 3rem; }
@media (min-width: 720px) { .reading { grid-template-columns: 1fr 1fr; } }
.reading li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.reading i { font-size: 1.3rem; color: #fff; }
.reading .who { color: #b3bdd4; font-size: 1.02rem; }
.reading .kind { color: var(--navy-soft); font-style: italic; font-size: .98rem; margin-left: auto; }
.ink-cols { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ink-cols h3 { font-size: 1.35rem; }

/* Culture words */
.culture { display: flex; flex-wrap: wrap; gap: .3rem 1.8rem; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.culture li { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-style: italic; line-height: 1.3; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3rem 5rem; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.details { margin: 2rem 0 0; }
.details div { padding: .8rem 0; border-top: 1px solid var(--rule); }
.details dt { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.details dd { margin: .1rem 0 0; font-size: 1.25rem; }
.details a { color: var(--ink); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.contact-photo { margin: 2.4rem 0 0; max-width: 460px; }

.form { background: var(--white); padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--rule); border-top: 2px solid var(--gold); border-radius: 3px; box-shadow: 0 24px 48px -36px rgba(10,29,71,.4); }
.form h2 { font-size: 1.7rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.3rem; min-width: 0; }
.field-row { display: grid; gap: 0 1.5rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { color: var(--stone); font-size: 1.02rem; margin-bottom: .2rem; }
.opt { font-size: .92rem; font-style: italic; }
input, select, textarea {
  font: inherit; font-size: 1.15rem; color: var(--ink); background: var(--paper);
  border: 1px solid #d6ccb8; border-radius: 3px; padding: .6rem .75rem; width: 100%;
}
select { appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a1d47' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .8rem center; padding-right: 2.2rem; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(220,196,143,.55); }
input:user-invalid { border-color: var(--red); }
.form-status { margin: 1rem 0 0; font-size: 1.04rem; color: var(--stone); }
.form-status.error { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--navy-soft); padding: 3.5rem 0 0; font-size: 1.05rem; }
.footer-grid { display: grid; gap: 2rem 3rem; padding-bottom: 3rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1.3fr; } }
.footer-grid a, .footer-grid span { display: block; color: #d4d9e6; text-decoration: none; padding: .15rem 0; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.foot-head { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.brand-foot { display: block; height: 64px; width: auto; margin-bottom: 1rem; }
.foot-base { border-top: 1px solid rgba(220,196,143,.3); padding: 1.1rem 0 1.5rem; font-size: .95rem; }
.foot-base p { margin: 0; }

.skills-line { margin: 1.8rem 0 0; padding: 1rem 1.2rem; background: var(--white); border-left: 2px solid var(--gold); font-size: 1.15rem; }
.skills-line b { font-weight: 500; }
.fees-block h3 { font-size: 1.5rem; }
.fees-block .steps-stack { margin-top: 1rem; }
