/* schoolweb.page look "Marylebone" (2026-11-14, third version). Editorial: the school as a
   quiet magazine or a book of essays, not a newspaper.
   The idea is the margin. On a wide screen every section hangs its heading in a left column
   and runs its content in the column beside it, left-aligned, on one grid with the header
   name, the page title and the footer. On a phone the heading sits above, as in any book.
   Structure comes from that alignment and from space; there are no rules between sections.
   One or two sections a page are features and sit on a slightly deeper warm paper: Coming up
   and the newsletter on Home, the principal's letter on About, how to apply on Admissions.
   The one line in the look is a light hairline between the rows of a table. The one mark is a
   short bar in the school's colour over the name on Home and over each page title.
   Home opens like a spread: on a wide screen the name, the town and the first facts on the
   left, the photo on the right; on a phone the name, then the photo edge to edge.
   Newsreader (optical sizes) at a light weight for headings, ledes and figures; its italic
   for the small human touches (the town, captions, "a month", job titles). All running prose
   is Newsreader too, so a page reads in one voice; Instrument Sans is kept for controls,
   labels and contact rows. Controls stay plain: squarish buttons, the status as a line of type,
   dates as a serif figure. The school's colour is kept for links, the main button, the date
   figures, the step numerals and the bar. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../../fonts/Newsreader.7f3cc51d3255.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../../fonts/NewsreaderItalic.81d1e5733fca.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  src: url("../../fonts/InstrumentSans.eb0d011dc89c.woff2") format("woff2"); }
@font-face { font-family: "Rare Latin"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../../fonts/NotoSansRare.746d07864173.woff2") format("woff2");
  unicode-range: U+0149, U+0300-036F, U+1E00-1EFF; }

:root {
  --serif: "Newsreader", "Rare Latin", "Newsreader fallback", "Newsreader fallback noto", Georgia, serif;
  --sans: "Instrument Sans", "Rare Latin", "Instrument Sans fallback", system-ui, sans-serif;
  /* a cooler paper than the other book looks; the features keep the warm tone */
  --paper: #F7F6F2;
  /* the deeper paper of a feature section, and the footer's, a step deeper again */
  --tone: #F2ECE2;
  --foot-tone: #EAE2D5;
  --ink: #23211D;
  --muted: #615B52;
  /* the one hairline: table rows, contact rows */
  --line: #DDD5C8;
  /* the scale on a phone: 15 / 17 / 20 / 26 / 28 / 42 */
  --t1: .9375rem; --t2: 1.0625rem; --t3: 1.25rem; --t4: 1.625rem; --t5: 1.75rem; --t6: 2.625rem;
  /* running prose, in the serif */
  --body: 1.1875rem;
  --gap: 64px;
  --prose: 27em;
}
/* The theme sets --band, --link and the rest on :root after this file. Set here, on body,
   they win for everything inside it: no automatic bands (the features are chosen below), and
   the link a shade darker, so it keeps AA on the paper and on the tone as it does on white. */
body {
  --band: transparent;
  --link-ink: var(--link);
  background: var(--paper); color: var(--ink); font-size: var(--t2); line-height: 1.6;
}
@supports (color: color-mix(in srgb, red, red)) { body { --link-ink: color-mix(in oklab, var(--link) 84%, #000); } }
.top, main, .foot { --link: var(--link-ink); }
h1, h2, h3 { font-weight: 400; letter-spacing: -.012em; line-height: 1.12; }
a { text-decoration-thickness: 1px; text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

/* the mark: a short bar in the school's colour */
.hero-text::before, .page-head::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 20px; border-radius: 2px; background: var(--accent); }

/* ---------- header: the name and the menu, on the paper, no line ---------- */
.top { background: var(--paper); border-bottom: 0; min-height: 64px; }
.top .name { font-weight: 500; font-size: var(--t3); letter-spacing: -.01em; }
.top .name.long { font-size: var(--t2); }
.top .menu { font-weight: 500; }
/* Home: the name is the opening's title just below, so a header with a crest shows the crest
   alone (the name is still read out, not cut) */
.top:has(~ main > .opening):has(.logo) .name { position: absolute; top: 0; left: 0; right: 0; clip-path: inset(50%); }
.top:has(~ main > .opening) .logo { max-width: 60vw; }
.top:has(~ main > .opening):has(.logo) .home { min-width: 44px; }
.nav > nav { padding: 8px var(--pad) 24px; background: var(--paper); border-bottom: 0; box-shadow: 0 24px 32px rgb(60 45 20 / .10); }
.nav > nav a { min-height: 50px; border: 0; font-family: var(--serif); font-size: var(--t4); font-weight: 400; letter-spacing: -.01em; }
.nav > nav a[aria-current="page"] { color: var(--ink); font-weight: 400; font-style: italic; }

/* ---------- the opening: the name with air around it, then the photo ---------- */
.hero { display: flex; flex-direction: column; min-height: 0; overflow: visible; background: none; }
.hero-text { order: 1; padding: 26px var(--pad) 24px; background: none; color: var(--ink); }
.hero h1, .hero.bare h1 { color: var(--ink); text-shadow: none; font-size: var(--t6); font-weight: 400; line-height: 1.06; letter-spacing: -.022em; text-wrap: balance; }
/* a long name: still a step over the section headings */
.hero h1.long, .hero.bare h1.long { font-size: 2rem; line-height: 1.12; letter-spacing: -.015em; }
.hero .town { margin-top: 12px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--t3); color: var(--muted); align-items: baseline; gap: 7px; }
.hero .town .ic { width: 16px; height: 16px; margin-top: 0; color: var(--muted); transform: translateY(2px); }
.hero img { order: 2; position: static; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.hero.tall, .hero.bare { min-height: 0; }
.hero.tall img { aspect-ratio: 1; }
.hero.bare .hero-text { padding-top: 44px; padding-bottom: 8px; color: var(--ink); }

/* ---------- the first facts ---------- */
.first { padding: 20px var(--pad) 12px; }
/* the status: a line of type with a dot, no box */
.status, .status.open, .status.wait { background: none; border-radius: 0; min-height: 44px; padding: 0; font-weight: 600; font-size: var(--t2);
  display: grid; grid-template-columns: 8px minmax(0, 1fr); column-gap: 12px; row-gap: 0; align-content: center; align-items: baseline; }
.status::before { width: 8px; height: 8px; transform: translateY(-.1em); }
.status span, .first .status span { grid-column: 2; margin-left: 0; justify-self: start; flex-basis: auto; font-weight: 400; }
.lines { margin-top: 14px; }
.lines p { font-size: var(--t2); color: var(--muted); }
.acts { gap: 10px; margin-top: 16px; }
.btn { border-radius: 6px; min-height: 52px; padding: 0 20px; font-weight: 600; }
.btn.main { box-shadow: inset 0 0 0 1.5px var(--edge); }
.btn.alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgb(35 33 29 / .35); }
.btn.alt .ic { color: var(--link); }
.share { justify-content: flex-start; min-height: 44px; margin-top: 8px; font-weight: 500; font-size: var(--t1); }

/* dates: the month in small capitals over the day as a serif figure, both in the school's colour */
.date { grid-template-columns: 3rem 1fr; gap: 16px; align-items: start; }
.tile { width: 3rem; min-height: 0; padding: 0; place-items: start; align-content: start; background: none; border-radius: 0; color: var(--link); }
.tile small { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.tile b { font-size: 2.25rem; font-weight: 400; letter-spacing: -.02em; line-height: 1; margin-top: 2px; color: var(--link); }
.date h3, .date h2 { font-size: var(--t3); font-weight: 400; line-height: 1.25; margin-top: 14px; text-wrap: pretty; }
.date p { font-family: var(--serif); font-style: italic; font-size: var(--t2); color: var(--muted); }
.next { margin-top: 32px; padding: 0; border: 0; border-radius: 0; }
.next .cal { font-weight: 500; }

/* ---------- sections: space; the features on the deeper paper ---------- */
.block { padding: var(--gap) var(--pad); }
.block h2 { font-size: var(--t5); font-weight: 400; letter-spacing: -.016em; }
.block h2 + * { margin-top: 20px; }
main .pair.pair, :is(main .block.block:has(> .welcome, > .steps)) { background: var(--tone); }
/* two plain sections in a row part by one gap, not two; a status alone joins the one above */
:is(.block, .pair):not(.pair, :has(> .welcome, > .steps)) + .block:not(:has(> .welcome, > .steps)) { padding-top: 0; }
.lede { font-family: var(--serif); font-size: var(--t3); line-height: 1.5; max-width: 34em; }
.block > .prose, .block.prose > :not(.lede), .block .text, .block > p:not(.lede):not(.note) { max-width: 36em; }
/* one voice for running prose */
.block > p:not(.note), .block.prose, .block .prose, .block .text, .steps li, .welcome { font-family: var(--serif); font-size: var(--body); line-height: 1.55; }
.more, .head2 a, .visit .map, .block .cal { font-weight: 500; }

/* figures: a light serif number, a quiet note under it; no lines */
.facts { border-top: 0; margin-top: 36px; gap: 26px 24px; }
.facts div, .facts div:nth-child(odd), .facts div:nth-child(even) { padding: 0; border: 0; }
.facts b { font-size: var(--t4); font-weight: 400; letter-spacing: -.015em; }
.facts span { font-family: var(--serif); font-style: italic; font-size: var(--t2); }

.dates li, .dates li:last-child { padding: 12px 0; border: 0; }
.dates li:first-child { padding-top: 4px; }

/* the newsletter: the cover, lifted a little off the paper */
.letter { padding: 0; border: 0; border-radius: 0; background: none; grid-template-columns: 84px 1fr; gap: 22px; }
.letter svg { width: 84px; height: 110px; border-radius: 2px; box-shadow: 0 1px 2px rgb(60 45 20 / .12), 0 8px 20px rgb(60 45 20 / .10); }
.block .letter h2 { font-size: var(--t4); }
.letter p { font-family: var(--serif); font-style: italic; font-size: var(--t3); color: var(--muted); line-height: 1.3; margin-top: 6px; }
.letter span { color: var(--link); font-weight: 500; }

/* photos: plain rectangles with room between them */
.photos { grid-template-columns: 1fr 1fr; gap: 10px; border-radius: 0; overflow: visible; }
.photos img, .photos .wide { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
.photos img:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.photos img:last-child:nth-child(even) { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.photos.two img, .photos.two img:first-child, .photos.two img:last-child { grid-column: auto; aspect-ratio: 3 / 4; }
.head2 { margin-bottom: 20px; }

.gallery { gap: 28px 12px; }
.gallery img { border-radius: 0; }
.gallery figcaption { margin-top: 8px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--t2); line-height: 1.35; color: var(--muted); }

/* ---------- visit, rows ---------- */
.visit address { font-family: var(--serif); font-size: var(--t3); line-height: 1.45; }
.visit .hours { font-family: var(--serif); font-size: var(--body); }
.acts + .rows { margin-top: 24px; }
.rows a { font-weight: 500; border-color: var(--line); }
.rows a .ic { color: var(--link); }
.rows a small { font-size: var(--t1); }
.campus h3 { font-size: var(--t4); font-weight: 400; }
.campus address { font-size: var(--body); }
.campus .grades { font-family: var(--serif); font-style: italic; color: var(--muted); }
/* three or five campuses would leave one alone on the last row: they stack instead */
.block.visit > .campuses:has(> .campus:nth-child(3)):has(> .campus:last-child:nth-child(odd)) { grid-template-columns: minmax(0, 1fr); }

/* ---------- tables, lists, steps, documents ---------- */
.table, .list { border-top: 0; }
.table div { padding: 16px 0; border-color: var(--line); }
.table div:last-child { border-bottom: 0; }
/* the label in plain text: the value beside it is the answer */
.table dt { font-weight: 400; }
/* a plain table's label is a name (a person, a day): a touch heavier, so the eye finds it */
.table.plain dt { font-weight: 500; }
.table dd { font-size: var(--t4); font-weight: 400; letter-spacing: -.01em; }
.table dd small { font-family: var(--serif); font-style: italic; font-size: var(--t2); }
.table.plain dd { font-family: var(--sans); font-size: var(--t2); font-weight: 400; line-height: 1.35; letter-spacing: 0; }
.table.plain dd small { font-size: var(--t1); }
/* times are the answer: set them as figures, like the fees */
:is(#hours, #terms) .table.plain dd { font-family: var(--serif); font-size: var(--t3); letter-spacing: -.005em; }
/* the row in one face: the day or term in the serif beside its times */
:is(#hours, #terms) .table.plain dt { font-family: var(--serif); font-size: var(--body); }
.list { row-gap: 4px; align-items: start; }
.list li { min-height: 48px; border: 0; font-family: var(--serif); font-size: var(--t3); font-weight: 400; line-height: 1.3; }
.note { font-family: var(--serif); font-style: italic; font-size: var(--t2); }
/* how to apply is a sequence: light serif numerals in the school's colour, no ring */
.steps li, .steps li:last-child { grid-template-columns: 2rem 1fr; gap: 12px; padding: 12px 0; border: 0; }
.steps li::before { width: auto; min-height: 0; place-items: start; background: none; box-shadow: none; border-radius: 0; color: var(--link); font-size: var(--t4); font-weight: 400; line-height: 1; }
.doc, .docs li:last-child .doc { min-height: 0; padding: 12px 0; border: 0; }
.doc .cover { border-radius: 2px; box-shadow: 0 1px 2px rgb(60 45 20 / .12), 0 6px 14px rgb(60 45 20 / .10); }
.doc b { font-weight: 500; }
.doc small { font-size: var(--t1); }
/* named things: the icon alone, in the school's colour */
.items li, .items li:last-child { grid-template-columns: 28px 1fr; gap: 16px; padding: 14px 0; border: 0; }
.items .mark { width: 28px; height: 28px; background: none; border-radius: 0; place-items: start; padding-top: 3px; color: var(--link); }
.items .mark .ic { width: 24px; height: 24px; }
.items h3 { font-size: var(--t3); font-weight: 400; margin-top: 0; }
#care .items h3 + p { margin-top: 4px; }
.items p.sub { font-family: var(--serif); font-style: italic; font-size: var(--t2); }

/* the principal's letter, signed at the top, its first paragraph a lede */
.byline b { font-size: var(--t4); font-weight: 400; letter-spacing: -.01em; }
.byline span { display: block; margin-top: 2px; font-family: var(--serif); font-style: italic; font-size: var(--t3); }
.welcome { margin-top: 24px; padding-left: 0; border-left: 0; max-width: 34em; }
.welcome p { font-size: var(--body); line-height: 1.55; }
.welcome > p:first-child { font-size: var(--t3); line-height: 1.45; }
.welcome > p:first-child + p { margin-top: 18px; }

/* ---------- inner pages: a title with air, then the article ---------- */
.page-head { padding: 44px var(--pad) 8px; background: none; border-bottom: 0; }
.page-head h1 { font-size: var(--t6); font-weight: 400; line-height: 1.05; letter-spacing: -.022em; }
main > .page-head + .block:not(:has(> .welcome, > .steps)) { padding-top: 32px; }
main > .page-head + .first { padding-top: 28px; padding-bottom: 8px; }

/* ---------- footer: a deeper paper, the name as a quiet sign-off ---------- */
.foot { --on-deep: var(--ink); background: var(--foot-tone); color: var(--ink); padding: 48px var(--pad) 32px; }
.foot .who b { font-size: var(--t4); font-weight: 400; letter-spacing: -.012em; }
.foot nav { display: flex; flex-wrap: wrap; column-gap: 14px; margin-top: 16px; border-top: 0; }
/* the footer's links are a plain list under the name: small, regular and muted,
   with no mark on the current page, so they do not read as a second menu */
.foot nav a { font-size: var(--t1); font-weight: 400; color: var(--muted); border-bottom: 0; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.foot nav a[aria-current="page"] { text-decoration: none; }
.foot .small { color: var(--muted); }
.foot .small a, .foot details summary { color: var(--ink); }
.foot :focus-visible { outline-color: var(--link); }

/* ---------- phone: a plain table stacks, the name over the role ---------- */
@media (max-width: 959px) {
  .table.plain div { display: block; }
  .table.plain dd { margin-top: 2px; text-align: left; white-space: normal; }
  /* a lede stands a clear step over the prose; the signature sits under the heading */
  .lede, .welcome > p:first-child { font-size: 1.375rem; }
  .byline b { font-size: var(--t3); }
}

/* ---------- desktop ---------- */
@media (min-width: 960px) {
  :root { --pad: 40px; --side: max(var(--pad), calc((100% - 1200px) / 2)); --gap: 96px;
    /* the margin: the hanging heading's column and the space after it */
    --head: 15rem; --head-gap: 64px;
    --t1: 1rem; --t2: 1.125rem; --t3: 1.375rem; --t4: 1.875rem; --t5: 2.25rem; --t6: 4.25rem; --body: 1.25rem; }
  .top { min-height: 80px; padding: 8px var(--side); }
  .top .name { font-size: var(--t3); }
  .top .name.long { font-size: 1.125rem; }
  .top-links { gap: 0; }
  .top-links a { font-weight: 500; font-size: 1rem; color: var(--ink); }
  .top-links a:hover { color: var(--link); }
  .top-links a[aria-current="page"]::after { left: 50%; right: auto; width: 5px; height: 5px; bottom: -2px; border-radius: 50%; transform: translateX(-50%); background: var(--link); }

  /* the spread: the name and the first facts on the left, the photo on the right */
  .opening { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 72px; padding: 56px var(--side) 24px; }
  .opening > .hero { display: contents; }
  .opening .hero-text { grid-column: 1; grid-row: 1; padding: 0; }
  .hero h1, .hero.bare h1 { font-size: var(--t6); line-height: 1.04; letter-spacing: -.028em; }
  .hero h1.long, .hero.bare h1.long { font-size: 2.875rem; line-height: 1.1; letter-spacing: -.02em; }
  .hero .town { margin-top: 18px; }
  .opening > .hero > img { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: auto; height: 100%; min-height: 560px; max-height: 700px; contain: size; }
  .opening .hero.tall > img { min-height: 620px; max-height: 760px; }
  .opening > .first, :is(.opening > .first:not(.touch):not(:has(> .next))) { grid-column: 1; grid-row: 2; display: block; padding: 40px 0 8px; border: 0; }
  /* one rhythm down the column: status, lines, buttons, share, the next date */
  .opening > .first .lines { margin-top: 20px; }
  .opening > .first .acts { grid-template-columns: repeat(2, minmax(max-content, 1fr)); margin-top: 28px; }
  .opening > .first .acts.one { grid-template-columns: 1fr; }
  .opening > .first > .acts:first-child, .opening > .first > .lines:first-child { margin-top: 0; }
  .opening > .first .share { justify-content: flex-start; margin-top: 8px; }
  .opening > .first .next { margin-top: 36px; }
  .opening > .first .status span { flex-basis: auto; margin-left: 0; }
  /* no photo: the name across, the first facts in three columns under it */
  .opening:has(> .hero.bare) { grid-template-columns: minmax(0, 1fr); padding-top: 72px; }
  .opening:has(> .hero.bare) h1 { max-width: 17em; }
  .opening:has(> .hero.bare) > .first.first { max-width: 34rem; padding: 28px 0 24px; }
  /* a one-page site: the opening fills the page down to the footer */
  main:has(> .opening:only-child) { display: flex; flex-direction: column; }
  main > .opening:only-child { flex: 1 0 auto; padding-bottom: 72px; }

  /* the margin: every section hangs its heading in the left column and runs its content
     beside it. The stacked classes outrank classic.css's own grids for Welcome and Visit us. */
  main .block.block.block.block { display: grid; grid-template-columns: var(--head) minmax(0, 1fr); grid-template-rows: none; column-gap: var(--head-gap); align-content: start; align-items: start; padding: var(--gap) var(--side); }
  .block.block.block > :is(h2, .head2) { grid-column: 1; grid-row: 1 / span 20; align-self: start; position: sticky; top: 32px; max-width: none; margin: 0; }
  .block.block.block > :not(h2, .head2) { grid-column: 2; grid-row: auto; align-self: start; justify-self: stretch; }
  .block.block.block > h2 + * { margin-top: 0; }
  /* a text link is as wide as its words, not the column */
  .block.block.block > :is(.more, .map, .share, .cal) { justify-self: start; }
  .block h2 { font-size: var(--t4); line-height: 1.15; letter-spacing: -.014em; text-wrap: balance; }
  .head2 { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .head2 > h2 + a { margin-top: 0; }
  .head2 + .photos { margin-top: 0; }
  :is(.block, .pair):not(.pair, :has(> .welcome, > .steps)) + .block.block.block.block:not(:has(> .welcome, > .steps)) { padding-top: 0; }
  /* the lede ends where the text, the tables and the rows under it end */
  .lede { font-size: 1.625rem; line-height: 1.45; max-width: 40rem; }
  .block > .prose, .block.prose > :not(.lede), .block .text, .block > p:not(.lede):not(.note) { max-width: 40rem; }
  /* second#DES-29: also on a Welcome with few facts, where classic.css's 65ch is stronger */
  .block.intro.intro.intro.intro > .prose { max-width: 40rem; }
  .block > .acts:not(.one) { grid-template-columns: 1fr 1fr; }
  .block > .acts { max-width: 520px; }
  .block > :is(.rows, .table, .steps, .docs, .items, .dates, .status, .next, .list, .welcome, .campuses, .facts) { max-width: 40rem; }
  /* a status on its own, away from the opening: its link on the same line */
  :is(.block, main > .page-head + .first) > .status { grid-template-columns: 8px auto 1fr; }
  :is(.block, main > .page-head + .first) > .status span { grid-column: 3; grid-row: 1; }
  /* a table's or a list's first line sits level with the heading beside it */
  .block.block.block:has(> h2 + :is(.table, .steps)) > h2 { padding-top: 10px; }

  /* Welcome: the figures run in a row under the text */
  .intro .facts { margin-top: 48px; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 28px 32px; }
  .intro .facts div:last-child { grid-column: auto; }
  .facts b { font-size: var(--t4); line-height: 1.1; }

  /* Coming up and the newsletter: one feature, the two sections one above the other */
  main .pair.pair { display: block; padding: var(--gap) var(--side); }
  main .pair > .block.block.block.block { padding: 0; }
  main .pair > .block + .block.block.block.block { margin-top: 64px; }
  .letter { grid-template-columns: 110px 1fr; gap: 32px; align-items: start; max-width: 40rem; }
  .letter svg { width: 110px; height: 144px; }

  /* the home photos: a lead picture over two rows, the others beside and under it */
  .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; }
  .photos img, .photos .wide, .photos img:first-child, .photos img:last-child:nth-child(even) { grid-column: auto; grid-row: auto; aspect-ratio: auto; height: 100%; }
  .photos img:first-child { grid-column: span 2; grid-row: span 2; }
  .photos.two { grid-template-columns: 3fr 2fr; grid-auto-rows: 420px; }
  .photos.two img:first-child { grid-column: auto; grid-row: auto; }

  /* Visit us: where, the hours, the buttons and the rows, down the content column */
  .block.visit > .campuses { margin: 0 0 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campus h3 { font-size: var(--t3); }
  .block.visit > .acts { margin-top: 28px; }

  /* the inner pages: the title on the margin's edge, the sections on the same grid */
  main:has(> .page-head), main:has(> .page-head) .block:has(> .gallery, > .list) { --side: max(var(--pad), calc((100% - 1200px) / 2)); }
  main:has(> .page-head) .block:has(> .gallery, > .list) > :not(.gallery, .list, .more-photos) { margin-inline: 0; }
  .page-head { padding: 96px var(--side) 8px; }
  .page-head::before { margin-bottom: 28px; }
  .page-head h1 { font-size: 4rem; letter-spacing: -.03em; }
  main > .page-head + .block.block.block.block:not(:has(> .welcome, > .steps)) { padding-top: 64px; }
  main > .page-head + .first.first { display: grid; grid-template-columns: var(--head) minmax(0, 1fr); grid-template-rows: none; column-gap: var(--head-gap); padding: 56px var(--side) 0; border-bottom: 0; }
  main > .page-head + .first.first > * { grid-column: 2; grid-row: auto; justify-self: stretch; margin-top: 0; max-width: 40rem; }
  main > .page-head + .first.first > .acts:not(.one) { grid-template-columns: 1fr 1fr; max-width: 520px; }
  main > .page-head + .first.first > .acts + .rows { margin-top: 28px; }
  main > .page-head + .first.first > .share { justify-self: start; }
  main > .page-head + .first:has(+ .block:not(:has(> .welcome, > .steps))) + .block.block.block.block { padding-top: 64px; }
  main > .page-head + .first:has(+ .block:has(> .welcome, > .steps)) { padding-bottom: 64px; }
  :is(main:has(> .page-head) .block .lede), .welcome > p:first-child { font-size: 1.5rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 40px 18px; }
  /* the button spans the gallery, so its edges meet the photos' */
  .more-photos > summary { max-width: none; margin-left: 0; }
  .list { grid-template-columns: repeat(3, 1fr); column-gap: 24px; }

  .foot { display: block; padding: 72px var(--side) 40px; }
  .foot .who b { font-size: var(--t4); text-wrap: balance; }
  .foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 12px; }
  .foot .small:not(details .small) { margin-top: 20px; }
}
@media (max-width: 359px) {
  .hero h1, .hero.bare h1 { font-size: 2.25rem; }
  .hero h1.long, .hero.bare h1.long { font-size: 1.75rem; }
  .page-head h1 { font-size: 2.25rem; }
}

/* design-director#1: on a short phone screen the photo takes what the first screen leaves,
   so Call and WhatsApp stay on it (audit-public-css) */
@media (max-width: 599px) {
  :is(.hero, .hero.tall) img { max-height: max(120px, 100svh - 461px); }
}

/* editor-look#10: with a font choice that has no italic face, italic lines stay upright
   instead of a fake slant; the look's own fonts have real italics (audit-public-css) */
body { font-synthesis-style: none; }
