/* George Chantry — A-Level Economics tutoring
   Design system: "the exam paper" — ivory paper, Oxford-blue ink, gilt accent.
   Display: Fraunces (questions, italic). Body: Source Serif 4. Utility: Archivo. */

:root {
  --paper: #FBF7EF;
  --paper-deep: #F4EDDF;
  --ink: #1C2A3A;
  --oxford: #002147;
  --gold: #A98736;
  --gold-soft: #C9B27C;
  --hairline: #E6DECB;
  --measure: 66ch;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.06rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--oxford); text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}
.site-header .inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--oxford);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.credential-line {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.name-line {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 0.15rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}
.site-nav a {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover { color: var(--oxford); text-decoration: underline; text-decoration-color: var(--gold); }
.header-cta {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--paper) !important;
  background: var(--oxford);
  padding: 0.45rem 0.95rem;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: #0A3260; }

/* reviews page */
.reviews-wrap { max-width: 72rem; margin: 0 auto 4rem; padding: 0 1.5rem; }
.reviews-grid { columns: 2; column-gap: 1.6rem; }
@media (max-width: 40rem) { .reviews-grid { columns: 1; } }
.review-card {
  break-inside: avoid;
  background: var(--paper-deep);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 1.3rem 1.4rem;
  margin: 0 0 1.6rem;
}
.review-card blockquote {
  border: 0; margin: 0 0 0.7rem; padding: 0;
  font-style: normal; font-size: 1rem; line-height: 1.65;
}
.review-card .who {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.review-card .meta {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #6b7280;
}
.review-card.google-stub blockquote { font-size: 0.9rem; }
.gmap-embed {
  width: 100%;
  height: 280px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  margin: 0 0 0.9rem;
  display: block;
}

/* waitlist join CTA */
.join-cta { max-width: 46rem; margin: 0 auto 4rem; padding: 0 1.5rem; }
.join-card {
  background: var(--oxford);
  color: var(--paper);
  border-radius: 4px;
  padding: 2.2rem 2rem;
  text-align: center;
}
.join-card p { color: var(--paper); opacity: 0.92; margin: 0 auto 1.4rem; max-width: 48ch; }
.join-card .play {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.9rem;
  background: var(--gold);
  color: var(--oxford);
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
}
.join-card .play:hover { background: var(--gold-soft); }

/* embedded diagnostic form */
.form-embed {
  max-width: 46rem;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}
.form-embed iframe {
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--paper);
}
.form-fallback {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.82rem;
  opacity: 0.75;
  margin-top: 0.8rem;
  text-align: center;
}

/* homepage game strip */
.game-strip {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.game-card {
  background: var(--oxford);
  color: var(--paper);
  border-radius: 4px;
  padding: 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.game-card h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 420;
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: 0.4rem;
}
.game-card p { color: var(--paper); opacity: 0.9; max-width: 46ch; margin: 0; }
.game-card .play {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.9rem;
  background: var(--gold);
  color: var(--oxford);
  padding: 0.7rem 1.4rem;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
}
.game-card .play:hover { background: var(--gold-soft); }

/* ---------- hero (index) ---------- */

.hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
}
.eyebrow {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero-phone {
  text-align: center;
  margin-top: 0.6rem;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.hero-phone a { text-decoration: none; color: var(--oxford); font-weight: 600; }
.hero-phone a:hover { text-decoration: underline; }
.legal-link {
  font-size: 0.58rem;
  opacity: 0.22;
  text-decoration: none;
}
.legal-link:hover { opacity: 0.7; text-decoration: underline; }
.byline-provenance {
  display: block;
  font-size: 0.72rem;
  opacity: 0.65;
  margin-top: 2px;
}
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown .nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 10rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.10);
  padding: .4rem 0;
  z-index: 50;
}
.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  display: block;
}
.nav-dropdown .nav-menu a {
  display: block;
  padding: .45rem .9rem;
  margin: 0;
  white-space: nowrap;
}
.hero .hero-proof {
  max-width: var(--measure);
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
  color: var(--ink);
}
.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 340;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  color: var(--oxford);
  max-width: 24ch;
  animation: rise 0.7s ease-out both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.hero .standfirst {
  max-width: var(--measure);
  margin-top: 1.6rem;
  font-size: 1.12rem;
}
.hero .proof-line {
  margin-top: 1.4rem;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.75;
}

/* ---------- the chain divider (point → cause → consequence) ---------- */

.chain {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 3rem auto;
  max-width: 14rem;
  border: 0;
}
.chain span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.chain span + span { margin-left: 0; }
.chain i {
  flex: 1;
  height: 1px;
  background: var(--gold-soft);
  position: relative;
}
.chain i:last-of-type::after {
  content: "";
  position: absolute;
  right: -1px; top: -3px;
  border-left: 6px solid var(--gold);
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
}

/* ---------- question paper (index list) ---------- */

.paper-section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.section-label {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.6rem;
  margin-bottom: 0.5rem;
}
.question-list + .section-label { margin-top: 2.6rem; }
.question-list { list-style: none; }
.question-list li {
  border-bottom: 1px solid var(--hairline);
}
.question-list a {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0 1rem;
  padding: 1.5rem 0.4rem;
  text-decoration: none;
  color: inherit;
}
.question-list a:hover { background: var(--paper-deep); }
.q-mark {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1.2;
}
.question-list .q-text {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 420;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--oxford);
}
.question-list .q-sub {
  grid-column: 2;
  margin-top: 0.45rem;
  font-size: 0.95rem;
  opacity: 0.85;
  max-width: var(--measure);
}

/* ---------- article page ---------- */

.article-wrap {
  max-width: 58rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}
.article-wrap .q-mark { font-size: 2.6rem; display: block; margin-bottom: 0.4rem; }
.article-wrap h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 340;
  font-style: italic;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.2;
  color: var(--oxford);
  margin-bottom: 2rem;
}
.article-wrap h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 550;
  font-size: 1.35rem;
  color: var(--oxford);
  margin: 2.6rem 0 0.9rem;
  line-height: 1.3;
}
.article-wrap h3 {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 2rem 0 0.7rem;
}
.article-wrap p { margin-bottom: 1.1rem; }
.article-wrap ul, .article-wrap ol { margin: 0 0 1.1rem 1.4rem; max-width: var(--measure); }
.article-wrap li { margin-bottom: 0.4rem; }

.article-wrap blockquote {
  border-left: 2px solid var(--gold);
  margin: 1.8rem 0;
  padding: 0.2rem 0 0.2rem 1.3rem;
  font-style: italic;
  color: var(--ink);
  max-width: var(--measure);
}
.article-wrap blockquote p { margin-bottom: 0.4rem; }
.article-wrap blockquote .attrib,
.article-wrap blockquote em:last-child {
  font-family: "Archivo", system-ui, sans-serif;
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.byline {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  margin-bottom: 2.5rem;
}
.byline a { color: inherit; }

/* article author byline with headshot */
.byline-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--hairline);
}
.byline-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 40%;
  border: 2px solid var(--gold-soft);
  flex: none;
}
.byline-meta { display: flex; flex-direction: column; gap: 0.1rem; }
.byline-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 550;
  font-size: 1.05rem;
  color: var(--oxford);
  line-height: 1.2;
}
.byline-role {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
}

.references {
  border-top: 1px solid var(--hairline);
  margin-top: 3rem;
  padding-top: 1.2rem;
  font-size: 0.88rem;
  opacity: 0.85;
}
.references h2 { font-size: 1.05rem; margin-top: 0; }

/* ---------- CTA block ---------- */

.cta-block {
  background: var(--oxford);
  color: var(--paper);
  margin-top: 3.5rem;
  padding: 2.2rem 1.8rem;
  border-radius: 3px;
}
.cta-block h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 420;
  font-size: 1.4rem;
  color: var(--paper);
  margin: 0 0 0.8rem;
}
.cta-block p { color: var(--paper); opacity: 0.9; margin-bottom: 1rem; }
.cta-block a { color: var(--gold-soft); }
.cta-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.2rem; }
.cta-actions a {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
}
.cta-primary { background: var(--gold); color: var(--oxford) !important; }
.cta-primary:hover { background: var(--gold-soft); }
.cta-secondary { border: 1px solid var(--gold-soft); color: var(--oxford) !important; background: transparent; }
.cta-secondary:hover { border-color: var(--gold); }
.hero .cta-actions a { padding: 0.78rem 1.6rem; font-size: 0.95rem; }

/* article end CTA — one WhatsApp button */
.article-cta { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--hairline); }
.article-cta p { margin-bottom: 1rem; max-width: var(--measure); }
.article-cta .cta-primary {
  display: inline-block;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.95rem;
  background: var(--gold);
  color: var(--oxford) !important;
  padding: 0.78rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
}
.article-cta .cta-primary:hover { background: var(--gold-soft); }

/* embedded waitlist form (iframe on the homepage) */
.form-frame-wrap { max-width: 600px; margin: 1.3rem auto 0; padding: 0 1.5rem; }
.form-frame {
  width: 100%; height: 660px; border: 1px solid var(--hairline);
  border-radius: 6px; background: var(--paper);
}

/* hero microcopy + marketing image */
.micro-note {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.82rem; color: var(--ink); opacity: 0.78; margin-top: 0.9rem;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 2.5rem; align-items: center; }
.hero-grid.top { align-items: start; }
@media (max-width: 52rem) { .hero-grid { grid-template-columns: 1fr; gap: 1.4rem; } }
.hero-media { margin: 0; padding: 0; text-align: center; }
.hero-media img { width: 100%; max-width: 420px; height: auto; border-radius: 6px; border: 1px solid var(--hairline); }

/* portrait beside a narrow article intro (diagnostic / reviews pages) */
.intro-portrait { float: right; width: 190px; margin: 0.2rem 0 1rem 1.6rem; }
.intro-portrait img { width: 100%; height: auto; display: block; border-radius: 6px; border: 1px solid var(--hairline); }
@media (max-width: 34rem) { .intro-portrait { float: none; width: 160px; margin: 0 0 1.2rem; } }

/* homepage: credential badge strip */
.cred-badges { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--paper-deep); }
.cred-inner {
  max-width: 72rem; margin: 0 auto; padding: 1.1rem 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 0; justify-content: center; align-items: center;
}
.cred-inner span {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--oxford);
}
.cred-inner span:not(:last-child)::after { content: "\2022"; color: var(--gold); margin: 0 1rem; }

/* homepage: feature quote */
.feature-quote {
  max-width: 46rem; margin: 0 auto; border: 0; padding: 0; text-align: center;
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.35rem;
  line-height: 1.4; color: var(--oxford);
}
.feature-quote .attrib {
  display: block; margin-top: 1rem;
  font-family: "Archivo", system-ui, sans-serif; font-style: normal;
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
}

/* homepage: inline review snippets — verbatim excerpts beside the claims they back up */
.review-snippet {
  margin: 1.4rem 0 1.8rem;
  padding: 0.9rem 1.2rem;
  border-left: 3px solid var(--gold);
  background: var(--paper-deep);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: var(--measure);
}
.review-snippet .attrib {
  display: block; margin-top: 0.55rem;
  font-family: "Archivo", system-ui, sans-serif; font-style: normal;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
}
.review-snippet .attrib a { color: inherit; }

/* reviews page: live Google reviews block */
.google-reviews {
  margin: 1.6rem 0 2.2rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--paper-deep);
  max-width: var(--measure);
}
.google-reviews .cta-primary { display: inline-block; }
.google-count-line {
  margin: 0.9rem 0 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* homepage: stat band */
.stat-band { background: var(--oxford); }
.stat-grid {
  max-width: 72rem; margin: 0 auto; padding: 2.4rem 1.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
@media (max-width: 44rem) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-tile { text-align: center; color: var(--paper); }
.stat-number { font-family: "Fraunces", Georgia, serif; font-size: 2.5rem; line-height: 1; color: var(--gold-soft); }
.stat-label { font-family: "Archivo", system-ui, sans-serif; font-size: 0.76rem; letter-spacing: 0.03em; margin-top: 0.5rem; opacity: 0.9; }

/* homepage: proof cards */
.proof-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 1.4rem; }
@media (max-width: 40rem) { .proof-cards { grid-template-columns: 1fr; } }
.proof-card {
  border: 1px solid var(--hairline); border-left: 3px solid var(--gold);
  border-radius: 4px; padding: 1.3rem 1.4rem; background: var(--paper);
}
.proof-card h3 {
  font-family: "Fraunces", Georgia, serif; font-weight: 550; font-size: 1.15rem;
  color: var(--oxford); margin-bottom: 0.5rem;
}
.proof-card p { margin: 0; font-size: 0.98rem; }

/* WhatsApp conversion band (homepage + questions page) */
.whatsapp-band { max-width: 72rem; margin: 3rem auto; padding: 0 1.5rem; }
.wa-inner {
  background: var(--oxford); border-radius: 4px; padding: 2rem 2.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.wa-inner h2 { font-family: "Fraunces", Georgia, serif; font-weight: 420; font-size: 1.5rem; color: var(--paper); margin: 0 0 0.3rem; }
.wa-inner p { color: var(--paper); opacity: 0.9; margin: 0; max-width: 46ch; }
.wa-btn {
  font-family: "Archivo", system-ui, sans-serif; font-size: 0.92rem;
  background: var(--gold); color: var(--oxford); padding: 0.8rem 1.6rem;
  border-radius: 2px; text-decoration: none; white-space: nowrap;
}
.wa-btn:hover { background: var(--gold-soft); }

/* ---------- about strip (index) ---------- */

.about-strip {
  border-top: 1px solid var(--hairline);
  background: var(--paper-deep);
}
.about-strip .inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 44rem) {
  .about-strip .inner { grid-template-columns: 1fr; }
}
.about-strip h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 420;
  font-size: 1.5rem;
  color: var(--oxford);
  margin-bottom: 0.9rem;
}
.about-strip p { max-width: 58ch; margin-bottom: 0.9rem; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 2rem 1.5rem 3rem;
}
.site-footer .inner {
  max-width: 72rem;
  margin: 0 auto;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- back link ---------- */
.back-link {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 2.2rem;
}


/* Quote bar — top-of-page third-party proof (added 2026-07-17) */
.quote-bar {
  background: #d9e8f7;
  color: #16304f;
  font-size: 0.85rem;
  line-height: 1.45;
}
.quote-bar .inner { position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.55rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  text-align: center;
}
.quote-bar .qb-quote { font-family: "Fraunces", serif; font-style: italic; }
.quote-bar .qb-attr { font-family: "Archivo", sans-serif; font-style: normal; font-size: 0.8rem; opacity: 0.85; }
.quote-bar .inner > * { max-width: min(62ch, 100%); }
.quote-bar .qb-proof { color: #16304f; font-family: "Archivo", sans-serif; font-size: 0.8rem; letter-spacing: 0.02em; }
.quote-bar .qb-link { color: #0a4f9c; font-family: "Archivo", sans-serif; white-space: nowrap; text-decoration: underline; text-underline-offset: 2px; }
.quote-bar .qb-link:hover { color: #16304f; }
.quote-bar .qb-list { list-style: decimal; flex-basis: 100%; margin: 0.3rem auto 0.1rem; padding-left: 1.5rem; text-align: left; color: #16304f; font-family: "Archivo", sans-serif; font-size: 0.8rem; letter-spacing: 0.02em; }
.quote-bar .qb-list li { margin: 0.18rem 0; }
.quote-bar .qb-list .qb-quote { color: #16304f; }
.quote-bar .qb-name { flex-basis: 100%; text-align: center; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.05rem; letter-spacing: 0.03em; margin: 0.2rem 0 0; }
.quote-bar .qb-photo { position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 330px; height: auto; border-radius: 6px; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
@media (max-width: 900px) { .quote-bar .qb-photo { display: none; } }
@media (min-width: 901px) { .quote-bar .inner { padding-right: 370px; } }
@media (max-width: 720px) {
  .quote-bar .qb-2 { display: none; } /* one punch on small screens */
}

/* homepage: services (marking & reports) */
.services-title { font-family: "Fraunces", Georgia, serif; font-size: 1.7rem; margin: 0.4rem 0 0.6rem; }
.services-intro { max-width: 46rem; }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 1.4rem 0; }
@media (max-width: 44rem) { .service-cards { grid-template-columns: 1fr; } }
.service-card { border: 1px solid var(--hairline); border-radius: 4px; padding: 1.2rem 1.2rem 1.4rem; background: var(--paper-deep); }
.service-card h3 { margin: 0.3rem 0 0.5rem; font-size: 1.05rem; }
.service-card p { font-size: 0.92rem; margin: 0; }
.service-price { font-family: "Fraunces", Georgia, serif; font-size: 1.6rem; color: var(--oxford, #002147); }
.loom-wrap { position: relative; padding-bottom: 56.25%; height: 0; max-width: 46rem; margin: 1rem 0 1.6rem; }
.loom-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 1px solid var(--hairline); border-radius: 4px; }
.service-form { max-width: 34rem; }
.service-form .form-row { margin-bottom: 0.9rem; display: flex; flex-direction: column; gap: 0.3rem; }
.service-form label { font-family: "Archivo", system-ui, sans-serif; font-size: 0.85rem; }
.service-form input, .service-form select, .service-form textarea { font: inherit; padding: 0.55rem 0.7rem; border: 1px solid var(--hairline); border-radius: 4px; background: #fff; }
.service-form .hidden-field { display: none; }
.service-submit { font-family: "Archivo", system-ui, sans-serif; font-weight: 600; padding: 0.7rem 1.4rem; border: 0; border-radius: 2px; background: var(--oxford); color: var(--paper); cursor: pointer; }
.service-submit:hover { opacity: 0.92; }
.service-form-note { font-size: 0.85rem; opacity: 0.8; margin-top: 0.8rem; }
