/* Happy Minds School of Music: the foundation. It runs in the order a page is read, top to end. */

/* Palette, faces, sizes and the clearances kept round the four corner keys: read these, never retype a value. */
:root {
  --colour-of-the-lemon: #e8f335;
  --colour-of-the-blue: #173d86;
  --colour-of-the-navy: #111a2b;
  --colour-of-the-orange: #ff681f;
  --colour-of-the-page: var(--colour-of-the-lemon);
  --colour-of-the-type: var(--colour-of-the-navy);
  --colour-of-a-key: var(--colour-of-the-blue);
  --colour-on-a-key: var(--colour-of-the-lemon);
  --colour-of-the-focus-mark: var(--colour-of-the-navy);
  --face-for-headings: 'Pixelify Sans', 'Courier New', monospace;
  --face-for-reading: 'Inconsolata', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --size-of-reading-text: 1.0625rem;
  --size-of-small-text: 0.95rem;
  --size-of-the-trade-heading: clamp(1.875rem, 1.55rem + 1.3vw, 2.375rem);
  --size-of-a-spread-heading: clamp(1.4375rem, 1.2rem + 0.9vw, 1.875rem);
  --size-of-a-minor-heading: 1.4375rem;
  --size-of-the-poster-action: clamp(2.5rem, 7.6vw, 7rem);
  --curve-of-a-key-foot: 0.75rem;
  --edge-of-the-window: 0.5rem;
  --height-of-a-corner-key: 2.75rem;
  --height-of-the-name-key: 3.4rem;
  --width-of-a-short-corner-key: 5.75rem;
  --clear-space-beside-a-key: 0.75rem;
  --room-under-the-upper-keys: calc(var(--edge-of-the-window) + var(--height-of-the-name-key) + 1rem + env(safe-area-inset-top, 0rem));
  --room-over-the-lower-keys: calc(var(--edge-of-the-window) + var(--height-of-a-corner-key) + 0.4rem + env(safe-area-inset-bottom, 0rem));
  --room-beside-the-lower-keys: calc(var(--edge-of-the-window) + var(--width-of-a-short-corner-key) + var(--clear-space-beside-a-key));
  --margin-of-the-spread: 1rem;
  --space-between-columns: 1rem;
  --space-between-sections: clamp(2.5rem, 9vh, 6.5rem);
  --time-of-an-ink-change: 0.12s;
}
@media (min-width: 56rem) {
  :root {
    --size-of-reading-text: 1.1875rem;
    --curve-of-a-key-foot: 1rem;
    --edge-of-the-window: 1rem;
    --height-of-the-name-key: 2.75rem;
    --width-of-a-short-corner-key: 6.5rem;
    --clear-space-beside-a-key: 1.5rem;
    --margin-of-the-spread: var(--room-beside-the-lower-keys);
    --space-between-columns: clamp(1.25rem, 2.2vw, 2rem);
  }
}

/* Bare elements: lemon page, navy Inconsolata, lowercase Pixelify heads at 23 to 38 px, links that change ink on hover. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--room-under-the-upper-keys); }
body {
  margin: 0;
  background: var(--colour-of-the-page);
  color: var(--colour-of-the-type);
  font: 400 var(--size-of-reading-text) / 1.5 var(--face-for-reading);
  overflow-wrap: break-word;
}
main { display: block; }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--face-for-headings);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: lowercase;
}
h1 { font-size: var(--size-of-the-trade-heading); }
h2 { font-size: var(--size-of-a-spread-heading); }
h3 { font-size: var(--size-of-a-minor-heading); }
p, ul, ol, dl, dd, figure, address { margin: 0; }
p + p { margin-top: 1em; }
address { font-style: normal; }
strong { font-weight: 400; text-decoration: underline; text-decoration-thickness: 0.14em; }
a {
  color: inherit;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
  transition: background-color var(--time-of-an-ink-change) linear, color var(--time-of-an-ink-change) linear;
}
a:hover { background: var(--colour-of-the-type); color: var(--colour-of-the-page); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 0.2rem solid var(--colour-of-the-focus-mark); outline-offset: 0.2rem; }

/* Words for screen readers only: .unseenLabel */
.unseenLabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The link that jumps past the corner keys; it shows only on keyboard focus: .jumpToMain */
.jumpToMain {
  position: fixed;
  z-index: 60;
  top: var(--edge-of-the-window);
  left: 50%;
  transform: translate(-50%, -300%);
  padding: 0.7rem 1rem;
  background: var(--colour-of-the-orange);
  color: var(--colour-of-the-navy);
  border-radius: 0 0 var(--curve-of-a-key-foot) var(--curve-of-a-key-foot);
}
.jumpToMain:focus { transform: translate(-50%, 0); }

/* The four fixed corner keys (no bar): .cornerKey with .cornerUpperLeft / .cornerUpperRight / .cornerLowerLeft / .cornerLowerRight; .picked marks the page you are on.
   A blue key carries a lemon rim, unseen on lemon and plain on blue; the script adds .onBlue while a key stands over a dark ground and the key turns lemon with navy type. */
.cornerKey {
  position: fixed;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: var(--width-of-a-short-corner-key);
  min-height: var(--height-of-a-corner-key);
  padding: 0.35rem 0.7rem 0.45rem;
  background: var(--colour-of-the-blue);
  color: var(--colour-of-the-lemon);
  border-radius: 0 0 var(--curve-of-a-key-foot) var(--curve-of-a-key-foot);
  box-shadow: 0 0 0 0.15rem var(--colour-of-the-lemon);
  font-size: 1rem;
  line-height: 1.15;
  text-decoration: none;
}
.cornerKey.onBlue { background: var(--colour-of-the-lemon); color: var(--colour-of-the-navy); box-shadow: none; }
.cornerKey:hover, .cornerKey.onBlue:hover { background: var(--colour-of-the-navy); color: var(--colour-of-the-lemon); }
.cornerKey:focus-visible { outline: 0.2rem solid var(--colour-of-the-orange); outline-offset: -0.4rem; }
.cornerKey.picked { box-shadow: inset 0 -0.3rem 0 var(--colour-of-the-orange), 0 0 0 0.15rem var(--colour-of-the-lemon); }
.cornerKey.picked.onBlue { box-shadow: inset 0 -0.3rem 0 var(--colour-of-the-orange); }
.cornerUpperLeft { top: calc(var(--edge-of-the-window) + env(safe-area-inset-top, 0rem)); left: calc(var(--edge-of-the-window) + env(safe-area-inset-left, 0rem)); justify-content: flex-start; }
.cornerUpperRight { top: calc(var(--edge-of-the-window) + env(safe-area-inset-top, 0rem)); right: calc(var(--edge-of-the-window) + env(safe-area-inset-right, 0rem)); }
.cornerLowerLeft { bottom: calc(var(--edge-of-the-window) + env(safe-area-inset-bottom, 0rem)); left: calc(var(--edge-of-the-window) + env(safe-area-inset-left, 0rem)); }
.cornerLowerRight { bottom: calc(var(--edge-of-the-window) + env(safe-area-inset-bottom, 0rem)); right: calc(var(--edge-of-the-window) + env(safe-area-inset-right, 0rem)); }

/* The logo key and the school name inside the upper-left key; the name wraps to two lines on a phone: .schoolKeyMark, .schoolName */
.schoolKeyMark { flex: none; width: 0.8rem; height: 1.5rem; }
.schoolName { max-width: 8.5rem; }
@media (min-width: 56rem) {
  .cornerKey { padding-inline: 0.9rem; font-size: 1.0625rem; }
  .schoolName { max-width: none; white-space: nowrap; }
}

/* Grounds change by hard cut, never a gradient: .lemonGround, .blueGround (type, keys and focus marks reverse with them). */
.lemonGround, .blueGround { background: var(--colour-of-the-page); color: var(--colour-of-the-type); }
.lemonGround {
  --colour-of-the-page: var(--colour-of-the-lemon);
  --colour-of-the-type: var(--colour-of-the-navy);
  --colour-of-a-key: var(--colour-of-the-blue);
  --colour-on-a-key: var(--colour-of-the-lemon);
  --colour-of-the-focus-mark: var(--colour-of-the-navy);
}
.blueGround {
  --colour-of-the-page: var(--colour-of-the-blue);
  --colour-of-the-type: var(--colour-of-the-lemon);
  --colour-of-a-key: var(--colour-of-the-lemon);
  --colour-on-a-key: var(--colour-of-the-navy);
  --colour-of-the-focus-mark: var(--colour-of-the-orange);
}

/* An inner page's first window: <section class="spreadOpener"> holds .openerWords (h1, .standfirst, an action at its foot) and <figure class="keyCrop openerPicture">. */
.spreadOpener {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--space-between-columns);
  row-gap: 1.25rem;
  padding: var(--room-under-the-upper-keys) var(--margin-of-the-spread) var(--space-between-sections);
}
.spreadOpener > * { grid-column: 1 / -1; }
.openerWords { display: grid; align-content: space-between; justify-items: start; gap: 1.5rem; }
.standfirst { margin-top: 0.6rem; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.4; }
@media (min-width: 56rem) {
  .spreadOpener > .openerWords { grid-column: 1 / span 2; }
  .spreadOpener > .openerPicture { grid-column: 3 / span 4; }
  .openerPicture img { height: clamp(18rem, calc(100vh - 13rem), 38rem); aspect-ratio: auto; }
}

/* An editorial spread and its six columns: .editorialSpread > .sixColumns, children take .shortMeasure (2), .insetMeasure (1), .longMeasure (3) or .fullMeasure; add .turned to put the long measure first. */
.editorialSpread { padding: var(--space-between-sections) var(--margin-of-the-spread); }
.sixColumns {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--space-between-columns);
  row-gap: 1.5rem;
  align-items: start;
}
.sixColumns > * { grid-column: 1 / -1; }
@media (min-width: 56rem) {
  .sixColumns > .shortMeasure { grid-column: 1 / span 2; }
  .sixColumns > .insetMeasure { grid-column: 3 / span 1; }
  .sixColumns > .longMeasure { grid-column: 4 / span 3; }
  .sixColumns.turned > .longMeasure { grid-column: 1 / span 3; }
  .sixColumns.turned > .insetMeasure { grid-column: 4 / span 1; }
  .sixColumns.turned > .shortMeasure { grid-column: 5 / span 2; }
}

/* Article type: .openingInitial gives a paragraph its two-line Pixelify initial; .pulledLine sets the editorial line carried into the next column; .smallPrint is caption-size text. */
.openingInitial::first-letter {
  float: left;
  padding-right: 0.12em;
  font-family: var(--face-for-headings);
  font-size: 3.1em;
  line-height: 0.85;
  text-transform: lowercase;
}
.pulledLine { font-family: var(--face-for-headings); font-size: var(--size-of-a-spread-heading); line-height: 1.2; text-transform: lowercase; }
.smallPrint { font-size: var(--size-of-small-text); line-height: 1.4; }

/* THE MARKED KEY, the site's device: .keyFace is one piano key (square top, rounded foot) holding one task or question; .marked turns it orange; .lemonKey / .blueKey force a fill; .keyNumeral sets Pixelify figures inside it. */
.keyFace {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  min-height: 3.25rem;
  padding: 0.7rem 0.9rem 0.9rem;
  background: var(--colour-of-a-key);
  color: var(--colour-on-a-key);
  border: 0;
  border-radius: 0 0 var(--curve-of-a-key-foot) var(--curve-of-a-key-foot);
  font-size: 1rem;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition: background-color var(--time-of-an-ink-change) linear, color var(--time-of-an-ink-change) linear;
}
.keyFace.lemonKey { background: var(--colour-of-the-lemon); color: var(--colour-of-the-navy); }
.keyFace.blueKey { background: var(--colour-of-the-blue); color: var(--colour-of-the-lemon); }
.keyFace.marked, a.keyFace:hover, a.keyFace:focus-visible, button.keyFace:hover, button.keyFace:focus-visible {
  background: var(--colour-of-the-orange);
  color: var(--colour-of-the-navy);
}
button.keyFace { cursor: pointer; }
.keyNumeral { font-family: var(--face-for-headings); font-size: 2rem; line-height: 1; }

/* A row of keys read left to right (stacked on a phone); set --height-of-a-key on it; arrow keys walk along linked keys: .keyRun */
.keyRun { --height-of-a-key: 11rem; display: grid; gap: 0.35rem; }
@media (min-width: 56rem) {
  .keyRun { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .keyRun > .keyFace { min-height: var(--height-of-a-key); }
}

/* Action faces in the same silhouette: .emailKey is the orange primary (the mailto), .quietKey the second choice in the ground's key colour. */
.emailKey, .quietKey {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.6rem 1.2rem 0.75rem;
  border: 0;
  border-radius: 0 0 var(--curve-of-a-key-foot) var(--curve-of-a-key-foot);
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.emailKey { background: var(--colour-of-the-orange); color: var(--colour-of-the-navy); }
.quietKey { background: var(--colour-of-a-key); color: var(--colour-on-a-key); }
.emailKey:hover, .quietKey:hover { background: var(--colour-of-the-type); color: var(--colour-of-the-page); }

/* A list whose bullets are tiny keys; give one <li> .marked to turn its key orange: .keyBullets */
.keyBullets { padding: 0; list-style: none; }
.keyBullets li { position: relative; padding-left: 1.4rem; }
.keyBullets li + li { margin-top: 0.5rem; }
.keyBullets li::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 0.55rem;
  height: 0.9rem;
  background: currentColor;
  border-radius: 0 0 0.2rem 0.2rem;
}
.keyBullets li.marked::before { background: var(--colour-of-the-orange); }

/* Figure and caption: <figure class="keyCrop"> crops its black-and-white print to the key silhouette; .tallCrop and .wideCrop change the proportion. */
.keyCrop { display: grid; gap: 0.6rem; }
.keyCrop img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--colour-of-the-navy);
  border-radius: 0 0 calc(var(--curve-of-a-key-foot) * 1.5) calc(var(--curve-of-a-key-foot) * 1.5);
  filter: grayscale(1);
}
.keyCrop.tallCrop img { aspect-ratio: 3 / 4; }
.keyCrop.wideCrop img { aspect-ratio: 16 / 9; }
.keyCrop figcaption { font-size: var(--size-of-small-text); line-height: 1.4; }

/* The rule: a short thick bar like a whole rest, never a hairline: <hr> or .restBar */
hr, .restBar {
  width: 3.5rem;
  height: 0.55rem;
  margin: 1.5rem 0;
  border: 0;
  background: currentColor;
  border-radius: 0 0 0.25rem 0.25rem;
}

/* Facts that run the width of the grid: <dl class="termSheet"> with one <div> per row holding <dt> and <dd>. */
.termSheet > div {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--space-between-columns);
  padding-block: 0.55rem;
}
.termSheet dt, .termSheet dd { grid-column: 1 / -1; }
.termSheet dt { font-size: var(--size-of-small-text); text-decoration: underline; text-decoration-thickness: 0.14em; text-underline-offset: 0.25em; }
@media (min-width: 56rem) {
  .termSheet dt { grid-column: 1 / span 2; padding-top: 0.2em; }
  .termSheet dd { grid-column: 3 / span 4; }
}

/* The ending before the poster: <nav class="onwardKeys"> of two or three large .keyFace links naming where to go; mark one orange. */
.onwardKeys {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0 var(--margin-of-the-spread) var(--space-between-sections);
}
.onwardKeys > * { grid-column: 1 / -1; font-size: var(--size-of-reading-text); }
@media (min-width: 56rem) {
  .onwardKeys > * { grid-column: span 2; min-height: 9rem; }
  .onwardKeys > :only-child { grid-column: 1 / -1; }
  .onwardKeys > :first-child:nth-last-child(2), .onwardKeys > :first-child:nth-last-child(2) ~ * { grid-column: span 3; }
}

/* Arrival in the window (the site stays still: nothing hides or moves): put .arrives on a block and the script adds .arrived; until then its .marked key waits as an orange ring. */
.js .arrives:not(.arrived) .marked {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 0.2rem var(--colour-of-the-orange);
}

/* The orange ribbon between the two lower keys (tuition page and #word only); it is withheld while the cookie choice stands open: .rateRibbon */
.rateRibbon {
  position: fixed;
  z-index: 30;
  left: calc(var(--edge-of-the-window) + env(safe-area-inset-left, 0rem));
  right: calc(var(--edge-of-the-window) + env(safe-area-inset-right, 0rem));
  bottom: var(--room-over-the-lower-keys);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem 1rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.8rem 0.45rem;
  background: var(--colour-of-the-orange);
  color: var(--colour-of-the-navy);
  border-radius: 0 0 var(--curve-of-a-key-foot) var(--curve-of-a-key-foot);
  font-size: var(--size-of-small-text);
  line-height: 1.25;
}
.rateRibbon p { margin: 0; }
.rateRibbon a:hover { background: var(--colour-of-the-navy); color: var(--colour-of-the-lemon); }
.rateRibbon button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.3rem 0.7rem;
  background: var(--colour-of-the-navy);
  color: var(--colour-of-the-lemon);
  border: 0;
  border-radius: 0 0 0.5rem 0.5rem;
  cursor: pointer;
}
body:has(#cookie-bar:not([hidden])) .rateRibbon { visibility: hidden; }
@media (min-width: 56rem) {
  .rateRibbon { left: var(--room-beside-the-lower-keys); right: var(--room-beside-the-lower-keys); bottom: var(--edge-of-the-window); }
}

/* The offer cuts in, it never rolls: #word rests off its edge, #word.is-in stands in place. */
#word { transform: translateY(160%); opacity: 0; transition: opacity var(--time-of-an-ink-change) linear; }
#word.is-in { transform: none; opacity: 1; }

/* The closing poster, a window-high lemon sheet: .closingPoster with .posterCorner (.posterUpperLeft / .posterUpperRight / .posterLowerLeft / .posterLowerRight) and the enormous .posterAction.
   Each corner is one or two short lines: the place on one line (.posterPlace, .posterHours), its links side by side. */
.closingPoster {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto auto;
  column-gap: var(--space-between-columns);
  row-gap: 1rem;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--room-under-the-upper-keys) var(--margin-of-the-spread) calc(var(--room-over-the-lower-keys) + 1rem);
  background: var(--colour-of-the-lemon);
  color: var(--colour-of-the-navy);
  border-top: 0.75rem solid var(--colour-of-the-blue);
}
.closingPoster > * { grid-column: 1 / -1; }
.posterCorner { font-size: var(--size-of-small-text); line-height: 1.45; text-transform: none; }
.posterCorner ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; padding: 0; list-style: none; }
.posterCorner p, .posterCorner nav { margin-top: 0.15rem; }
.posterPlace span { white-space: nowrap; }
.posterCorner a, .posterCorner button { display: inline-block; padding-block: 0.7rem; }
.posterCorner p a + a { margin-left: 1rem; }
.posterCorner button {
  padding-inline: 0;
  background: none;
  border: 0;
  text-decoration: underline;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.posterCorner button:hover { background: var(--colour-of-the-navy); color: var(--colour-of-the-lemon); }
.posterAction { place-self: center; margin: 0; text-align: center; }
.posterAction a {
  display: inline-block;
  padding: 0.08em 0.15em 0.14em;
  font-size: var(--size-of-the-poster-action);
  line-height: 1.05;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.14em;
}
@media (min-width: 56rem) {
  .closingPoster { grid-template-rows: auto 1fr auto; }
  .posterCorner a, .posterCorner button { padding-block: 0.15rem; }
  .closingPoster > .posterUpperLeft { grid-column: 1 / span 3; grid-row: 1; }
  .closingPoster > .posterUpperRight { grid-column: 4 / span 3; grid-row: 1; text-align: right; }
  .closingPoster > .posterAction { grid-column: 1 / -1; grid-row: 2; }
  .closingPoster > .posterLowerLeft { grid-column: 1 / span 3; grid-row: 3; align-self: end; }
  .closingPoster > .posterLowerRight { grid-column: 4 / span 3; grid-row: 3; align-self: end; text-align: right; }
  .posterUpperRight ul, .posterLowerRight ul { justify-content: flex-end; }
}

/* The cookie choice: a compact lemon key at the left, just above the Recitals key, one short line and two equal answers stacked under it: #cookie-bar */
#cookie-bar {
  position: fixed;
  z-index: 35;
  left: calc(var(--edge-of-the-window) + env(safe-area-inset-left, 0rem));
  bottom: var(--room-over-the-lower-keys);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.25rem;
  width: min(16rem, calc(100vw - 2 * var(--edge-of-the-window)));
  padding: 0.35rem 0.5rem 0.45rem;
  background: var(--colour-of-the-lemon);
  color: var(--colour-of-the-navy);
  border-radius: 0 0 var(--curve-of-a-key-foot) var(--curve-of-a-key-foot);
  box-shadow: 0.3rem 0.3rem 0 var(--colour-of-the-navy);
  font-size: 0.9rem;
  line-height: 1.25;
  text-align: left;
}
#cookie-bar p { margin: 0; }
#cookie-bar a:hover { background: var(--colour-of-the-navy); color: var(--colour-of-the-lemon); }
#cookie-bar button {
  min-height: 2.75rem;
  padding: 0.3rem 0.6rem 0.4rem;
  background: var(--colour-of-the-blue);
  color: var(--colour-of-the-lemon);
  border: 0;
  border-radius: 0 0 0.5rem 0.5rem;
  font-size: 0.9rem;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--time-of-an-ink-change) linear, color var(--time-of-an-ink-change) linear;
}
#cookie-bar button:hover, #cookie-bar button:focus-visible { background: var(--colour-of-the-orange); color: var(--colour-of-the-navy); }
@media (min-width: 56rem) {
  #cookie-bar { width: 19rem; gap: 0.4rem; padding: 0.8rem 0.9rem 1rem; font-size: var(--size-of-small-text); }
  #cookie-bar button { font-size: var(--size-of-small-text); }
}

/* Stillness asked for: even the brief ink changes go. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* On paper the pinned keys and notices stay off the sheet. */
@media print {
  .cornerKey, .jumpToMain, .rateRibbon, #cookie-bar { display: none; }
}

html, body { overflow-x: clip; }
@media (min-width: 1921px) { html { font-size: calc(100vw / 120); } }
header a, header button, nav a, nav button { position: relative; z-index: 2; }
/* The corner keys are links in the header and its nav, and they stay pinned to the window. */
header .cornerKey, nav .cornerKey { position: fixed; z-index: 40; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
