/* https://github.com/sirodoht/cssmonoculture */

html {
  /* fix line height in all browsers */
  line-height: 1.15;
  /* prevent adjustments of font size after orientation changes in iOS */
  -webkit-text-size-adjust: 100%;
}

body {
  /* remove margin in all browsers */
  margin: 0;
}

hr {
  /* fix height in Firefox */
  height: 0;
  /* fix inheritance of border color in Firefox */
  color: inherit;
}

abbr[title] {
  /* fix text decoration in Chrome, Edge, Safari. */
  text-decoration: underline dotted;
}

b,
strong {
  /* fix font weight in Edge and Safari */
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  /* improve consistency of default fonts in all browsers */
  font-family: monospace;
  /* correct the odd 'em' font sizing in all browsers */
  font-size: 1em;
}

small {
  /* fix font size in all browsers */
  font-size: 80%;
}

/* prevent sub and sup from affecting the line height in all browsers */
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}

sub {
bottom: -0.25em;
}

sup {
top: -0.5em;
}

table {
  /* remove text indentation from table contents in Chrome and Safari */
  text-indent: 0;
  /* fix table border color inheritance in Chrome and Safari */
  border-color: inherit;
}

button,
input,
optgroup,
select,
textarea {
  /* fix font styles in all browsers */
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  /* remove margin in Firefox and Safari */
  margin: 0;
}

button,
select {
  /* remove inheritance of text transform in Edge and Firefox */
  text-transform: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
  /* fix inability to style clickable types in iOS and Safari */
  -webkit-appearance: button;
}

/* remove inner border and padding in Firefox */
::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

:-moz-focusring {
  /* restore focus styles unset by the previous rule */
  outline: 1px dotted ButtonText;
}

:-moz-ui-invalid {
  /* remove additional ':invalid' styles in Firefox */
  box-shadow: none;
}

progress {
  /* fix vertical alignment in Chrome and Firefox */
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  /* fix cursor style of increment and decrement buttons in Safari */
  height: auto;
}

[type='search'] {
  /* fix appearance in Chrome and Safari */
  -webkit-appearance: textfield;
  /* fix outline in Safari */
  outline-offset: -2px;
}

::-webkit-search-decoration {
  /* remove inner padding in Chrome and Safari on macOS */
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  /* fix inability to style clickable types in iOS and Safari */
  -webkit-appearance: button;
  /* change font properties to 'inherit' in Safari. */
  font: inherit;
}

summary {
  /* fix display in Chrome and Safari */
  display: list-item;
}
@font-face {
  font-family: 'Copernicus';
  src: url(/assets/GalaxieCopernicus-Medium-dc8c9ed4c57588074f82a26c88e0532a6d75ec571cf62ca079ad97c7d1d90d7a.woff2) format('woff2');
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: 'Copernicus';
  src: url(/assets/GalaxieCopernicus-MediumItalic-6b90070287c3053c781dc7c09c145c135bb98dfb3690cdd61737e424fc65e0d7.woff2) format('woff2');
  font-weight: 500;
  font-style: italic;
  font-stretch: normal;
}

@font-face {
  font-family: 'Copernicus-Semi';
  src: url(/assets/GalaxieCopernicus-Semibold-6214a017ab71334c6912c3bd16ad62087503ff849c4ceeb972b56569faa00b1a.woff2) format('woff2');
  font-weight: 700;
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: 'Copernicus-Semi';
  src: url(/assets/GalaxieCopernicus-SemiboldItalic-b209cb171451919575d37b45a599f7b20a2c230188a1cd2ecca87c91873b951c.woff2) format('woff2');
  font-weight: 700;
  font-style: italic;
  font-stretch: normal;
}

@font-face {
  font-family: 'Copernicus-Book';
  src: url(/assets/GalaxieCopernicus-Book-0ad583b9eb28dc50228b9615f6eb4dec630be6b9388296bbbf512798788c4b0e.otf) format('opentype');
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: 'Copernicus-Extrabold';
  src: url(/assets/GalaxieCopernicus-Extrabold-6b2403a177de7708d000fd5a5318bc1fff01479efe4f8b1b36a9473396ee07aa.otf) format('opentype');
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: 'Copernicus-Heavy';
  src: url(/assets/GalaxieCopernicus-Heavy-4568a9df231a4fb5ad24e544c5605f893d260abb21caa3789bbaf37ca2d1b92f.otf) format('opentype');
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
}



:root {
  --serif-font: 'Copernicus', 'Georgia', serif;
  --sans-serif-font: 'Lato', sans-serif;
  --almost-black: #2e2e2e;
  --danger: #901714;
  --red: #e23b37; /* on light surfaces */
  --red-accent: #b02a27;
  --red-bright: #fd433e; /* on the dark sidebar, where the darker red loses contrast */
  --grey-1: #ccc;
  --grey-2: #e8e8e8;
}

html {
  /* Absorb the scrollbar-width overhang of the full-bleed homepage cover
     without creating a scroll container (which would break position:sticky). */
  overflow-x: clip;
}

body {
  display: grid;
  grid-template-columns: 1fr 768px 1fr;
  grid-template-rows: repeat(4, auto);
  font-family: var(--serif-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: #171717;
  background-color: #f1f1f1;
  min-height: 100vh;
}

/* Printed-plate language: images sit on the page with the same solid offset
   block the profile photos have always used — no floaty blur shadows. */
main > img:not(.plate),
main p img:not(.plate) {
  box-shadow: 8px 8px 0 0 var(--almost-black);
}

/* Big images are plates: they bleed to the viewport's right edge like the
   homepage cover, turning the right margin into a live edge. No shadow —
   a plate meets the paper's edge cleanly. (.wide-pic gets the same widths in
   its own block later in this file.) */
img.plate {
  width: calc(50vw + 384px - 3em);
  max-width: none;
  height: auto;
  display: block;
  box-shadow: none;
}
@media (max-width: 940px) {
  /* on narrow screens plates go edge-to-edge, like the cover */
  img.plate {
    margin-left: -1em;
    width: calc(100% + 2em);
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--red-accent);
  outline-offset: 2px;
}
@media (max-width: 940px) {
  body {
    grid-template-columns: auto;
    grid-template-rows: repeat(4, auto);
  }
}

aside {
  grid-row: 1 / 5;
  grid-column: 1;
  background-color: var(--almost-black);
  padding: 0 1em 1em;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
}
@media (max-width: 940px) {
  aside {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(75vw, 300px);
    box-sizing: border-box;
    height: auto;
    padding: 1em 1.5em 2em;
    overflow-y: auto;
    z-index: 20;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }
  #nav-toggle:checked ~ aside {
    transform: translateX(0);
  }
}

/* Mobile nav drawer controls */
#nav-toggle,
.nav-toggle-button,
.nav-overlay {
  display: none;
}

@media (max-width: 940px) {
  /* A typographic toggle — a diamond in plaque ink to open, turning red to
     close. Over the homepage plaque the ink diamond disappears by design:
     like the desktop sidebar links, it only shows itself once you scroll
     down to the paper. The \FE0E variation selector forces text presentation
     so phones don't render the diamond as a colour emoji. */
  .nav-toggle-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0.6em;
    left: 0.6em;
    z-index: 30;
    width: 1.9em;
    height: 1.9em;
    border-radius: 50%;
    cursor: pointer;
    color: var(--almost-black);
    font-family: var(--serif-font);
    font-size: 1.7em;
    line-height: 1;
    text-align: center;
    /* replace the default blue tap flash with a round red one */
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle-button:active {
    background: rgba(226, 59, 55, 0.2);
  }
  .nav-toggle-button::before {
    content: '\2666\FE0E';
  }
  #nav-toggle:checked ~ .nav-toggle-button {
    color: var(--red);
  }
  .nav-toggle-button span {
    display: none;
  }
  #nav-toggle:checked ~ .nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 15;
  }
}

main {
  grid-column: 2;
  grid-row: 2;
  padding: 3em;
}
@media (max-width: 940px) {
  main {
    grid-column: 1;
    grid-row: 3;
    /* clear the fixed menu button, and give page titles air */
    padding: 4em 1em 0;
  }
  /* the homepage cover sits flush beneath the plaque */
  body.home main {
    padding-top: 0;
  }
}

footer {
  grid-column: 2;
  grid-row: 4;
  margin: 6em 3em;
  padding-top: 1em;
  border-top: 1px solid #c9c9c9;
  /* colophon treatment, echoing the sidebar contact */
  text-align: center;
  font-variant-caps: all-small-caps;
  font-variant-numeric: oldstyle-nums;
  letter-spacing: 0.06em;
  font-size: 0.9em;
}
@media (max-width: 940px) {
  footer {
    grid-column: 1;
    grid-row: 4;
    padding: 0;
    margin: 1em;
  }
}
/* On phones the footer wraps anyway — one part per line, no bullet. */
@media (max-width: 600px) {
  footer a {
    display: block;
  }
  .footer-sep {
    display: none;
  }
}

nav {
  position: sticky;
  top: 0; /* matches aside's top padding, so the nav never appears to move */
  display: flex;
  flex-direction: column;
  align-items: end;
  /* Fill the viewport so the contact block can sit at its foot; on screens
     too short for that, margin-top: auto collapses and it follows the links. */
  height: calc(100vh - 1em);
}
@media (max-width: 940px) {
  nav {
    position: static;
    flex-direction: column;
    height: auto;
  }
}

nav a {
  align-self: flex-end;
  padding: 0.45em 0.5em;
  margin-right: 10%;
  font-weight: 400;
  letter-spacing: 0.1em;
  font-style: italic;
  text-align: right;
  color: var(--red-bright);
}
nav a:hover {
  color: #ff7672;
}

/* On short screens, compress the sidebar so all links stay reachable. */
@media (min-width: 941px) and (max-height: 900px) {
  nav .side-logo {
    width: min(38%, 20% + 1em, 120px);
  }
  .side-contact {
    margin-bottom: 1em;
  }
  nav a {
    padding: 0.3em 0.5em;
  }
}

/* The college roundel at the top of the sidebar, doubling as a home link.
   Full sidebar width so its side padding equals the aside's top padding, and
   rendered as a CSS mask filled with currentColor for exact hover dimming. */
nav .side-logo {
  display: block;
  align-self: flex-end;
  /* Scales with the sidebar but never beyond twice the nav's right inset
     (10% + 0.5em, doubled) nor the size the book appears in the roundel
     (~120px) — so huge monitors don't get a huge book. */
  width: min(46%, 20% + 1em, 120px);
  aspect-ratio: 1 / 1;
  /* Right edge aligns with the nav links' text edge, and the VISUAL space
     above the ink equals the visual right gap: the artwork has 13.4%
     transparent padding at its top (6.16% of nav width at 46% box size) and
     the right side gains the aside's 1em padding, both compensated here. */
  margin: calc(3.84% + 0.5em) calc(10% + 0.5em) 0.75em 0;
  padding: 0;
  color: var(--grey-1);
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: right center;
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: right center;
}
nav .side-logo:hover {
  color: #a8a8a8;
}

/* Address and email at the foot of the viewport, on the links' right axis. */
.side-contact {
  align-self: flex-end;
  text-align: right;
  font-size: 0.68em;
  font-variant-caps: all-small-caps;
  font-variant-numeric: oldstyle-nums;
  letter-spacing: 0.08em;
  line-height: 1.8;
  white-space: nowrap;
  margin-top: auto;
  margin-right: calc(10% + 0.5em);
  margin-bottom: 0.5em;
}

@media (max-width: 940px) {
  .side-contact {
    margin-top: 2em;
  }
}

/* The homepage masthead carries the identity while it's in view; the whole
   sidebar fades in scroll-linked as you pass the plaque (opacity set by JS). */
body.home aside nav {
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 940px) {
  /* the mobile drawer is always fully visible */
  body.home aside nav {
    opacity: 1;
    visibility: visible;
  }
}
.side-contact a {
  color: #a8a8a8;
  /* undo the nav-link alignment rules; these are centered, not right-aligned */
  margin-right: 0;
  padding: 0;
  font-style: normal;
}
.side-contact a:hover {
  color: var(--grey-1);
}

nav a.current {
  color: #f1f1f1;
}

/* Pages whose content opens with a heading shouldn't inherit the heading's
   top margin or padding as dead space above the title. */
main > h1:first-child,
main > h2:first-child {
  margin-top: 0;
  padding-top: 0;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 3rem 0 1.38rem;
  font-family: var(--serif-font);
  font-weight: 700;
}

h1 {
  font-size: 5.06em;
  line-height: 1.27em;
  padding-top: 0.615em;
  margin-bottom: 0.0220em;
}

h2 {
  font-size: 3.8em;
  line-height: 1.12;
  padding-top: 0.74em;
  margin-bottom: 0.25em;
  text-wrap: balance;
}
/* Phones: the whole scale steps down — big type needs distance it hasn't got —
   and headings take the real Extrabold cut, one step heavier. */
@media (max-width: 800px) {
  body {
    font-size: 16px;
  }
  h1,
  h2,
  h3,
  h4,
  h5 {
    font-family: 'Copernicus-Extrabold', 'Copernicus', 'Georgia', serif;
    font-weight: 400;
  }
  h2 {
    font-size: 2.5em;
  }
  h3 {
    font-size: 2em;
  }
  .home-lede {
    font-size: 1.1em;
  }
}

h3 {
  font-size: 2.55em;
  line-height: 1.25;
  letter-spacing: 0.02em;
  padding-top: 1.07em;
  margin-bottom: 0.341em;
}

h4 {
  font-size: 1.50em;
  line-height: 1.07em;
  padding-top: 1.26em;
  margin-bottom: 0.889em;
}

h5 {
  font-size: 1.25em;
  line-height: 1.1em;
  padding-top: 1.25em;
  margin-bottom: 0.5em;
}

h6 {
  font-size: 1.125em;
  line-height: 1.1em;
  padding-top: 1.125em;
  margin-bottom: 0.5em;
}

table {
  border-collapse: collapse;
  border: 1px solid var(--grey-1);
  width: 100%;
  box-sizing: border-box;
}

thead:nth-child(odd),
tr:nth-child(even) {
  background-color: var(--grey-2);
}

td {
  max-width: 0px;
  padding: 4px;
}

th {
  max-width: 0px;
  padding: 4px;
  text-align: left;
  font-family: var(--sans-serif-font);
  font-weight: 700;
}
@media (max-width: 800px) {
  th {
    padding: 2px;
  }
}

p {
  font-size: 1em;
  line-height: 1.61em;
  padding-top: 0.444em;
  margin-bottom: 1.17em;
}

small,
.text_small {
  font-size: 0.75rem;
}

a {
  font-family: var(--serif-font);
  text-decoration: none;
  color: var(--red);
}

a:hover {
  color: var(--red-accent);
}

.section-link {
  font-family: 'Copernicus-Semi', 'Copernicus', 'Georgia', serif;
  font-size: 1.1em;
  font-family: var(--sans-serif-font);
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid;
  padding: 0.5em;
  color: var(--red);
  font-weight: 400;
  letter-spacing: 0.1em;
  font-style: inherit;
}

.section-link:hover {
  color: var(--red-accent);
}

img {
  max-width: 100%;
}

/* What's On TOC */
.events-toc {
  margin: 1em 0 2em;
}

.events-toc ul {
  list-style: none;
  padding-left: 0;
}

.events-toc li {
  margin: 0.5em 0;
}

.events-toc a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

.events-toc a:hover {
  color: var(--red-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.events-toc .toc-event-details {
  display: block;
  font-family: var(--sans-serif-font);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #555;
}

.events-toc .toc-event-title {
  display: block;
  font-weight: 700;
  color: #171717;
}

ul {
  list-style: initial;
}
@media (max-width: 800px) {
  ul {
    margin-left: 0;
  }
}

li {
  margin-bottom: 0.35em;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"] {
  width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--grey-1);
  box-sizing: border-box;
}

input[type="submit"] {
  cursor: pointer;
  font-family: var(--sans-serif-font);
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid;
  padding: 0.5em;
  color: var(--red);
  font-weight: 400;
  letter-spacing: 0.1em;
  background: none;
  white-space: normal;
}

input[type="select"]{
  font-family: var(--sans-serif-font);
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid;
  padding: 0.5em;
  color: var(--red);
  font-weight: 400;
  letter-spacing: 0.1em;
  background: none;
}

textarea {
  width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--grey-1);
  box-sizing: border-box;
}

/* Checkboxes in the print language: a small inked box that takes a red
   diamond when ticked, with clear air between the box and its label. */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.05em;
  height: 1.05em;
  border: 1px solid var(--almost-black);
  background-color: #fff;
  vertical-align: -0.15em;
  margin: 0 0.6em 0 0;
  cursor: pointer;
}
input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 1.2 8.8 5 5 8.8 1.2 5Z' fill='%23e23b37'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
.checkbox label {
  cursor: pointer;
}

label {
  font-weight: 700;
}

.form-group {
  margin-bottom: 16px;
}

.help-block {
  display: block;
  color: #737373;
}

.button-link {
  padding: 0.5em;
  border: 1px solid;
  background: #fff;
}

.alert {
  margin-bottom: 1em;
}

.alert-danger {
  color: var(--danger);
  font-weight: 700;
}

.profile {
  display: flex;
  padding-bottom: 1em;
  margin: 1em 0;
}
@media(max-width: 800px) {
  .profile {
    flex-direction: column;
  }
}

.profile-pic {
  flex: 0 0 160px;
  height: 200px;
  background-position: center;
  background-size: cover;
  box-shadow: 8px 8px 0px 0px var(--almost-black);
  margin-right: 0.5em;
}
@media (max-width: 800px) {
  .profile-pic {
    flex: 0 0 300px;
    margin-right: 0;
  }
}

@media (max-width: 800px) {
  .profile-text {
    margin-top: 1em;
  }
}

.profile-text p {
  margin-top: 0;
  margin-left: 1.5em;
  margin-bottom: 0;
}
@media (max-width: 800px) {
  .profile-text p {
    margin-left: 0;
  }
}

.profile-title {
  margin-bottom: 0;
}

.profile-subtitle {
  color: #737373;
  font-size: 1.3em;
}

.quote {
  font-style: italic;
}

.cohort {
  margin-bottom: 2.5em;
}

.cohort-heading {
  border-bottom: 1px solid var(--almost-black);
  padding-bottom: 0.2em;
  margin-bottom: 1em;
}
/* Linked cohort headings read as headings first, links on hover. */
.cohort-heading a {
  color: inherit;
}
.cohort-heading a:hover {
  color: var(--red);
}

.fellow-header {
  margin-bottom: 0.25em;
}

.fellow-name {
  font-weight: 700;
}

.fellow-bio {
  margin: 0;
}

.fellow-bio p {
  margin: 0;
  padding: 0;
}

.pill {
  display: inline-block;
  font-family: var(--sans-serif-font);
  font-size: 0.62em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15em 0.7em;
  border-radius: 1em;
  vertical-align: middle;
  margin-left: 0.6em;
  white-space: nowrap;
}

.pill-candidate {
  background: var(--grey-2);
  color: #555;
  border: 1px solid var(--grey-1);
}

.member {
  margin-bottom: 1em;
  display: grid;
  grid-template-columns: 120px auto;
}
@media (max-width: 600px) {
  .member {
    display: block;
    margin-top: 2em;
  }
}

.member img {
  object-fit: cover;
  width: 120px;
  height: 120px;
  box-shadow: 8px 8px 0px 0px #000;
}

.member-text {
  padding-left: 2em;
}
@media (max-width: 600px) {
  .member-text {
    padding-left: 0;
    margin-top: 1em;
  }
}

@media (max-width: 600px) {
  .member-text p {
    margin-left: 0;
  }
}

.wide-pic {
  /* plate width: bleeds to the viewport's right edge; height follows the
     original 672:200 proportions so wider never means a tighter crop */
  width: calc(50vw + 384px - 3em);
  height: auto;
  aspect-ratio: 672 / 200;
  background-color: var(--grey-1);
  background-position: center;
  background-size: cover;
  margin-bottom: 2em;
  margin-top: 1em;
  box-shadow: none;
}
@media (max-width: 940px) {
  .wide-pic {
    margin-left: -1em;
    width: calc(100% + 2em);
  }
}

/* The homepage opens with the front door as a cover, title carved on it.
   Bleeds from the sidebar's right edge to the right edge of the viewport,
   keeping the original wide-pic aspect ratio (672:200). */
.wide-pic.home-cover {
  margin-top: -3em;
  margin-left: -3em;
  margin-bottom: 3em; /* paper shows between cover and plaque */
  width: calc(50vw + 384px);
  height: auto;
  aspect-ratio: 672 / 200;
  max-height: 60vh;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  background: none;
}
/* The image is 40% taller than its window and anchored to the bottom; the
   scroll handler translates it downward (slower than the page) so the door
   lags behind — parallax without background-attachment jank. */
/* Static crop matching what was the top-of-page parallax framing. */
.wide-pic.home-cover img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center 0%;
  box-shadow: none;
}
@media (max-width: 940px) {
  .wide-pic.home-cover {
    margin-top: 0;
    margin-left: -1em;
    width: calc(100% + 2em);
  }
}

/* Embedded external forms (e.g. the feedback Google Form) — page chrome is
   ours even though the form's innards keep Google's styling. */
.embedded-form {
  width: 100%;
  height: 1300px;
  border: none;
  margin: 1em 0;
  background: transparent;
}

/* The plaque: a full-viewport-width charcoal band above everything — roundel
   on the left third, the opening statement on the right two-thirds. */
body.home {
  display: block;
}
.home-plaque {
  background: var(--almost-black);
  color: #f1f1f1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 3em;
  padding: 5.25em 7vw;
}
/* The roundel as a mask, so it takes the site's paper-grey rather than the
   artwork's pure white — pure white doesn't exist on this site. */
.plaque-roundel {
  width: min(100%, 280px);
  aspect-ratio: 1 / 1;
  justify-self: center;
  background-color: var(--grey-2);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
}

/* The opening statement — supporting voice beside the emblem. */
.home-lede {
  font-family: 'Copernicus-Book', 'Copernicus', 'Georgia', serif;
  font-size: 1.25em;
  line-height: 1.65;
  max-width: 30em;
  margin: 0;
}

.plaque-text {
  padding: 0 2em;
}

/* Letterhead line: where to find us, quiet beneath the statement. */
.plaque-contact {
  margin: 1.25em 0 0;
  font-variant-caps: all-small-caps;
  font-variant-numeric: oldstyle-nums;
  letter-spacing: 0.08em;
  color: #a8a8a8;
}
.plaque-contact a {
  color: #a8a8a8;
}
.plaque-contact a:hover {
  color: var(--grey-1);
}
/* When the contact line wraps (narrow screens), each part takes its own line
   and the bullet separator disappears. */
@media (max-width: 940px) {
  .plaque-contact a {
    display: block;
  }
  .plaque-contact-sep {
    display: none;
  }
}

/* Below the plaque, the homepage resumes the standard sidebar grid. */
.home-columns {
  display: grid;
  grid-template-columns: 1fr 768px 1fr;
}
@media (max-width: 940px) {
  .home-plaque {
    grid-template-columns: 1fr;
    gap: 1.5em;
    padding: 2.5em 1.5em;
    text-align: center;
  }
  .plaque-roundel {
    width: min(88%, 340px);
  }
  .plaque-text {
    padding: 0 0.5em;
  }
  .home-lede {
    margin: 0 auto;
  }
  .home-columns {
    display: block;
  }
}

.event {
  border-left: 1px solid var(--almost-black);
  padding-left: 1em;
  margin-bottom: 3em;
  /* breathing room above the heading when arriving via #event-N anchors */
  scroll-margin-top: 2em;
}
/* The events archive renders ~1,700 events in one document; let the browser
   skip layout/paint for the ones off-screen instead of choking on them.
   Scoped to the archive: on short lists the size estimation causes scroll
   jumps (e.g. a blank void when jumping to the end of the homepage). */
#archive .event {
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

.event-search {
  margin: 1em 0 2em;
}
.event-search input[type='search'] {
  font: inherit;
  width: 100%;
  max-width: 28em;
  padding: 0.5em 0.75em;
  border: 1px solid var(--almost-black);
  background: transparent;
  color: inherit;
}
.event-search-count {
  display: block;
  margin-top: 0.5em;
  font-family: var(--sans-serif-font);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85em;
}
@media (max-width: 600px) {
  .event {
    word-break: break-word;
  }
}

.event-details {
  display: inline-block;
  font-family: var(--sans-serif-font);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.1em;
  /* dates are information, not actions — keep red for links */
  color: #4a4a4a;
}

.event-title {
  font-weight: 700;
  font-size: 1.31em;
  line-height: 1.43em;
}

.event-host {
  font-style: italic;
}

.no-topping {
  padding-top: 0;
  margin-top: 0;
}

.event-actions {
  margin-top: 1em;
}


details summary > * {
  display: inline;
}

details summary { 
  cursor: pointer;
}

summary::marker {
  color: #fd433e;
  font-size: 36.48px;
}

summary::-webkit-details-marker {
   color: #fd433e;
   font-size: 36.48px;
}

summary {
  padding: 50px 0px 0px 10px;
  border-radius: 5px;
}
