:root {
  --charcoal: #0b0d10;
  --ink-navy: #17232c;
  --paper: #f4f3ef;
  --paper-deep: #e8e5dd;
  --amber: #c58a50;
  --teal: #3c8d91;
  --coral: #c56a63;
  --text: #14171a;
  --muted: #62676b;
  --line: rgba(20, 23, 26, 0.16);
  --room-accent: var(--amber);
  --room-accent-text: #8a5a26;
  --focus-ring: var(--room-accent-text);
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  animation: room-page-enter 420ms ease both;
}

body[data-room="news"] {
  --room-accent: var(--coral);
  --room-accent-text: #8f3935;
}

body[data-room="research"],
body[data-room="about"] {
  --room-accent: var(--teal);
  --room-accent-text: #276d70;
}

body[data-room="funding"] {
  --room-accent: var(--amber);
  --room-accent-text: #8a5a26;
}

body[data-room="collaborators"] {
  --room-accent: var(--teal);
  --room-accent-text: #276d70;
}

body[data-room="teaching"] {
  --room-accent: #7d8f5c;
  --room-accent-text: #53652f;
}

body[data-room="service"] {
  --room-accent: #8c6e96;
  --room-accent-text: #684874;
}

body[data-room="contact"] {
  --room-accent: var(--amber);
  --room-accent-text: #8a5a26;
}

body.is-leaving-room {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid var(--charcoal);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.room-header {
  position: relative;
  z-index: 10;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px max(24px, calc((100vw - var(--content-width)) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.room-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 780;
  text-decoration: none;
}

.room-brand img {
  width: 38px;
  height: 38px;
  border-radius: 5px;
}

.room-header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.room-header-nav a {
  font-size: 0.84rem;
  font-weight: 720;
  text-decoration: none;
}

.room-header-nav a[aria-current="page"] {
  color: var(--room-accent-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.room-header-menu {
  display: none;
}

.back-to-wing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--room-accent-text);
}

.room-hero {
  --focus-ring: var(--room-accent);
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background-color: var(--charcoal);
  background-image: url("../public/assets/generated/midnight-academic-wing.jpg");
  background-position: center;
  background-size: cover;
  border-bottom: 8px solid var(--room-accent);
}

.room-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 16, 0.58);
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.24);
  pointer-events: none;
}

.room-hero-shell,
.room-content-shell,
.room-switcher-shell,
.room-footer-shell {
  width: min(calc(100% - 48px), var(--content-width));
  margin-inline: auto;
}

.room-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  gap: 96px;
  align-items: center;
  padding-block: 90px;
}

.room-eyebrow {
  margin: 0 0 22px;
  color: rgba(244, 243, 239, 0.6);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 720;
  text-transform: uppercase;
}

.room-eyebrow span {
  color: var(--room-accent);
}

.room-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.3rem;
  font-weight: 500;
  line-height: 0.98;
}

.room-hero-copy > p:last-of-type {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(244, 243, 239, 0.7);
  font-size: 1.08rem;
  line-height: 1.8;
}

.room-hero-copy:only-child {
  grid-column: 1 / -1;
  max-width: 760px;
}

.room-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 9px 12px;
  color: var(--paper);
  border: 1px solid rgba(244, 243, 239, 0.2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  text-decoration: none;
  text-transform: uppercase;
}

.room-code::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--room-accent);
}

.room-code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
}

.room-code-row .room-code {
  margin-top: 0;
}

.room-code-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  color: var(--paper);
  border: 1px solid rgba(244, 243, 239, 0.2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.room-code-link span {
  color: var(--room-accent);
}

.room-code-link:hover {
  color: var(--charcoal);
  background: var(--paper);
}

.room-character {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
}

.room-character img {
  width: min(100%, 360px);
  height: auto;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 30px 24px rgba(0, 0, 0, 0.34));
}

.room-character figcaption {
  position: absolute;
  right: 0;
  bottom: 18px;
  display: flex;
  gap: 9px;
  padding: 8px 11px;
  color: rgba(244, 243, 239, 0.72);
  background: rgba(11, 13, 16, 0.82);
  border: 1px solid rgba(244, 243, 239, 0.18);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
}

.room-character figcaption span {
  color: var(--room-accent);
  font-weight: 760;
}

.room-content {
  padding: 110px 0 120px;
  background: var(--paper);
}

.room-content-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: 80px;
  align-items: end;
}

.room-content-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.08;
}

.room-content-heading p {
  margin: 0 0 6px;
  color: var(--muted);
}

.news-notepad {
  position: relative;
  height: min(560px, 68vh);
  margin-top: 58px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--text);
  background:
    linear-gradient(
      90deg,
      transparent 0 70px,
      rgba(184, 92, 85, 0.32) 70px 72px,
      transparent 72px
    ),
    repeating-linear-gradient(
      to bottom,
      var(--paper-deep) 0,
      var(--paper-deep) 43px,
      rgba(60, 141, 145, 0.16) 44px
    );
  border: 1px solid rgba(20, 23, 26, 0.28);
  box-shadow: 0 20px 44px rgba(23, 35, 44, 0.11);
  scrollbar-color: var(--room-accent) rgba(20, 23, 26, 0.08);
  scrollbar-width: thin;
}

.notepad-header {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px 12px 92px;
  color: var(--paper);
  background: var(--ink-navy);
  border-bottom: 3px solid var(--room-accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.notepad-list {
  margin: 0;
  padding: 8px 26px 24px 92px;
  list-style: decimal-leading-zero;
}

.notepad-list > li {
  padding-left: 8px;
  border-bottom: 1px solid rgba(20, 23, 26, 0.16);
}

.notepad-list > li::marker {
  color: var(--room-accent-text);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
}

.notepad-list article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 34px;
  padding: 24px 4px 25px;
}

.notepad-list time,
.record-label,
.portfolio-list-index,
.entry-kind {
  color: var(--room-accent-text);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
}

.entry-kind {
  display: block;
  margin-bottom: 4px;
  font-size: 0.64rem;
  font-weight: 720;
  text-transform: uppercase;
}

.notepad-list p {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.5;
}

.portfolio-list {
  margin: 58px 0 0;
  padding: 0;
  border-top: 1px solid var(--charcoal);
  list-style: none;
}

.portfolio-list > li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) minmax(220px, 0.5fr);
  gap: 28px;
  align-items: start;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
}

.portfolio-list-index {
  padding-top: 6px;
  font-weight: 720;
}

.portfolio-list h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.25;
}

.profile-list h3 a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.profile-list h3 a::after {
  content: "\2192";
  color: var(--room-accent-text);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72em;
  transition: transform 180ms ease;
}

.profile-list h3 a:hover::after {
  transform: translateX(4px);
}

.portfolio-list > li > div > p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
}

.teaching-point-list {
  max-width: 720px;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.teaching-point-list li {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1fr);
  gap: 24px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.teaching-point-list strong {
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.45;
}

.teaching-point-list a {
  color: inherit;
  text-decoration-color: var(--room-accent-text);
  text-underline-offset: 4px;
}

.teaching-point-list a:hover {
  color: var(--room-accent-text);
}

.teaching-point-list span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.portfolio-list-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.portfolio-list-meta li {
  padding: 5px 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  line-height: 1.2;
}

.research-work-list {
  display: grid;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.research-work-list a,
.research-work-list article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.research-work-list span,
.research-work-list small {
  color: var(--room-accent-text);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
}

.research-work-list strong {
  font-size: 0.78rem;
  line-height: 1.45;
}

.research-work-list small {
  color: var(--muted);
  white-space: nowrap;
}

.research-work-list a:hover strong {
  color: var(--room-accent-text);
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--line);
}

.service-columns > article {
  min-width: 0;
  padding: 34px 44px 38px 0;
}

.service-columns > article + article {
  padding-right: 0;
  padding-left: 44px;
  border-left: 1px solid var(--line);
}

.service-column-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.service-column-header h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
}

.service-columns > article > p {
  max-width: 490px;
  margin: 18px 0 0;
  color: var(--muted);
}

.service-records {
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-records li {
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.service-records strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.service-records span {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  line-height: 1.55;
  text-transform: uppercase;
}

.collaborator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--line);
}

.collaborator-grid > article {
  min-width: 0;
  padding: 34px 32px 38px 0;
}

.collaborator-grid > article + article {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.collaborator-grid > article:last-child {
  padding-right: 0;
}

.collaborator-heading {
  display: grid;
  gap: 12px;
}

.collaborator-heading > span {
  color: var(--room-accent-text);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 720;
}

.collaborator-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
}

.collaborator-grid article > p {
  min-height: 112px;
  margin: 18px 0 0;
  color: var(--muted);
}

.collaborator-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.collaborator-tags li {
  padding: 5px 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  line-height: 1.2;
}

.collaborator-records {
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.collaborator-records li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.institution-record {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.institution-mark {
  width: 40px;
  height: 40px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  object-fit: contain;
}

.institution-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.institution-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.3;
  transition: color 160ms ease;
}

.institution-copy small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.collaboration-callout {
  display: grid;
  grid-template-columns: 150px minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
  margin-top: 58px;
  padding: 30px 0;
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--line);
}

.collaboration-callout h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.25;
}

.collaboration-callout p {
  margin: 0;
  color: var(--muted);
}

.collaboration-callout a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--charcoal);
  font-size: 0.74rem;
  font-weight: 720;
  text-decoration-color: var(--room-accent-text);
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.collaboration-callout a span {
  color: var(--room-accent-text);
}

.record-note {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  margin-top: 58px;
  padding: 24px 0;
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--line);
}

.record-note p {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
}

.room-switcher {
  --focus-ring: var(--room-accent);
  padding: 72px 0 78px;
  color: var(--paper);
  background: var(--ink-navy);
}

.room-switcher-label {
  margin: 0 0 24px;
  color: rgba(244, 243, 239, 0.54);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.room-switcher nav {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid rgba(244, 243, 239, 0.22);
}

.room-switcher nav a {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  color: rgba(244, 243, 239, 0.62);
  border-bottom: 1px solid rgba(244, 243, 239, 0.18);
  text-decoration: none;
}

.room-switcher nav a + a {
  border-left: 1px solid rgba(244, 243, 239, 0.18);
}

.room-switcher nav a:hover,
.room-switcher nav a[aria-current="page"] {
  color: var(--paper);
  background: rgba(244, 243, 239, 0.06);
}

.room-switcher nav a[aria-current="page"] span:last-child {
  color: var(--room-accent);
}

.room-switcher nav span:last-child {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
}

.room-footer {
  padding: 46px 0;
  color: rgba(244, 243, 239, 0.58);
  background: var(--charcoal);
}

.room-footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.room-footer p {
  margin: 0;
  font-size: 0.74rem;
}

.room-footer a {
  color: var(--paper);
  text-underline-offset: 4px;
}

@keyframes room-page-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .room-header-nav {
    display: none;
  }

  .room-header-menu {
    position: relative;
    display: block;
  }

  .room-header-menu summary {
    color: var(--room-accent-text);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 760;
    list-style: none;
  }

  .room-header-menu summary::-webkit-details-marker {
    display: none;
  }

  .room-header-menu summary::after {
    content: " +";
  }

  .room-header-menu[open] summary::after {
    content: " -";
  }

  .room-header-menu nav {
    position: absolute;
    z-index: 20;
    top: calc(100% + 16px);
    right: 0;
    width: min(280px, calc(100vw - 36px));
    display: grid;
    padding: 8px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(23, 35, 44, 0.16);
  }

  .room-header-menu nav a {
    padding: 9px 11px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
  }

  .room-header-menu nav a[aria-current="page"] {
    color: var(--room-accent-text);
    background: var(--paper-deep);
  }
}

@media (max-width: 780px) {
  .room-header {
    min-height: 64px;
    padding-inline: 18px;
  }

  .room-hero {
    min-height: 0;
  }

  .room-hero-shell {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 68px;
  }

  .room-hero h1 {
    font-size: 4rem;
  }

  .room-character {
    min-height: 400px;
  }

  .room-character img {
    width: min(100%, 300px);
    max-height: 400px;
  }

  .room-character figcaption {
    right: 50%;
    bottom: 6px;
    transform: translateX(50%);
    white-space: nowrap;
  }

  .room-content {
    padding-block: 78px;
  }

  .room-content-heading,
  .service-columns,
  .collaborator-grid,
  .collaboration-callout,
  .record-note {
    grid-template-columns: 1fr;
  }

  .room-content-heading {
    gap: 24px;
  }

  .room-content-heading h2 {
    font-size: 2.65rem;
  }

  .news-notepad {
    height: min(520px, 64vh);
  }

  .notepad-header {
    padding-left: 68px;
  }

  .notepad-list {
    padding-left: 68px;
  }

  .notepad-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .portfolio-list > li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
  }

  .portfolio-list-meta {
    grid-column: 2;
    justify-content: flex-start;
  }

  .research-work-list a,
  .research-work-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .research-work-list small {
    white-space: normal;
  }

  .service-columns > article,
  .service-columns > article + article {
    padding: 28px 0 34px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-columns {
    border-bottom: 0;
  }

  .collaborator-grid {
    border-bottom: 0;
  }

  .collaborator-grid > article,
  .collaborator-grid > article + article {
    padding: 28px 0 34px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .collaborator-grid article > p {
    min-height: 0;
  }

  .collaboration-callout {
    gap: 18px;
  }

  .record-note {
    gap: 12px;
  }

  .room-switcher nav {
    grid-template-columns: 1fr;
  }

  .room-switcher nav a + a {
    border-left: 0;
  }

  .room-footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .room-hero-shell,
  .room-content-shell,
  .room-switcher-shell,
  .room-footer-shell {
    width: calc(100% - 40px);
  }

  .room-hero h1 {
    font-size: 3.25rem;
  }

  .news-notepad {
    height: 520px;
  }

  .notepad-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 11px 14px 11px 50px;
  }

  .notepad-list {
    padding: 4px 16px 20px 50px;
  }

  .portfolio-list > li {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-block: 24px;
  }

  .portfolio-list-meta {
    grid-column: 1;
  }

  .teaching-point-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  body,
  body.is-leaving-room {
    opacity: 1;
    transform: none;
  }
}
