/* Rooms: destination pages that open on a Blender close-up ("plate") of their object in the night office.
   Five rooms: /awards (trophy), /publications (manuscript), /contact (telephone), /courses (robot arm), /projects
   (Reaper). Plates and swatches are rendered by blender/plate.py and blender/swatch.py; DESIGN.md records the
   system and .impeccable/surfaces/<room>.md each room's direction and asset provenance. */

/* Engraved lettering: Cinzel (SIL OFL 1.1, public/fonts/cinzel/OFL.txt), self-hosted for the CSP. */
@font-face { font-family: "Cinzel"; src: url("/fonts/cinzel/cinzel-latin.woff2?v=09941fb1c169") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel"; src: url("/fonts/cinzel/cinzel-latin-ext.woff2?v=8fc2606f8ae6") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Book face: EB Garamond (SIL OFL 1.1, public/fonts/eb-garamond/OFL.txt), self-hosted for the CSP. */
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond/eb-garamond-roman-latin.woff2?v=88603384163d") format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond/eb-garamond-roman-latin-ext.woff2?v=f8d3fa06e209") format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond/eb-garamond-italic-latin.woff2?v=c664773f7e1d") format("woff2"); font-style: italic; font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond/eb-garamond-italic-latin-ext.woff2?v=fa866520f8b7") format("woff2"); font-style: italic; font-weight: 400 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Award titles: Cinzel letters with EB Garamond figures, because Cinzel's "1" reads as a capital I ("1st"). */
@font-face { font-family: "Cinzel Words"; src: url("/fonts/cinzel/cinzel-latin.woff2?v=09941fb1c169") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-002F, U+003A-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel Words"; src: url("/fonts/cinzel/cinzel-latin-ext.woff2?v=8fc2606f8ae6") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2C60-2C7F, U+A720-A7FF; }

/* The plate height is mirrored in app.js (roomPlateHeight) so the zoom lands where the plate paints. */
.room-plate {
  position: relative;
  height: clamp(300px, 56vh, 600px);
  overflow: hidden;
  background: #120c08 none 50% 42% / cover no-repeat;
}
/* ~200-byte blurred previews of each plate: they paint before the plate downloads */
.room-plate--trophy { background-image: url("data:image/webp;base64,UklGRp4AAABXRUJQVlA4IJIAAABwBACdASogABIAPu1irVAppSQisBgIATAdiWMAw62MbVfaB1C4xVni0aLUgAD+9cf1QmUztTFIpH/+I+B5hxVg3CZHqQwU8jo9f/RE6fpsIMcGFh0DpxFuHH6tRJL1Ae1vFIxZcV215G7TqAXiBkRyfnUbg5qxCgNTXAADh0KYntQpieGUWA7/ZTC4se7JuUAAAA=="); }
.room-plate--manuscript { background-image: url("data:image/webp;base64,UklGRroAAABXRUJQVlA4IK4AAACwBQCdASogABIAPu1mq0+ppaOiMBgIATAdiWMArh8uWqksPBVYmU17krWsV4b+UGYskJVEaAAA/vV4Qo+49449hk8A5D05LPejuOqD6/6PbzvYL9wZloyCFwteuP+XJOhJiN841ovMX4FJgpChlOgflqOQDCWMSSQs190jFSoQmrrc+pziIW1zIvKBtaZP3rZBGRbN+Oj9+qCkONUxre4OkVYUj7KhRO2FvnWAAAA="); }
.room-plate--phone { background-image: url("data:image/webp;base64,UklGRrAAAABXRUJQVlA4IKQAAABQBQCdASogABIAPu1kqU2ppaQiMAgBMB2JZQDLLYyo3Bkf/ILOfYOszUqWsXxneeyGyEwA/uXbZMfn7xVO/kbMsO+xXI5cmskrXrY+ih7LJsPhCoWsktfNq8GAD0/JBcxwA5qCbkSPL/5HNvI+BOyVFN+lA0HBnVEonkn1EuHsl9PpyzbgurFQ2/r5EfbgCyouB9Pd4zyEL1nUe9k9z4QUNgAAAA=="); }
.room-plate--arm { background-image: url("data:image/webp;base64,UklGRqoAAABXRUJQVlA4IJ4AAACwBACdASogABIAPuVepU2pJSOiMAwBIByJZVefWVuUfQeCL5LdtTW4VPuQdkhAAP7wW1yuU5Wvm1dalqgrVON3WDs7NW4krqFCrOu0xLk/qC8czh+Xdg54yOt2d7Glzkt2+aXbRwNKB7M0WyvrcjwKSoCCEOhpRHI/tkJSaabNGsuGZYExG49AEuOXgzgQZ+llnlCEZtnOMjpnZ6QAAA=="); }
.room-plate--arm-book { background-image: url("data:image/webp;base64,UklGRrgAAABXRUJQVlA4IKwAAACQBACdASogABIAPsVSo0unpKOhsAwA8BiJZTuAHpqGfzpV+IIpcRowu/IHjQAA/vEPgeX4eTCAXAGAzsoC1Y+a4xJ8eCqjJjUi+p2076Xl1L4KlbBotVaafRyovyGSK8xxRyFLSzKSzpjEuYiI1Gvo4/urHidSlP6dIe8QCvx8r5ODzFR5II6JePUM5Ydb/yZvLUry8B1enEf0PVp4DgK2JmLf4jSs/HtMAAAA"); }
.room-plate--reaper { background-image: url("data:image/webp;base64,UklGRrwAAABXRUJQVlA4ILAAAAAQBQCdASogABIAPu1qrlCppaQiqAqpMB2JYwC1CTuEZ9G/KrBI3H0eWiq6nWMwfqswAM3TsIK3Pii9wcTAjTL0iF2RqmVzZmCfQRMepwmumL1eFxGBUt0nscYqJdxofr5JOf9YBPZA11cQrNVedhlyFFyE61426L4nca27l7ZCnjTP3se3Fe3ws0SXgn4Pr4HOQ8J6WV8RqgVMsU1IH2uUkSdQbIiPntSUyAA8ux5AAA=="); }
.room-plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
}
.room-plate::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(rgba(18, 12, 8, 0), #120c08);
}

.room { position: relative; }
/* The way back to the office sits on the plate's top-left, aligned with the page column. */
.room-back-bar { position: absolute; top: 1.25rem; left: 0; right: 0; z-index: 2; pointer-events: none; }
.room-back {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem .5rem .75rem;
  font: 600 .875rem/1.2 "Segoe UI", Arial, sans-serif;
  color: #f1d29b;
  text-decoration: none;
  background: rgba(12, 8, 6, .72);
  border: 1px solid rgba(217, 182, 121, .45);
  border-radius: 999px;
  transition: background-color .15s ease, border-color .15s ease;
}
.room-back:hover { background: rgba(12, 8, 6, .9); border-color: #e3c27f; }
.room-back:focus-visible { outline: 2px solid #f1d29b; outline-offset: 3px; }
.room-head {
  position: relative;
  z-index: 1;
  margin-top: -7.25rem;
  padding-bottom: 1.75rem;
}
body.public-site .room-head h1 {
  font: 600 clamp(2.5rem, 4.6vw, 3.75rem) / 1 Cinzel, "EB Garamond", Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #e3c27f;
  margin: 0;
}
body.public-site .room-head p {
  margin: .75rem 0 0;
  color: #c9b99c;
  font-size: 1rem;
}

.room-desk {
  display: grid;
  gap: 1.75rem;
  align-items: start;
  padding-bottom: 5rem;
}
.room-desk.has-photos { grid-template-columns: minmax(0, 1fr) minmax(240px, 330px); }

/* The honours board: one walnut board (rendered swatch, repeats down any number of rows), gilt lettering. */
.honours-board {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 1.75rem 3.5rem 1.25rem;
  background: #2c1a10 url("/rooms/walnut-board.webp?v=4a042bd66c7e") 0 0 / 100% auto repeat-y;
  font-variant-numeric: lining-nums tabular-nums;
}
.honours-board::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(217, 182, 121, .45);
  pointer-events: none;
}
.honours-board li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: .95rem 0;
  border-bottom: 1px solid rgba(217, 182, 121, .2);
}
.honours-board li:last-child { border-bottom: 0; }
.honours-year {
  font: 600 1.375rem/1.3 Cinzel, "EB Garamond", Georgia, "Times New Roman", serif;
  letter-spacing: .06em;
  color: #e3c27f;
}
body.public-site .honours-board h2 {
  font: 500 1.375rem/1.3 "Cinzel Words", "EB Garamond", Georgia, "Times New Roman", serif;
  letter-spacing: .03em;
  color: #f1d29b;
  margin: 0;
  text-wrap: balance;
}
body.public-site .honours-board p {
  margin: .2rem 0 0;
  font-size: .9375rem;
  color: #d8c6a4;
}
body.public-site .honours-board .honours-empty {
  grid-template-columns: 1fr;
  color: #d8c6a4;
}

/* Photos stand in a column beside the board, each captioned with its award. */
.honours-photos {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.honours-photos figure { margin: 0; }
.honours-photos a {
  display: block;
  border: 1px solid rgba(217, 182, 121, .45);
  background: #2c1a10;
}
.honours-photos a:focus-visible { outline: 2px solid #f1d29b; outline-offset: 3px; }
.honours-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.honours-photos .crop-portrait img { aspect-ratio: 4 / 5; }
.honours-photos .crop-square img { aspect-ratio: 1; }
.honours-photos .crop-original img { aspect-ratio: auto; }
body.public-site .honours-photos figcaption {
  margin-top: .5rem;
  font-size: .875rem;
  line-height: 1.45;
  color: #d8c6a4;
}

/* Publications: the papers hang off a gilt rule of years (the fountain pen's gold), newest first. */
.year-spine {
  --spine-col: 9.5rem;
  --spine-gap: 3rem;
  position: relative;
}
.year-spine::before {
  content: "";
  position: absolute;
  top: .5rem;
  bottom: 0;
  left: calc(var(--spine-col) + var(--spine-gap) / 2);
  width: 1px;
  background: linear-gradient(#c9a46a, rgba(201, 164, 106, .3));
}
.spine-year {
  display: grid;
  grid-template-columns: var(--spine-col) minmax(0, 1fr);
  gap: 0 var(--spine-gap);
}
body.public-site .spine-year h2 {
  font: 600 2.5rem/1 Cinzel, "EB Garamond", Georgia, "Times New Roman", serif;
  letter-spacing: .06em;
  color: #e3c27f;
  text-align: right;
  padding-top: 1.45rem;
  margin: 0;
}
.spine-year ol { list-style: none; margin: 0; padding: 0; }
.spine-year li {
  position: relative;
  max-width: 52rem;
  padding: 1.4rem 0 1.5rem;
  border-bottom: 1px solid rgba(217, 182, 121, .16);
}
.spine-year li::before {
  content: "";
  position: absolute;
  left: calc(var(--spine-gap) / -2 - 4.5px);
  top: calc(1.4rem + .975rem - 4.5px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f1d29b;
  box-shadow: 0 0 0 4px #120c08;
}
body.public-site .spine-year h3 {
  font: 400 1.5rem/1.3 "EB Garamond", Georgia, "Times New Roman", serif;
  color: #f3ece0;
  margin: 0;
  max-width: 40ch;
  text-wrap: balance;
}
body.public-site .spine-year h3 a { color: inherit; text-decoration: underline; text-decoration-color: rgba(227, 194, 127, .5); text-underline-offset: .2em; }
body.public-site .spine-year h3 a:hover { text-decoration-color: #e3c27f; }
body.public-site .spine-year h3 a:focus-visible { outline: 2px solid #f1d29b; outline-offset: 3px; }
body.public-site .spine-authors { margin: .65rem 0 0; font-size: .9375rem; line-height: 1.55; color: #cbbda4; }
.spine-authors b { color: #f1d29b; font-weight: 700; }
body.public-site .spine-venue { margin: .3rem 0 0; font: italic 1rem/1.5 "EB Garamond", Georgia, "Times New Roman", serif; color: #d8c6a4; }
.spine-type {
  margin-right: .7em;
  font: normal 600 .75rem/1 "Segoe UI", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c9a46a;
  vertical-align: .1em;
}
body.public-site .spine-empty { margin: 1.5rem 0 0 calc(var(--spine-col) + var(--spine-gap)); color: #d8c6a4; }
.room ::selection { background: rgba(227, 194, 127, .35); color: #fff8ec; }

/* Connect: a cream calling card (flat paper, gilt hairline) with how to write beside it. */
.calling {
  display: grid;
  grid-template-columns: minmax(0, 34rem) minmax(0, 1fr);
  gap: 4.5rem;
  align-items: start;
}
.calling-card {
  background: #ece4d6;
  color: #22170f;
  padding: 2.75rem 3rem 2.5rem;
  outline: 1px solid #c9a46a;
  outline-offset: -12px;
}
body.public-site .calling-card h2 {
  font: 600 1.875rem/1.1 Cinzel, "EB Garamond", Georgia, "Times New Roman", serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #22170f;
  margin: 0;
}
body.public-site .calling-title { margin: .6rem 0 0; font: italic 1rem/1.45 "EB Garamond", Georgia, "Times New Roman", serif; color: #4a3a2a; }
.calling-lines { margin: 2.25rem 0 0; display: grid; gap: .55rem; }
.calling-lines div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: baseline; }
.calling-lines dt { font: 600 .75rem/1.4 "Segoe UI", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #6b5236; }
.calling-lines dd { margin: 0; font: 1.0625rem/1.5 "EB Garamond", Georgia, "Times New Roman", serif; color: #22170f; overflow-wrap: anywhere; }
.calling-lines a { color: #22170f; text-decoration: underline; text-decoration-color: rgba(34, 23, 15, .35); text-underline-offset: .2em; }
.calling-lines a:hover { text-decoration-color: #22170f; }
.calling-lines a:focus-visible { outline: 2px solid #6b5236; outline-offset: 2px; }
body.public-site .calling-how h2 { font: 400 1.75rem/1.25 "EB Garamond", Georgia, "Times New Roman", serif; letter-spacing: 0; color: #f3ece0; margin: 0; }
body.public-site .calling-how p { margin: .9rem 0 0; color: #cbbda4; max-width: 60ch; }
body.public-site .calling-how .calling-subject {
  margin-top: 1.5rem;
  padding: .9rem 0;
  border-block: 1px solid rgba(217, 182, 121, .3);
}
.calling-subject code { display: block; margin-top: .35rem; font: italic 1.0625rem/1.5 "EB Garamond", Georgia, "Times New Roman", serif; color: #f3ece0; }
.calling-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .9rem 1.75rem; align-items: center; }
.calling-actions a {
  font: 600 .875rem/1.4 "Segoe UI", Arial, sans-serif;
  color: #f1d29b;
  text-decoration: none;
  border-bottom: 1px solid rgba(241, 210, 155, .5);
  padding: .2rem 0;
}
.calling-actions a:hover { border-bottom-color: #f1d29b; }
.calling-actions button {
  font: 600 .875rem/1.4 "Segoe UI", Arial, sans-serif;
  color: #1a110c;
  background: #e3c27f;
  border: 0;
  padding: .7rem 1.2rem;
  cursor: pointer;
}
.calling-actions button:hover { background: #f1d29b; }
.calling-actions :focus-visible { outline: 2px solid #f1d29b; outline-offset: 3px; }
body.public-site .calling-how .calling-note { font-size: .875rem; color: #b3a68f; }
/* Owner-edited rich text inside a room reads at the room's body size, not the site's smaller rich-text size. */
body.public-site .room .rich-content,
body.public-site .room .rich-content p { font-size: 1rem; line-height: 1.65; color: #cbbda4; }
body.public-site .room .rich-content p { margin: .9rem 0 0; max-width: 60ch; }

/* Teaching: one ruled shelf line per course. */
.room-desk--ledger { padding-bottom: 2.5rem; }
.shelf-ledger { border-top: 1px solid rgba(217, 182, 121, .45); }
.ledger-line {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) 12rem 10rem;
  gap: 2rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(217, 182, 121, .2);
  color: inherit;
  text-decoration: none;
}
.ledger-line:focus-visible { outline: 2px solid #f1d29b; outline-offset: 4px; }
.ledger-code { font: 600 1.375rem/1 Cinzel, "EB Garamond", Georgia, "Times New Roman", serif; letter-spacing: .06em; color: #e3c27f; }
body.public-site .ledger-main h2 { font: 400 1.4375rem/1.3 "EB Garamond", Georgia, "Times New Roman", serif; letter-spacing: 0; color: #f3ece0; margin: 0; transition: color .15s ease; }
body.public-site .ledger-line:hover .ledger-main h2 { color: #f1d29b; }
body.public-site .ledger-main p { margin: .4rem 0 0; color: #cbbda4; max-width: 60ch; }
.ledger-subject { font: italic 1rem/1.4 "EB Garamond", Georgia, "Times New Roman", serif; color: #d8c6a4; }
.ledger-status { font: 600 .75rem/1.4 "Segoe UI", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #c9a46a; text-align: right; }
.ledger-status.is-current { color: #f1d29b; }

/* Projects: exhibit placards, the line drawing in gilt opposite the text, sides alternating. */
.room-desk--placards .filter-tabs { margin-bottom: 1rem; }
.placard {
  display: grid;
  grid-template-columns: minmax(0, 31rem) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
  padding: 2.25rem 0;
  border-bottom: 1px solid rgba(217, 182, 121, .18);
}
.placard:nth-child(2n) { grid-template-columns: minmax(0, 1fr) minmax(0, 31rem); }
.placard:nth-child(2n) > :first-child { order: 2; }
.placard-drawing { display: block; width: 100%; height: auto; color: #c9a46a; stroke-width: 1.5; }
.placard .placard-cover { margin: 0; }
/* A project with no cover picture is a text placard: one column, no empty art box. */
.placard.placard--text, .placard.placard--text:nth-child(2n) { grid-template-columns: minmax(0, 1fr); }
.placard--text .placard-text { max-width: 46rem; }
.placard .placard-cover img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid rgba(217, 182, 121, .45); }
body.public-site .placard h2 { font: 400 1.875rem/1.2 "EB Garamond", Georgia, "Times New Roman", serif; letter-spacing: 0; color: #f3ece0; margin: 0; }
.placard h2 a { color: inherit; text-decoration: none; }
.placard h2 a:hover { text-decoration: underline; text-decoration-color: #e3c27f; text-underline-offset: .2em; }
.placard h2 a:focus-visible { outline: 2px solid #f1d29b; outline-offset: 3px; }
body.public-site .placard-sub { margin: .4rem 0 0; font: italic 1.125rem/1.45 "EB Garamond", Georgia, "Times New Roman", serif; color: #d8c6a4; }
body.public-site .placard-text p:not([class]) { margin: .9rem 0 0; color: #cbbda4; max-width: 58ch; }
body.public-site .placard-meta { margin: .9rem 0 0; font-size: .875rem; color: #b3a68f; }
body.public-site .room-empty { color: #d8c6a4; }

@media (max-width: 860px) {
  .room-desk.has-photos { grid-template-columns: 1fr; }
  .honours-photos { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .calling { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .ledger-line { grid-template-columns: 7rem minmax(0, 1fr); row-gap: .35rem; }
  .ledger-subject, .ledger-status { grid-column: 2; text-align: left; }
  .placard, .placard:nth-child(2n) { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .placard:nth-child(2n) > :first-child { order: 0; }
  .placard-drawing, .placard .placard-cover { max-width: 22rem; }
}
@media (max-width: 700px) {
  .room-plate { height: min(112vw, 68vh); }
  .room-plate img { object-position: 50% 38%; }
  .room-head { margin-top: -5.5rem; }
  /* Long room names (PUBLICATIONS) must fit a 320px phone on one line. */
  body.public-site .room-head h1 { font-size: min(2.5rem, 7.6vw); letter-spacing: .12em; }
  .honours-board { padding: 1.25rem 1.5rem 1rem; }
  .honours-board::before { inset: 8px; }
  .honours-board li { grid-template-columns: 3.75rem minmax(0, 1fr); gap: .9rem; }
  .honours-year { font-size: 1.125rem; }
  body.public-site .honours-board h2 { font-size: 1.1875rem; }
  .year-spine { --spine-gap: 1.5rem; }
  .year-spine::before { left: 0; }
  .spine-year { grid-template-columns: minmax(0, 1fr); }
  body.public-site .spine-year h2 { text-align: left; padding: 1.75rem 0 0 var(--spine-gap); font-size: 1.875rem; }
  .spine-year li { padding-left: var(--spine-gap); }
  .calling-card { padding: 2rem 1.6rem 1.75rem; }
  .ledger-line { grid-template-columns: minmax(0, 1fr); }
  .ledger-subject, .ledger-status { grid-column: 1; }
  .spine-year li::before { left: -4.5px; top: calc(1.4rem + .8125rem - 4.5px); }
  body.public-site .spine-year h3 { font-size: 1.25rem; }
  body.public-site .spine-empty { margin-left: var(--spine-gap); }
}

/* Entering a room from the scene: the scene's chrome fades while its view zooms into the object. */
.home-scene.is-entering { overflow: hidden; }
/* The stage is wider than the view (cover crop): while zooming, show that cropped scene instead of the black beyond
   the view's edge. The scene itself still clips at the window. */
.home-scene.is-zooming .night-office__view { overflow: visible; }
/* On phones the scene is only as tall as its square band, so the zoomed stage also spills downward over the
   page beneath, which hides (keeping its space, so nothing reflows) instead of showing through. */
.home-scene.is-zooming,
.home-scene.is-zooming .night-office { overflow: clip visible; }
.home-scene.is-zooming ~ * { visibility: hidden; }
.home-scene.is-entering .night-office__nav,
.home-scene.is-entering .night-office__title,
.home-scene.is-entering .night-office__controls,
.home-scene.is-entering .night-office .night-office__hot-label { opacity: 0; transition: opacity .2s ease; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .2s; }

/* Type floor: nothing on the public site renders under 12px (critique P2). styles.css is shared with the
   Studio, so the floor lives here, in the public-only sheet, scoped to the exact places that measured
   under 12px, so larger uses of the same classes elsewhere keep their size. */
html body.public-site :is(
  .night-office__name, .night-office__motion span, .night-office__sound span, .night-office-after__eyebrow,
  .brand small, .site-footer :is(p, span, a):not(.footer-name, .footer-name *), .resource-row small,
  .hero-buttons .text-link, .section-heading .text-link, .education-card small, .education-posts .eyebrow,
  .timeline-date, .filter-tab, .filter-tab span, .contact-banner .button, .consultation-card .button, .tag,
  .sidebar-panel .eyebrow, .sidebar-panel .small-muted, .sidebar-panel dt, .project-detail dt, dl dt,
  .sidebar-help p, .guide-filter, .guide-filter span, .guide-help p,
  .aviation-topline span, .aviation-axis, .aviation-caption span, .aircraft-selector button, .aviation-actions a,
  .aviation-motion-controls button, .research-interests .eyebrow, .visual-index, .project-meta, .project-meta span,
  .content-section .small-muted, .consultation-card .rich-content p, .consult-detail span span, .consult-detail small
) { font-size: 12px; }

/* Banner headings inside a room read in the book face, like the room's own titles. */
body.public-site .room .contact-banner h2 { font-family: "EB Garamond", Georgia, "Times New Roman", serif; }
