:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --card: #ffffff;
  --border: #e2e8f0;
  --link: #1d4ed8;
  --pin-card-width: 230px;
  --pin-row-unit: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.home-page .corner-greeter {
  position: fixed;
  top: 0;
  right: 0;
  display: grid;
  justify-items: center;
  gap: 0;
  z-index: 30;
  pointer-events: none;
  animation: corner-slide-in 950ms cubic-bezier(0.19, 1.2, 0.36, 1);
  transition: opacity 180ms ease, transform 220ms ease;
}

.home-page .corner-greeter.is-hidden {
  opacity: 0;
  transform: translateY(-10px);
}

.home-page .corner-greeter-mascot {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
}

@keyframes corner-slide-in {
  0% {
    transform: translateX(88px) rotate(4deg);
    opacity: 0;
  }
  70% {
    transform: translateX(-6px) rotate(-2deg);
    opacity: 1;
  }
  100% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
}

.home-page {
  --bg: #f3efe5;
  --text: #2f2923;
  --muted: #655f57;
  --card: #fffbf4;
  --border: #d8cbb7;
  --link: #3e6576;
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at 10% 8%, rgba(156, 129, 96, 0.16), rgba(156, 129, 96, 0)),
    radial-gradient(circle at 88% 16%, rgba(86, 126, 116, 0.14), rgba(86, 126, 116, 0)),
    var(--bg);
}

.home-page h1,
.home-page h2 {
  font-family: 'Fraunces', serif;
  letter-spacing: -0.015em;
}

.home-page .container {
  width: min(1400px, 92%);
}

.home-page .site-header {
  background: rgba(255, 250, 242, 0.86);
  border-bottom: 1px solid #d8cbb7;
  backdrop-filter: blur(5px);
  padding: 2.3rem 0 1.2rem;
}

.home-page .subtitle {
  margin-bottom: 0.4rem;
}

.home-note {
  margin: 0.2rem 0 1rem;
  color: #4d6e78;
  font-size: 0.95rem;
}

.news-page {
  --bg: #f3efe5;
  --text: #2f2923;
  --muted: #655f57;
  --card: #fffbf4;
  --border: #d8cbb7;
  --link: #3e6576;
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
}

.news-page .container {
  width: min(1100px, 94%);
}

.news-page .site-header {
  background: rgba(255, 250, 242, 0.86);
  border-bottom: 1px solid #d8cbb7;
  backdrop-filter: blur(5px);
  padding: 2.3rem 0 1.2rem;
}

.news-page .site-header h1 {
  font-family: 'Fraunces', serif;
  letter-spacing: -0.015em;
}

.news-page .subtitle {
  margin-bottom: 0.4rem;
}

.home-page .nav-list a,
.home-page .nav-contact-toggle,
.about-page .nav-list a,
.about-page .nav-contact-toggle,
.news-page .nav-list a,
.news-page .nav-contact-toggle {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #d4c6b1;
  border-radius: 999px;
  padding: 0.24rem 0.68rem;
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  color: var(--link);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  appearance: none;
}

.home-page .nav-list,
.about-page .nav-list,
.news-page .nav-list {
  gap: 0.72rem;
}

.home-page .nav-contact-item,
.about-page .nav-contact-item,
.news-page .nav-contact-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 2rem;
  vertical-align: middle;
}

.home-page .nav-contact-toggle {
  cursor: pointer;
}

.about-page .nav-contact-toggle {
  cursor: pointer;
}

.news-page .nav-contact-toggle {
  cursor: pointer;
}

.home-page .nav-contact-row,
.about-page .nav-contact-row,
.news-page .nav-contact-row {
  position: absolute;
  top: 0;
  left: calc(100% + 0.35rem);
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  min-height: 2.3rem;
  padding: 0;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transform: translate(-8px, 0);
  transition: max-width 260ms ease, opacity 210ms ease, transform 260ms ease;
}

.home-page .nav-contact-row.is-open,
.about-page .nav-contact-row.is-open,
.news-page .nav-contact-row.is-open {
  max-width: 220px;
  opacity: 1;
  transform: translate(0, 0);
}

.home-page .nav-contact-icon,
.about-page .nav-contact-icon,
.news-page .nav-contact-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid #9f7a4e;
  background: #fff7ea;
  color: #3f2f1f;
  display: grid;
  place-items: center;
}

.home-page .nav-contact-icon svg,
.about-page .nav-contact-icon svg,
.news-page .nav-contact-icon svg {
  display: block;
  width: 28px !important;
  height: 28px !important;
}

.home-page .nav-contact-icon:hover,
.about-page .nav-contact-icon:hover,
.news-page .nav-contact-icon:hover {
  background: #e8cfad;
}

.home-page .card {
  border-radius: 18px;
  border-color: #d8cbb7;
  box-shadow: 0 14px 24px rgba(79, 60, 38, 0.08);
  margin-bottom: 1rem;
  padding: 1.15rem 1.2rem;
  animation: home-card-rise 420ms ease both;
}

.home-page .home-layout {
  display: block;
}

.home-page .home-about {
  width: 100%;
}

.home-page .intro-grid {
  display: block;
}

.home-page .home-publications {
  width: 100%;
}

.home-page .home-news {
  width: 100%;
}

.home-page .card:nth-of-type(2) {
  animation-delay: 70ms;
}

.home-page .card:nth-of-type(3) {
  animation-delay: 140ms;
}

.home-page .card:nth-of-type(4) {
  animation-delay: 210ms;
}

.home-page .headshot-frame {
  border-radius: 16px;
  border: 1px solid #d3c2ab;
  background: #f7f0e4;
  padding: 0.35rem;
  width: 190px;
  max-width: 190px;
  aspect-ratio: 4 / 5;
  float: right;
  clear: right;
  margin: -3rem 0 0.7rem 1.25rem;
  box-shadow: 0 10px 20px rgba(79, 60, 38, 0.12);
  overflow: hidden;
}

.home-page .headshot {
  min-height: 0;
  border-radius: 12px;
  object-position: center 24%;
}

.home-signature {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  position: relative;
}

.home-signature::before {
  content: '';
  display: block;
  width: 81%;
  border-top: 1px dashed #cdbba2;
  margin-bottom: 0.75rem;
}

.home-signature p {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c5a45;
}

.cozy-tags {
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.cozy-tags span {
  font-size: 0.8rem;
  background: #f1e8da;
  color: #4d4438;
  border: 1px solid #d7c7af;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}

.home-page .news-intro {
  color: #665f56;
}

.home-page .news-card {
  background: #fff9ef;
  border-color: #ddccb1;
  box-shadow: 0 12px 26px rgba(77, 64, 47, 0.14);
}

.home-page main {
  padding: 1.2rem 0 2.2rem;
}

.home-page .news-year {
  color: #3f6b67;
}

@keyframes home-card-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  width: min(900px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 2rem 0 1rem;
}

h1 {
  margin: 0;
  font-size: 2rem;
}

.subtitle {
  margin: 0.4rem 0 1rem;
  color: var(--muted);
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}

.nav-list li {
  display: flex;
  align-items: center;
}

.nav-list a {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}

.nav-list a:hover {
  text-decoration: underline;
}

main {
  padding: 1.5rem 0 2.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.headshot-frame {
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 220px;
  overflow: hidden;
  background: #f1f5f9;
}

.headshot {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.card ul {
  padding-left: 1.2rem;
}

.card li {
  margin-bottom: 0.65rem;
}

.card ul ul {
  margin-top: 0.35rem;
}

.card p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Publications */
.pub-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pub-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.pub-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pub-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

.pub-venue-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
}

.pub-dot {
  color: var(--muted);
  font-size: 0.85rem;
}

.pub-location {
  font-size: 0.82rem;
  color: var(--muted);
}

.pub-title {
  margin: 0 0 0.2rem;
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.4;
  color: var(--text);
}

.pub-title a {
  color: inherit;
  text-decoration: none;
}

.pub-title a:hover {
  text-decoration: underline;
  color: var(--link, #3e6576);
}

.pub-authors {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.pub-me {
  font-weight: 700;
  color: var(--text);
}

.pub-award {
  font-size: 0.82rem;
  color: #a07c2a;
  font-style: italic;
}

.pub-links {
  margin-left: auto;
}

.pub-links a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--link, #3e6576);
  text-decoration: none;
  border: 1px solid var(--link, #3e6576);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
}

.pub-links a:hover {
  background: var(--link, #3e6576);
  color: #fff;
}

.news-intro {
  color: var(--muted);
}

.scholar-link {
  font-size: 0.88rem;
}

.news-card {
  width: min(560px, 82vw);
  max-width: 560px;
  min-height: 220px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
  position: absolute;
  top: 0;
  left: 50%;
  transform-origin: center;
  transition: transform 650ms ease, opacity 650ms ease, filter 650ms ease,
    box-shadow 650ms ease;
}

.news-card h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1rem;
}

.news-year {
  display: inline-block;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--link);
}

.news-deck {
  position: relative;
  height: 270px;
  margin-top: 0.35rem;
  overflow: hidden;
  cursor: ew-resize;
}

.news-deck:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 4px;
}

.news-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.news-card.is-center {
  transform: translate(-50%, 14px) scale(1);
  opacity: 1;
  filter: blur(0);
  z-index: 5;
}

.news-card.is-left {
  transform: translate(calc(-50% - 300px), 24px) scale(0.9) rotate(-1deg);
  opacity: 0.82;
  filter: blur(0.2px);
  z-index: 4;
}

.news-card.is-right {
  transform: translate(calc(-50% + 300px), 24px) scale(0.9) rotate(1deg);
  opacity: 0.82;
  filter: blur(0.2px);
  z-index: 4;
}

.news-card.is-back {
  transform: translate(-50%, 34px) scale(0.82);
  opacity: 0;
  filter: blur(0.8px);
  z-index: 1;
  pointer-events: none;
}

.news-archive-list {
  margin: 1rem 0 0;
  padding: 0 0 0 1.5rem;
  list-style: none;
  border-left: 1px solid #dbe4f2;
}

.news-archive-item {
  position: relative;
  margin: 0;
  padding: 0 0 1rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.news-archive-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-archive-item::before {
  content: '';
  position: absolute;
  left: -1.74rem;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #0f172a;
}

.news-archive-item article {
  display: grid;
  grid-template-columns: 68px 1fr;
  column-gap: 0.95rem;
  align-items: start;
  padding-top: 0.2rem;
}

.news-archive-item .news-year {
  grid-column: 1;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  color: #334155;
}

.news-archive-item h3,
.news-archive-item p {
  grid-column: 2;
}

.news-archive-item h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.news-archive-item p {
  margin-top: 0;
}

.about-page {
  --pin-card-width: 300px;
  --pin-row-unit: 10px;
  --link: #3e6576;
  background: #f2efe6;
  font-family: 'Manrope', sans-serif;
}

.about-page .site-header {
  background: rgba(255, 250, 242, 0.86);
  border-bottom: 1px solid #d8cbb7;
  backdrop-filter: blur(5px);
  padding: 2.3rem 0 1.2rem;
}

.about-page .site-header h1 {
  font-family: 'Fraunces', serif;
  letter-spacing: -0.015em;
}

.about-page .subtitle {
  margin-bottom: 0.4rem;
}

.about-page .home-note {
  margin: 0.2rem 0 1rem;
  color: #4d6e78;
  font-size: 0.95rem;
}

.about-page .nav-list a:hover {
  text-decoration: underline;
}

.about-page h1,
.about-page h2 {
  font-family: 'Space Grotesk', sans-serif;
}

.about-feed-card {
  border-radius: 18px;
  background: #fbf8f1;
  border-color: #d9cfbe;
  box-shadow: 0 16px 28px rgba(93, 72, 50, 0.12);
  width: 100%;
  margin-inline: auto;
}

.about-intro-copy h2 {
  margin: 0.2rem 0 0.3rem;
}

.about-story-toolbar {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  position: relative;
}

.story-strip {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.about-feed-filter {
  border: 1px solid #efcba8;
  background: #fff8ef;
  color: #7c4f2f;
  border-radius: 999px;
  padding: 0.28rem 0.64rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.about-feed-filter.is-active {
  background: #9a3412;
  border-color: #9a3412;
  color: #fff7ed;
}

.publications-page .container {
  width: min(1400px, 92%);
}

.publication-meta {
  grid-column: 1;
  margin-top: 0.2rem;
}

.publication-meta .news-year {
  display: block;
  margin: 0;
}

.publication-award {
  margin: 0.2rem 0 0;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
  color: #a07c2a;
  font-style: italic;
}

.story-highlight {
  border: none;
  background: transparent;
  color: #4b3a2a;
  padding: 0;
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  cursor: pointer;
}

.story-ring {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: conic-gradient(from 120deg, #6a8f6e, #53758f, #7a5a3c, #6a8f6e);
  padding: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 14px rgba(75, 58, 42, 0.18);
}

.story-thumb {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #fff7ee;
}

.story-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.story-highlight:hover .story-ring {
  transform: translateY(-1px) scale(1.03);
}

.story-highlight:focus-visible {
  outline: 2px solid #53758f;
  outline-offset: 2px;
}

.about-filter-menu-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.about-filter-menu-button {
  border: 1px solid #c8b89d;
  background: #f7f0e4;
  color: #4b3a2a;
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.about-filter-menu-button:hover {
  background: #efe6d8;
}

.about-filter-menu-button[aria-expanded='true'] {
  background: #e4d9c8;
  border-color: #b6a58b;
}

.about-filter-icon {
  display: inline-flex;
  align-items: center;
}

.about-filter-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  background: #fffaf0;
  border: 1px solid #d6cab5;
  border-radius: 12px;
  box-shadow: 0 10px 18px rgba(75, 58, 42, 0.12);
  padding: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 250px;
  z-index: 12;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px) scale(0.98);
  transform-origin: top left;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.about-filter-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.about-feed-filter {
  border: 1px solid #d5c8b2;
  background: #fff7eb;
  color: #4b3a2a;
  border-radius: 999px;
  padding: 0.25rem 0.62rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.about-feed-filter.is-active {
  background: #53758f;
  border-color: #53758f;
  color: #f3f8fc;
}

.about-page .container {
  width: min(1400px, 92%);
}

.about-page main.container {
  display: flex;
  justify-content: center;
}

.about-page .pin-board {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  grid-auto-flow: row;
  justify-content: stretch;

  gap: 1rem;
  max-width: 1250px;
  margin: 1rem auto 0;
}

.about-page .pin-card {
  width: 100%;
  border-radius: 18px;
  padding: 0;
  background: #31463c;
  border: 1px solid #a7b9ad;
  position: relative;
}

.about-page .pin-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 18px;
  margin: 0;
  transition: transform 240ms ease;
}

.about-page .pin-card h3,
.about-page .pin-card p {
  display: none;
}

.about-page .pin-card .pin-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0.75rem 0.85rem;
  background: linear-gradient(to top, rgba(49, 70, 60, 0.88), rgba(49, 70, 60, 0));
}

.about-page .pin-card .pin-caption p {
  display: block;
  margin: 0.22rem 0 0;
  color: #f8fafc;
  font-size: 0.8rem;
  line-height: 1.25;
}

.pin-caption-tag {
  display: inline-block;
  border-radius: 999px;
  background: rgba(240, 234, 220, 0.25);
  color: #f3ede2;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.16rem 0.48rem;
}

.about-page .pin-card.is-hidden {
  display: none;
}

.about-page .pin-card:hover .pin-image {
  transform: scale(1.03);
}

.pin-board {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, var(--pin-card-width));
  grid-auto-rows: var(--pin-row-unit);
  grid-auto-flow: dense;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pin-card {
  width: var(--pin-card-width);
  background: #f3f3f3;
  border: none;
  border-radius: 12px;
  padding: 0;
  text-align: left;
  overflow: hidden;
  margin: 0;
}

button.pin-card {
  cursor: pointer;
  font: inherit;
  color: inherit;
}

button.pin-card:hover {
  transform: translateY(-2px);
}

button.pin-card:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

.pin-image {
  display: block;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 0;
}

.pin-card h3 {
  margin: 0.65rem 0.75rem 0.2rem;
  font-size: 1rem;
  line-height: 1.2;
}

.pin-card p {
  margin: 0 0.75rem 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.pin-small .pin-image {
  height: 240px;
}

.pin-medium .pin-image {
  height: 320px;
}

.pin-large .pin-image {
  height: 400px;
}

.pin-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

.pin-modal.is-open {
  display: flex;
}

.pin-modal-content {
  width: min(420px, 96%);
  background: #fffaf2;
  border-radius: 16px;
  padding: 0.75rem;
  border: 1px solid #d6cab5;
  position: relative;
}

.pin-modal-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #ece3d2;
}

.pin-modal-media.is-square {
  aspect-ratio: 1 / 1;
}

.pin-modal-media.is-portrait {
  aspect-ratio: 4 / 5;
}

.pin-modal-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.pin-modal-image.is-crop-fit {
  object-fit: cover;
}

.pin-modal-meta {
  margin: 0.55rem 0 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f7a65;
}

.pin-modal-step {
  border: 1px solid #cdbda4;
  background: #f6ede0;
  color: #4b3a2a;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.pin-modal-step:hover {
  background: #ede2d1;
}

.pin-modal-step-overlay {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: none;
  background: rgba(59, 84, 71, 0.62);
  color: #f7f3e9;
  font-size: 1.35rem;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
}

.pin-modal-step-prev {
  left: 0.45rem;
}

.pin-modal-step-next {
  right: 0.45rem;
}

.pin-modal-step-overlay[disabled] {
  opacity: 0;
  pointer-events: none;
}

.pin-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  border: none;
  background: #ffffff;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

h2 {
  margin-top: 0;
}

a {
  color: var(--link);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 1rem 0;
  color: var(--muted);
}

@media (max-width: 700px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .home-page .container {
    width: min(980px, 94%);
  }

  .home-page .home-layout {
    display: block;
  }

  .home-page .intro-grid {
    display: block;
  }

  .home-page .headshot-frame {
    float: right;
    clear: right;
    max-width: 280px;
    width: min(100%, 280px);
    aspect-ratio: auto;
    padding: 0.3rem;
    margin: 0.05rem 0 0.8rem 0.8rem;
  }

  .home-page .nav-contact-row.is-open {
    max-width: 220px;
  }

  .home-page .corner-greeter {
    top: 0;
    right: 0;
  }

  .home-page .corner-greeter-mascot {
    width: 48px;
    height: 48px;
  }

  .news-deck {
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.25rem;
    cursor: grab;
  }

  .news-track {
    display: flex;
    gap: 0.75rem;
    width: max-content;
    height: auto;
  }

  .news-card {
    position: static;
    width: 86vw;
    min-height: 200px;
    max-width: 460px;
    transform: none;
    opacity: 1;
    filter: none;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.11);
  }

  .news-card.is-center,
  .news-card.is-left,
  .news-card.is-right,
  .news-card.is-back {
    transform: none;
    opacity: 1;
    filter: none;
  }

  .news-archive-list {
    padding-left: 1.15rem;
  }

  .news-archive-item {
    padding-left: 0.8rem;
  }

  .news-archive-item::before {
    left: -1.4rem;
  }

  .news-archive-item article {
    grid-template-columns: 1fr;
    row-gap: 0.2rem;
  }

  .news-archive-item .news-year,
  .news-archive-item h3,
  .news-archive-item p {
    grid-column: 1;
  }

  .pin-board {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-auto-rows: 6px;
    justify-content: stretch;
  }

  .about-page {
    --pin-card-width: 100%;
    --pin-row-unit: 8px;
  }

  .about-intro-copy {
    text-align: center;
  }

  .about-page .nav-contact-row.is-open {
    max-width: 220px;
  }

  .story-strip {
    justify-content: center;
  }

  .about-story-toolbar {
    flex-direction: column;
    align-items: center;
  }

  .about-filter-menu-wrap {
    display: block;
    text-align: center;
  }

  .about-filter-menu {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-page .container {
    width: min(900px, 95%);
  }

  .about-page .pin-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0.6rem;
    max-width: 760px;
  }

  .about-page .pin-card h3 {
    font-size: 0.95rem;
  }

  .about-page .pin-card p {
    font-size: 0.82rem;
  }

  .about-page .pin-card .pin-caption p {
    font-size: 0.76rem;
  }

  .story-strip {
    gap: 0.6rem;
  }

  .story-ring {
    width: 66px;
    height: 66px;
  }

  .about-page .pin-small .pin-image {
    height: 180px;
  }

  .about-page .pin-medium .pin-image {
    height: 230px;
  }

  .about-page .pin-large .pin-image {
    height: 280px;
  }

  .pin-card {
    width: 100%;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .corner-greeter {
    animation: none;
  }
}

@media (min-width: 701px) and (max-width: 1024px) {
  .pin-board {
    grid-template-columns: repeat(auto-fill, 210px);
  }

  .about-page {
    --pin-card-width: 240px;
  }

  .about-page .container {
    width: min(1100px, 95%);
  }

  .about-page .pin-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .about-page .pin-small .pin-image {
    height: 200px;
  }

  .about-page .pin-medium .pin-image {
    height: 260px;
  }

  .about-page .pin-large .pin-image {
    height: 320px;
  }
}
