/* Evryday Learning — paper & ink design system
   English = teal ink, Spanish = terracotta ink. Fraunces display / Karla body. */

:root {
  --paper: #faf5ec;
  --paper-deep: #f2ead9;
  --ink: #22301f;
  --ink-soft: #4c5a49;
  --en: #0f5257;         /* English: deep teal */
  --en-soft: #dcebe8;
  --es: #c04e27;         /* Spanish: terracotta */
  --es-soft: #f6e3d6;
  --gold: #d9a441;
  --line: rgba(34, 48, 31, 0.16);
  --radius: 14px;
  --shadow: 0 2px 0 rgba(34, 48, 31, 0.9);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", "Segoe UI", Verdana, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  position: relative;
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; line-height: 1.12; }

a { color: var(--en); }

img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- language visibility ---------- */
html[data-lang="en"] .only-es { display: none !important; }
html[data-lang="es"] .only-en { display: none !important; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--ink);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: block;
  width: 180px;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
}
.brand img { display: block; width: 100%; height: auto; }
.site-nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.site-nav a:hover { color: var(--es); }
.site-nav a.btn-primary { color: var(--paper); }
.site-nav a.btn-primary:hover { color: var(--paper); }

.lang-toggle {
  display: inline-flex;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper);
}
.lang-toggle button {
  border: 0;
  background: transparent;
  font: 600 0.85rem var(--font-body);
  color: var(--ink);
  padding: 6px 14px;
  cursor: pointer;
}
.lang-toggle button.active { background: var(--ink); color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font: 700 1rem var(--font-body);
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 3px 0 var(--ink);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--ink); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-en { background: var(--en); color: #fff; border-color: var(--en); box-shadow: 0 3px 0 #082e30; }
.btn-en:hover { box-shadow: 0 5px 0 #082e30; }
.btn-es { background: var(--es); color: #fff; border-color: var(--es); box-shadow: 0 3px 0 #6e2a11; }
.btn-es:hover { box-shadow: 0 5px 0 #6e2a11; }
.btn-ghost { background: transparent; color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero .wrap { position: relative; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-art {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 28px 12px 28px 12px;
  background: var(--paper-deep);
  box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(1deg);
}
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 69% center;
  border-radius: 26px 10px 26px 10px;
}
.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--es);
  border: 1.5px solid var(--es);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 24px;
  background: var(--es-soft);
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  letter-spacing: -0.02em;
  max-width: 15ch;
}
.hero h1 .accent-en { color: var(--en); font-style: italic; }
.hero h1 .accent-es { color: var(--es); font-style: italic; }
.hero-sub { margin: 26px 0 34px; font-size: 1.2rem; color: var(--ink-soft); max-width: 52ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--ink-soft); }

/* floating word marks in the hero */
.hero-words {
  position: absolute;
  right: -18px;
  top: -32px;
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  opacity: 0.96;
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.hero-words span {
  display: inline-block;
  padding: 6px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: 1.05rem;
  animation: bob 5s ease-in-out infinite;
}
.hero-words span:nth-child(2) { animation-delay: 1.2s; margin-right: 34px; }
.hero-words span:nth-child(3) { animation-delay: 2.4s; margin-right: 8px; }
.hero-words span:nth-child(4) { animation-delay: 3.1s; margin-right: 48px; }
.hero-words .w-en { color: var(--en); border-color: var(--en); }
.hero-words .w-es { color: var(--es); border-color: var(--es); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-art { max-width: 680px; aspect-ratio: 16 / 9; transform: none; }
  .hero-art img { object-position: center; }
  .hero-words { display: none; }
}

/* ---------- sections ---------- */
section { padding: 64px 0; }
.section-tint { background: var(--paper-deep); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--en);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.015em; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.05rem; }

/* cards grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 4px 0 rgba(34, 48, 31, 0.85);
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

/* language pick cards */
.pick-card { position: relative; overflow: hidden; padding: 32px 28px; }
.pick-card.en { background: var(--en-soft); }
.pick-card.es { background: var(--es-soft); }
.pick-card h3 { font-size: 1.7rem; }
.pick-card .tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; color: #fff;
}
.pick-card.en .tag { background: var(--en); }
.pick-card.es .tag { background: var(--es); }
.pick-card ul { margin: 16px 0 22px 18px; color: var(--ink-soft); font-size: 0.96rem; }
.pick-card li { margin-bottom: 6px; }

/* ---------- lesson timeline ---------- */
.lesson-art {
  max-width: 920px;
  margin: -8px 0 40px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 5px 5px 0 rgba(34, 48, 31, 0.85);
  background: var(--paper);
}
.lesson-art img { display: block; width: 100%; }
.timeline { border-left: 2px solid var(--ink); margin-left: 8px; padding-left: 28px; display: grid; gap: 26px; }
.timeline .t-item { position: relative; }
.timeline .t-item::before {
  content: "";
  position: absolute; left: -35.5px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--ink);
}
.timeline .t-min { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--es); }
.timeline h3 { font-size: 1.15rem; margin: 2px 0 4px; }
.timeline p { color: var(--ink-soft); font-size: 0.96rem; max-width: 60ch; }

/* ---------- pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 6px 0 2px;
}
.price-card .per { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 14px; }
.price-card ul { list-style: none; margin: 0 0 22px; display: grid; gap: 8px; font-size: 0.95rem; color: var(--ink-soft); }
.price-card li::before { content: "— "; color: var(--gold); font-weight: 700; }
.price-card .btn { margin-top: auto; text-align: center; }
.price-card.featured { background: var(--ink); color: var(--paper); }
.price-card.featured h3, .price-card.featured .price { color: var(--paper); }
.price-card.featured p, .price-card.featured .per, .price-card.featured ul { color: rgba(250, 245, 236, 0.75); }
.price-card .flag {
  align-self: flex-start;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--gold); color: var(--ink);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details { border-bottom: 1.5px solid var(--line); padding: 18px 0; }
.faq summary {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::after { content: "+"; color: var(--es); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-soft); max-width: 65ch; }

/* ---------- forms ---------- */
.form-card {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 5px 0 rgba(34, 48, 31, 0.85);
  padding: 34px;
  max-width: 640px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.field input:not([type="radio"]), .field select, .field textarea {
  width: 100%;
  font: 400 1rem var(--font-body);
  color: var(--ink);
  background: #fffdf8;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 11px 14px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:not([type="radio"]):focus, .field select:focus, .field textarea:focus {
  outline: 2.5px solid var(--gold);
  outline-offset: 1px;
}
.field .hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }
.form-privacy { margin: 0 0 16px; color: var(--ink-soft); font-size: 0.82rem; line-height: 1.5; }
.exam-card .form-privacy { margin-top: -5px; }
.form-privacy a { color: inherit; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; }
.radio-pill > span {
  display: inline-block;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  background: var(--paper);
}
.radio-pill input:checked + span { background: var(--ink); color: var(--paper); }
.radio-pill input:focus-visible + span { outline: 2.5px solid var(--gold); }
.radio-pill.pill-en input:checked + span { background: var(--en); border-color: var(--en); }
.radio-pill.pill-es input:checked + span { background: var(--es); border-color: var(--es); }

.form-msg { margin-top: 16px; font-weight: 700; display: none; }
.form-msg.ok { display: block; color: var(--en); }
.form-msg.err { display: block; color: var(--es); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1.5px solid var(--ink);
  padding: 36px 0 48px;
  background: var(--paper-deep);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--ink); }
.site-footer .wrap > div { min-width: 0; max-width: 100%; }
.site-footer .wrap > div:last-child { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .site-footer .wrap { align-items: flex-start; gap: 12px; }
  .site-footer .wrap > div { flex-basis: 100%; }
}

/* ---------- policy pages ---------- */
.policy-main { padding: 72px 0 88px; }
.policy-copy { max-width: 780px; }
.policy-copy h1 { margin-bottom: 10px; font-size: clamp(2.5rem, 7vw, 4.5rem); }
.policy-updated { margin-bottom: 36px; color: var(--ink-soft); }
.policy-copy h2 { margin: 34px 0 10px; font-size: 1.55rem; }
.policy-copy h3 { margin: 24px 0 8px; font-size: 1.08rem; }
.policy-copy p, .policy-copy li { color: var(--ink-soft); }
.policy-copy ul { margin: 10px 0 18px 22px; }
.policy-copy li { margin: 7px 0; }
.policy-note { margin-top: 34px; padding: 18px 20px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--paper-deep); }

/* ---------- booking ---------- */
.booking-main { padding: 66px 0 88px; }
.booking-intro { max-width: 720px; margin-bottom: 32px; }
.booking-intro h1 { margin-bottom: 12px; font-size: clamp(2.5rem, 7vw, 4.5rem); }
.booking-intro p { max-width: 60ch; color: var(--ink-soft); font-size: 1.05rem; }
.booking-frame { min-height: 720px; overflow: auto; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: 5px 5px 0 var(--ink); }
.booking-frame > div { width: 100%; min-height: 720px; }
@media (max-width: 720px) { .booking-main { padding-top: 46px; } .booking-frame, .booking-frame > div { min-height: 680px; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-words span { animation: none; }
}

/* ================= EXAM PAGES ================= */
.exam-page { min-height: 100vh; display: flex; flex-direction: column; }
.exam-shell { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; width: 100%; flex: 1; }
.exam-theme-en { --exam: var(--en); --exam-soft: var(--en-soft); }
.exam-theme-es { --exam: var(--es); --exam-soft: var(--es-soft); }

.exam-card {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 5px 0 rgba(34, 48, 31, 0.85);
  padding: 36px;
}
.exam-card h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 8px; }
.exam-card h1 .accent { color: var(--exam); font-style: italic; }
.exam-card .lede { color: var(--ink-soft); margin-bottom: 22px; }

.progress-track {
  height: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: #fffdf8;
  margin-bottom: 26px;
}
.progress-fill { height: 100%; background: var(--exam); width: 0%; transition: width 0.3s ease; }

.q-count { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--exam); margin-bottom: 10px; }
.q-text { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; margin-bottom: 22px; line-height: 1.3; }

.opt-list { display: grid; gap: 12px; }
.opt {
  text-align: left;
  font: 500 1.02rem var(--font-body);
  color: var(--ink);
  background: #fffdf8;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.opt:hover { background: var(--exam-soft); transform: translateX(4px); }
.opt.picked { background: var(--exam); color: #fff; border-color: var(--exam); }

.exam-nav { display: flex; justify-content: space-between; margin-top: 26px; gap: 12px; }

/* result */
.band-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--exam);
  border: 2px solid var(--exam);
  border-radius: var(--radius);
  padding: 10px 30px;
  background: var(--exam-soft);
  margin: 12px 0 6px;
}
.level-line { font-size: 1.25rem; font-weight: 700; margin-bottom: 14px; }
.band-bars { display: grid; gap: 8px; margin: 22px 0; }
.band-bar { display: grid; grid-template-columns: 44px 1fr 52px; gap: 10px; align-items: center; font-size: 0.9rem; font-weight: 700; }
.band-bar .track { height: 12px; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fffdf8; }
.band-bar .fill { height: 100%; background: var(--exam); }

/* ================= CURRICULUM PAGE ================= */
.curr-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.curr-tab {
  font: 700 0.95rem var(--font-body);
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
}
.curr-tab.active-en { background: var(--en); border-color: var(--en); color: #fff; }
.curr-tab.active-es { background: var(--es); border-color: var(--es); color: #fff; }

.level-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.level-pill {
  font: 600 0.9rem var(--font-body);
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
}
.level-pill.active { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.program-head { margin-bottom: 26px; }
.program-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.program-head .cefr { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.program-head p { color: var(--ink-soft); margin-top: 10px; max-width: 68ch; }

.cando { margin: 18px 0 30px; display: grid; gap: 8px; }
.cando li { list-style: none; padding-left: 26px; position: relative; color: var(--ink-soft); }
.cando li::before { content: "✓"; position: absolute; left: 0; color: var(--en); font-weight: 700; }

.week-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .week-grid { grid-template-columns: 1fr; } }
.week-card {
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  padding: 18px 20px;
  box-shadow: 0 3px 0 rgba(34, 48, 31, 0.75);
}
.week-card .wk { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--es); }
.week-card h4 { font-family: var(--font-display); font-size: 1.1rem; margin: 4px 0 8px; }
.week-card p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 5px; }
.week-card p strong { color: var(--ink); font-weight: 700; }

/* ================= MEET YOUR TUTOR ================= */
.tutor-hero { padding: 76px 0 70px; overflow: hidden; }
.tutor-hero-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr); gap: clamp(36px, 8vw, 108px); align-items: center; }
.tutor-copy h1 { font-size: clamp(3rem, 7vw, 5rem); letter-spacing: -0.04em; margin-bottom: 20px; }
.tutor-copy h1 em { color: var(--es); font-style: italic; }
.tutor-copy > p { max-width: 60ch; color: var(--ink-soft); font-size: 1.05rem; }
.tutor-lede { font-family: var(--font-display); color: var(--ink) !important; font-size: clamp(1.25rem, 2.4vw, 1.65rem) !important; line-height: 1.3; margin-bottom: 18px; }
.tutor-copy .hero-ctas { margin-top: 30px; }
.tutor-portrait { min-height: 470px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; color: var(--paper); background: var(--ink); border: 1.5px solid var(--ink); border-radius: 30px 12px 30px 12px; box-shadow: 8px 8px 0 var(--gold); transform: rotate(1.5deg); }
.tutor-portrait::before, .tutor-portrait::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.tutor-photo { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 27%; }
.tutor-portrait > :not(.tutor-photo) { display: none; }
.tutor-portrait::before { width: 300px; height: 300px; background: var(--en); right: -100px; top: -100px; }
.tutor-portrait::after { width: 230px; height: 230px; background: var(--es); left: -110px; bottom: -110px; }
.portrait-stamp { z-index: 1; align-self: flex-end; display: grid; place-items: center; width: 74px; height: 74px; border: 1.5px solid var(--paper); border-radius: 50%; font-family: var(--font-display); font-size: 1.6rem; font-style: italic; transform: rotate(-8deg); }
.portrait-note { z-index: 1; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; line-height: 1.5; text-transform: uppercase; color: var(--gold); }
.portrait-name { z-index: 1; margin-top: auto; font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 5.6rem); line-height: 0.85; letter-spacing: -0.06em; }
.portrait-name em { color: var(--gold); }
.portrait-tag { z-index: 1; align-self: flex-start; margin-top: 24px; padding: 6px 12px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.tutor-card { min-height: 220px; }
.tutor-proof-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr); gap: clamp(36px, 7vw, 90px); align-items: start; }
.tutor-credentials { border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 5px 5px 0 var(--ink); }
.tutor-credentials > div { display: grid; gap: 4px; padding: 21px 24px; background: var(--paper); border-bottom: 1.5px solid var(--ink); }
.tutor-credentials > div:last-child { border-bottom: 0; }
.tutor-credentials > div:nth-child(even) { background: var(--paper-deep); }
.tutor-credentials strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.tutor-credentials span { color: var(--ink-soft); font-size: 0.9rem; }
.tutor-approach { background: var(--ink); color: var(--paper); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.tutor-approach-layout { display: grid; grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr); gap: clamp(40px, 9vw, 120px); align-items: center; }
.tutor-approach .eyebrow { color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px; }
.tutor-approach h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.tutor-approach p { margin-top: 16px; max-width: 56ch; color: rgba(250, 245, 236, 0.78); }
.tutor-quote { position: relative; padding: 38px 28px 28px; border: 1.5px solid rgba(250, 245, 236, 0.45); border-radius: 14px; background: rgba(250, 245, 236, 0.06); }
.quote-mark { position: absolute; left: 17px; top: -26px; font-family: var(--font-display); color: var(--gold); font-size: 5rem; line-height: 1; }
.tutor-quote p { margin: 0; color: var(--paper); font-family: var(--font-display); font-size: 1.45rem; line-height: 1.25; }
.tutor-cta { padding: 54px 0; }
.tutor-cta .wrap { display: flex; gap: 30px; justify-content: space-between; align-items: center; }
.tutor-cta .eyebrow { color: var(--es); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 8px; }
.tutor-cta h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); max-width: 18ch; }

@media (max-width: 900px) {
  .tutor-hero-layout, .tutor-proof-layout, .tutor-approach-layout { grid-template-columns: 1fr; }
  .tutor-portrait { max-width: 560px; min-height: 380px; transform: none; }
}
@media (max-width: 720px) {
  .brand { width: 150px; }
  .site-header .wrap { flex-wrap: wrap; }
  .site-nav { width: 100%; margin-left: 0; gap: 12px; flex-wrap: wrap; }
  .site-nav a { font-size: 0.88rem; }
  .site-nav .lang-toggle { margin-left: auto; }
  .tutor-hero { padding-top: 48px; }
  .tutor-portrait { min-height: 340px; }
  .tutor-cta .wrap { align-items: flex-start; flex-direction: column; }
}
