/* ============================================================
   PUBLIC 1-ON-1 TUTORING PAGES (courses/private_tutoring_*.html)
   ------------------------------------------------------------
   Hand-written, no Tailwind build (collectstatic is enough). Loaded
   after course-pages.css, whose cs- devices these pages reuse: kicker,
   hero, receipt, section head. Everything new
   is prefixed tut-. No chips, pills or dots: type, rules and the folder
   edge carry the structure.
   ============================================================ */

/* ------------------------------------------------------------
   Hero. The lede stays visible on a phone (course-pages.css hides it
   because a video carries the pitch there); the online page has no
   photo, so its grid is one column.
   ------------------------------------------------------------ */
.tut-lede {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: var(--text-lg);
  line-height: 1.6;
  color: #475569;
  max-width: 34rem;
  margin: 0 0 clamp(18px, 2.4vw, 26px);
}
.tut-hero--solo { grid-template-areas: "head" "rest"; }
@media (min-width: 861px) {
  .tut-hero--solo { grid-template-columns: minmax(0, 46rem); grid-template-areas: "head" "rest"; }
}
.tut-rate { font-family: 'Inter', sans-serif; font-size: var(--text-base); color: #475569; margin: 0 0 clamp(18px, 2.4vw, 26px); }
.tut-rate span { color: var(--cs-slate); }
.tut-rate strong { font-weight: 700; color: var(--cs-navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tut-rate i { font-style: normal; color: #94a3b8; margin: 0 4px; }
.tut-proof { margin: clamp(20px, 3vw, 30px) 0 0; max-width: 560px; }
.tut-proof strong { font-weight: 700; }
@media (min-width: 861px) { .tut-hero-photo { aspect-ratio: 4 / 5; } }
.tut-link {
  color: var(--cs-blue);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1.5px solid #bfdbfe;
}
.tut-link:hover { border-color: var(--cs-blue); }

/* ------------------------------------------------------------
   Tutor cards (public, course-page style)
   ------------------------------------------------------------ */
.tut-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  margin-top: var(--space-md);
}
@media (min-width: 700px) { .tut-grid { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; } }
@media (min-width: 1040px) { .tut-grid { grid-template-columns: repeat(3, minmax(0, 400px)); } }
.tut-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 2.2vw, 24px);
  background: #fff;
  border: 1px solid #dbe3f0;
  border-radius: 16px;
  box-shadow: 0 2px 0 #dbe3f0;
}
.tut-card-top { display: flex; align-items: center; gap: 14px; }
.tut-card-photo {
  flex: none;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
  background: #eaf1ff;
}
.tut-card-photo--blank {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: var(--text-xl, 1.4rem);
  color: var(--cs-blue);
}
.tut-card-name {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 500;
  font-size: var(--text-lg);
  line-height: 1.2;
  color: var(--cs-navy);
  margin: 0;
}
.tut-card-headline {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: #475569;
  margin: 3px 0 0;
}
.tut-card-bio {
  margin: 14px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: #334155;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.tut-lines { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.tut-lines li { font-family: 'Inter', sans-serif; font-size: 13px; line-height: 1.45; color: #334155; overflow-wrap: anywhere; }
.tut-lines span { color: var(--cs-slate); }
.tut-lines strong { font-weight: 600; color: var(--cs-navy); }
.tut-meta {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 6px 12px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #eef2f7;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.45;
}
.tut-meta dt { color: var(--cs-slate); }
.tut-meta dd { margin: 0; color: #334155; overflow-wrap: anywhere; }
.tut-meta .tut-meta-none { color: var(--cs-slate); }
.tut-card-foot { margin-top: auto; padding-top: 18px; display: grid; gap: 12px; }
.tut-card-rates { display: flex; flex-wrap: wrap; gap: 2px 16px; min-width: 0; }
.tut-card-rate { font-family: 'Inter', sans-serif; font-size: var(--text-base); font-weight: 700; color: var(--cs-navy); margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tut-card-rate span, .tut-card-rate small { font-size: 13px; font-weight: 400; color: var(--cs-slate); }
.tut-book {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--cs-blue);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--cs-blue);
  text-decoration: none;
  background: #fff;
  transition: background-color 0.15s, color 0.15s;
}
.tut-book:hover { background: var(--cs-blue); color: #fff; }
/* Only these two pages load this sheet: the shared quiet link gets a 44px tap target here. */
.cs-ghost { min-height: 44px; display: inline-flex; align-items: center; }
.tut-empty { margin: var(--space-md) auto 0; max-width: 34rem; text-align: center; font-family: 'Inter', sans-serif; font-size: var(--text-base); line-height: 1.65; color: #64748b; }

/* ------------------------------------------------------------
   How a session runs: three ruled steps, stacked on a phone
   ------------------------------------------------------------ */
.tut-run { list-style: none; margin: var(--space-md) auto 0; padding: 0; max-width: 1000px; display: grid; grid-template-columns: minmax(0, 1fr); }
.tut-run-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--space-sm); padding: var(--space-sm) 0; border-top: 1px solid var(--cs-hair); }
.tut-run-num { grid-row: 1 / span 2; font-family: 'Lora', serif; font-size: var(--text-3xl, 2.2rem); color: #93c5fd; line-height: 1; text-align: center; margin-top: -3px; }
.tut-run-title { font-family: 'Lora', serif; font-style: italic; font-weight: 500; font-size: var(--text-lg); color: var(--cs-navy); margin: 0; }
.tut-run-step p { grid-column: 2; font-family: 'Inter', sans-serif; font-size: var(--text-sm); color: #475569; line-height: 1.65; margin: 4px 0 0; }
@media (min-width: 768px) {
  .tut-run { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
  .tut-run-step { display: block; padding: var(--space-sm) 0 0; border-top: 2px solid var(--cs-navy); }
  .tut-run-num { display: block; font-size: var(--text-2xl); text-align: left; margin: 0 0 6px; }
  .tut-run-step p { margin-top: 6px; }
}

/* ------------------------------------------------------------
   Real examples: worksheet, feedback email and console
   ------------------------------------------------------------ */
.tut-proof-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); margin-top: var(--space-md); }
.tut-shot { margin: 0; min-width: 0; }
.tut-shot picture, .tut-shot img { display: block; width: 100%; height: auto; }
.tut-shot img { border: 1px solid #dbe3f0; border-radius: 10px; background: #fff; box-shadow: 0 18px 40px -26px rgba(23, 37, 84, 0.35); }
.tut-shot figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-top: 12px; font-family: 'Inter', sans-serif; font-size: var(--text-sm); line-height: 1.55; color: #475569; }
.tut-shot-label { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #1e3a8a; }
.tut-shot-line { flex: 1 1 16rem; min-width: 0; }
.tut-sheet-pages { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.tut-sheet-pages a { flex: 0 0 78%; scroll-snap-align: start; display: block; }
.tut-sheet-pages img { box-shadow: none; }
.tut-shot--email img { max-width: 360px; margin: 0 auto; }
.tut-shot--email figcaption { max-width: 360px; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) {
  .tut-proof-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-areas: "sheet email" "console email"; gap: var(--space-md) clamp(28px, 4vw, 56px); align-items: start; }
  .tut-shot--sheet { grid-area: sheet; }
  .tut-shot--email { grid-area: email; }
  .tut-shot--console { grid-area: console; }
  .tut-sheet-pages { overflow: visible; }
  .tut-sheet-pages a { flex: 1 1 0; min-width: 0; }
  .tut-sheet-pages img { box-shadow: 0 18px 40px -26px rgba(23, 37, 84, 0.35); }
  .tut-shot--email img, .tut-shot--email figcaption { max-width: none; }
}

/* ------------------------------------------------------------
   Pricing receipt
   ------------------------------------------------------------ */
.tut-receipt { max-width: 600px; margin: var(--space-md) auto 0; }
.tut-receipt-terms { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px dashed #cbd5e1; display: grid; gap: 8px; }
.tut-receipt-terms li { font-family: 'Inter', sans-serif; font-size: var(--text-sm); line-height: 1.55; color: var(--cs-ink); }
.tut-receipt .cs-receipt-fine a { color: var(--cs-blue); }
.tut-receipt-fig { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: normal; }
.tut-receipt-rate { font-size: var(--text-lg); line-height: 1.25; white-space: nowrap; }
.tut-receipt-rate small { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 12px; color: var(--cs-slate); }
.tut-receipt-len { font-variant-numeric: normal; }
.tut-receipt-note { margin: 12px 0 0; font-family: 'Inter', sans-serif; font-size: 13px; line-height: 1.55; color: var(--cs-slate); }

/* ------------------------------------------------------------
   Closing block and local details
   ------------------------------------------------------------ */
.tut-close { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); align-items: center; }
.tut-close-title { font-family: 'Lora', serif; font-style: italic; font-weight: 500; font-size: var(--text-2xl); line-height: 1.15; color: var(--cs-navy); margin: 0; }
.tut-close-sub { font-family: 'Inter', sans-serif; font-size: var(--text-base); line-height: 1.65; color: #475569; margin: var(--space-xs, 10px) 0 0; max-width: 32rem; }
.tut-close-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: var(--space-sm); }
.tut-close-cta .btn svg { width: 15px; height: 15px; }
.tut-close-title + .tut-local { margin-top: var(--space-sm); }
.tut-local { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid #dbe3f0; }
.tut-local li { padding: 14px 0; border-bottom: 1px solid #dbe3f0; font-family: 'Inter', sans-serif; font-size: var(--text-sm); line-height: 1.6; color: #334155; }
.tut-local strong {
  display: block;
  margin-bottom: 2px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1e3a8a;
}
.tut-local a { color: var(--cs-blue); text-decoration: none; border-bottom: 1.5px solid #bfdbfe; }
.tut-local a:hover { border-color: var(--cs-blue); }
.tut-local-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 60px -22px rgba(23, 37, 84, 0.34); }
.tut-others { margin: var(--space-sm) 0 0; font-family: 'Inter', sans-serif; font-size: var(--text-sm); color: var(--cs-slate); }
@media (min-width: 860px) {
  .tut-close { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); column-gap: clamp(32px, 6vw, 80px); }
}

/* ------------------------------------------------------------
   Sticky mobile Book bar: phones only, shown by the inline script in
   _tutoring_sticky.html once the hero has scrolled out. Not btn-cobalt.
   ------------------------------------------------------------ */
.tut-sticky { display: none; }
@media (max-width: 767.98px) {
  .tut-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px var(--pad-x) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #dbe3f0;
    box-shadow: 0 -10px 24px -18px rgba(23, 37, 84, 0.4);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0s linear 0.22s;
  }
  .tut-sticky.is-on { transform: none; visibility: visible; transition: transform 0.22s ease; }
  .tut-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 10px;
    background: var(--cs-blue);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
  }
  .tut-sticky-btn:active { background: var(--cs-blue-deep); }
}
@media (prefers-reduced-motion: reduce) { .tut-sticky, .tut-sticky.is-on { transition: none; } }

/* ------------------------------------------------------------
   Track D 1.5: the blocks that make the two pages differ
   ------------------------------------------------------------ */

/* Parramatta: the centre card, with the owner's paragraph beside it once one exists. */
.tut-centre { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); max-width: 760px; }
@media (min-width: 900px) {
  .tut-centre--voice { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: clamp(28px, 4vw, 56px); align-items: start; }
}

/* Parramatta proof: the two paper artefacts only. */
@media (min-width: 768px) {
  .tut-proof-grid--paper { grid-template-areas: "sheet email"; }
}

/* How a session runs: one sentence and the Help Centre link. */
.tut-how-band { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }
.tut-how {
  margin: var(--space-3, 10px) 0 0;
  font-family: 'Lora', serif;
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--cs-ink);
}
.tut-how .tut-link { font-family: 'Inter', sans-serif; font-size: var(--text-base); }

/* Reviews: the count line, alone or under the named reviews. */
.tut-count { margin: 0; font-family: 'Inter', sans-serif; font-size: var(--text-base); line-height: 1.6; color: #475569; text-align: center; }
.tut-count strong { color: var(--cs-navy); font-weight: 700; font-variant-numeric: tabular-nums; }
.tut-count--after { margin-top: var(--space-md); }

/* Online hero: the real console, uncropped, in a quiet frame. */
.tut-hero-screen { margin: 0; }
.tut-hero-screen picture, .tut-hero-screen img { display: block; width: 100%; height: auto; }
.tut-hero-screen img { border: 1px solid #dbe3f0; border-radius: 12px; background: #fff; box-shadow: 0 24px 60px -22px rgba(23, 37, 84, 0.34); }
.tut-hero-screen figcaption { margin-top: 10px; font-family: 'Inter', sans-serif; font-size: var(--text-sm); line-height: 1.55; color: var(--cs-slate); }

/* Online: the screen lanes, then the device checklist (and the owner's paragraph). */
.tut-lane-shot { margin: 0 0 16px; }
.tut-lane-shot img { display: block; width: 100%; height: auto; border: 1px solid #dbe3f0; border-radius: 10px; background: #fff; }
.tut-setup { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); margin-top: var(--space-md); max-width: 760px; }
.tut-setup-title { font-family: 'Lora', serif; font-style: italic; font-weight: 500; font-size: var(--text-xl); line-height: 1.2; color: var(--cs-navy); margin: 0 0 var(--space-sm, 14px); }
@media (min-width: 900px) {
  .tut-setup--voice { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: clamp(28px, 4vw, 56px); align-items: start; }
}

/* Online: the compact rate-and-book list. Ruled rows, no cards, no bios. */
.tut-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #dbe3f0; }
.tut-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  grid-template-areas: "who who" "rates next" "book book";
  gap: 8px 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid #dbe3f0;
}
.tut-list-who { grid-area: who; min-width: 0; }
.tut-list-name { font-family: 'Lora', serif; font-style: italic; font-weight: 500; font-size: var(--text-lg); line-height: 1.2; color: var(--cs-navy); margin: 0; }
.tut-list-headline { margin: 3px 0 0; font-family: 'Inter', sans-serif; font-size: var(--text-sm); line-height: 1.45; color: #475569; }
.tut-list-rates { grid-area: rates; margin: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; font-family: 'Inter', sans-serif; font-size: var(--text-base); font-weight: 700; color: var(--cs-navy); font-variant-numeric: tabular-nums; }
.tut-list-rates span { white-space: nowrap; }
.tut-list-rates small { font-size: 12px; font-weight: 400; color: var(--cs-slate); }
.tut-list-next { grid-area: next; margin: 0; font-family: 'Inter', sans-serif; font-size: 13px; line-height: 1.45; color: #334155; text-align: right; }
.tut-list-next small { display: block; font-size: 12px; color: var(--cs-slate); }
.tut-list-row .tut-book { grid-area: book; }
@media (min-width: 760px) {
  .tut-list-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, auto) 9.5rem 8.5rem;
    grid-template-areas: "who rates next book";
    align-items: center;
  }
  .tut-list-next { text-align: left; }
}

/* Closing block with a single column (the centre's details now sit in the centre card). */
@media (min-width: 860px) { .tut-close--solo { grid-template-columns: minmax(0, 46rem); } }
