/* Responsive website composition using papercut-primitives.css.
   Layout adaptations: natural document flow, readable body copy and mobile stacking. */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 500 17px/1.55 var(--display);
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../papercut/textures/grain.svg") repeat;
  background-size: 300px;
  opacity: 0.2;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 20;
}
a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--pink-text);
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: 0;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--pink-text);
  outline-offset: 5px;
}
::selection {
  background: var(--text);
  color: var(--paper);
}
img,
video {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  padding: 12px 20px;
  z-index: 100;
  background: var(--sheet);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.mono {
  font: 700 12px/1.4 var(--mono);
  letter-spacing: 0.09em;
}
.paper {
  position: relative;
  isolation: isolate;
}
.masthead {
  max-width: 1280px;
  height: 68px;
  margin: auto;
  padding: 0 64px;
  display: flex;
  align-items: center;
  gap: 36px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: transform 220ms ease-out, box-shadow 220ms ease-out;
}
.masthead.is-scrolled {
  box-shadow: 0 4px 0 #075b840c;
}
.masthead.is-hidden:not(:has(:focus-visible)) {
  transform: translateY(calc(-100% - 6px));
}
.wordmark {
  font-size: 36px;
  text-decoration: none;
  line-height: 1;
}
.wordmark .riso {
  display: inline-block;
  letter-spacing: -0.01em;
  line-height: 1.2;
  --ink-x: 1.5px;
  --ink-y: -1px;
}
nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
nav a {
  position: relative;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
nav a:hover::after,
nav a[aria-current]::after {
  transform: scaleX(1);
}
.site-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid transparent;
  font-size: 16px;
}
.tool:hover {
  border-color: var(--rule);
}
.github-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--text);
  background: var(--sheet);
  text-decoration: none;
  font: 700 13px var(--mono);
  box-shadow: 3px 3px 0 var(--pink);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.github-link {
  padding: 10px 13px;
  white-space: nowrap;
}
.github-link:hover {
  color: var(--text);
  box-shadow: 5px 5px 0 var(--pink);
  transform: translate(-1px, -1px);
}
.github-link:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--pink);
}
main,
.footer {
  max-width: 1280px;
  margin: auto;
}
.cover {
  padding: 36px 64px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  column-gap: 36px;
  align-items: center;
  min-height: 0;
}
.cover h1 {
  font-size: clamp(100px, 12.5vw, 164px);
  font-weight: 800;
  line-height: 1;
  width: max-content;
  margin: 0 0 22px -4px;
  white-space: nowrap;
}
h1 .riso {
  display: block;
  line-height: 1;
  --ink-x: 6px;
  --ink-y: -4px;
}
.research-statement {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 440px;
}
.research-statement strong {
  font-weight: 750;
}

.portrait-collage {
  position: relative;
  min-height: 350px;
}
.halftone-disc {
  position: absolute;
  top: 0;
  right: 0;
  width: 360px;
  height: auto;
  max-width: none;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.portrait-print {
  width: 280px;
  padding: 13px 13px 10px;
  margin: 22px auto 0;
  --paper-rotation: 3deg;
}
.portrait-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--blue);
  overflow: hidden;
}
.portrait-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: screen;
}
.portrait-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, var(--blue) 0.6px, transparent 0.85px) 0
    0/3px 3px;
  mix-blend-mode: multiply;
  opacity: 0.4;
  pointer-events: none;
}

.bio-line {
  margin-top: 18px;
  max-width: 470px;
}
.bio-line p {
  max-width: 850px;
  font-size: 16px;
  line-height: 1.7;
}
.cut-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  border-top: 2px dashed var(--pink);
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.cut-line svg {
  position: absolute;
  left: 64px;
  top: -13px;
  width: 40px;
  height: 25px;
  fill: none;
  stroke: var(--pink);
  stroke-width: 3;
  stroke-linecap: round;
  background: var(--paper);
}
.section {
  padding: 40px 64px 24px;
}
.section-top {
  margin-bottom: 28px;
}
.section-top h2 {
  font-size: 64px;
  width: max-content;
  scroll-margin-top: 0;
}
.news-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
/* Selected B: upstream Workshop Ticket date column and perforation. */
.news-scrap {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  --paper-rotation: 0deg;
}
.news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 5px 0 5px 5px;
  border-right: 2px dashed var(--blue);
  color: var(--pink-text);
  font: 700 13px/1.4 var(--mono);
  letter-spacing: .06em;
}
.news-date b {
  font: 800 42px/1 var(--display);
  letter-spacing: -.04em;
}
.news-date small {
  font: 700 11px/1.4 var(--mono);
}
.news-scrap--hot .news-date {
  background: var(--pink-text);
  color: var(--sheet);
  border-right-color: var(--paper);
}
.news-copy {
  min-width: 0;
  padding: 24px;
}
.news-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.news-heading h3 {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.news-heading img {
  flex: 0 0 80px;
  width: 80px;
  height: 32px;
  object-fit: contain;
  object-position: right;
}
.news-result {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 750;
  margin-bottom: 8px;
}
.news-detail {
  font-size: 16px;
  line-height: 1.55;
}
.experience {
  padding-top: 44px;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.intern-ticket {
  --paper-rotation: -0.8deg;
  --badge-ink: var(--blue);
}
.intern-ticket .badge-band {
  height: 42px;
}
.intern-ticket--slai {
  --paper-rotation: 0.8deg;
  --badge-ink: #a8386d;
  --ticket-ink: #943260;
  color: var(--ticket-ink);
}
.ticket-body {
  padding: 16px 24px 22px;
}
.ticket-strip {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  font-size: 13px;
  letter-spacing: 0.025em;
  margin-bottom: 16px;
}
.institution-heading {
  margin: 0 0 16px;
}
.institution-logo {
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left;
  mix-blend-mode: multiply;
}
.ticket-advisor {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 18px;
}
.ticket-advisor .mono {
  font-size: 12px;
}
.ticket-advisor a {
  font-size: 16px;
  font-weight: 550;
}
.intern-ticket--slai a:hover {
  color: #702047;
}
.projects {
  padding-top: 44px;
  padding-bottom: 36px;
}
.project-list {
  display: grid;
  gap: 36px;
}
.project {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 0;
}
.project:last-child {
  border: 0;
  padding-bottom: 0;
}
.project-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas: "media stamp" "media info";
  grid-template-rows: auto 1fr;
  gap: 0 36px;
  align-items: start;
}
.project-media {
  grid-area: media;
  padding: 12px;
  --paper-rotation: -1deg;
}
.media-frame {
  aspect-ratio: 16/9;
  display: grid;
  align-items: center;
  background: var(--sheet);
  overflow: hidden;
}
.media-frame > picture,
.media-frame > picture > img,
.media-frame > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.media-frame video {
  background: #10212a;
}
.media-frame.is-expandable {
  cursor: zoom-in;
}
.project-media figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 4px 4px;
  font: 400 12px/1.4 var(--mono);
}
.media-caption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.media-caption h3 {
  font: 750 26px/1.2 var(--display);
  letter-spacing: -0.025em;
}
.expand-media {
  border: 0;
  background: none;
  padding: 6px 0 6px 12px;
  font: 700 12px var(--mono);
  white-space: nowrap;
}
.expand-media:hover {
  text-decoration: underline;
}
.media-error {
  font-size: 14px;
  padding: 12px;
}
.project-info {
  grid-area: info;
  padding-top: 4px;
  min-width: 0;
}
.project-stamp {
  grid-area: stamp;
  justify-self: start;
  margin: 3px 0 20px;
}
.project-summary {
  font-size: 18px;
  line-height: 1.65;
}
.project-meta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fine);
}
.project-period {
  font: 400 13px/1.5 var(--mono);
}
.project-meta .authors {
  margin-top: 7px;
}
.authors strong {
  color: var(--text);
  font-weight: 800;
}
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 22px;
  font: 700 13px/1.5 var(--mono);
}
.project--wrist .project-body {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  grid-template-areas: "stamp media" "info media";
}
.project--wrist .project-media {
  order: 2;
  --paper-rotation: 1deg;
}
/* TwinPath is a panoramic image; fit its native ratio instead of a video frame. */
.project--wrist .media-frame {
  aspect-ratio: 1005 / 369;
}
.project--wrist .project-info {
  order: 1;
}
.project--wrist .project-stamp {
  rotate: -3deg;
  color: var(--text);
}
.project--wrist .project-stamp strong {
  font-size: 30px;
}
.project--lehome .project-stamp {
  rotate: -2deg;
}
.footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 48px 64px 24px;
}
.footer h2 {
  font-size: 64px;
  line-height: 1.06;
  width: max-content;
}
.contact-scrap {
  padding: 28px 30px;
  --paper-rotation: -1.5deg;
  width: 100%;
  max-width: 480px;
  justify-self: end;
}
.contact-scrap .email {
  display: block;
  margin: 0 0 12px;
  font: 700 16px/1.5 var(--mono);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.contact-scrap > a:last-child {
  font: 700 14px/1.5 var(--mono);
}
.footer-bottom {
  align-items: center;
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 25px;
  font-size: 11px;
  color: var(--fine);
}
.media-dialog {
  border: 1px solid var(--rule);
  padding: 24px;
  width: min(1050px, calc(100vw - 40px));
  max-height: 90dvh;
  overflow: auto;
  background: var(--sheet);
  color: var(--text);
  box-shadow: 12px 12px 0 #07344d3b;
}
.media-dialog::backdrop {
  background: #10212ad9;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.dialog-header h2 {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.close-dialog {
  border: 1px solid var(--text);
  padding: 8px 13px;
  background: var(--sheet);
  font: 700 12px var(--mono);
  min-height: 44px;
  white-space: nowrap;
}
.dialog-media img,
.dialog-media video {
  max-height: 65dvh;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.dialog-caption {
  font: 12px/1.5 var(--mono);
  margin-top: 14px;
}
.dialog-context {
  margin-top: 20px;
  max-width: 760px;
}
.dialog-context .project-summary {
  font-size: 17px;
}
body.dialog-open {
  overflow: hidden;
}
/* Website interactions adapted from the official press/registration language.
   Body text never starts hidden, and the blue title layer remains stationary. */
:is(.project-links, .ticket-advisor, .bio-line, .contact-scrap) a {
  background: linear-gradient(#ff48b02b, #ff48b02b) no-repeat 0 88% / 0% 45%;
  transition: background-size 180ms ease-out, color 180ms ease-out;
}
:is(.project-links, .ticket-advisor, .bio-line, .contact-scrap) a:is(:hover, :focus-visible) {
  background-size: 100% 45%;
}
:is(.portrait-print, .news-scrap, .intern-ticket, .project-media, .contact-scrap)::before {
  transition: translate 220ms ease-out, opacity 220ms ease-out;
}
:is(.portrait-print, .intern-ticket, .project-media, .contact-scrap):focus-within::before {
  opacity: 0.72;
}
@keyframes pc-paper-settle {
  from { transform: translate(6px, -8px); }
  to { transform: translate(0, 0); }
}
@keyframes pc-scroll-ink {
  0% { translate: -8px 5px; }
  55% { translate: 3px -2px; }
  78% { translate: -1px 1px; }
  100% { translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  h2.riso.is-printing::before {
    animation: pc-scroll-ink 520ms cubic-bezier(0.3, 0.7, 0.3, 1);
  }
  .halftone-disc {
    transition: translate 280ms ease-out;
  }
  :is(.portrait-print, .news-scrap, .intern-ticket, .project-media, .contact-scrap) {
    transition: translate 220ms cubic-bezier(0.2, 0.8, 0.2, 1), rotate 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .project-stamp {
    transition: transform 160ms ease-out;
  }
  @media (hover: hover) and (pointer: fine) {
    @media (min-width: 768px) {
      .scrap.is-printing {
        animation: pc-paper-settle 440ms cubic-bezier(0.3, 0.7, 0.3, 1);
        animation-delay: var(--print-delay, 0ms);
      }
    }
    :is(.portrait-print, .news-scrap, .intern-ticket, .project-media, .contact-scrap):hover {
      translate: -1px -2px;
      rotate: calc(var(--paper-rotation, 0deg) * 0.75);
    }
    :is(.portrait-print, .news-scrap, .intern-ticket, .project-media, .contact-scrap):hover::before {
      translate: 8px 9px;
      opacity: 0.68;
    }
    .project:is(:hover, :focus-within) .project-stamp {
      transform: scale(0.985) rotate(0.4deg);
    }
  }
}
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"]) h1 .riso:not(.has-beat)::before {
    animation: pc-reg-p 0.8s cubic-bezier(0.3, 0.7, 0.3, 1) both;
  }
  :root:not([data-motion="off"]) h1 .riso:not(.has-beat)::after {
    animation: pc-reg-b 0.8s cubic-bezier(0.3, 0.7, 0.3, 1) both;
  }
  :root:not([data-motion="off"]) h1 .riso.is-beating::before {
    animation: pc-heartbeat-pink 680ms cubic-bezier(0.3, 0.7, 0.3, 1) both;
  }
  :root:not([data-motion="off"]) h1 .riso.is-beating::after {
    animation: pc-heartbeat-blue 680ms cubic-bezier(0.3, 0.7, 0.3, 1) both;
  }
  :root:not([data-motion="off"]) .media-dialog[open] {
    animation: pc-dialog 0.24s ease-out;
  }
}
:root[data-motion="off"] {
  scroll-behavior: auto;
}
:root[data-motion="off"] *,
:root[data-motion="off"] *::before,
:root[data-motion="off"] *::after {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 1100px) and (min-width: 768px) {
  .masthead {
    padding: 0 40px;
    gap: 24px;
  }
  nav {
    gap: 24px;
  }
  .cover {
    padding: 32px 40px 36px;
    gap: 20px;
    min-height: 0;
  }
  .cover h1 {
    font-size: 12vw;
  }
  .portrait-print {
    width: 225px;
    margin: 24px auto 0;
  }
  .portrait-collage {
    min-height: 310px;
  }
  .halftone-disc {
    width: 300px;
    right: -15px;
    top: 0;
  }
  .section,
  .footer {
    padding-left: 40px;
    padding-right: 40px;
  }
  .section-top h2,
  .footer h2 {
    font-size: 60px;
  }
  .project-body,
  .project--wrist .project-body {
    gap: 0 30px;
  }
  .project-summary {
    font-size: 17px;
  }
  .cut-line svg {
    left: 40px;
  }
}
@media (min-width: 768px) and (max-width: 1050px) {
  .news-scrap { grid-template-columns: 76px minmax(0, 1fr); }
  .news-copy { padding: 20px; }
  .news-heading { flex-direction: column; }
  .news-heading img { flex-basis: auto; object-position: left; }
}
@media (max-width: 767px) {
  .scrap::before {
    mix-blend-mode: normal;
  }
  html {
    scroll-padding-top: 74px;
  }
  .masthead {
    height: 56px;
    padding: 10px 24px 9px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .wordmark {
    display: none;
  }
  .site-tools {
    grid-column: 2;
    grid-row: 1;
    gap: 3px;
  }
  .github-link {
    padding: 9px 10px;
    font-size: 12px;
  }
  nav {
    grid-column: 1/-1;
    grid-row: 1;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
  }
  nav a {
    font-size: 14px;
    padding: 7px 0;
    min-height: 36px;
  }
  .cover {
    padding: 28px 24px 32px;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }
  .cover h1 {
    font-size: clamp(72px, 25vw, 148px);
    margin: 0 0 20px -2px;
  }
  h1 .riso {
    --ink-x: 4px;
    --ink-y: -2px;
  }
  .research-statement {
    font-size: 21px;
    line-height: 1.4;
    max-width: 400px;
  }
  .desktop-break {
    display: none;
  }

  .portrait-collage {
    width: 100%;
    max-width: 480px;
    min-height: 290px;
    margin: 26px auto 0;
  }
  .portrait-print {
    width: 225px;
    max-width: calc(100% - 24px);
    margin: 12px auto 0;
    padding: 10px;
  }

  .halftone-disc {
    width: 280px;
    right: 0;
    top: 0;
  }
  .bio-line {
    margin-top: 16px;
  }
  .bio-line p {
    font-size: 16px;
    line-height: 1.65;
  }
  .cut-line svg {
    left: 24px;
  }
  .section {
    padding: 32px 24px 20px;
  }
  .section-top {
    margin-bottom: 26px;
  }
  .section-top h2 {
    font-size: clamp(44px, 12vw, 64px);
    scroll-margin-top: 0;
  }
  .news-grid,
  .experience-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .news-scrap {
    grid-template-columns: 62px minmax(0, 1fr);
  }
  .news-copy {
    padding: 20px 16px;
  }
  .news-heading {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
  }
  .news-heading h3 {
    font-size: 25px;
    flex: 1 1 130px;
  }
  .news-heading img {
    flex-basis: 62px;
    width: 62px;
    height: 28px;
    object-position: left;
  }
  .news-date {
    font-size: 11px;
  }
  .news-date b {
    font-size: 34px;
  }
  .ticket-body {
    padding: 16px 22px 20px;
  }
  .ticket-strip {
    font-size: 12px;
    gap: 10px;
    margin-bottom: 14px;
  }
  .institution-logo {
    height: 56px;
  }
  .institution-heading {
    margin-bottom: 16px;
  }
  .ticket-advisor {
    gap: 7px 12px;
  }
  .ticket-advisor a {
    font-size: 15px;
  }
  .project-list {
    gap: 36px;
  }
  .project {
    padding-bottom: 28px;
    scroll-margin-top: 0;
  }
  .project-body,
  .project--wrist .project-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "media" "stamp" "info";
    grid-template-rows: auto;
    gap: 24px;
  }
  .project--wrist .project-media,
  .project--wrist .project-info {
    order: initial;
  }
  .project-media {
    padding: 9px;
  }
  .project-media figcaption {
    font-size: 11px;
    gap: 5px;
    padding-top: 12px;
  }
  .media-caption h3 {
    font-size: 22px;
  }
  .expand-media {
    min-height: 44px;
    font-size: 11px;
  }
  .project-stamp {
    margin: 3px 0 24px;
  }
  .project-stamp strong {
    font-size: 32px;
  }
  .project-stamp--ranking strong {
    font-size: 38px;
  }
  .project-summary {
    font-size: 17px;
  }
  .project-links {
    font-size: 12px;
    gap: 14px 18px;
  }
  .footer {
    padding: 36px 24px 24px;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .footer h2 {
    font-size: clamp(46px, 13vw, 68px);
  }
  .contact-scrap {
    justify-self: start;
    max-width: 95%;
    padding: 22px;
    margin-left: 5px;
  }
  .contact-scrap .email {
    font-size: 14px;
  }
  .footer-bottom {
    padding-top: 12px;
    font-size: 10px;
    gap: 12px;
  }
  .media-dialog {
    padding: 16px;
    width: calc(100vw - 24px);
  }
  .dialog-header {
    gap: 12px;
  }
  .dialog-header h2 {
    font-size: 18px;
  }
  .tape {
    height: 22px;
  }
}
@media (max-width: 767px) {
  .tape--numbers-a {
    --tape-right: -2%;
  }
  .tape--numbers-b {
    --tape-left: -3%;
  }
  .tape--facts-b {
    /* Full-width landscape cards otherwise push this tape past the gutter. */
    --tape-right: max(-12px, -6%);
  }
}
@media (max-width: 374px) {
  .masthead {
    padding-left: 20px;
    padding-right: 20px;
  }
  .cover h1 {
    font-size: 25vw;
  }
  .portrait-collage {
    min-height: 280px;
  }
  .halftone-disc {
    width: 290px;
  }
  .ticket-body {
    padding: 18px 20px 23px;
  }
  .ticket-strip {
    font-size: 11px;
  }
  .institution-logo {
    height: 48px;
  }
}
/* Keep the selected C stamp within narrow columns without changing its hierarchy. */
@media (min-width: 768px) and (max-width: 950px), (max-width: 374px) {
  .project-stamp--ranking {
    gap: 16px;
    padding: 9px 12px;
  }
  .project-stamp--ranking .venue-stack {
    font-size: 20px;
  }
  .project-stamp--ranking strong {
    font-size: 32px;
    padding-left: 16px;
  }
}
/* A portrait phone reads as a stack of media prints. The single stamp moves
   onto the image; full project context remains in the desktop composition. */
@media (max-width: 767px) and (orientation: portrait) {
  .project-body,
  .project--wrist .project-body {
    display: block;
    position: relative;
  }
  .project {
    border: 0;
    padding-bottom: 0;
  }
  .project-list {
    gap: 32px;
  }
  :root.has-media-dialog .project-info {
    display: none;
  }
  .project-stamp {
    position: absolute;
    top: 20px;
    right: 18px;
    z-index: 5;
    margin: 0;
    padding: 5px 7px;
    gap: 8px;
    border-width: 2px;
    outline-offset: 2px;
    background: #fbf8f1e8;
    mix-blend-mode: normal;
    pointer-events: none;
  }
  .project-stamp--ranking .venue-stack {
    font-size: 13px;
    gap: 3px;
  }
  .project-stamp--ranking .venue-stack small {
    font-size: 9px;
  }
  .project-stamp--ranking strong {
    font-size: 22px;
    padding-left: 8px;
  }
  .project--wrist .project-stamp strong {
    font-size: 18px;
  }
  .project-stamp > span {
    font-size: 8px;
  }
  .media-caption {
    display: block;
  }
}
@media print {
  body {
    background: white;
    color: #12384c;
  }
  body::after,
  .masthead,
  .cut-line,
  .site-tools,
  .expand-media,
  .media-dialog {
    display: none !important;
  }
  .cover,
  .section,
  .footer {
    padding: 24px;
  }
  .cover {
    min-height: 0;
    display: block;
  }
  .portrait-collage {
    display: none;
  }
  .bio-line {
    margin-top: 20px;
  }
  .scrap {
    rotate: 0deg;
  }
  .project {
    break-inside: avoid;
  }
  :root.has-media-dialog .project-info,
  .project-info {
    display: block;
  }
  .footer {
    display: block;
  }
}
