@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit Fallback';
  src: local('Arial');
  ascent-override: 100.18%;
  descent-override: 26.05%;
  line-gap-override: 0%;
  size-adjust: 99.82%;
}

@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/libre-baskerville-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Libre Baskerville Fallback';
  src: local('Times New Roman');
  ascent-override: 76.22%;
  descent-override: 21.22%;
  line-gap-override: 0%;
  size-adjust: 127.26%;
}
:root {
  --font-outfit: 'Outfit', 'Outfit Fallback';
  --font-libre-baskerville: 'Libre Baskerville', 'Libre Baskerville Fallback';
  --bg: #eef2f5;
  --surface: #e0e6ec;
  --surface-card: rgba(255, 255, 255, 0.4);
  --surface-card-strong: rgba(255, 255, 255, 0.65);
  --surface-card-solid: #f7f9fa;
  --accent: #7e5071;
  --accent-light: #e8d5e0;
  --button: #4e6fa3;
  --button-hover: #2f4d78;
  --button-text: #ffffff;
  --link: #365c8a;
  --text-dark: #1c1c1a;
  --text-mid: #5c5b56;
  --text-light: #68675f;
  --border: #d8dee4;
  --header-bg: rgba(252, 252, 250, 0.82);
  --menu-bg: rgba(252, 252, 250, 0.98);
  --soft-shadow: rgba(28, 28, 26, 0.12);
  --field-bg: rgba(255, 255, 255, 0.48);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  color: var(--text-dark);
  background: var(--bg);
  font-family: var(--font-outfit), system-ui, sans-serif;
}

@layer base {
  * {
    box-sizing: border-box;
  }

  html {
    min-width: 320px;
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--text-dark);
    background: var(--bg);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.6;
  }

  body,
  button {
    font-family: var(--font-outfit), system-ui, sans-serif;
  }

  button,
  input,
  textarea,
  select {
    font: inherit;
  }

  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }

  button {
    margin: 0;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  img,
  svg {
    display: block;
  }

  img {
    max-width: 100%;
  }

  h1,
  h2,
  h3,
  p,
  ul {
    margin: 0;
  }

  ul {
    padding: 0;
    list-style: none;
  }
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.section {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 32px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 16px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: white;
  background: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 200;
  top: 16px;
  right: 0;
  left: 0;
  display: flex;
  justify-content: center;
  padding-inline: 16px;
  pointer-events: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  min-height: 54px;
  padding: 8px 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-xl);
  background: rgba(252, 252, 250, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  width: fit-content;
  flex-shrink: 0;
  align-items: center;
  user-select: none;
  touch-action: manipulation;
}

.brand img {
  width: 140px;
  height: auto;
}

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

.desktop-nav--primary {
  gap: 2px;
}

.desktop-nav--secondary {
  flex-shrink: 0;
  justify-self: end;
  gap: 4px;
}

.nav-link,
.nav-link-muted {
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  transition:
    color 150ms ease,
    background 150ms ease;
}

.nav-link {
  padding: 6px 14px;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
}

.nav-link[aria-current='page'] {
  background: rgba(78, 111, 163, 0.08);
}

.nav-link-muted {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  color: var(--text-mid);
}

.nav-link-muted:hover {
  color: var(--text-dark);
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  color: var(--text-dark);
  background: transparent;
  cursor: pointer;
}

.menu-button:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-menu {
  position: fixed;
  z-index: 100;
  inset: 0;
  visibility: hidden;
  padding: 96px 32px 40px;
  background: rgba(252, 252, 250, 0.98);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    visibility 0s linear 180ms,
    opacity 180ms ease,
    transform 180ms ease;
}

.mobile-menu--open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.mobile-menu__inner {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-menu__primary,
.mobile-menu__secondary {
  display: flex;
  flex-direction: column;
}

.mobile-menu__primary a {
  padding-block: 10px;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
}

.mobile-menu__secondary {
  gap: 10px;
  color: var(--text-mid);
  font-size: 16px;
  font-weight: 400;
}

.nav-spacer {
  height: 46px;
}

.hero {
  padding-top: 180px;
  padding-bottom: 140px;
}

.hero__stage {
  position: relative;
  height: 495.16px;
}

.hero__copy {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__eyebrow {
  min-height: 24px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  line-height: 20.8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__eyebrow strong {
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
}

.hero__title {
  display: block;
  width: 100%;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero-highlight {
  display: inline;
  background-image: linear-gradient(
    180deg,
    transparent 68%,
    var(--accent-light) 68%,
    var(--accent-light) 90%,
    transparent 90%
  );
  background-repeat: no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: nowrap;
}

.hero__description {
  max-width: 580px;
  margin-top: 32px;
  color: var(--text-mid);
  font-size: 20px;
  font-weight: 300;
  line-height: 32px;
}

.availability-pill {
  display: inline-flex;
  margin-top: 40px;
  padding: 8px 14px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-weight: 500;
  line-height: 19.5px;
  letter-spacing: 0.01em;
}

.availability-pill__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(126, 80, 113, 0.15);
}

.hero__actions,
.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  padding: 12px 24px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.02em;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button--primary {
  color: white;
  background: var(--button);
  font-weight: 500;
}

.button--primary:hover {
  background: var(--button-hover);
}

.button--secondary {
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--text-mid);
  font-weight: 400;
  background: transparent;
}

.button--secondary:hover {
  border-color: rgba(0, 0, 0, 0.35);
  color: var(--text-dark);
}

.cta-arrow {
  display: inline-block;
  letter-spacing: 0.27px;
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.external-arrow {
  font-family: system-ui, sans-serif;
  line-height: normal;
}

a:hover .cta-arrow,
button:hover .cta-arrow {
  transform: translateX(4px);
}

.hero__portrait {
  position: absolute;
  top: -100px;
  right: 0;
  width: 480px;
  height: auto;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 110px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.reference-page .proof-strip {
  display: flex;
  width: auto;
  min-height: 0;
  margin-inline: 0;
  padding-top: 0;
  border-top: 0;
}

.proof-item {
  display: flex;
  min-width: 0;
  padding: 8px 32px;
  align-items: flex-start;
  gap: 14px;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--border);
}

.proof-item__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-light);
}

.section-heading {
  display: flex;
  min-height: 67.2px;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.section-heading > a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.02em;
}

.work-list {
  display: flex;
  margin-top: 56px;
  flex-direction: column;
  gap: 56px;
}

.work-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  transition:
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.work-card:hover {
  border-color: rgba(0, 0, 0, 0.18);
  background: var(--surface-card-strong);
  box-shadow: 0 12px 40px -16px rgba(28, 28, 26, 0.12);
  transform: translateY(-2px);
}

.work-card__media {
  min-width: 0;
  overflow: hidden;
}

.work-card--image-right .work-card__media {
  order: 2;
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-card:hover .work-card__media img {
  transform: scale(1.012);
}

.work-card__content {
  display: flex;
  min-width: 0;
  padding: 56px 52px;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface-card);
}

.work-card__content::before {
  display: block;
  content: '';
}

.work-card__intro {
  display: block;
}

.work-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 400;
  line-height: 20.8px;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.work-card__eyebrow span {
  color: var(--accent);
  font-weight: 500;
}

.work-card h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.work-card__description {
  color: var(--text-mid);
  font-size: 15px;
  font-weight: 400;
  line-height: 25.5px;
}

.work-card__footer {
  display: block;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.tag-list li {
  padding: 4px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 400;
  line-height: 19.2px;
}

.work-card__link {
  display: inline;
  width: fit-content;
  color: var(--link);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.02em;
}

.videos-section {
  min-height: 883.33px;
}

.videos-section__intro {
  max-width: 620px;
  margin-top: 20px;
  color: var(--text-mid);
  font-size: 15px;
  font-weight: 300;
  line-height: 25.5px;
}

.videos-section__intro a {
  font-weight: 500;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 56px;
  gap: 20px;
}

.video-card {
  display: flex;
  height: 497.145px;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-dark);
  background: var(--surface-card);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.video-card:hover {
  border-color: rgba(0, 0, 0, 0.18);
  background: var(--surface-card-strong);
  box-shadow: 0 12px 40px -16px rgba(28, 28, 26, 0.12);
  transform: translateY(-2px);
}

.video-card__thumbnail {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #d7d8db;
}

.video-card__thumbnail::after {
  position: absolute;
  inset: 0;
  content: '';
  background: transparent;
  transition: background 160ms ease;
}

.video-card:hover .video-card__thumbnail::after {
  background: rgba(28, 28, 26, 0.16);
}

.video-card__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__play {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.video-card__play svg {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: transform 160ms ease;
}

.video-card:hover .video-card__play svg {
  transform: scale(1.08);
}

.video-card__title {
  display: block;
  min-height: 80px;
  padding: 16px 16px 20px;
  font-size: 13px;
  font-weight: 500;
  line-height: 19.59375px;
}

.video-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  padding: 5vh 24px;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 19, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: modal-fade 160ms ease-out;
}

.video-modal__panel {
  width: min(440px, 43.875vh);
  max-width: 100%;
  animation: modal-rise 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-modal__frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 9 / 16;
  background: black;
  box-shadow: 0 24px 80px -16px rgba(0, 0, 0, 0.6);
}

.video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__close {
  position: fixed;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: flex;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.14);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.26);
}

.video-modal__caption {
  display: flex;
  margin-top: 16px;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.video-modal__caption a {
  flex: 0 0 auto;
  color: white;
  font-size: 13px;
  font-weight: 500;
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }
}

@keyframes modal-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.writing-section {
  min-height: 1312.19px;
}

.article-list {
  margin-top: 56px;
}

.article-row {
  display: grid;
  min-height: 249px;
  padding-block: 32px;
  grid-template-columns: 48px minmax(0, 1fr) 280px;
  align-items: start;
  gap: 40px;
  border-top: 1px solid var(--border);
  transition: color 160ms ease;
}

.article-row:last-child {
  min-height: 250px;
  border-bottom: 1px solid var(--border);
}

.article-row:hover .article-row__title {
  color: var(--link);
}

.article-row__number {
  padding-top: 4px;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 400;
  line-height: 20.8px;
}

.article-row__copy {
  display: flex;
  max-width: 760px;
  flex-direction: column;
  gap: 8px;
}

.article-row__category {
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  line-height: 17.6px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-row__title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.02em;
  transition: color 160ms ease;
}

.article-row__description {
  max-width: 560px;
  margin-top: 2px;
  color: var(--text-mid);
  font-size: 15px;
  font-weight: 300;
  line-height: 24.75px;
}

.article-row__image {
  display: block;
  width: 280px;
  height: 184px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-card);
}

.article-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.article-row:hover .article-row__image img {
  transform: scale(1.02);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-cta {
  display: grid;
  height: 313.8px;
  padding-top: 80px;
  padding-bottom: 64px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  border-bottom: 1px solid var(--border);
}

.section-label {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-cta h2 {
  max-width: 780px;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.footer-cta__actions {
  gap: 10px;
  justify-content: flex-end;
}

.footer-cta__actions .button--secondary {
  min-width: 240.3125px;
}

.footer-links {
  display: grid;
  height: 241.16px;
  padding-top: 40px;
  padding-bottom: 48px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: start;
  gap: 40px;
}

.footer-brand img {
  width: 120px;
  height: auto;
  opacity: 0.65;
}

.footer-brand p {
  max-width: 260px;
  margin-top: 12px;
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 300;
  line-height: 20.8px;
}

.footer-group h3 {
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 11px;
  font-weight: 500;
  line-height: 17.6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-group a {
  display: block;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 400;
  line-height: 22.39px;
  transition: color 150ms ease;
}

.footer-group a:hover {
  color: var(--text-dark);
}

@media (max-width: 1100px) and (min-width: 769px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav--primary {
    justify-self: center;
  }

  .hero__portrait {
    top: -64px;
    width: 380px;
  }

  .hero__copy {
    width: 650px;
  }

  .hero__title {
    font-size: clamp(50px, 6vw, 64px);
  }

  .proof-item {
    padding-inline: 20px;
  }

  .work-card__content {
    padding: 44px 36px;
  }
}

@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .videos-section,
  .writing-section {
    min-height: 0;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .desktop-nav--secondary {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr;
  }

  .desktop-nav--primary {
    justify-self: end;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 88px;
  }

  .site-header__inner {
    display: flex;
    min-height: 56px;
    padding: 8px 24px;
    justify-content: space-between;
  }

  .site-header__inner .brand {
    margin-left: 0;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .nav-spacer {
    height: 56px;
  }

  .hero {
    padding: 72px 32px 140px;
  }

  .hero__stage {
    display: flex;
    height: auto;
    flex-direction: column;
  }

  .hero__copy {
    width: 100%;
    text-align: center;
  }

  .hero__eyebrow {
    white-space: nowrap;
  }

  .hero__title {
    width: 100%;
    align-items: center;
    font-size: 40px;
    line-height: 1.06;
    letter-spacing: -0.03em;
  }

  .hero-highlight {
    width: auto;
    max-width: 100%;
    white-space: normal;
  }

  .hero__description {
    margin-inline: auto;
  }

  .availability-pill {
    width: 100%;
    min-height: 57px;
    justify-content: center;
    text-align: left;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__portrait {
    position: static;
    order: 1;
    width: 100%;
    max-width: 360px;
    margin: 32px auto 0;
  }

  .proof-strip {
    display: flex;
    width: calc(100% + 64px);
    height: auto;
    min-height: 0;
    margin-top: 0;
    margin-inline: -32px;
    padding-top: 32px;
    flex-direction: column;
  }

  .proof-item {
    padding: 20px 24px;
  }

  .proof-item + .proof-item {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .section-heading {
    min-height: 48px;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .section-heading h2 {
    font-size: 30px;
    line-height: 48px;
  }

  .work-list,
  .article-list {
    margin-top: 32px;
  }

  .work-card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .work-card:nth-child(1) .work-card__media {
    aspect-ratio: 1.77127;
  }

  .work-card:nth-child(2) .work-card__media {
    aspect-ratio: 2 / 1;
  }

  .work-card:nth-child(3) .work-card__media {
    aspect-ratio: 1.21519;
  }

  .work-card--image-right .work-card__media {
    order: 0;
  }

  .work-card__content {
    min-height: 356px;
    padding: 32px 24px;
    gap: 24px;
  }

  .tag-list li {
    line-height: 19.19px;
  }

  .videos-section__intro {
    margin-top: 32px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 56px;
    gap: 12px;
  }

  .video-card__title {
    min-height: 0;
    padding: 16px 16px 20px;
  }

  .video-card {
    height: auto;
  }

  .article-row {
    min-height: 0;
    padding-block: 24px;
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 24px;
  }

  .article-row__number {
    display: none;
  }

  .article-row__title {
    font-size: 20px;
    line-height: 25px;
  }

  .article-row__image {
    width: 96px;
    height: 72px;
    border-radius: var(--radius-md);
  }

  .footer-cta {
    height: auto;
    padding: 60px 24px 48px;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 28px;
  }

  .footer-cta .section-label {
    margin-bottom: 16px;
  }

  .footer-cta h2 {
    font-size: 36px;
  }

  .footer-cta__actions {
    width: 100%;
    gap: 10px;
    justify-content: flex-start;
  }

  .footer-links {
    height: auto;
    padding: 40px 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 500px) {
  .hero__actions {
    flex-wrap: nowrap;
  }

}

@media (max-width: 400px) {
  .article-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .article-row__image {
    width: 100%;
    height: 160px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .hero {
    padding-inline: 20px;
  }

  .hero__eyebrow {
    white-space: normal;
  }

  .proof-strip {
    width: calc(100% + 40px);
    margin-inline: -20px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__actions {
    flex-wrap: wrap;
  }

  .hero__actions .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.reference-page {
  min-height: 1px;
}

.reference-page [hidden] {
  display: none !important;
}

.route-loading {
  display: grid;
  min-height: calc(100vh - 56px);
  place-items: center;
  color: var(--text-mid);
  font-size: 15px;
}

.route-error {
  text-align: center;
}

.route-error button {
  margin-top: 16px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  background: var(--surface-card-solid);
  cursor: pointer;
}

.not-found-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 160px 32px;
  text-align: center;
}

.not-found-page h1 {
  margin-bottom: 20px;
  color: var(--text-dark);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.not-found-page > p:not(.section-label) {
  max-width: 440px;
  margin: 0 auto 40px;
  color: var(--text-mid);
  font-size: 18px;
  line-height: 1.6;
}

.not-found-page nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--text-light);
  font-size: 16px;
}

.not-found-page nav > span {
  margin-right: 8px;
}

.contact-form-status {
  margin: 0;
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--text-mid);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.5;
}

.contact-form-status.is-success {
  color: #27583c;
  background: #dcecdf;
}

.contact-form-status.is-error {
  color: #7a3035;
  background: #f2dfe1;
}

.whiteboard-page {
  position: fixed;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  background: #fff;
}

@media (max-width: 600px) {
  .not-found-page {
    padding: 120px 20px;
  }
}

/* Semantic portfolio shell ------------------------------------------------ */

::selection {
  color: var(--text-dark);
  background: var(--accent-light);
}

body,
.site-header__inner,
.mobile-menu,
.site-footer,
.work-card,
.video-card,
.resource-grid > a,
.contact-form,
.coming-soon-card {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

main:focus {
  outline: none;
}

figure {
  margin: 0;
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  border-color: color-mix(in srgb, var(--text-dark) 10%, transparent);
  background: var(--header-bg);
  box-shadow: 0 10px 32px -28px var(--text-dark);
}

.brand {
  gap: 11px;
  justify-self: start;
  color: var(--text-dark);
}

.brand-symbol {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--button-text);
  background: var(--text-dark);
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.08em;
}

.brand-name {
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.desktop-nav--primary {
  justify-self: center;
}

.nav-link:hover,
.menu-button:hover,
.theme-toggle:hover {
  background: color-mix(in srgb, var(--text-dark) 6%, transparent) !important;
}

.nav-link[aria-current='page'] {
  color: var(--text-dark);
  background: color-mix(in srgb, var(--button) 11%, transparent);
}

.nav-link-muted[aria-current='page'] {
  color: var(--text-dark);
}

.mobile-menu {
  background: var(--menu-bg);
}

.mobile-menu__primary a[aria-current='page'] {
  color: var(--accent);
}

.theme-toggle {
  transition:
    color 150ms ease,
    background-color 150ms ease,
    transform 180ms ease !important;
}

.theme-toggle:hover svg {
  transform: rotate(8deg);
}

.theme-toggle svg {
  transition: transform 180ms ease;
}

.theme-toggle--mobile {
  display: none !important;
}

.button {
  cursor: pointer;
}

.button--primary {
  color: var(--button-text);
}

.button--secondary {
  border-color: color-mix(in srgb, var(--text-dark) 20%, transparent);
}

.button--secondary:hover {
  border-color: color-mix(in srgb, var(--text-dark) 38%, transparent);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.home-section {
  padding-top: 96px;
  padding-bottom: 112px;
}

.home-section + .home-section {
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.writing-section {
  min-height: 0;
}

.section-intro {
  max-width: 700px;
  margin-top: 20px;
  color: var(--text-mid);
  font-size: 17px;
  line-height: 1.65;
}

.proof-item h2 {
  margin-bottom: 3px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.proof-item p {
  max-width: 270px;
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.55;
}

.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 500;
}

.footer-wordmark > span {
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 24px;
  letter-spacing: -0.08em;
}

/* Interior page heroes ---------------------------------------------------- */

.page-hero {
  display: grid;
  min-height: 480px;
  padding-top: 132px;
  padding-bottom: 112px;
  align-items: center;
}

.page-hero--with-art {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(48px, 7vw, 104px);
}

.page-hero__copy {
  max-width: 880px;
}

.page-hero h1,
.detail-hero h1,
.article-hero h1 {
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: clamp(48px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.page-hero__intro {
  max-width: 690px;
  margin-top: 28px;
  color: var(--text-mid);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.65;
}

.page-hero__actions {
  display: flex;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero__art {
  width: 100%;
  max-width: 430px;
  justify-self: end;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px -42px var(--text-dark);
}

/* Research pages --------------------------------------------------------- */

.detail-hero {
  display: grid;
  min-height: 620px;
  padding-top: 128px;
  padding-bottom: 112px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.detail-hero__copy > p:not(.section-label) {
  max-width: 650px;
  margin-top: 28px;
  color: var(--text-mid);
  font-size: 18px;
  line-height: 1.65;
}

.detail-hero__copy .tag-list {
  margin-top: 32px;
  margin-bottom: 0;
}

.detail-hero__art {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-card-solid);
  box-shadow: 0 28px 70px -48px var(--text-dark);
}

.detail-body {
  display: grid;
  padding-top: 104px;
  padding-bottom: 120px;
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(56px, 9vw, 140px);
  border-top: 1px solid var(--border);
}

.detail-aside {
  position: sticky;
  top: 104px;
  height: fit-content;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.detail-aside p {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.65;
}

.detail-aside__label {
  margin-bottom: 12px;
  color: var(--accent) !important;
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-aside a {
  display: inline-flex;
  margin-top: 18px;
  align-items: center;
  gap: 5px;
  color: var(--link);
  font-size: 13px;
  font-weight: 500;
}

.detail-prose > section + section,
.detail-prose > figure + section {
  margin-top: 80px;
}

.detail-prose h2 {
  margin-bottom: 24px;
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.detail-prose section > p:not(.section-label) {
  color: var(--text-mid);
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 17px;
  line-height: 1.9;
}

.detail-prose section > p:not(.section-label) + p {
  margin-top: 20px;
}

.detail-prose section > .button {
  margin-top: 28px;
  font-family: var(--font-outfit), system-ui, sans-serif;
}

.detail-figure {
  margin-top: 80px;
}

.detail-figure img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-card-solid);
}

.detail-figure figcaption,
.article-media figcaption {
  margin-top: 12px;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.55;
}

.detail-pagination {
  display: grid;
  padding-top: 48px;
  padding-bottom: 112px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.detail-pagination a {
  display: flex;
  min-width: 0;
  padding: 8px 40px;
  flex-direction: column;
  gap: 8px;
}

.detail-pagination a:first-child {
  padding-left: 0;
}

.detail-pagination a:last-child {
  padding-right: 0;
  border-left: 1px solid var(--border);
  text-align: right;
}

.detail-pagination span {
  color: var(--text-light);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-pagination strong {
  overflow: hidden;
  color: var(--text-dark);
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.detail-pagination a:hover strong {
  color: var(--link);
}

/* Writing --------------------------------------------------------------- */

.article-hero {
  max-width: 1010px;
  padding-top: 132px;
  padding-bottom: 72px;
  text-align: center;
}

.article-hero .section-label {
  margin-bottom: 24px;
}

.article-hero > p:last-child {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--text-mid);
  font-size: 19px;
  line-height: 1.65;
}

.article-cover {
  padding-bottom: 88px;
}

.article-cover img {
  width: 100%;
  max-height: 680px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-card-solid);
  object-fit: cover;
}

.article-prose {
  max-width: 800px;
  padding-bottom: 112px;
}

.article-prose > p:not(.article-source) {
  color: var(--text-mid);
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 18px;
  line-height: 1.95;
}

.article-prose > p + p {
  margin-top: 28px;
}

.article-source {
  margin-top: 40px;
}

.article-source a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--link);
  font-size: 14px;
  font-weight: 500;
}

.article-media {
  margin-top: 48px;
}

.article-media iframe,
.article-media video {
  width: 100%;
  border: 0;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  background: #000;
}

.coming-soon-card {
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
}

.coming-soon-card h2 {
  max-width: 600px;
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.coming-soon-card > p:not(.section-label) {
  max-width: 620px;
  margin-top: 22px;
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.7;
}

.coming-soon-card .button {
  margin-top: 30px;
}

.related-writing {
  display: grid;
  padding-top: 64px;
  padding-bottom: 112px;
  grid-template-columns: 160px repeat(2, minmax(0, 1fr));
  gap: 32px;
  border-top: 1px solid var(--border);
}

.related-writing > a {
  display: flex;
  min-width: 0;
  padding-left: 32px;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid var(--border);
}

.related-writing > a span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.related-writing > a strong {
  color: var(--text-dark);
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
}

.related-writing > a:hover strong {
  color: var(--link);
}

/* About and research profile ------------------------------------------- */

.profile-story {
  display: grid;
  padding-top: 112px;
  padding-bottom: 112px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(56px, 9vw, 140px);
  border-top: 1px solid var(--border);
}

.profile-story h2 {
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.profile-story__copy {
  padding-top: 2px;
}

.profile-story__copy p {
  color: var(--text-mid);
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 16px;
  line-height: 1.9;
}

.profile-story__copy p + p {
  margin-top: 22px;
}

.profile-story__copy a {
  display: inline-flex;
  margin-top: 30px;
  align-items: center;
  gap: 5px;
  color: var(--link);
  font-size: 14px;
  font-weight: 500;
}

.profile-section {
  padding-top: 104px;
  padding-bottom: 112px;
}

.profile-section--surface {
  max-width: none;
  background: var(--surface);
}

.profile-timeline {
  display: grid;
  margin-top: 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.profile-timeline article {
  min-height: 220px;
  padding: 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.profile-timeline h3 {
  margin-bottom: 12px;
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
}

.profile-timeline article > p:last-child {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.65;
}

.expertise-grid {
  display: grid;
  margin-top: 48px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.expertise-grid li {
  min-height: 112px;
  padding: 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 17px;
  line-height: 1.45;
}

.principles {
  padding-top: 112px;
  padding-bottom: 128px;
}

.principles__grid {
  display: grid;
  margin-top: 40px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.principles__grid article {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.principles__grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
}

.principles__grid h2 {
  margin-top: 24px;
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.principles__grid p {
  margin-top: 14px;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.7;
}

/* Resume --------------------------------------------------------------- */

.resume-layout {
  display: grid;
  padding-top: 24px;
  padding-bottom: 128px;
  grid-template-columns: 260px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(56px, 9vw, 140px);
}

.resume-layout > aside {
  position: sticky;
  top: 112px;
  height: fit-content;
}

.resume-layout > aside section {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.resume-layout > aside section:last-child {
  border-bottom: 1px solid var(--border);
}

.resume-layout > aside h2 {
  margin-bottom: 14px;
  color: var(--text-light);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resume-layout > aside a,
.resume-layout > aside p,
.resume-layout > aside li {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.7;
}

.resume-layout > aside a:hover {
  color: var(--link);
}

.resume-layout > aside ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.resume-content > section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.resume-content > section:first-child {
  padding-top: 24px;
}

.resume-content > section:last-child {
  border-bottom: 1px solid var(--border);
}

.resume-content > section > h2 {
  max-width: 680px;
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.resume-content > section > h2 + p {
  max-width: 650px;
  margin-top: 18px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.7;
}

.resume-entry {
  display: grid;
  padding: 24px 0;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 32px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
}

.resume-entry:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.resume-entry > p:first-child {
  grid-row: 1 / span 3;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.55;
}

.resume-entry h3 {
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
}

.resume-entry h3 + p,
.resume-entry h3 + p + a {
  margin-top: 7px;
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.6;
}

.resume-entry a {
  width: fit-content;
  color: var(--link) !important;
  font-weight: 500;
}

/* Resources and archive ------------------------------------------------ */

.resource-grid {
  display: grid;
  padding-top: 24px;
  padding-bottom: 128px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.resource-grid > a {
  display: flex;
  min-height: 360px;
  padding: 32px;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.resource-grid > a:hover,
.resource-grid > a:focus-visible {
  border-color: color-mix(in srgb, var(--text-dark) 18%, transparent);
  background: var(--surface-card-strong);
  box-shadow: 0 12px 40px -16px var(--soft-shadow);
  transform: translateY(-2px);
}

.resource-grid > a > span {
  margin-bottom: auto;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}

.resource-grid .section-label {
  margin: 42px 0 12px;
}

.resource-grid h2 {
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.resource-grid h2 + p {
  margin-top: 14px;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.65;
}

.resource-grid strong {
  display: inline-flex;
  margin-top: 24px;
  align-items: center;
  gap: 5px;
  color: var(--link);
  font-size: 13px;
  font-weight: 500;
}

.resource-list,
.archive-list {
  padding-top: 16px;
  padding-bottom: 128px;
}

.resource-list > a {
  display: grid;
  min-height: 220px;
  padding: 36px 0;
  grid-template-columns: 64px minmax(0, 1fr) 40px;
  align-items: start;
  gap: 32px;
  border-top: 1px solid var(--border);
}

.resource-list > a:last-child {
  border-bottom: 1px solid var(--border);
}

.resource-list > a > span,
.resource-list > a > strong {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}

.resource-list > a > strong {
  justify-self: end;
  font-size: 20px;
}

.resource-list h2 {
  max-width: 780px;
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.resource-list h2 + p {
  max-width: 700px;
  margin-top: 12px;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.65;
}

.resource-list > a:hover h2 {
  color: var(--link);
}

.archive-list article {
  display: grid;
  min-height: 130px;
  padding: 32px 0;
  grid-template-columns: 180px minmax(0, 1fr) 260px;
  align-items: baseline;
  gap: 32px;
  border-top: 1px solid var(--border);
}

.archive-list article:last-child {
  border-bottom: 1px solid var(--border);
}

.archive-list time,
.archive-list p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.5;
}

.archive-list h2 {
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;
}

/* Contact -------------------------------------------------------------- */

.contact-layout {
  display: grid;
  padding-top: 24px;
  padding-bottom: 128px;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(56px, 9vw, 140px);
}

.contact-details {
  padding-top: 32px;
}

.contact-details h2 {
  font-family: var(--font-libre-baskerville), Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.contact-details > p:not(.section-label) {
  max-width: 430px;
  margin: 20px 0 30px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.7;
}

.contact-details > a {
  display: flex;
  width: fit-content;
  margin-top: 12px;
  align-items: center;
  gap: 6px;
  color: var(--link);
  font-size: 15px;
  font-weight: 500;
}

.contact-form {
  display: flex;
  padding: clamp(28px, 4vw, 48px);
  flex-direction: column;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label > span {
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  background: var(--field-bg);
  outline: 0;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.contact-form input {
  height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 176px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--link);
  background: var(--surface-card-solid);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 14%, transparent);
}

.contact-form .button {
  width: fit-content;
}

.contact-form-status a {
  display: inline-flex;
  margin-top: 6px;
  align-items: center;
  gap: 5px;
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Video collection and player ----------------------------------------- */

.video-grid--research {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.video-grid--research .video-card {
  height: auto;
}

.video-grid--research .video-card__title {
  min-height: 76px;
  font-size: 14px;
  line-height: 1.5;
}

.video-card:focus-visible,
.work-card:focus-visible,
.article-row:focus-visible,
.resource-grid > a:focus-visible,
.resource-list > a:focus-visible,
.related-writing > a:focus-visible,
.detail-pagination a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 4px;
}

.video-modal__panel--landscape {
  width: min(1040px, calc(100vw - 48px));
  max-width: 100%;
}

.video-modal__frame--landscape {
  aspect-ratio: 16 / 9;
}

.video-modal__frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-modal__caption > div {
  min-width: 0;
}

.video-modal__caption small {
  display: block;
  max-width: 760px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  line-height: 1.5;
}

/* Whiteboard ----------------------------------------------------------- */

.whiteboard-page {
  background: var(--bg);
}

html.wb-leaving,
html.wb-leaving body {
  background: var(--bg);
  transition: background-color 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

html.wb-leaving #main-content {
  opacity: 0;
  transition: opacity 280ms ease;
}

html.wb-active .tlui-layout {
  padding-top: 100px;
}

/* Dark mode ------------------------------------------------------------ */

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #15181c;
  --surface: #20252b;
  --surface-card: rgba(255, 255, 255, 0.045);
  --surface-card-strong: rgba(255, 255, 255, 0.085);
  --surface-card-solid: #252a31;
  --accent: #d5a6c6;
  --accent-light: #3a2937;
  --button: #779dd4;
  --button-hover: #91b2df;
  --button-text: #10151d;
  --link: #94b9ed;
  --text-dark: #f2efe9;
  --text-mid: #c2c0ba;
  --text-light: #aaa8a2;
  --border: #3b424b;
  --header-bg: rgba(31, 35, 41, 0.86);
  --menu-bg: rgba(21, 24, 28, 0.985);
  --soft-shadow: rgba(0, 0, 0, 0.45);
  --field-bg: rgba(255, 255, 255, 0.04);
}

:root[data-theme='dark'] .skip-link {
  color: #15181c;
  background: #f2efe9;
}

:root[data-theme='dark'] .site-header__inner {
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 14px 36px -28px #000;
}

:root[data-theme='dark'] .brand-symbol {
  color: #15181c;
  background: #f2efe9;
}

:root[data-theme='dark'] .work-card:hover,
:root[data-theme='dark'] .video-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 44px -20px rgba(0, 0, 0, 0.72);
}

:root[data-theme='dark'] .availability-pill {
  background: rgba(255, 255, 255, 0.045);
}

:root[data-theme='dark'] .availability-pill__dot {
  box-shadow: 0 0 0 3px rgba(213, 166, 198, 0.16);
}

:root[data-theme='dark'] .contact-form-status.is-success {
  color: #c6e7d1;
  background: #213b2c;
}

:root[data-theme='dark'] .contact-form-status.is-error {
  color: #efc6ca;
  background: #472a2f;
}

:root[data-theme='dark'] .page-hero__art,
:root[data-theme='dark'] .detail-hero__art,
:root[data-theme='dark'] .detail-figure img,
:root[data-theme='dark'] .article-cover img {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 74px -50px #000;
}

:root[data-theme='dark'] .hero__portrait,
:root[data-theme='dark'] .page-hero__art,
:root[data-theme='dark'] .detail-hero__art,
:root[data-theme='dark'] .detail-figure img,
:root[data-theme='dark'] .article-cover img {
  filter: brightness(0.86) saturate(0.9);
}

/* Responsive geometry -------------------------------------------------- */

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    padding-inline: 18px;
  }

  .nav-link,
  .nav-link-muted {
    padding-inline: 10px;
  }

  .page-hero--with-art {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 48px;
  }

  .detail-hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  }
}

@media (max-width: 1024px) {
  .page-hero,
  .detail-hero {
    min-height: 0;
  }

  .page-hero--with-art {
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  }

  .detail-body,
  .resume-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 56px;
  }

  .detail-hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: 40px;
  }

  .profile-story {
    gap: 56px;
  }

  .resource-grid {
    gap: 14px;
  }

  .resource-grid > a {
    min-height: 340px;
    padding: 26px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.7fr) minmax(380px, 1.3fr);
    gap: 56px;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .theme-toggle--desktop {
    display: none !important;
  }

  .theme-toggle--mobile {
    display: inline-flex !important;
    justify-self: end;
    margin-left: 8px;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding-inline: 20px;
  }

  .site-header {
    top: 10px;
    padding-inline: 10px;
  }

  .site-header__inner {
    padding-inline: 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand-symbol {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 17px;
  }

  .brand-name {
    max-width: 138px;
    font-size: 14px;
  }

  .theme-toggle--desktop {
    display: none !important;
  }

  .theme-toggle--mobile {
    display: inline-flex !important;
    margin-left: auto;
    margin-right: 2px;
  }

  .mobile-menu {
    padding: 92px 24px 32px;
  }

  .page-hero,
  .page-hero--with-art,
  .detail-hero {
    display: flex;
    padding-top: 88px;
    padding-bottom: 80px;
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .page-hero h1,
  .detail-hero h1,
  .article-hero h1 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .page-hero__intro,
  .detail-hero__copy > p:not(.section-label),
  .article-hero > p:last-child {
    font-size: 17px;
    line-height: 1.62;
  }

  .page-hero__art {
    width: min(100%, 420px);
    align-self: center;
  }

  .home-section {
    padding-top: 80px;
    padding-bottom: 88px;
  }

  .section-intro {
    margin-top: 16px;
    font-size: 15px;
  }

  .detail-hero__art {
    order: -1;
  }

  .detail-body,
  .resume-layout,
  .profile-story,
  .contact-layout {
    display: flex;
    padding-top: 72px;
    padding-bottom: 88px;
    flex-direction: column;
    gap: 56px;
  }

  .detail-aside,
  .resume-layout > aside {
    position: static;
    width: 100%;
  }

  .detail-prose > section + section,
  .detail-prose > figure + section,
  .detail-figure {
    margin-top: 64px;
  }

  .detail-prose h2 {
    font-size: 29px;
  }

  .detail-prose section > p:not(.section-label) {
    font-size: 16px;
    line-height: 1.85;
  }

  .detail-pagination {
    padding-top: 36px;
    padding-bottom: 80px;
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-pagination a,
  .detail-pagination a:first-child,
  .detail-pagination a:last-child {
    padding: 24px 0;
    border-left: 0;
    text-align: left;
  }

  .detail-pagination a + a {
    border-top: 1px solid var(--border);
  }

  .article-hero {
    padding-top: 96px;
    padding-bottom: 52px;
  }

  .article-cover {
    padding-bottom: 64px;
  }

  .article-cover img {
    border-radius: var(--radius-lg);
  }

  .article-prose {
    padding-bottom: 80px;
  }

  .article-prose > p:not(.article-source) {
    font-size: 16px;
    line-height: 1.85;
  }

  .related-writing {
    padding-top: 48px;
    padding-bottom: 80px;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .related-writing > a {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .profile-story h2 {
    font-size: 34px;
  }

  .profile-section,
  .principles {
    padding-top: 80px;
    padding-bottom: 88px;
  }

  .profile-timeline,
  .expertise-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-timeline article {
    min-height: 0;
    padding: 28px 24px;
  }

  .expertise-grid li {
    min-height: 0;
    padding: 24px;
  }

  .principles__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .resume-layout {
    padding-top: 0;
  }

  .resume-content > section:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .resume-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .resume-entry > p:first-child {
    grid-row: auto;
  }

  .resource-grid {
    padding-top: 0;
    padding-bottom: 88px;
    grid-template-columns: minmax(0, 1fr);
  }

  .resource-grid > a {
    min-height: 300px;
  }

  .resource-list,
  .archive-list {
    padding-top: 0;
    padding-bottom: 88px;
  }

  .resource-list > a {
    min-height: 0;
    padding: 30px 0;
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    gap: 14px;
  }

  .resource-list h2 {
    font-size: 22px;
  }

  .archive-list article {
    min-height: 0;
    padding: 28px 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .archive-list h2 {
    grid-row: 1;
  }

  .contact-details {
    padding-top: 0;
  }

  .contact-form {
    padding: 24px;
  }

  .video-grid--research {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .video-modal__panel--landscape {
    width: calc(100vw - 24px);
  }

  .video-modal__caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  html.wb-active .tlui-layout {
    padding-top: 98px;
  }
}

@media (max-width: 500px) {
  .page-hero__actions .button,
  .contact-form .button {
    width: 100%;
  }

  .resource-list > a {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .resource-list > a > strong {
    display: none;
  }
}

@media (max-width: 380px) {
  .brand-name {
    max-width: 112px;
  }

  .video-grid--research {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Print profile --------------------------------------------------------- */

@media print {
  @page {
    size: A4;
    margin: 14mm 16mm;
  }

  :root,
  :root[data-theme='dark'] {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-card: #ffffff;
    --surface-card-strong: #ffffff;
    --surface-card-solid: #ffffff;
    --accent: #6c3f5d;
    --accent-light: #ead9e3;
    --button: #3f608f;
    --button-hover: #3f608f;
    --button-text: #ffffff;
    --link: #294d78;
    --text-dark: #111111;
    --text-mid: #333333;
    --text-light: #555555;
    --border: #c8c8c8;
    color-scheme: light;
  }

  html,
  body {
    color: #111 !important;
    background: #fff !important;
    font-size: 10pt;
  }

  .site-header,
  .site-footer,
  .mobile-menu,
  .nav-spacer,
  .print-hide,
  .resume-page .page-hero__actions {
    display: none !important;
  }

  .resume-page .page-hero {
    display: block;
    min-height: 0;
    max-width: none;
    padding: 0 0 10mm;
    border-bottom: 1px solid #777;
  }

  .resume-page .page-hero h1 {
    font-size: 28pt;
  }

  .resume-page .page-hero__intro {
    max-width: none;
    margin-top: 4mm;
    color: #333;
    font-size: 9.5pt;
    line-height: 1.45;
  }

  .resume-layout {
    display: grid;
    max-width: none;
    padding: 8mm 0 0;
    grid-template-columns: 46mm minmax(0, 1fr);
    gap: 10mm;
  }

  .resume-layout > aside {
    position: static;
  }

  .resume-layout > aside section,
  .resume-content > section {
    padding: 4mm 0;
    break-inside: avoid;
  }

  .resume-content > section:first-child {
    padding-top: 0;
  }

  .resume-content > section > h2 {
    font-size: 15pt;
  }

  .resume-entry {
    padding: 3.5mm 0;
    grid-template-columns: 34mm minmax(0, 1fr);
    column-gap: 5mm;
    break-inside: avoid;
  }

  .resume-entry h3 {
    color: #111;
    font-size: 10.5pt;
  }

  .resume-entry p,
  .resume-entry a,
  .resume-layout > aside a,
  .resume-layout > aside p,
  .resume-layout > aside li {
    color: #333 !important;
    font-size: 8.5pt;
  }

  a {
    color: #111 !important;
    text-decoration: none !important;
  }
}
