/* readborn.com/schools/: the page's own sections, on top of page.css (the home page's colours,
   faces, top bar, buttons and footer). Phone first: every split stacks, photo under its words;
   from 900px wide the copy and the photo sit side by side. */
.sch{overflow-x:clip}
.sch section{max-width:1180px;margin:0 auto;padding:clamp(40px,6vw,88px) var(--gutter)}
.sch h1,.sch h2{margin:0;font-family:var(--display);font-weight:800;color:var(--cream);letter-spacing:-.015em;text-wrap:balance}
.sch h1{font-size:clamp(34px,5.2vw,62px);line-height:1.02}
.sch h2{font-size:clamp(28px,3.8vw,46px);line-height:1.05}
.sch p{margin:14px 0 0;font-size:clamp(16.5px,1.5vw,19px);line-height:1.55}
.sch .lead{font-size:clamp(18px,1.8vw,22px);line-height:1.45;color:var(--white)}
.eyebrow{margin:0 0 12px!important;font-family:var(--display);font-weight:800;font-size:14px!important;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-hi)}
.sch a:not(.gold):not(.ghost){color:var(--gold-hi)}

/* buttons: the gold one from page.css, plus a quiet outline one */
.btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.ghost{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 20px 9px;border-radius:999px;text-decoration:none;
  font-family:var(--display);font-weight:800;font-size:17px;line-height:1.1;color:var(--white);border:1px solid rgba(255,236,205,.3);background:rgba(255,248,236,.04);
  transition:border-color .2s,color .2s}
.ghost:hover{color:var(--gold-hi);border-color:rgba(255,201,94,.6)}
.sch .gold{margin-top:0}

/* photos: rounded, a soft lift off the dark page */
.photo{margin:0}
.photo img{display:block;width:100%;height:auto;aspect-ratio:1600/1073;object-fit:cover;border-radius:22px;box-shadow:0 24px 60px rgba(0,0,0,.45)}

/* hero + splits: stacked on a phone, side by side from 900px */
.s-hero,.s-split{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center}
/* a grid item's min width is its content: without this the day chips (a row that scrolls) widen the column past a phone screen */
.s-hero>*,.s-split>*{min-width:0}
.s-hero{padding-top:clamp(28px,5vw,64px)!important}
.s-hero .photo{order:2}
.s-split .photo{order:2}
@media (min-width:900px){
  .s-hero{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
  .s-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .s-split .photo{order:0}
  .s-split.flip .photo{order:2}
}

/* centred sections: the feature grid and the steps */
.s-center{text-align:center}
.s-center .note,.s-quote .note{max-width:44em;margin:28px auto 0;color:var(--dim);font-size:15.5px}
.feats{list-style:none;margin:clamp(24px,4vw,44px) 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:28px}
@media (min-width:640px){.feats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){.feats{grid-template-columns:repeat(3,minmax(0,1fr))}}
.feats li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:0 6px}
.feats img{height:120px;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.35));margin-bottom:6px}
.feats b{font-family:var(--display);font-weight:800;font-size:20px;line-height:1.2;color:var(--white)}
.feats span{font-size:15.5px;line-height:1.5;max-width:22em}

/* the teacher's review */
.s-quote{text-align:center}
.s-quote figure{margin:0 auto;max-width:860px}
.s-quote blockquote{margin:0}
.s-quote blockquote p{margin:0;font-family:var(--display);font-weight:700;font-size:clamp(22px,3vw,34px);line-height:1.25;color:var(--cream)}
.s-quote figcaption{margin-top:18px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 10px;font-family:var(--display);font-weight:700;font-size:15px;color:var(--soft)}
.s-quote figcaption b{color:var(--white)}
.stars{display:inline-flex;gap:2px;color:var(--gold)}
.stars svg{width:18px;height:18px;display:block}

/* what you get: four short definitions */
.gets{margin:22px 0 0;display:grid;gap:18px}
.gets div{padding-left:16px;border-left:3px solid var(--gold)}
.gets dt{font-family:var(--display);font-weight:800;font-size:19px;color:var(--white)}
.gets dd{margin:4px 0 0;font-size:16px;line-height:1.5}

/* the four steps */
.steps{list-style:none;counter-reset:st;margin:22px 0 0;padding:0;display:grid;gap:14px;grid-template-columns:1fr;text-align:left}
@media (min-width:560px){.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
.steps li{counter-increment:st;position:relative;padding:18px 18px 18px;border-radius:20px;background:var(--card);border:1px solid var(--card-line)}
.steps li::before{content:counter(st);display:grid;place-items:center;width:40px;height:40px;margin-bottom:14px;border-radius:50%;background:var(--gold);color:var(--gold-ink);
  font-family:var(--display);font-weight:800;font-size:19px;line-height:1}
.steps b{display:block;font-family:var(--display);font-weight:800;font-size:20px;color:var(--white)}
.steps span{display:block;margin-top:6px;font-size:15.5px;line-height:1.5}

/* the closing call */
.s-cta{text-align:center}
.s-cta p{max-width:36em;margin-left:auto;margin-right:auto}
.s-cta .gold{margin-top:26px}
.s-cta .small{margin-top:22px;font-size:14.5px;color:var(--dim)}

/* ---------- book a demo (the top of the page) ---------- */
.s-hero{align-items:start}
.ticks{list-style:none;margin:12px 0 4px;padding:0;display:grid;gap:8px}
.ticks li{position:relative;padding-left:28px;font-size:15.5px;line-height:1.4;color:var(--soft)}
.ticks li::before{content:"";position:absolute;left:4px;top:.28em;width:7px;height:13px;border:solid var(--gold);border-width:0 3px 3px 0;transform:rotate(45deg)}
.book{position:relative;padding:clamp(18px,2.4vw,28px);border-radius:24px;background:linear-gradient(160deg,rgba(255,240,215,.07),rgba(255,240,215,.03));
  border:1px solid rgba(255,201,94,.35);box-shadow:0 24px 60px rgba(0,0,0,.4)}
.book h2{font-size:clamp(26px,3vw,34px)}
.book .lbl{margin:18px 0 8px;font-family:var(--display);font-weight:800;font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-hi)}
.book button{font:inherit;cursor:pointer}
.dates{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 2px 8px;scrollbar-width:thin}
.dates .d{flex:0 0 74px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:1px;padding:8px 4px 7px;border-radius:14px;
  border:1px solid var(--card-line);background:rgba(255,248,236,.04);color:var(--white);transition:border-color .2s,background .2s}
.dates .d:hover:not(:disabled){border-color:rgba(255,201,94,.6)}
.dates .d[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:var(--gold-ink)}
.dates .d:disabled{opacity:.42;cursor:not-allowed}
.d .dw{font-family:var(--display);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.06em}
.d .dd{font-family:var(--display);font-weight:800;font-size:17px;line-height:1.15}
.d .dn{font-size:11.5px;opacity:.85}
.times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.times .t{min-height:44px;padding:6px 4px;border-radius:12px;border:1px solid var(--card-line);background:rgba(255,248,236,.04);color:var(--white);
  font-family:var(--display);font-weight:800;font-size:16px;line-height:1.1;display:flex;flex-direction:column;align-items:center;justify-content:center}
.times .t:hover:not(:disabled){border-color:rgba(255,201,94,.6)}
.times .t[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:var(--gold-ink)}
.times .t:disabled{cursor:not-allowed;color:var(--dim);background:transparent;border-style:dashed}
.times .t s{font-weight:700}
.times .t span{font-family:var(--text);font-weight:400;font-size:11.5px}
.times .hint{grid-column:1/-1;margin:0;font-size:15px;color:var(--dim)}
.book .tz{margin:8px 0 0;font-size:13px;color:var(--dim)}
.book .chosen{margin:10px 0 0;font-size:15px;color:var(--soft)}
.book .chosen.on{color:var(--gold-hi);font-weight:700}
.book .chosen.warn{color:#ff9b8a;font-weight:700}
.fields{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:560px){.fields{grid-template-columns:1fr 1fr}.fields .wide{grid-column:1/-1}}
.fields label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700;color:var(--soft)}
.fields input,.fields select,.fields textarea{width:100%;min-height:44px;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,236,205,.22);
  background:rgba(10,7,5,.55);color:var(--white);font:400 16px/1.3 var(--text);color-scheme:dark}
.fields textarea{resize:vertical;min-height:64px}
.fields input:focus,.fields select:focus,.fields textarea:focus{outline:2px solid var(--gold-hi);outline-offset:1px;border-color:transparent}
.fields .hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.book .gold{width:100%;margin-top:18px;min-height:50px;border:0;font-family:var(--display);font-weight:800;font-size:18px}
.book .gold:disabled{opacity:.6;cursor:wait}
.book .fine{margin:10px 0 0;font-size:13px;color:var(--dim);text-align:center}
.book .err{margin:10px 0 0;font-size:14.5px;color:#ff9b8a}
.book .done{padding:28px 6px 10px;text-align:center}
.book .done .who{margin:0;font-family:var(--display);font-weight:800;font-size:clamp(24px,3vw,30px);color:var(--cream)}
.book .done p{font-size:17px}
.book .done b{color:var(--gold-hi)}
