/* =============================================================
   AKU WORLD · educators.css  (2026-09-30, round 4: simple)
   aku.world/educators. One idea per section: a big centered headline,
   one line, one button. Forms open in place. Quotes and art are
   swipe rows on phones. Loads after pyra-page.css.
   ============================================================= */

/* ---- layout language ------------------------------------------ */
.edu-wrap{ width:min(var(--wrap), 100% - var(--gut) * 2); margin-inline:auto; }
.edu-center{ max-width:900px; text-align:center; }
.edu-sec{ background:var(--paper); color:var(--ink); padding:clamp(80px,13vh,150px) 0; }
.edu-sec--alt{ background:var(--paper-2); }
.edu-sec--dark{ background:#030712; color:#fff; overflow:hidden; }
.edu-above{ position:relative; z-index:1; }
.edu-hud{ width:min(360px,100%); margin-inline:auto; }
.edu-h{ margin:22px 0 0; font-family:var(--display); font-weight:900; text-transform:uppercase; line-height:.95; letter-spacing:-.005em; text-wrap:balance;
  font-size:clamp(2.3rem,6vw,4.4rem); color:var(--ink); }
.edu-sec--dark .edu-h{ color:#fff; }
.edu-h--hero{ font-size:clamp(2.7rem,7.6vw,5.6rem); line-height:.9;
  background:linear-gradient(180deg,#fff 35%,#DDEBFF 65%,#98C8FF); -webkit-background-clip:text; background-clip:text; color:transparent; }
.edu-line{ margin:16px auto 0; max-width:34ch; font-size:clamp(1.12rem,1.6vw,1.35rem); line-height:1.5; color:var(--ink-2); text-wrap:balance; }
.edu-line--dark{ color:rgba(255,255,255,.78); }
.edu-btns{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px 14px; margin-top:26px; }
.edu-tiles .edu-btns{ justify-content:flex-start; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

.edu-btns{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:22px; }

/* ---- photo covers: title on top, sub + buttons over the bottom --- */

/* ---- quote band ------------------------------------------------ */

.edu-projects{ margin-top:clamp(48px,8vh,72px); }
.edu-projects .edu-hud{ margin-bottom:22px; }
.edu-proj{ background:#fff; border-radius:2px; padding:22px; display:flex; flex-direction:column; gap:10px; }
.edu-proj__k{ font-family:var(--mono); font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-3); }
.edu-proj__school{ margin:0; font-family:var(--display); font-weight:900; text-transform:uppercase; font-size:1.05rem; line-height:1.1; color:var(--ink); }
.edu-proj p{ margin:0; color:var(--ink-2); line-height:1.5; flex:1; }
.edu-proj .edu-pill{ align-self:flex-start; margin-top:6px; }

/* ---- rows (swipe on phones, grid on desktop) ------------------- */
.edu-row{ position:relative; }
.edu-row__track{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(8px,.9vw,14px); }
.edu-row__nav{ display:none; }
.edu-row__dots{ display:none; }
.edu-row--gal{ margin-top:clamp(40px,7vh,64px); }
.edu-row--say{ margin-top:clamp(32px,5vh,48px); }
/* testimonial card */
.edu-say{ background:#fff; border-radius:2px; padding:26px; display:flex; flex-direction:column; gap:16px; }
.edu-say blockquote{ margin:0; flex:1; }
.edu-say p{ margin:0; font-size:1.08rem; line-height:1.45; font-weight:500; color:var(--ink); }
.edu-say span{ font-family:var(--mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); }
/* art piece */
.edu-piece{ margin:0; }
.edu-piece__art{ position:relative; aspect-ratio:4/5; overflow:hidden; border-radius:2px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1); display:grid; place-items:center; }
.edu-piece__art img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.edu-piece--empty .edu-piece__art{ background:
    linear-gradient(rgba(63,180,255,.07) 1px, transparent 1px) 0 0/24px 24px,
    linear-gradient(90deg, rgba(63,180,255,.07) 1px, transparent 1px) 0 0/24px 24px, rgba(255,255,255,.02); }
.edu-piece--empty .hud-tag{ color:rgba(255,255,255,.6); border-color:rgba(255,255,255,.22); background:rgba(3,7,18,.6); }
.edu-piece--empty .hud-tag .dot{ background:#3FB4FF; box-shadow:0 0 8px #3FB4FF; }
.edu-piece__cap{ margin:12px 0 0; font-family:var(--mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.7); text-align:center; }

/* ---- video (only when there is one) ---------------------------- */
.edu-video{ margin:clamp(32px,5vh,48px) auto 0; text-align:left; }
.edu-video[hidden]{ display:none; }
.edu-yt{ position:relative; aspect-ratio:16/9; overflow:hidden; border-radius:2px; background:#000; }
.edu-yt img{ width:100%; height:100%; object-fit:cover; display:block; }
.edu-yt iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.edu-yt__play{ position:absolute; inset:0; display:grid; place-items:center; background:transparent; border:0; cursor:pointer; padding:0; }
.edu-yt__play span{ width:72px; height:72px; border-radius:50%; background:#DDF046; display:grid; place-items:center; box-shadow:0 12px 40px rgba(0,0,0,.5); transition:transform var(--dur-fast); }
.edu-yt__play:hover span{ transform:scale(1.06); }
.edu-yt__play svg{ width:26px; height:26px; margin-left:4px; fill:#14100A; }
.edu-yt__title{ margin:12px 0 0; font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); text-align:center; }
.edu-video__more{ list-style:none; margin:14px 0 0; padding:0; display:flex; gap:10px; overflow-x:auto; scrollbar-width:none; justify-content:center; }
.edu-video__more::-webkit-scrollbar{ display:none; }
.edu-video__more li{ flex:0 0 auto; }
.edu-video__more button{ display:block; width:132px; padding:0; border:1px solid var(--line-2); background:#fff; cursor:pointer; text-align:left; color:var(--ink); }
.edu-video__more button[aria-current="true"]{ border-color:var(--blue); }
.edu-video__more img{ display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.edu-video__more span{ display:block; padding:7px 8px; font-family:var(--mono); font-size:9.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* ---- forms (open in place) ------------------------------------- */
.edu-sub{ margin:0 0 18px; font-family:var(--mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-3); text-align:center; }
/* the form dialog: a centered card on desktop, a full sheet on phones */
.edu-dialog{ width:min(600px, 100% - 24px); max-height:calc(100dvh - 24px); margin:auto; padding:0; border:0; border-radius:2px; background:var(--paper); color:var(--ink);
  box-shadow:0 40px 90px -30px rgba(0,0,0,.6); overflow:auto; overscroll-behavior:contain; scroll-padding-bottom:120px; }
.edu-dialog::backdrop{ background:rgba(3,7,18,.7); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); }
.edu-dialog__head{ position:sticky; top:0; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 18px 14px 24px; background:var(--paper); border-bottom:1px solid var(--line); }
.edu-dialog__title{ margin:0; font-family:var(--display); font-weight:900; text-transform:uppercase; font-size:1.1rem; line-height:1; color:var(--ink); }
.edu-dialog__x{ width:40px; height:40px; border:1px solid var(--line-2); border-radius:50%; background:#fff; font-size:22px; line-height:1; color:var(--ink-2); cursor:pointer; display:grid; place-items:center; flex:none; }
.edu-dialog__x:hover{ border-color:var(--ink); color:var(--ink); }
.edu-form{ margin:0; padding:20px 24px 28px; text-align:left; }
.edu-form__grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.edu-form__wide{ grid-column:1 / -1; }
.edu-form__pair{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.edu-form label{ display:flex; flex-direction:column; min-width:0; position:relative; }
.edu-form input:not([type="checkbox"]):not([type="file"]), .edu-form select, .edu-form textarea{ width:100%; min-width:0; font:inherit; font-size:1rem; padding:13px 14px; border:1px solid var(--line-2); border-radius:2px; background:#fff; color:var(--ink); }
.edu-form select:invalid, .edu-form select option[value=""]{ color:var(--ink-3); }
.edu-form input::placeholder, .edu-form textarea::placeholder{ color:var(--ink-3); }
.edu-form input:focus-visible, .edu-form select:focus-visible, .edu-form textarea:focus-visible{ outline:2px solid var(--blue); outline-offset:1px; }
.edu-form textarea{ resize:vertical; min-height:110px; }
.edu-file{ gap:8px; }
.edu-file__k{ font-size:.95rem; color:var(--ink-2); }
.edu-file input{ font:inherit; font-size:.92rem; color:var(--ink-2); }
.edu-file small{ display:block; font-size:.85rem; color:var(--ink-3); }
.edu-file small:empty{ display:none; }
.edu-check{ flex-direction:row !important; align-items:flex-start; gap:10px; }
.edu-check input{ margin-top:3px; width:18px; height:18px; accent-color:var(--blue); flex:none; }
.edu-check span{ font-size:.92rem; color:var(--ink-2); line-height:1.45; }
.edu-form__hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.edu-form__foot{ margin-top:14px; display:flex; flex-direction:column; align-items:stretch; gap:10px; }
.edu-form__foot .edu-pill{ align-self:stretch; }
.edu-form__status{ margin:0; font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:#B42318; }
.edu-form__status:empty{ display:none; }
.edu-form__status.is-ok{ color:var(--blue); }
.edu-form.is-busy button[type="submit"]{ opacity:.6; pointer-events:none; }
.edu-form .is-invalid{ border-color:#B42318 !important; }
.edu-form__done{ padding:26px 0 6px; text-align:center; }
.edu-form__done .edu-pill{ margin-top:20px; }
.edu-form__done b{ display:block; font-family:var(--display); font-weight:900; text-transform:uppercase; font-size:1.1rem; color:var(--ink); }
.edu-form__done p{ margin:10px 0 0; color:var(--ink-2); line-height:1.5; }
/* ---- calendar (inside the visit form) -------------------------- */
.edu-cal{ margin-top:16px; }
.edu-cal__head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:8px; }
.edu-cal__label{ font-family:var(--mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); }
.edu-cal.is-js .edu-cal__native{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.edu-cal__month{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:6px; }
.edu-cal__month b{ font-family:var(--display); font-weight:900; text-transform:uppercase; font-size:.95rem; letter-spacing:.04em; color:var(--ink); }
.edu-cal__nav{ width:36px; height:36px; border:1px solid var(--line-2); background:#fff; border-radius:2px; cursor:pointer; font-size:16px; color:var(--ink-2); display:grid; place-items:center; }
.edu-cal__nav:hover{ border-color:var(--blue); color:var(--blue); }
.edu-cal__nav:disabled{ opacity:.3; cursor:default; }
.edu-cal__grid{ display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; }
.edu-cal__dow{ text-align:center; font-family:var(--mono); font-size:9.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); padding:4px 0 6px; }
.edu-cal__dow.is-on{ color:var(--blue); }
.edu-cal__day{ position:relative; aspect-ratio:1; border:1px solid transparent; border-radius:2px; background:transparent; font:inherit; font-size:.95rem; color:var(--ink); cursor:pointer; display:grid; place-items:center; padding:0; }
.edu-cal__day.is-off{ color:var(--ink-3); opacity:.3; cursor:default; }
.edu-cal__day.is-open{ background:#fff; border-color:var(--line-2); font-weight:600; }
.edu-cal__day.is-open:hover{ border-color:var(--blue); color:var(--blue); }
.edu-cal__day.is-open::after{ content:""; position:absolute; right:5px; top:5px; width:5px; height:5px; border-radius:50%; background:#12B886; box-shadow:0 0 6px #12B886; }
.edu-cal__day.is-full{ background:#fff; border-color:var(--line); color:var(--ink-3); text-decoration:line-through; cursor:default; }
.edu-cal__day.is-sel{ background:var(--blue); border-color:var(--blue); color:#fff; font-weight:700; }
.edu-cal__day.is-sel::after{ background:#fff; box-shadow:none; }
.edu-cal__legend{ display:flex; gap:14px; margin:8px 0 0; font-family:var(--mono); font-size:9.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); }
.edu-cal__legend i{ display:inline-block; width:6px; height:6px; border-radius:50%; background:#12B886; margin-right:6px; vertical-align:middle; }
.edu-cal__legend s{ text-decoration:line-through; }
.edu-cal__slots{ margin-top:14px; }
.edu-cal__slots[hidden]{ display:none; }
.edu-cal__slots .edu-cal__label{ display:block; margin-bottom:8px; }
.edu-cal__chips{ display:flex; flex-wrap:wrap; gap:6px; }
.edu-cal__chip{ font-family:var(--mono); font-size:11px; letter-spacing:.08em; padding:9px 11px 8px; border:1px solid var(--line-2); background:#fff; border-radius:2px; cursor:pointer; color:var(--ink); }
.edu-cal__chip:hover{ border-color:var(--blue); color:var(--blue); }
.edu-cal__chip[aria-pressed="true"]{ background:var(--blue); border-color:var(--blue); color:#fff; }
.edu-cal__chip:disabled{ text-decoration:line-through; color:var(--ink-3); background:transparent; cursor:default; }
.edu-cal__pick{ margin:10px 0 0; font-family:var(--mono); font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--blue); }
.edu-cal__pick:empty{ display:none; }

/* ---- finale tweaks --------------------------------------------- */
.finale__sub a{ color:#DDF046; text-decoration:none; font-size:clamp(1.1rem,1.8vw,1.4rem); }
.finale__sub a:hover{ text-decoration:underline; }

/* ---- responsive ----------------------------------------------- */
@media (min-width:761px){
  .edu-piece--empty .edu-piece__art{ aspect-ratio:4/3; }
  /* desktop arrows on the art row */
  .edu-row--gal .edu-row__nav{ display:grid; place-items:center; position:absolute; top:calc(50% - 30px); width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.3); background:rgba(3,7,18,.7); color:#fff; cursor:pointer; z-index:3; font-size:20px; }
  .edu-row--gal .edu-row__nav--prev{ left:-22px; }
  .edu-row--gal .edu-row__nav--next{ right:-22px; }
  .edu-row--gal .edu-row__nav:disabled{ opacity:0; pointer-events:none; }
  .edu-row--gal .edu-row__track{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
  .edu-row--gal .edu-row__track::-webkit-scrollbar{ display:none; }
  .edu-row--gal .edu-piece{ flex:0 0 calc((100% - 2 * clamp(8px,.9vw,14px)) / 3); scroll-snap-align:start; }
}
@media (max-width:760px){
  .edu-dialog{ width:100%; max-width:none; height:100dvh; max-height:100dvh; margin:0; border-radius:0; }
  .edu-sec{ padding:64px 0 72px; }
  .edu-sec--cover{ padding:0; }
  /* phones: title joins the bottom stack so it never sits on a face */
  .edu-cover{ justify-content:flex-end; }
  .edu-cover__top, .edu-cover--hero .edu-cover__top{ padding-top:0; }
  .edu-cover::before{ background:linear-gradient(180deg, rgba(7,6,12,.45) 0%, rgba(7,6,12,0) 22%, rgba(7,6,12,0) 38%, rgba(7,6,12,.55) 56%, rgba(7,6,12,.82) 72%, rgba(7,6,12,.95) 100%); }
  .edu-cover__img{ object-position:55% 30%; }
  .edu-line--cover{ margin-top:12px; }
  .edu-quote{ padding:56px 0; }
  .edu-cover{ min-height:min(82svh, 720px); }
  .edu-cover--hero{ min-height:100svh; }
  .edu-cover__img--books{ object-position:50% 45%; }
  .edu-cover__img--ask{ object-position:66% 30%; }
  .edu-h--cover{ font-size:clamp(2.1rem,9.4vw,2.6rem); }
  .edu-cover--hero .edu-h--cover{ font-size:clamp(2.5rem,11.5vw,3.2rem); }
  .edu-h{ font-size:clamp(2.1rem,9.4vw,2.6rem); }
  .edu-h--hero{ font-size:clamp(2.5rem,11.5vw,3.2rem); }
  .edu-line{ margin-top:14px; font-size:1.08rem; }
  .edu-btns{ margin-top:22px; }
  .edu-form__grid{ grid-template-columns:1fr; }
  /* every row becomes a swipe row with dots */
  .edu-row__track{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:12px; margin-inline:calc(var(--gut) * -1); padding:0 var(--gut) 4px; scroll-padding-inline:var(--gut); scrollbar-width:none; }
  .edu-row__track::-webkit-scrollbar{ display:none; }
  .edu-row__track > *{ flex:0 0 82%; scroll-snap-align:start; }
  .edu-row__dots{ display:flex; justify-content:center; gap:7px; margin-top:16px; }
  .edu-row__dots i{ width:6px; height:6px; border-radius:50%; background:currentColor; opacity:.25; transition:opacity var(--dur-fast); }
  .edu-row__dots i.is-on{ opacity:1; }
  .edu-row--say .edu-row__dots{ color:var(--ink); }
  .edu-row--gal .edu-row__dots{ color:#fff; }
}
@media (max-width:480px){
  .edu-form__foot .edu-pill{ width:100%; }
  .edu-form__pair{ grid-template-columns:1fr; }
}

/* ===== HERO: type only, lots of air (Apple-style, 2026-10-03) ===== */
.edu-hero{ background:#07060C; color:#fff; min-height:min(78svh, 760px); margin-top:calc(-1 * var(--nav-h));
  padding:calc(var(--nav-h) + clamp(56px,10vh,110px)) 0 clamp(64px,10vh,110px); display:flex; align-items:center; }
.edu-hero .edu-h--hero{ margin:0; color:#fff; }
.edu-eyebrow{ margin:0 0 20px; font-family:var(--mono); font-size:11px; letter-spacing:.18em; text-transform:uppercase; line-height:1.9; color:rgba(255,255,255,.6); text-wrap:balance; }
.edu-hero .edu-line{ margin-top:18px; }
.edu-hero .edu-btns{ margin-top:26px; }

/* ===== THE GRID: 4 tiles, 4:5, full-bleed with Apple-style gutters ===== */
.edu-grid{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; padding:12px; background:var(--paper); }
.edu-tile{ position:relative; aspect-ratio:4/5; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  padding:clamp(28px,4vw,56px); border-radius:2px; overflow:hidden; }
.edu-tile__h{ margin:0; font-family:var(--display); font-weight:900; text-transform:uppercase; line-height:.95; letter-spacing:-.005em;
  font-size:clamp(2rem,3.6vw,3.4rem); text-wrap:balance; }
.edu-tile__line{ margin:14px auto 0; max-width:30ch; font-size:clamp(1.05rem,1.35vw,1.25rem); line-height:1.5; text-wrap:balance; }
.edu-tile .edu-btns{ margin-top:22px; }
.edu-tile--paper{ background:#FFFFFF; color:var(--ink); }
.edu-tile--paper .edu-tile__line{ color:var(--ink-2); }
.edu-tile--dark{ background:#0B0A13; color:#fff; }
.edu-tile--dark .edu-tile__line{ color:rgba(255,255,255,.78); }
.edu-tile--sky{ background:linear-gradient(180deg,#EAF3FB 0%,#D6E8F7 100%); color:var(--ink); }
.edu-tile--sky .edu-tile__line{ color:var(--ink-2); }
.edu-tile--navy{ background:linear-gradient(180deg,#0B2B6B 0%,#061A44 100%); color:#fff; }
.edu-tile--navy .edu-tile__line{ color:rgba(255,255,255,.8); }
.edu-tile__line a{ color:inherit; text-decoration:underline; text-underline-offset:3px; text-decoration-color:rgba(127,127,127,.6); }
/* glass pill on light tiles reads as a blue outline */
.edu-tile[id]{ scroll-margin-top:calc(var(--nav-h) + 12px); }
/* image tiles: every tile is 4:5 with the type centered and pinned to the top (margin above the title); the picture is a layer underneath */
.edu-tile > *{ position:relative; z-index:1; }
.edu-tile__img{ position:absolute; left:0; right:0; bottom:0; height:100%; z-index:0; display:block; pointer-events:none; }
.edu-tile__img img{ display:block; width:100%; height:100%; object-fit:cover; object-position:center bottom; }
.edu-tile--top{ justify-content:flex-start; padding-top:clamp(40px,5vw,68px); }
.edu-tile--black{ background:#000; color:#fff; }
.edu-tile--black .edu-tile__line{ color:rgba(255,255,255,.8); }
/* Ask the Author: the photo sits in the lower two-thirds and fades in from the black above it (mask, not an overlay, so the faces stay bright) */
#ask .edu-tile__img{ height:64%; -webkit-mask-image:linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 22%); mask-image:linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 22%); }
#ask .edu-tile__img img{ object-position:center 50%; }
/* Book a Visit: stage photo fills the tile; a black-to-clear gradient across the top blends its hard edge into the card */
#visit .edu-tile__img{ height:100%; -webkit-mask-image:linear-gradient(180deg, rgba(0,0,0,0) 18%, #000 50%); mask-image:linear-gradient(180deg, rgba(0,0,0,0) 18%, #000 50%); }
#visit .edu-tile__img img{ object-position:center center; }
/* Send Art + Need Books: the cropped renders sit IN FLOW directly under the buttons and fill the rest of the card (whole, as large as the band allows) */
#books .edu-tile__img, #art .edu-tile__img{ position:relative; inset:auto; order:10; width:100%; height:auto; flex:1 1 0; min-height:0; display:flex; flex-direction:column; margin-top:clamp(14px,2vw,26px); }
#books .edu-tile__img img, #art .edu-tile__img img{ flex:1 1 0; min-height:0; width:100%; height:auto; object-fit:contain; object-position:center top; }
/* desktop + tablet: cards are 5:4 landscape (Micah 2026-10-06); photo crops re-centred for the shorter card */
@media (min-width:761px){
  .edu-tile{ aspect-ratio:5/4; }
  .edu-tile--top{ padding-top:clamp(36px,4vw,56px); padding-bottom:clamp(22px,2.6vw,36px); }
  /* short fade so the blend sits on the bookshelf, not on Micah's face */
  #ask .edu-tile__img{ height:60%; -webkit-mask-image:linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 16%); mask-image:linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 16%); }
  #ask .edu-tile__img img{ object-position:center 40%; }
  #visit .edu-tile__img img{ object-position:center 40%; }
}
/* portrait tablets: one 5:4 card per row (two across would be under 320px tall) */
@media (min-width:761px) and (max-width:900px){ .edu-grid{ grid-template-columns:1fr; } }
/* landscape tablets (two 5:4 cards across a 900-1100px screen): tighter type so the renders keep a real band */
@media (min-width:761px) and (max-width:1100px){
  .edu-tile{ padding-left:24px; padding-right:24px; }
  .edu-tile__line{ font-size:1rem; }
  #books .edu-btns{ flex-wrap:nowrap; gap:8px; }
  #books .edu-btns .edu-pill{ font-size:12px; letter-spacing:.12em; padding:12px 10px; }
}

/* feeds only render once the backend is connected */
.edu-feeds{ background:var(--paper); }
.edu-feeds:not(:has(.edu-video:not([hidden]))){ display:none; }
.edu-feeds .edu-video{ margin-bottom:clamp(40px,7vh,72px); }

/* teacher quotes: 2 x 2 on desktop */
@media (min-width:761px){ .edu-row--say .edu-row__track{ grid-template-columns:repeat(2, minmax(0,1fr)); } }

@media (max-width:760px){
  .edu-hero{ min-height:min(66svh, 620px); padding-top:calc(var(--nav-h) + 40px); padding-bottom:56px; }
  .edu-grid{ grid-template-columns:1fr; gap:10px; padding:10px; }
  .edu-tile{ padding:28px 22px; }
  .edu-tile__h{ font-size:2.2rem; }
  .edu-tile__line{ font-size:1.05rem; }
  .edu-tile .edu-btns{ flex-direction:column; align-items:center; }
  /* phones: still 4:5, type still centered + top-aligned; smaller type so the picture below it stays clear */
  .edu-tile--top{ padding-top:34px; }
  .edu-tile__line{ font-size:.98rem; margin-top:10px; }
  .edu-tile .edu-btns{ margin-top:16px; gap:8px; }
  /* Micah 2026-10-06 (phones): type block sits 10% of the card lower; the two book renders are shown WHOLE, as large as the
     remaining band allows, lifted off the bottom edge; the stage photo runs 20% larger. Need Books buttons go side by side
     on phones so the books have room under them. */
  .edu-tile--top{ padding-top:calc(34px + 12.5%); }   /* 12.5% of the width = 10% of a 4:5 card's height */
  #books .edu-btns{ flex-direction:row; flex-wrap:nowrap; justify-content:center; gap:8px; }
  #books .edu-btns .edu-pill{ font-size:11px; letter-spacing:.12em; padding:12px 6px; }
  .edu-tile--top{ padding-bottom:24px; }
  #books .edu-tile__img{ margin-top:14px; }
  #art .edu-tile__img{ margin-top:18px; }
  #books .edu-tile__img img{ transform:scale(.75); transform-origin:center top; }   /* Micah: books 25% smaller on phones, same placement */
  #visit .edu-tile__img img{ transform:scale(1.2); transform-origin:center 58%; }
}
@media (max-width:380px){ .edu-tile__line{ font-size:.92rem; } }   /* keeps the Need Books line at two lines on 375px phones */
@media (max-width:374px){
  .edu-tile{ padding-left:16px; padding-right:16px; }
  #books .edu-btns .edu-pill{ padding:12px 6px; }
}
@media (max-width:340px){   /* very small phones: the two Need Books buttons wrap, so give the type its room back */
  #books.edu-tile--top{ padding-top:34px; }
  #books .edu-btns{ flex-wrap:wrap; }
  #visit .edu-tile__img img{ transform:none; }
}

/* ===== CLASSROOMS BOARD: same dark field as the hero, so it reads as one section ===== */
.edu-hero:has(+ .edu-board:not([hidden])){ min-height:0; padding-bottom:clamp(40px,6vh,64px); }
.edu-board{ background:#07060C; color:#fff; padding:clamp(72px,10vh,120px) 0; }
.edu-board[hidden], .edu-sec[hidden], .edu-board__near[hidden]{ display:none; }
.edu-hero + .edu-board{ padding-top:0; }
.edu-hero + .edu-board > .edu-wrap{ border-top:1px solid rgba(255,255,255,.12); padding-top:clamp(40px,6vh,64px); }
.edu-board__sub{ margin:14px auto 0; max-width:46ch; font-size:clamp(1.02rem,1.3vw,1.15rem); line-height:1.5; color:rgba(255,255,255,.72); text-wrap:balance; }
.edu-board__head{ text-align:center; max-width:820px; margin:0 auto clamp(28px,4vh,40px); }
.edu-board__h{ margin:0; font-family:var(--display); font-weight:900; text-transform:uppercase; line-height:.95; letter-spacing:-.005em; text-wrap:balance; font-size:clamp(1.9rem,3.4vw,2.9rem); color:#fff; }
.edu-board__count{ margin:12px 0 0; font-family:var(--mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.55); }
.edu-board__near{ margin:22px auto 0; display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px; }
.edu-board__zip input{ height:50px; width:150px; padding:0 14px; border:1px solid rgba(255,255,255,.26); border-radius:2px; background:rgba(255,255,255,.07); font:inherit; font-size:15px; color:#fff; }
.edu-board__zip input::placeholder{ color:rgba(255,255,255,.5); }
.edu-board__zip input:focus-visible{ outline:2px solid #fff; outline-offset:1px; }
.edu-board__clear{ appearance:none; background:none; border:0; padding:8px 4px; cursor:pointer; font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#fff; text-decoration:underline; text-underline-offset:4px; }
.edu-board__clear[hidden]{ display:none; }
.edu-board__status{ flex-basis:100%; margin:4px 0 0; font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.55); min-height:1em; }
.edu-board__list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:clamp(8px,.9vw,14px); }
.edu-board__list .edu-proj{ background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); color:#fff; padding:26px; gap:12px; min-height:240px; }
.edu-board__list .edu-proj__k{ color:rgba(255,255,255,.55); }
.edu-board__list .edu-proj__school{ color:#fff; }
.edu-board__list .edu-proj .edu-proj__note{ font-size:1.02rem; line-height:1.5; color:rgba(255,255,255,.86); flex:1; }
.edu-proj__status{ display:inline-flex; align-items:center; gap:8px; font-family:var(--mono); font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:#FBBF24; }
.edu-proj__status::before{ content:""; width:7px; height:7px; border-radius:50%; background:#F59E0B; box-shadow:0 0 8px rgba(245,158,11,.7); }
.edu-board__list .edu-proj.is-funded{ background:rgba(221,240,70,.07); border-color:rgba(221,240,70,.38); }
.edu-proj__funded{ display:inline-flex; white-space:nowrap; align-items:center; align-self:flex-start; margin-top:6px; padding:13px 18px; line-height:1.6; border-radius:2px; background:#DDF046; color:#14100A;
  font-family:var(--mono); font-size:14px; letter-spacing:.14em; text-transform:uppercase; }
.edu-proj__funded::before{ content:"[\00a0\00a0"; opacity:.55; }
.edu-proj__funded::after{ content:"\00a0\00a0]"; opacity:.55; }
.edu-proj--join{ grid-column:1 / -1; border-style:dashed !important; border-color:rgba(255,255,255,.3) !important; background:transparent !important; min-height:0 !important;
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; column-gap:28px; row-gap:4px; }
.edu-proj--join .edu-proj__k{ grid-column:1; grid-row:1; }
.edu-proj--join .edu-proj__school{ grid-column:1; grid-row:2; }
.edu-proj--join .edu-proj__note{ grid-column:2; grid-row:1 / 3; margin:0; }
.edu-proj--join .edu-proj__btns{ grid-column:3; grid-row:1 / 3; margin:0; }
.edu-proj__btns{ display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
.edu-proj__btns .edu-pill{ margin:0; }
.edu-board__more{ margin-top:clamp(22px,3vh,32px); }
.edu-board--short .edu-board__list .edu-proj{ min-height:0; }
.edu-board + .finale{ border-top:1px solid rgba(255,255,255,.1); }
.edu-board__more[hidden]{ display:none; }
.edu-board__list[hidden], .edu-board__head .edu-btns[hidden]{ display:none; }
.edu-board__head .edu-btns{ margin-top:24px; }
.edu-board--short .edu-board__head{ margin-bottom:0; }
.edu-board--short .edu-board__list{ margin-top:clamp(28px,4vh,40px); }
@media (max-width:880px){ .edu-board__list{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:880px){
  .edu-proj--join{ display:flex; flex-direction:column; align-items:flex-start; }
  .edu-proj--join .edu-proj__note{ margin:0; }
}
@media (max-width:600px){
  .edu-board__list{ grid-template-columns:1fr; }
  .edu-board__list .edu-proj{ min-height:0; }
  .edu-board__zip input{ width:130px; }
}

/* ===== HOW IT WORKS (donor page) ===== */
.edu-how{ background:var(--paper); color:var(--ink); padding:clamp(72px,11vh,130px) 0; }
.edu-how .edu-h{ margin:0 auto; font-size:clamp(1.9rem,3.4vw,2.9rem); text-align:center; }
.edu-how__grid{ list-style:none; margin:clamp(28px,4vh,44px) 0 0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:clamp(10px,1vw,16px); }
.edu-how__grid li{ background:#fff; border-radius:2px; padding:26px; display:flex; flex-direction:column; gap:10px; }
.edu-how__n{ font-family:var(--mono); font-size:11px; letter-spacing:.2em; color:var(--blue); }
.edu-how__t{ margin:0; font-family:var(--display); font-weight:900; text-transform:uppercase; font-size:1.15rem; letter-spacing:.01em; line-height:1.1; }
.edu-how__grid p{ margin:0; font-size:1rem; line-height:1.5; color:var(--ink-2); }
@media (max-width:760px){ .edu-how__grid{ grid-template-columns:1fr; } }

/* ===== BUTTONS: the home page bracket button, one for one ([  LABEL  ], mono, 2px corners, 50px tall) ===== */
.edu-pill{ --bg:transparent; --fg:var(--blue); --edge:var(--blue);
  display:inline-flex; align-items:center; justify-content:center; gap:0; font-family:var(--mono); font-size:14px; letter-spacing:.14em; text-transform:uppercase; line-height:1.6; font-weight:400;
  padding:13px 18px; background:var(--bg); color:var(--fg); border:1px solid var(--edge); border-radius:2px; white-space:nowrap; cursor:pointer; position:relative; text-decoration:none;
  -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none;
  transition:background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast); }
.edu-pill::before{ content:"[\00a0\00a0" / ""; opacity:.55; }
.edu-pill::after{ content:"\00a0\00a0]" / ""; opacity:.55; }
.edu-pill:hover{ --bg:var(--blue); --fg:#fff; --edge:var(--blue); box-shadow:0 0 0 3px rgba(19,85,185,.16); }
.edu-pill:hover::before, .edu-pill:hover::after{ opacity:1; }
.edu-pill:active{ transform:translateY(1px); }
.edu-pill:focus-visible{ outline:2px solid var(--blue); outline-offset:2px; }
.edu-pill--solid{ --bg:var(--blue); --fg:#fff; --edge:var(--blue); }
.edu-pill--solid:hover{ --bg:var(--blue-deep); --edge:var(--blue-deep); }
/* secondary on dark surfaces (hero, dark + navy tiles, board, finale): white outline, like .btn--on-dark */
.edu-pill--glass, .edu-pill--ghost{ --fg:#fff; --edge:rgba(255,255,255,.5); }
.edu-pill--glass:hover, .edu-pill--ghost:hover{ --bg:#fff; --fg:var(--ink); --edge:#fff; box-shadow:0 0 0 3px rgba(255,255,255,.14); }
/* secondary on paper surfaces (white + sky tiles, paper sections, forms): blue outline, like .btn */
.edu-tile--paper .edu-pill--glass, .edu-tile--sky .edu-pill--glass, .edu-sec:not(.edu-sec--dark) .edu-pill--glass, .edu-dialog .edu-pill--glass, .edu-pill--outline{ --fg:var(--blue); --edge:var(--blue); }
.edu-tile--paper .edu-pill--glass:hover, .edu-tile--sky .edu-pill--glass:hover, .edu-sec:not(.edu-sec--dark) .edu-pill--glass:hover, .edu-dialog .edu-pill--glass:hover, .edu-pill--outline:hover{ --bg:var(--blue); --fg:#fff; --edge:var(--blue); box-shadow:0 0 0 3px rgba(19,85,185,.16); }
@media (max-width:760px){ .edu-pill{ font-size:13px; padding:12px 14px; } .edu-board__zip input{ height:48px; } }

/* ===== review round (2026-10-06): form intros, mailto notes, donor proof row, state-dependent hero buttons ===== */
.edu-form__intro{ margin:0 0 14px; font-size:.98rem; line-height:1.5; color:var(--ink-2); }
.edu-form__note{ margin:0; font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); }
[data-when][hidden]{ display:none; }
.cl-proof{ margin:clamp(30px,4.5vh,48px) auto 0; max-width:700px; display:flex; align-items:center; gap:24px; text-align:left; }
.cl-proof__cover{ width:88px; height:auto; flex:none; border-radius:2px; box-shadow:0 14px 34px rgba(0,0,0,.55); }
.cl-proof__fact{ margin:0; font-size:.98rem; line-height:1.5; color:rgba(255,255,255,.8); }
.cl-proof__quote{ margin:10px 0 0; padding:0; }
.cl-proof__quote p{ margin:0; font-size:1rem; line-height:1.5; color:#fff; }
.cl-proof__quote cite{ display:block; margin-top:6px; font-style:normal; font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.55); }
.edu-board__head > .edu-board__status{ margin-top:12px; }
@media (max-width:760px){
  .cl-proof{ flex-direction:column; align-items:center; text-align:center; gap:16px; }
  #projects [data-edu-dashcta] [data-reveal]{ display:none; }   /* the Need Books card right above already has Share my link */
}
