/* Alpha Physics: page CSS (only what the kit lacks) */
.logo-mark { color: var(--ink); }

/* picture-develops: the teacher photograph, on the split's right column, down to the section's foot;
   stacked (under 1024) it is a .frame--fill in .grid.fill and takes what the screen leaves under the words */
.develop { margin: 0; border-radius: var(--r-lg); overflow: hidden; height: min(var(--ly-fit, 708px), 708px); }
.develop > img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .develop { height: auto; } }

/* the booking form on its card (--g-alt), the photograph beside it on a desktop */
.book__panel { --card: var(--g-alt); --c-pad: var(--s-7); --c-r: var(--r-lg); }
.book__photo { margin: 0; }
/* fields in one column where the card is tall enough (1280 and up) and on a phone */
@media (min-width: 1280px), (max-width: 639px) { .book__panel .form { grid-template-columns: minmax(0, 1fr); } }
/* on a tablet the form lies open on the ground, its two field columns on the page lines, and the photograph
   (.frame--fill in .grid.fill) takes what the screen leaves under it */
@media (min-width: 640px) and (max-width: 1023px) { .book__panel { --c-pad: 0px; background: none; border: 0; box-shadow: none; } }
/* on a phone the form stands alone (a booking form may go without a picture), so the section stays one screen */
@media (max-width: 639px) { .book__photo { display: none; } .book__panel { --c-pad: var(--s-5); } }

/* footer: two link columns on span-4 run to the right line; on a tablet the name and both columns share one row */
@media (min-width: 640px) and (max-width: 1023px) {
  .footer .closing__links .grid > .span-4:first-child { grid-column: auto / span 6; }
  .footer .footer__col { grid-column: auto / span 3; }
}

.credits-list { display: grid; gap: var(--s-3); padding-left: 1.2em; margin: var(--s-6) 0; max-width: 62ch; }
