:root {
  --accent: #80c9b6;
  --nav-height: 88px;
  --page-x: clamp(16px, 3vw, 48px);
  --gap: 10px;
  --font-sans: "Helvetica Neue", "Helvetica Neue LT Std", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

:root[data-theme="dark"] {
  --bg: #000;
  --fg: #fff;
  --muted: rgb(255 255 255 / 62%);
  --soft: rgb(255 255 255 / 12%);
  --line: rgb(255 255 255 / 18%);
  --card: #050505;
  --overlay: rgb(0 0 0 / 42%);
  --grid-color: rgb(255 255 255 / 18%);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #fff;
  --fg: #000;
  --muted: rgb(0 0 0 / 62%);
  --soft: rgb(0 0 0 / 8%);
  --line: rgb(0 0 0 / 16%);
  --card: #f5f5f5;
  --overlay: rgb(0 0 0 / 24%);
  --grid-color: rgb(0 0 0 / 16%);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  letter-spacing: 0;
  transition: background-color 240ms ease, color 240ms ease;
}

body.viewer-open {
  overflow: hidden;
}

.brand-mark.has-image {
  border: 0;
}

.brand-mark.has-image img {
  width: 100%;
  height: 100%;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  object-fit: contain;
  transition: filter 240ms ease;
}

:root[data-theme="dark"] .brand-mark.has-image img,
body.viewer-open .brand-mark.has-image img {
  filter: brightness(0) invert(1);
}

.service-notice {
  position: fixed;
  z-index: 90;
  right: 14px;
  bottom: 14px;
  max-width: 420px;
  padding: 10px 12px;
  border: 1px solid var(--accent);
  background: var(--bg);
  color: var(--fg);
  font-size: 12px;
}

:root[data-theme="dark"] body {
  background: #000;
  color: #fff;
}

:root[data-theme="light"] body {
  background: #fff;
  color: #000;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

button {
  border: 0;
  font: inherit;
}

img,
video {
  display: block;
  width: 100%;
  height: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 14px;
  transform: translateY(-160%);
  background: var(--fg);
  color: var(--bg);
  padding: 9px 12px;
  font-size: 14px;
  transition: transform 160ms ease;
}

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

.grid-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background-position: 0 0;
  background-size: 72px 72px;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

:root[data-theme="light"] .grid-field {
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 33.75v4.5M33.75 36h4.5' stroke='%23b9b9b9' stroke-width='.65'/%3E%3C/svg%3E");
}

:root[data-theme="dark"] .grid-field {
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 33.75v4.5M33.75 36h4.5' stroke='%23ffffff' stroke-opacity='.22' stroke-width='.65'/%3E%3C/svg%3E");
}

.site-nav {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(118px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  min-height: var(--nav-height);
  padding: 20px var(--page-x);
  color: var(--fg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  opacity: 1;
  visibility: visible;
  filter: none;
  mix-blend-mode: normal;
}

.brand.brand-loading {
  opacity: 0;
  visibility: hidden;
}

.brand.brand-ready {
  opacity: 1;
  visibility: visible;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.brand-name {
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links,
.nav-actions {
  display: inline-flex;
  align-items: center;
  color: var(--fg);
}

.nav-links {
  gap: clamp(14px, 2.2vw, 34px);
}

.nav-links a,
.icon-toggle {
  opacity: 0.72;
  mix-blend-mode: normal;
  text-shadow: 0 1px 8px var(--bg);
  transition: opacity 160ms ease, transform 160ms ease;
}

body.viewer-open .site-nav,
body.viewer-open .nav-links,
body.viewer-open .nav-actions {
  color: #fff;
}

body.viewer-open .brand,
body.viewer-open .nav-links a,
body.viewer-open .icon-toggle {
  color: #fff;
  opacity: 1;
  text-shadow: 0 1px 8px #000;
}

body.viewer-open .viewer-back,
body.viewer-open .viewer-index-button,
body.viewer-open .viewer-index-button .index-subtitle,
body.viewer-open .viewer-status {
  color: #fff;
}

.nav-links a {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
}

.nav-links a:hover,
.icon-toggle:hover,
.nav-links a:focus-visible,
.icon-toggle:focus-visible {
  opacity: 1;
}

.nav-links a.is-current {
  opacity: 1;
  font-weight: 700;
}

.nav-actions {
  gap: 8px;
}

.icon-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.icon-toggle:hover {
  transform: translateY(-1px);
}

.section {
  padding-inline: var(--page-x);
}

.work-section {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 70px);
  align-items: start;
  padding-top: 118px;
  padding-right: var(--page-x);
  padding-left: 24px;
}

.project-index {
  position: sticky;
  top: 106px;
  height: calc(100vh - 124px);
  min-height: 440px;
  background: transparent;
}

.project-index-list,
.viewer-index-list {
  scrollbar-width: thin;
}

.project-index-list {
  height: 100%;
  overflow-y: auto;
  padding: 7px;
  scrollbar-width: none;
}

.project-index-list::-webkit-scrollbar {
  display: none;
}

.project-index-button,
.viewer-index-button {
  display: block;
  width: 100%;
  padding: 9px 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.project-index-button {
  border: 1px solid transparent;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.project-index-button:hover,
.project-index-button:focus-visible {
  border-color: var(--line);
  background: var(--soft);
}

.index-title,
.index-subtitle {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.index-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}

.index-subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.1;
}

.work-content {
  min-width: 0;
}

.intro {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin-bottom: 24px;
}

.work-filters {
  display: flex;
  gap: clamp(18px, 2.5vw, 38px);
  align-items: center;
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.work-filters::-webkit-scrollbar {
  display: none;
}

.work-filters button {
  position: relative;
  flex: 0 0 auto;
  padding: 4px 0 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 300;
  white-space: nowrap;
  transition: color 160ms ease, font-weight 160ms ease;
}

.work-filters button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.work-filters button:hover {
  color: var(--fg);
}

.work-filters button[aria-pressed="true"] {
  color: var(--fg);
  font-weight: 700;
}

.work-filters button[aria-pressed="true"]::after {
  transform: scaleX(1);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  line-height: 1.2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1160px;
  margin-bottom: 0;
  font-size: clamp(25px, 4.1vw, 62px);
  font-weight: 300;
  line-height: 1.05;
}

#work-title,
#student-work-title {
  white-space: nowrap;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 72px);
  font-weight: 300;
  line-height: 0.98;
}

.masonry-grid {
  column-count: 1;
  column-gap: var(--gap);
}

.masonry-grid.is-filtering {
  animation: work-filter-in 220ms ease-out both;
}

.masonry-grid.is-manual-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  column-count: auto;
}

.masonry-column {
  min-width: 0;
}

@keyframes work-filter-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.work-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--gap);
  overflow: hidden;
  background: var(--card);
  color: #fff;
  cursor: pointer;
  isolation: isolate;
  break-inside: avoid;
}

.work-card::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: var(--overlay);
  opacity: 0;
  transition: opacity 180ms ease;
}

.work-card:hover::after,
.work-card:focus-within::after {
  opacity: 1;
}

.work-card img,
.work-card video {
  transition: transform 300ms ease;
}

.work-card:hover img {
  filter: saturate(0.88) contrast(1.05);
}

.work-card:hover img,
.work-card:hover video {
  transform: scale(1.01);
}

.student-card::after,
.student-card .card-meta {
  bottom: 62px;
}

.student-credit {
  position: relative;
  z-index: 6;
  display: grid;
  min-height: 62px;
  gap: 4px;
  align-content: center;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  pointer-events: none;
}

.student-credit strong,
.student-credit span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.student-credit strong {
  font-size: 14px;
  line-height: 1.1;
}

.student-credit span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
}

.card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.card-meta {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(12px, 1.6vw, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.work-card:hover .card-meta,
.work-card:focus-within .card-meta {
  opacity: 1;
}

.card-title {
  max-width: 88%;
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 700;
  line-height: 1.05;
}

.card-category {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 300;
}

.media-frame {
  width: 100%;
}

.media-frame-natural img,
.media-frame-natural video {
  object-fit: contain;
}

.media-frame-unmeasured img {
  height: auto;
}

.media-frame-video-fallback {
  aspect-ratio: 16 / 9;
}

.media-frame-mview {
  aspect-ratio: 1 / 1;
}

.mview-card {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49%, rgb(255 255 255 / 12%) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgb(255 255 255 / 12%) 50%, transparent 51%),
    #080808;
}

.media-watermark {
  position: absolute;
  z-index: 3;
  inset: -35%;
  overflow: hidden;
  pointer-events: none;
}

.media-watermark span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgb(255 255 255 / var(--watermark-opacity, 0.05));
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 700;
  line-height: 4.8;
  text-align: center;
  text-shadow: none;
  white-space: pre;
  transform: rotate(-30deg);
}

:root[data-theme="light"] .mview-card {
  background:
    linear-gradient(90deg, transparent 49%, rgb(0 0 0 / 12%) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgb(0 0 0 / 12%) 50%, transparent 51%),
    #f1f1f1;
  color: #000;
}

.mview-thumbnail {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mview-card.has-thumbnail .mview-thumbnail {
  display: block;
}

.mview-card.has-thumbnail::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgb(0 0 0 / 66%), transparent 58%);
}

.mview-card.has-thumbnail .mview-inner {
  align-self: end;
  color: #fff;
  text-align: left;
}

.mview-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 24px;
  text-align: center;
}

.mview-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mview-name {
  max-width: 240px;
  overflow-wrap: anywhere;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  line-height: 0.95;
}

.mview-state {
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 2fr);
  gap: 20px;
  align-items: end;
  padding: 110px 0 22px;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.feed-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 16 / 9;
  color: #fff;
}

.feed-card video {
  object-fit: cover;
}

.feed-info {
  position: absolute;
  inset: auto 0 0;
  padding: 14px;
  background: linear-gradient(to top, rgb(0 0 0 / 68%), transparent);
  color: #fff;
}

.feed-info strong {
  display: block;
  font-size: 16px;
  line-height: 1.1;
}

.feed-info span {
  display: block;
  margin-top: 3px;
  color: rgb(255 255 255 / 72%);
  font-size: 13px;
}

.info-section {
  padding-top: 120px;
  padding-bottom: 80px;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 2fr);
  gap: clamp(28px, 7vw, 110px);
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.info-copy {
  max-width: 960px;
}

.info-copy > p {
  color: var(--fg);
  font-size: clamp(21px, 2.4vw, 34px);
  font-weight: 300;
  line-height: 1.18;
}

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

.info-columns h3 {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 15px;
}

.info-columns ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
  list-style: none;
}

.info-columns a {
  color: var(--fg);
}

.info-columns a:hover {
  color: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--page-x) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.standalone-section {
  min-height: calc(100vh - 80px);
  padding-top: 126px;
  padding-bottom: 80px;
}

.page-intro {
  max-width: 1260px;
  margin-bottom: 34px;
}

.page-intro h1,
.info-heading h1 {
  max-width: 1260px;
  margin-bottom: 0;
  font-size: clamp(34px, 6vw, 92px);
  font-weight: 300;
  line-height: 0.98;
}

.page-intro-note {
  max-width: 720px;
  margin-top: 18px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 23px);
  font-weight: 300;
  line-height: 1.3;
}

.feed-grid-page {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-page {
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}

.info-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 4vw, 70px);
  align-items: start;
  padding: 0 var(--page-x) 64px;
}

.info-portrait {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.info-portrait img {
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
}

.info-statement {
  max-width: 720px;
}

.info-statement h1 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(42px, 5.4vw, 86px);
  font-weight: 700;
  line-height: 0.94;
}

.info-intro {
  display: grid;
  gap: 22px;
  margin-top: clamp(30px, 4vw, 56px);
}

.info-intro p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 300;
  line-height: 1.48;
}

.availability {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 44px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.availability-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}

.info-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 120px);
  min-height: 390px;
  padding: 54px var(--page-x) 76px;
  border-top: 1px solid var(--line);
}

.info-directory-column {
  max-width: 380px;
}

.info-directory-column h2 {
  margin-bottom: 26px;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  line-height: 1;
}

.directory-group {
  display: grid;
  gap: 6px;
  margin-bottom: 26px;
}

.directory-group h3,
.directory-group p,
.directory-group a {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.directory-group h3 {
  font-weight: 700;
}

.directory-group p {
  color: var(--muted);
  font-weight: 300;
}

.directory-group a {
  width: fit-content;
  color: var(--accent);
  font-weight: 400;
}

.directory-group a:hover {
  color: var(--fg);
}

.project-viewer {
  position: fixed;
  z-index: 70;
  inset: 0;
  visibility: hidden;
  overflow: hidden;
  background: #000;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.project-viewer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.viewer-media,
.viewer-media > img,
.viewer-media > .viewer-video-layer,
.viewer-media > .viewer-mview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.viewer-media > img,
.viewer-video-foreground {
  object-fit: contain;
}

.viewer-video-poster,
.viewer-video-background,
.viewer-video-foreground {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.viewer-video-poster,
.viewer-video-background {
  pointer-events: none;
  object-fit: cover;
  filter: blur(34px) brightness(0.42) saturate(0.72);
  transform: scale(1.1);
}

.viewer-video-poster {
  z-index: 0;
}

.viewer-video-background {
  z-index: 1;
  opacity: 0.86;
}

.viewer-video-foreground {
  z-index: 2;
}

.viewer-quality {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 72px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  background: rgb(0 0 0 / 58%);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.viewer-quality span {
  padding: 0 4px 0 6px;
  color: rgb(255 255 255 / 72%);
}

.viewer-quality button {
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.viewer-quality button:hover,
.viewer-quality button:focus-visible,
.viewer-quality button.is-active {
  border-color: rgb(255 255 255 / 48%);
  background: rgb(255 255 255 / 16%);
}

.viewer-quality button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.viewer-unmute {
  position: absolute;
  z-index: 4;
  bottom: 128px;
  left: 50%;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  background: rgb(0 0 0 / 62%);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.viewer-unmute[hidden] {
  display: none;
}

.viewer-unmute:hover,
.viewer-unmute:focus-visible {
  border-color: rgb(255 255 255 / 52%);
  background: rgb(0 0 0 / 82%);
}

.viewer-unmute svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.project-viewer.has-viewer-group .viewer-unmute {
  bottom: 206px;
}

.project-viewer.has-viewer-group .viewer-quality {
  bottom: 150px;
}

.viewer-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 48%) 0, rgb(0 0 0 / 12%) 25%, transparent 52%),
    linear-gradient(0deg, rgb(0 0 0 / 44%) 0, transparent 28%);
}

.viewer-index {
  position: absolute;
  z-index: 4;
  top: 100px;
  bottom: 64px;
  left: 28px;
  display: flex;
  width: 208px;
  flex-direction: column;
  border-left: 1px solid rgb(255 255 255 / 28%);
  color: #fff;
  pointer-events: none;
  transition: width 180ms ease, border-color 180ms ease;
}

.viewer-index.is-collapsed {
  width: 0;
  border-left-color: transparent;
}

.viewer-index-toggle {
  position: absolute;
  top: 0;
  right: -36px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 44%);
  border-radius: 50%;
  background: rgb(0 0 0 / 30%);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  pointer-events: auto;
  transition: background-color 160ms ease, color 160ms ease;
}

.viewer-index-toggle:hover {
  background: #fff;
  color: #000;
}

.viewer-index.is-collapsed .viewer-index-toggle span {
  display: inline-block;
  transform: rotate(180deg);
}

.viewer-back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 8px;
  padding: 8px 12px;
  background: transparent;
  color: rgb(255 255 255 / 72%);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  pointer-events: auto;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.viewer-back:hover {
  color: #fff;
}

.viewer-index-list {
  min-height: 0;
  overflow-y: auto;
  padding: 4px 8px;
  pointer-events: auto;
  scrollbar-width: none;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.viewer-index-list::-webkit-scrollbar {
  display: none;
}

.viewer-index.is-collapsed .viewer-back,
.viewer-index.is-collapsed .viewer-index-list {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.viewer-index-button {
  position: relative;
  border: 1px solid transparent;
  color: rgb(255 255 255 / 72%);
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.viewer-index-button:hover,
.viewer-index-button.is-active {
  border-color: rgb(255 255 255 / 52%);
  background: rgb(0 0 0 / 18%);
  color: #fff;
}

.viewer-index-button.is-active::after {
  position: absolute;
  right: 8px;
  bottom: 5px;
  left: 8px;
  height: 1px;
  content: "";
  background: rgb(255 255 255 / 52%);
}

.viewer-index-button .index-subtitle {
  color: rgb(255 255 255 / 58%);
}

.viewer-group-strip {
  position: absolute;
  z-index: 4;
  right: 260px;
  bottom: 58px;
  left: 292px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px;
  pointer-events: auto;
  scrollbar-width: thin;
}

.viewer-group-item {
  width: 112px;
  height: 64px;
  flex: 0 0 112px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 28%);
  background: rgb(0 0 0 / 36%);
  color: #fff;
  cursor: pointer;
}

.viewer-group-item:hover,
.viewer-group-item.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 1px #fff;
}

.viewer-group-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewer-group-item span {
  display: grid;
  height: 100%;
  place-items: center;
  padding: 6px;
  font-size: 10px;
}

.viewer-status {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 24px;
  display: flex;
  gap: 16px;
  color: rgb(255 255 255 / 72%);
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.viewer-status #viewerStudent:empty {
  display: none;
}

.viewer-close {
  position: absolute;
  z-index: 5;
  right: 28px;
  top: calc(var(--nav-height) + 8px);
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 50%;
  background: rgb(0 0 0 / 18%);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease;
}

.viewer-close:hover {
  background: #fff;
  color: #000;
}

.project-viewer.is-mview .viewer-close {
  right: 80px;
}

.viewer-mview {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, transparent 49.9%, rgb(255 255 255 / 14%) 50%, transparent 50.1%),
    linear-gradient(0deg, transparent 49.9%, rgb(255 255 255 / 14%) 50%, transparent 50.1%),
    #050505;
  background-size: 48px 48px;
}

.viewer-mview > .media-watermark {
  z-index: 3;
}

.mview-viewer-host,
.mview-viewer-host > div {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.mview-loading {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  place-self: center;
  padding: 24px;
  text-align: center;
  pointer-events: none;
}

@media (min-width: 720px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (min-width: 1080px) {
  .masonry-grid {
    column-count: 3;
  }
}

@media (max-width: 1079px) {
  .work-section {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 20px;
    padding-left: 16px;
  }

  .project-index {
    top: 98px;
    height: calc(100vh - 112px);
  }

  .info-hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 30px;
  }

  .info-statement h1 {
    font-size: clamp(38px, 5.8vw, 64px);
  }

  .info-directory {
    gap: 38px;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 74px;
  }

  .site-nav {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand-name {
    display: none;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .nav-links {
    justify-content: center;
    gap: 13px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .nav-actions {
    gap: 2px;
  }

  .icon-toggle {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .work-section {
    display: block;
    padding-top: 96px;
    padding-right: var(--page-x);
    padding-left: var(--page-x);
  }

  .project-index {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    margin-bottom: 18px;
  }

  #work-title,
  #student-work-title {
    white-space: normal;
  }

  .project-index-list {
    display: flex;
    height: auto;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px;
  }

  .project-index-button {
    width: 142px;
    flex: 0 0 142px;
  }

  .intro {
    margin-bottom: 18px;
  }

  .work-filters {
    width: calc(100vw - (var(--page-x) * 2));
    gap: 22px;
    margin-bottom: 10px;
    padding-bottom: 2px;
  }

  .card-meta {
    opacity: 1;
    background: linear-gradient(to top, rgb(0 0 0 / 62%), transparent 56%);
  }

  .section-head,
  .info-layout,
  .info-columns {
    grid-template-columns: 1fr;
  }

  .section-head {
    padding-top: 76px;
  }

  .feed-grid {
    grid-template-columns: 1fr;
  }

  .info-section {
    padding-top: 78px;
  }

  .standalone-section {
    padding-top: 96px;
  }

  .feed-grid-page {
    grid-template-columns: 1fr;
  }

  .info-page {
    padding-top: 92px;
  }

  .info-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 42px;
  }

  .info-portrait {
    aspect-ratio: 4 / 3;
  }

  .info-statement h1 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .info-intro {
    gap: 16px;
    margin-top: 26px;
  }

  .availability {
    margin-top: 28px;
  }

  .info-directory {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 38px;
  }

  .info-directory-column {
    max-width: none;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .info-directory-column:last-child {
    border-bottom: 0;
  }

  .site-footer {
    flex-direction: column;
  }

  .viewer-index {
    top: auto;
    right: 12px;
    bottom: 56px;
    left: 12px;
    width: auto;
    height: 102px;
    border-top: 1px solid rgb(255 255 255 / 34%);
    border-left: 0;
    pointer-events: none;
  }

  .viewer-index.is-collapsed {
    width: auto;
    height: 0;
    border-top-color: transparent;
  }

  .viewer-index-toggle {
    top: -42px;
    right: 0;
  }

  .viewer-back {
    position: absolute;
    bottom: 108px;
    left: 0;
    margin: 0;
    padding-left: 0;
  }

  .viewer-index-list {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 0;
    pointer-events: auto;
  }

  .viewer-index-button {
    width: 142px;
    flex: 0 0 142px;
  }

  .viewer-group-strip {
    right: 12px;
    bottom: 166px;
    left: 12px;
  }

  .viewer-status {
    right: 14px;
    bottom: 126px;
  }

  .viewer-close {
    right: 14px;
    top: calc(var(--nav-height) + 8px);
    bottom: auto;
    width: 42px;
    height: 42px;
  }

  .viewer-unmute {
    bottom: 234px;
  }

  .viewer-quality {
    left: 50%;
    bottom: 180px;
    max-width: calc(100vw - 28px);
    padding: 6px;
    font-size: 10px;
  }

  .viewer-quality button {
    padding: 6px 7px;
  }

  .project-viewer.has-viewer-group .viewer-unmute {
    bottom: 314px;
  }

  .project-viewer.has-viewer-group .viewer-quality {
    bottom: 260px;
  }

  .project-viewer.is-mview .viewer-close {
    right: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
