:root {
  --paper: #050505;
  --ink: #ffffff;
  --muted: #bdbdbd;
  --signal: #ffffff;
  --signal-soft: #ffffff;
  --rule: rgba(255, 255, 255, 0.22);
  --gap-dot: var(--paper);
  --cell: clamp(42px, 7vw, 88px);
  --line: 1px;
  --dot: clamp(11px, 1.25vw, 18px);
  --blur-progress: 0;
  --about-progress: 0;
  --note-progress: 0;
  font-family:
    Helvetica Neue,
    Helvetica,
    Arial,
    Hiragino Kaku Gothic ProN,
    Yu Gothic,
    Meiryo,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

.poster {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(22px, 5vw) repeat(12, 1fr) minmax(22px, 5vw);
  grid-template-rows: auto auto auto auto;
  gap: 0;
}

.grid-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 0 0, var(--gap-dot) 0 calc(var(--dot) / 2), transparent calc(var(--dot) / 2 + 1px)),
    linear-gradient(to right, var(--rule) 0 var(--line), transparent var(--line) var(--cell)),
    linear-gradient(to bottom, var(--rule) 0 var(--line), transparent var(--line) var(--cell));
  background-size: var(--cell) var(--cell), var(--cell) var(--cell), var(--cell) var(--cell);
  background-position: 0 0;
}

.grid-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.site-header,
.intro,
.about-section,
.section-index,
.portfolio-note,
.footer {
  grid-column: 2 / 14;
}

.site-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  padding-top: clamp(18px, 3vw, 34px);
}

.nav {
  grid-column: 7 / 13;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding-top: 6px;
  text-align: right;
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 700;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  display: inline-block;
  color: var(--signal);
  transition:
    opacity 170ms ease,
    transform 170ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  opacity: 0.72;
  transform: translateY(-3px);
  outline: none;
}

.intro {
  min-height: calc(100vh - clamp(66px, 8vw, 96px));
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr auto auto auto auto 1fr;
  align-items: end;
  text-align: right;
  padding: clamp(24px, 5vh, 62px) 0 clamp(92px, 16vh, 172px);
}

h1 {
  grid-column: 4 / 13;
  grid-row: 2;
  margin: 0;
  font-size: clamp(66px, 12.6vw, 184px);
  line-height: 0.82;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--ink);
}

.profile-lines {
  grid-column: 7 / 13;
  grid-row: 5;
  align-self: end;
  margin-top: clamp(18px, 3.2vh, 46px);
  margin-bottom: 0;
  padding: 0;
  background: transparent;
}

.hero-name {
  grid-column: 7 / 13;
  grid-row: 3;
  align-self: end;
  margin-top: clamp(18px, 3vh, 34px);
  padding: 0;
  background: transparent;
}

.hero-role {
  grid-column: 7 / 13;
  grid-row: 4;
  align-self: end;
  margin: 8px 0 0;
  padding: 0;
  font-size: clamp(15px, 1.45vw, 22px);
  font-weight: 800;
  line-height: 1.15;
}

.hero-name p,
.profile-lines p {
  margin: 0;
  padding: 3px 0;
  font-size: clamp(15px, 1.45vw, 22px);
  font-weight: 800;
  line-height: 1.15;
}

.about-section {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-content: center;
  min-height: 100vh;
  padding: clamp(78px, 8vw, 124px) clamp(10px, 1.6vw, 22px) clamp(22px, 2vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(5, 5, 5, calc(0.34 + (0.34 * var(--about-progress))));
  backdrop-filter: blur(calc(0px + (36px * var(--about-progress))));
  -webkit-backdrop-filter: blur(calc(0px + (36px * var(--about-progress))));
  text-align: left;
  transform: translateY(calc(24px * (1 - var(--about-progress))));
}

.about-heading {
  position: absolute;
  left: clamp(10px, 1.6vw, 22px);
  top: clamp(14px, 1.6vw, 22px);
  z-index: 3;
  max-width: min(28vw, 190px);
  text-align: left;
  opacity: var(--about-progress);
  transform: translateX(calc(-58px + (58px * var(--about-progress))));
  transition:
    opacity 120ms linear,
    transform 120ms linear;
  pointer-events: none;
}

.about-heading span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-heading strong {
  display: block;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 48px);
  line-height: 0.94;
  font-weight: 900;
  text-transform: uppercase;
}

.about-copy {
  grid-column: 2 / 10;
  display: grid;
  justify-items: start;
  gap: clamp(10px, 1.1vw, 16px);
  text-align: left;
  opacity: calc(0.38 + (0.62 * var(--about-progress)));
  transform: translateY(calc(22px * (1 - var(--about-progress))));
}

.about-copy p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(14px, 1.25vw, 19px);
  font-weight: 800;
  line-height: 1.48;
  text-align: left;
}

.section-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1.1vw, 14px);
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: clamp(78px, 8vw, 124px) clamp(10px, 1.6vw, 22px) clamp(22px, 2vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: transparent;
  text-align: right;
  transform: translateY(calc(24px * (1 - var(--blur-progress))));
  box-shadow: none;
  min-height: 100vh;
  align-content: center;
}

.section-index::before {
  content: none;
  pointer-events: none;
}

.section-index::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(5, 5, 5, calc(0.42 + (0.54 * var(--blur-progress))));
  backdrop-filter: blur(calc(0px + (118px * var(--blur-progress)))) brightness(calc(1 + (0.72 * var(--blur-progress))));
  -webkit-backdrop-filter: blur(calc(0px + (118px * var(--blur-progress)))) brightness(calc(1 + (0.72 * var(--blur-progress))));
  pointer-events: none;
}

.scroll-note {
  position: absolute;
  left: clamp(10px, 1.6vw, 22px);
  top: clamp(14px, 1.6vw, 22px);
  z-index: 3;
  max-width: min(42vw, 360px);
  text-align: left;
  opacity: var(--blur-progress);
  transform: translateX(calc(-58px + (58px * var(--blur-progress))));
  transition:
    opacity 120ms linear,
    transform 120ms linear;
  pointer-events: none;
}

.scroll-note strong {
  display: block;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 48px);
  line-height: 0.94;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card {
  position: relative;
  z-index: 3;
  aspect-ratio: 4 / 5;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 72%) minmax(0, 28%);
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(5, 5, 5, 0.74);
  overflow: hidden;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.work-card .image-slot {
  margin: 6px;
  min-height: 0;
}

.work-card .work-copy {
  min-height: 0;
  overflow: hidden;
}

.work-card:hover,
.work-card:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
  outline: none;
}

.image-slot {
  position: relative;
  margin: clamp(7px, 0.9vw, 12px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.56) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.56) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.image-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  opacity: 0.82;
  transition:
    opacity 180ms ease,
    transform 220ms ease,
    filter 180ms ease;
}

.image-slot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.video-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--muted);
  background: #050505;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.video-fallback[hidden] {
  display: none;
}

.deferred-video {
  position: relative;
}

.video-load-button {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  min-width: 88px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0;
  color: var(--ink);
  background: rgba(5, 5, 5, 0.78);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background 160ms ease, color 160ms ease;
}

.video-load-button:hover,
.video-load-button:focus-visible {
  color: #050505;
  background: var(--ink);
  outline: none;
}

.video-load-button[hidden] {
  display: none;
}

.image-slot::before,
.image-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition:
    opacity 180ms ease,
    transform 240ms ease;
}

.image-slot::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 48%);
  transform: translateX(-22%);
}

.image-slot::after {
  inset: auto 9px 9px auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.16);
  transform: scale(0.72);
}

.work-card:hover .image-slot,
.work-card:focus-visible .image-slot {
  border-color: #ffffff;
}

.work-card:hover .image-slot img,
.work-card:focus-visible .image-slot img,
.work-card:hover .image-slot video,
.work-card:focus-visible .image-slot video {
  opacity: 1;
  transform: scale(1.06);
  filter: none;
}

.work-card:hover .image-slot::before,
.work-card:focus-visible .image-slot::before,
.work-card:hover .image-slot::after,
.work-card:focus-visible .image-slot::after {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.preview-dessin::before {
  background:
    repeating-linear-gradient(18deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 14px),
    radial-gradient(circle at 36% 42%, rgba(255, 255, 255, 0.24), transparent 26%);
}

.preview-dessin img {
  object-position: center top;
}

.preview-graphic img {
  object-fit: contain;
  object-position: center center;
  background: #050505;
}

.preview-media img {
  object-fit: cover;
  object-position: center center;
  background: #050505;
}

.preview-graphic::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 28%, transparent 28% 34%, rgba(255, 255, 255, 0.18) 34% 62%, transparent 62%),
    repeating-linear-gradient(0deg, transparent 0 15px, rgba(255, 255, 255, 0.12) 15px 16px);
}

.preview-media::before {
  background:
    radial-gradient(circle at 30% 44%, rgba(255, 255, 255, 0.28), transparent 18%),
    radial-gradient(circle at 66% 52%, rgba(255, 255, 255, 0.2), transparent 22%),
    linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.16));
}

.preview-motion::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 18px, transparent 18px 28px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 52%);
}

.preview-3dcg::before {
  background:
    repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 13px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 48%),
    radial-gradient(circle at 64% 38%, rgba(255, 255, 255, 0.2), transparent 22%);
}

.preview-3dcg img {
  object-fit: cover;
  object-position: center 38%;
}

.preview-university::before {
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.22) 18% 19%, transparent 19% 44%, rgba(255, 255, 255, 0.16) 44% 45%, transparent 45%),
    linear-gradient(0deg, transparent 0 30%, rgba(255, 255, 255, 0.24) 30% 31%, transparent 31%);
}

.work-copy {
  min-height: clamp(56px, 5.3vw, 74px);
  display: grid;
  grid-template-rows: auto auto minmax(2.24em, auto);
  align-content: end;
  justify-items: end;
  padding: clamp(8px, 0.9vw, 12px);
  text-align: right;
}

.work-copy span {
  color: var(--signal);
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 900;
  transition: transform 180ms ease;
}

.work-card:hover .work-copy span,
.work-card:focus-visible .work-copy span {
  transform: translateX(-8px);
}

.work-copy h3 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: clamp(14px, 1.18vw, 19px);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.work-copy p {
  display: -webkit-box;
  margin: 5px 0 0;
  min-height: 2.24em;
  overflow: hidden;
  color: var(--signal-soft);
  font-size: clamp(9px, 0.78vw, 12px);
  line-height: 1.12;
  font-weight: 800;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.work-card:hover .work-copy h3,
.work-card:focus-visible .work-copy h3 {
  opacity: 0.86;
  transform: translateX(-8px);
}

.work-card:hover .work-copy p,
.work-card:focus-visible .work-copy p {
  color: var(--ink);
  opacity: 0.72;
  transform: translateX(-8px);
}

.portfolio-note {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-content: start;
  min-height: clamp(390px, 52vh, 560px);
  padding: clamp(104px, 10vw, 142px) clamp(10px, 1.6vw, 22px) clamp(48px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(5, 5, 5, calc(0.38 + (0.3 * var(--note-progress))));
  backdrop-filter: blur(calc(0px + (32px * var(--note-progress))));
  -webkit-backdrop-filter: blur(calc(0px + (32px * var(--note-progress))));
  text-align: left;
}

.portfolio-note-heading {
  position: absolute;
  left: clamp(10px, 1.6vw, 22px);
  top: clamp(14px, 1.6vw, 22px);
  z-index: 3;
  max-width: min(42vw, 360px);
  text-align: left;
  opacity: var(--note-progress);
  transform: translateX(calc(-54px + (54px * var(--note-progress))));
  pointer-events: none;
}

.portfolio-note-heading span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-note-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 48px);
  line-height: 0.94;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-note-copy {
  grid-column: 2 / 10;
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  align-self: start;
  padding-top: clamp(18px, 2.2vw, 34px);
  opacity: calc(0.28 + (0.72 * var(--note-progress)));
  transform: translateY(calc(24px * (1 - var(--note-progress))));
}

.portfolio-note-copy p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(16px, 1.55vw, 23px);
  line-height: 1.62;
  font-weight: 800;
}

.footer {
  position: relative;
  z-index: 2;
  min-height: clamp(560px, 74vh, 760px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.3vw, 18px);
  align-content: center;
  padding: clamp(70px, 7vw, 104px) clamp(10px, 1.6vw, 22px) clamp(22px, 2vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(5, 5, 5, 0.64);
  text-align: left;
  color: var(--signal);
  font-size: 13px;
  font-weight: 800;
}

.contact-title {
  grid-column: 1 / 4;
  align-self: start;
}

.contact-title span,
.contact-block span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-title strong {
  display: block;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 48px);
  line-height: 0.94;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-main {
  grid-column: 4 / 13;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 46px);
  align-self: center;
}

.contact-block {
  display: grid;
  justify-items: start;
  gap: clamp(10px, 1vw, 14px);
}

.contact-entry {
  display: grid;
  gap: 4px;
}

.contact-entry small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-block a {
  color: var(--ink);
  font-size: clamp(16px, 1.8vw, 28px);
  font-weight: 900;
  line-height: 1.08;
  text-decoration: none;
  transition:
    opacity 170ms ease,
    transform 170ms ease;
}

.contact-block a[href^="mailto:"] {
  text-transform: lowercase;
}

.contact-block a:hover,
.contact-block a:focus-visible {
  opacity: 0.72;
  transform: translateX(8px);
  outline: none;
}

.sns-block a {
  display: grid;
  grid-template-columns: clamp(42px, 4.2vw, 60px) 1fr;
  gap: clamp(12px, 1.2vw, 18px);
  align-items: center;
}

.sns-block strong,
.sns-block em {
  font-style: normal;
}

.sns-block strong {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--paper);
  background: var(--ink);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 900;
  line-height: 1;
}

.sns-block em {
  color: var(--ink);
  font-size: clamp(16px, 1.8vw, 28px);
  font-weight: 900;
}

.contact-school {
  grid-column: 4 / 13;
  align-self: end;
  margin: clamp(18px, 2vw, 28px) 0 0;
  color: var(--muted);
  font-size: clamp(10px, 0.9vw, 13px);
  font-weight: 900;
  text-transform: uppercase;
}

.project-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(22px, 5vw) repeat(12, 1fr) minmax(22px, 5vw);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.project-detail {
  grid-column: 2 / 14;
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-content: center;
  gap: 22px;
  text-align: right;
  padding: clamp(34px, 5vw, 72px) 0;
}

.back-link {
  grid-column: 1 / 13;
  justify-self: end;
  min-width: 86px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.86);
  color: var(--ink);
  background: rgba(5, 5, 5, 0.82);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  background: var(--ink);
  color: var(--paper);
  outline: none;
}

.project-detail h1 {
  grid-column: 4 / 13;
  margin: 0;
  font-size: clamp(54px, 11vw, 164px);
  line-height: 0.86;
}

.project-detail p {
  grid-column: 7 / 13;
  margin: 0;
  color: var(--ink);
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 800;
  line-height: 1.22;
}

.project-detail .project-note {
  margin-bottom: -12px;
  font-size: clamp(14px, 1.2vw, 18px);
}

.category-page {
  align-content: start;
  gap: clamp(16px, 1.8vw, 24px);
  padding-top: clamp(28px, 4vw, 58px);
}

.category-page > .back-link {
  margin-bottom: clamp(8px, 1.2vw, 18px);
}

.category-page > h1 {
  font-size: clamp(44px, 9vw, 132px);
  line-height: 0.9;
}

.category-page > p {
  margin-bottom: clamp(10px, 1.6vw, 24px);
}

.category-description {
  grid-column: 7 / 13;
  display: grid;
  gap: clamp(10px, 1.1vw, 16px);
  margin: 0 0 clamp(20px, 2.6vw, 40px);
  text-align: left;
}

.category-description p {
  grid-column: auto;
  margin: 0;
  color: var(--muted);
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.72;
  font-weight: 700;
}

.project-placeholder {
  grid-column: 5 / 13;
  aspect-ratio: 16 / 7;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.5) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.5) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    rgba(5, 5, 5, 0.78);
}

.project-cover {
  grid-column: 6 / 13;
  margin: 10px 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(5, 5, 5, 0.82);
}

.project-cover img {
  display: block;
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  filter: none;
}

.project-cover figcaption,
.project-video figcaption {
  padding: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.cg-cover {
  grid-column: 3 / 13;
  margin-top: clamp(26px, 4vw, 54px);
}

.cg-cover img {
  width: 100%;
  max-height: none;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 42%;
}

.cg-index-page {
  align-content: start;
}

.cg-index-cover {
  grid-column: 7 / 13;
  width: min(100%, 420px);
  justify-self: end;
  margin: clamp(22px, 3vw, 42px) 0 clamp(84px, 12vh, 150px);
}

.cg-index-cover img {
  width: 100%;
  height: min(52vh, 525px);
  object-fit: contain;
  object-position: center;
  background: #050505;
}

.cg-project-list {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(16px, 2vw, 28px);
}

.cg-project-card {
  grid-column: 1 / 2;
  display: grid;
  gap: 12px;
  padding: clamp(9px, 1vw, 14px);
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(5, 5, 5, 0.76);
  text-align: left;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.cg-project-card:hover,
.cg-project-card:focus-visible {
  border-color: var(--ink);
  transform: translateY(-5px);
  outline: none;
}

.cg-project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 42%;
}

.cg-project-card video {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #050505;
}

.motion-index-cover {
  grid-column: 7 / 13;
  width: min(100%, 520px);
  justify-self: end;
  margin: clamp(22px, 3vw, 42px) 0 clamp(84px, 12vh, 150px);
}

.motion-index-cover video {
  display: block;
  width: 100%;
  max-height: min(56vh, 520px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #050505;
}

.motion-project-card {
  grid-column: auto;
}

.motion-main-video {
  grid-column: 2 / 13;
  margin-top: clamp(44px, 6vw, 86px);
}

.motion-main-video video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.process-empty {
  display: grid;
  place-items: center;
  min-height: clamp(220px, 24vw, 340px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--muted);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.4) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.28) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    rgba(5, 5, 5, 0.86);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cg-project-card div {
  display: grid;
  gap: 5px;
}

.cg-project-card span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.cg-project-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(15px, 1.3vw, 21px);
  line-height: 1.16;
  font-weight: 900;
}

.cg-project-card p {
  grid-column: auto;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 800;
  text-transform: uppercase;
}

.cg-project-card div::after,
.dessin-gallery figcaption::after,
.university-series-copy::after {
  content: "View Details →";
  display: block;
  margin-top: clamp(8px, 0.8vw, 12px);
  color: var(--muted);
  font-size: clamp(8px, 0.66vw, 10px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0.62;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    text-decoration-color 180ms ease;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.cg-project-card:hover div::after,
.cg-project-card:focus-visible div::after,
.dessin-gallery figure:hover figcaption::after,
.dessin-gallery figure:focus-within figcaption::after,
.university-series:hover .university-series-copy::after,
.university-series:focus-within .university-series-copy::after {
  color: var(--ink);
  opacity: 0.92;
  transform: translateX(-5px);
  text-decoration-color: rgba(255, 255, 255, 0.72);
}

.cg-overview {
  grid-column: 2 / 13;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: clamp(18px, 2vw, 30px);
  align-items: start;
  margin: clamp(44px, 6vw, 88px) 0;
  padding: clamp(18px, 2vw, 28px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.54);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  text-align: left;
}

.cg-overview > div {
  grid-column: 1 / 6;
}

.cg-overview > p {
  grid-column: 6 / 12;
  font-size: clamp(13px, 1.15vw, 17px);
  line-height: 1.6;
  font-weight: 700;
}

.cg-overview span,
.cg-process span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.cg-overview h2,
.cg-process h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 62px);
  line-height: 0.94;
  font-weight: 900;
  text-transform: uppercase;
}

.cg-render-grid {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 26px);
}

.cg-render-grid figure {
  margin: 0;
  padding: clamp(8px, 1vw, 14px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(5, 5, 5, 0.74);
}

.cg-render-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cg-render-grid figcaption {
  padding-top: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.cg-process {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.3vw, 18px);
  margin-top: clamp(64px, 8vw, 120px);
  text-align: left;
}

.cg-process header {
  grid-column: 1 / 5;
  margin-bottom: clamp(16px, 2vw, 28px);
}

.cg-process article {
  min-height: clamp(210px, 22vw, 310px);
  padding: clamp(14px, 1.5vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(5, 5, 5, 0.72);
}

.cg-process h3 {
  margin: 0 0 clamp(26px, 4vw, 64px);
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.cg-process article p {
  grid-column: auto;
  margin: 0;
  color: var(--muted);
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.55;
  font-weight: 700;
}

.cg-detail-page {
  align-content: start;
}

.cg-project-heading {
  grid-column: 2 / 13;
  display: grid;
  justify-items: end;
  margin-top: clamp(16px, 2vw, 30px);
  text-align: right;
}

.cg-project-heading > span {
  color: var(--muted);
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 900;
  text-transform: uppercase;
}

.cg-project-heading h1 {
  grid-column: auto;
  margin: clamp(12px, 1.4vw, 20px) 0 10px;
  max-width: 100%;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 0.98;
  text-transform: none;
}

.cg-project-heading p {
  grid-column: auto;
  margin: 0 0 8px;
  font-size: clamp(15px, 1.45vw, 22px);
}

.cg-project-heading small {
  color: var(--muted);
  font-size: clamp(15px, 1.45vw, 22px);
  line-height: 1.2;
  font-weight: 800;
}

.project-information {
  grid-column: 2 / 13;
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
  align-items: start;
  margin-top: clamp(64px, 8vw, 120px);
  padding: clamp(22px, 2.6vw, 38px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.54);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  text-align: left;
}

.project-information > header {
  grid-column: 1 / 5;
}

.project-information > header span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-information > header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.8vw, 58px);
  line-height: 0.98;
  font-weight: 900;
}

.project-information-body {
  grid-column: 5 / 12;
  display: grid;
  gap: clamp(28px, 3.4vw, 52px);
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(18px, 2vw, 30px);
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.project-facts > div {
  display: grid;
  grid-template-columns: minmax(72px, 0.7fr) 1.5fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.project-facts dt,
.project-facts dd {
  margin: 0;
}

.project-facts dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-facts dd {
  color: var(--ink);
  font-size: clamp(11px, 0.9vw, 14px);
  line-height: 1.45;
  font-weight: 800;
}

.project-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px);
}

.project-summary-grid article {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.project-summary-grid h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.15;
  font-weight: 900;
}

.project-summary-grid p {
  grid-column: auto;
  margin: 0;
  color: var(--muted);
  font-size: clamp(11px, 0.86vw, 13px);
  line-height: 1.68;
  font-weight: 700;
}

.cg-final-triptych {
  grid-column: 2 / 12;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.1vw, 15px);
  margin-top: clamp(48px, 7vw, 104px);
}

.cg-final-triptych figure {
  margin: 0;
  padding: clamp(6px, 0.75vw, 10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(5, 5, 5, 0.76);
}

.cg-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.cg-final-triptych img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #050505;
}

.cg-zoom img {
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.cg-zoom:hover img,
.cg-zoom:focus-visible img {
  opacity: 0.9;
  transform: scale(1.025);
}

.cg-zoom:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.cg-final-triptych figcaption {
  padding-top: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-align: right;
}

.mobile-scroll-hint {
  display: none;
}

.cg-project-intro {
  grid-column: 2 / 13;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: clamp(18px, 2vw, 30px);
  margin: clamp(64px, 8vw, 118px) 0;
  padding: clamp(20px, 2.4vw, 34px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  text-align: left;
}

.cg-project-intro > span {
  grid-column: 1 / 3;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.cg-project-intro h2 {
  grid-column: 3 / 7;
  margin: 0;
  font-size: clamp(28px, 3.8vw, 58px);
  line-height: 0.95;
  font-weight: 900;
}

.cg-project-intro > div {
  grid-column: 7 / 12;
  display: grid;
  gap: 12px;
}

.cg-project-intro p {
  grid-column: auto;
  margin: 0;
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.65;
  font-weight: 700;
}

.cg-process-timeline {
  grid-column: 2 / 13;
  display: grid;
  gap: clamp(42px, 6vw, 88px);
  text-align: left;
}

.cg-process-timeline > header {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  align-items: end;
}

.cg-process-timeline > header span {
  grid-column: 1 / 3;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.cg-process-timeline > header h2 {
  grid-column: 3 / 12;
  margin: 0;
  font-size: clamp(34px, 5vw, 78px);
  line-height: 0.94;
  font-weight: 900;
}

.cg-process-step {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: clamp(16px, 2vw, 30px);
  align-items: start;
}

.cg-process-step figure {
  grid-column: 1 / 8;
  margin: 0;
  padding: clamp(6px, 0.75vw, 10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(5, 5, 5, 0.74);
}

.cg-process-step img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cg-process-step > div {
  grid-column: 8 / 12;
  position: sticky;
  top: 24px;
  padding-top: 4px;
}

.cg-process-step span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.cg-process-step h3 {
  margin: 0 0 18px;
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.cg-process-step p {
  grid-column: auto;
  margin: 0;
  color: var(--muted);
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.65;
  font-weight: 700;
}

.cg-process-final figure {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 0.8vw, 11px);
}

.cg-process-final figure img {
  aspect-ratio: 4 / 5;
}

.project-video figcaption {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px;
  row-gap: 8px;
}

.project-video figcaption a {
  color: var(--ink);
  white-space: nowrap;
}

.project-video figcaption .video-link {
  padding: 4px 7px;
  color: var(--paper);
  background: var(--ink);
  text-decoration: none;
}

.project-video {
  grid-column: 3 / 13;
  margin: 10px 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(5, 5, 5, 0.82);
}

.video-shell {
  position: relative;
  overflow: hidden;
}

.video-shell:not(.youtube-shell)::after {
  content: "PLAY VIDEO";
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 9px 12px;
  color: var(--paper);
  background: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  transform: translate(-50%, calc(-50% + 12px));
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.video-shell:not(.youtube-shell):hover::after,
.video-shell:not(.youtube-shell):focus-within::after {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.project-video video,
.project-video iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #050505;
}

.project-video video {
  max-height: 76vh;
}

.youtube-shell {
  aspect-ratio: 16 / 9;
}

.youtube-shell iframe {
  height: 100%;
}

.media-network {
  grid-column: 1 / 13;
  margin-top: 28px;
}

.media-cover {
  grid-column: 3 / 13;
}

.media-open img {
  max-height: none;
}

.media-thumbs {
  grid-column: 9 / 13;
  margin-top: 0;
}

.media-thumbs img {
  aspect-ratio: 16 / 9;
}

.engineering-entry {
  grid-column: 9 / 13;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 0 32px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: var(--ink);
  background: rgba(5, 5, 5, 0.74);
  font: inherit;
  cursor: pointer;
  text-align: right;
}

.engineering-entry span {
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.engineering-entry img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 180ms ease;
}

.engineering-entry:hover img,
.engineering-entry:focus-visible img {
  transform: scale(1.035);
}

.engineering-entry:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.engineering-grid {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.3vw, 18px);
  margin-top: 4px;
}

.engineering-grid .project-cover {
  grid-column: auto;
  margin: 0;
}

.media-network img {
  max-height: none;
}

.dessin-gallery {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.3vw, 18px);
  margin-top: 36px;
}

.dessin-gallery figure {
  margin: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(5, 5, 5, 0.72);
}

.gallery-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.gallery-open::after {
  content: "PREVIEW";
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 7px;
  color: var(--paper);
  background: var(--ink);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.gallery-open:hover::after,
.gallery-open:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-open:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.dessin-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: none;
  transition:
    filter 160ms ease,
    transform 180ms ease;
}

.gallery-open:hover img,
.gallery-open:focus-visible img {
  filter: none;
  transform: scale(1.035);
}

.dessin-gallery figcaption {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.university-gallery .university-series {
  grid-column: auto;
  padding: clamp(10px, 1.2vw, 16px);
}

.university-series-open {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.university-series-cover {
  display: block;
  overflow: hidden;
}

.university-series-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #050505;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.university-series-open:hover .university-series-cover img,
.university-series-open:focus-visible .university-series-cover img {
  opacity: 0.84;
  transform: scale(1.025);
}

.university-series-open:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.university-series-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.university-series-copy::after {
  flex-basis: 100%;
  text-align: right;
}

.university-series-copy strong {
  color: var(--ink);
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 900;
}

.university-series-copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.university-preview {
  position: fixed;
  inset: 0;
  z-index: 22;
  display: grid;
  grid-template-columns: minmax(20px, 4vw) minmax(0, 1.5fr) minmax(280px, 0.8fr) minmax(20px, 4vw);
  grid-template-rows: auto 1fr;
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(18px, 3vw, 36px) 0;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.university-preview[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.university-preview-close {
  grid-column: 2 / 4;
}

.university-preview-grid {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  padding-bottom: clamp(18px, 3vw, 36px);
}

.university-preview-grid figure {
  margin: 0;
  display: grid;
  gap: 6px;
}

.university-preview-grid img {
  display: block;
  width: 100%;
  max-height: min(34vh, 360px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #050505;
}

.university-preview-grid figcaption {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-align: right;
}

.university-preview-copy {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
  max-height: 78vh;
  overflow-y: auto;
  padding-left: clamp(14px, 1.5vw, 22px);
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  text-align: left;
}

.university-preview-copy > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.university-preview-copy h2 {
  margin: 10px 0 clamp(22px, 3vw, 42px);
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1;
  font-weight: 900;
}

.university-preview-copy article + article {
  margin-top: 22px;
}

.university-preview-copy h3 {
  margin: 0 0 7px;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 900;
}

.university-preview-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(11px, 0.9vw, 14px);
  line-height: 1.55;
  font-weight: 700;
}

.graphic-gallery {
  gap: clamp(16px, 1.8vw, 26px);
  margin-top: clamp(52px, 6vw, 86px);
}

.graphic-gallery figure {
  gap: 12px;
  padding: clamp(10px, 1.2vw, 16px);
}

.graphic-gallery img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #050505;
}

.graphic-gallery figcaption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: baseline;
  color: var(--ink);
  text-align: left;
}

.graphic-gallery figcaption::after {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0;
}

.graphic-gallery figcaption strong {
  font-size: clamp(13px, 1.05vw, 17px);
  line-height: 1;
  font-weight: 900;
}

.graphic-gallery figcaption span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.image-preview {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(20px, 4vw) minmax(0, 1fr) minmax(240px, 30vw) minmax(20px, 4vw);
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: clamp(18px, 3vw, 36px) 0;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.image-preview[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.preview-close {
  grid-column: 2 / 4;
  justify-self: end;
  min-width: 86px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  color: var(--ink);
  background: rgba(5, 5, 5, 0.82);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.preview-close:hover,
.preview-close:focus-visible {
  color: var(--paper);
  background: var(--ink);
  outline: none;
}

.image-preview img {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  width: auto;
  height: min(84vh, 920px);
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  filter: none;
  image-rendering: auto;
}

.image-preview p,
.preview-copy {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
  justify-self: stretch;
  margin: 0;
  padding: 12px 0 12px 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--ink);
  font-size: clamp(11px, 0.92vw, 14px);
  font-weight: 800;
  line-height: 1.52;
  max-height: 78vh;
  overflow: auto;
  white-space: pre-line;
  text-align: left;
  text-transform: none;
}

.preview-copy {
  display: grid;
  gap: 14px;
  white-space: normal;
}

.preview-copy strong {
  display: block;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 42px);
  line-height: 0.94;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-copy span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.preview-copy dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.preview-copy dt {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.preview-copy dd {
  margin: 0;
  color: var(--ink);
  font-size: clamp(12px, 0.96vw, 15px);
  font-weight: 800;
  line-height: 1.56;
}

.media-detail-preview {
  overflow: auto;
}

.engineering-preview-grid {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}

.engineering-preview-grid figure {
  margin: 0;
  display: grid;
  gap: 8px;
}

.engineering-preview-grid img {
  grid-column: auto;
  grid-row: auto;
  align-self: auto;
  justify-self: auto;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.engineering-preview-grid figcaption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

body.preview-active {
  overflow: hidden;
}

@media (max-width: 760px) {
  :root {
    --cell: 48px;
    --line: 1px;
    --dot: 12px;
  }

  .poster {
    grid-template-columns: 18px repeat(6, 1fr) 18px;
  }

  .site-header,
  .intro,
  .about-section,
  .section-index,
  .portfolio-note,
  .footer {
    grid-column: 2 / 8;
  }

  .site-header {
    grid-template-columns: repeat(6, 1fr);
    row-gap: 0;
  }

  .nav {
    grid-column: 1 / 7;
    flex-wrap: wrap;
    text-align: right;
    justify-content: flex-end;
  }

  .intro {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr auto auto auto auto 1fr;
    min-height: calc(100vh - 74px);
    padding-top: 22px;
    padding-bottom: clamp(92px, 18vh, 150px);
  }

  h1 {
    grid-column: 2 / 7;
    grid-row: 2;
    justify-self: end;
    width: 100%;
    font-size: clamp(42px, 14.5vw, 68px);
    line-height: 0.9;
    text-align: right;
  }

  .hero-name {
    grid-column: 2 / 7;
    grid-row: 3;
    justify-self: end;
    width: 100%;
    margin-top: 18px;
    text-align: right;
  }

  .hero-role {
    grid-column: 2 / 7;
    grid-row: 4;
    justify-self: end;
    width: 100%;
    margin-top: 8px;
    font-size: clamp(13px, 3.8vw, 17px);
    text-align: right;
  }

  .hero-role span {
    display: block;
  }

  .hero-name p {
    font-size: clamp(13px, 3.8vw, 17px);
  }

  .profile-lines {
    grid-column: 2 / 7;
    grid-row: 5;
    justify-self: end;
    width: 100%;
    margin-top: 18px;
    text-align: right;
  }

  .profile-lines p {
    font-size: clamp(9px, 2.55vw, 12px);
    line-height: 1.35;
    white-space: nowrap;
  }

  .about-section {
    grid-template-columns: repeat(6, 1fr);
    min-height: 100vh;
    padding: 82px 8px 28px;
  }

  .about-heading {
    top: 14px;
    left: 18px;
    max-width: 42%;
  }

  .about-heading strong {
    font-size: clamp(16px, 4.6vw, 22px);
  }

  .about-copy {
    grid-column: 1 / 7;
    align-self: center;
    justify-items: start;
    text-align: left;
  }

  .about-copy p {
    font-size: clamp(15px, 4.4vw, 20px);
    line-height: 1.38;
    text-align: left;
  }

  .section-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 82px 8px 8px;
  }

  .work-card {
    aspect-ratio: auto;
    min-height: 276px;
    grid-template-rows: minmax(0, 158px) minmax(110px, auto);
    overflow: hidden;
  }

  .work-card .image-slot {
    margin: 6px 6px 0;
  }

  .work-card .work-copy {
    min-height: 110px;
    overflow: visible;
  }

  .scroll-note {
    top: 16px;
    left: 18px;
    max-width: 42%;
  }

  .scroll-note strong {
    font-size: clamp(16px, 4.6vw, 22px);
  }

  .work-copy {
    min-height: 110px;
    align-content: start;
    padding: 10px 8px 9px;
  }

  .work-copy h3 {
    font-size: clamp(12px, 3.5vw, 16px);
    line-height: 1;
  }

  .work-copy p {
    font-size: 9px;
    line-height: 1.18;
  }

  .portfolio-note {
    grid-template-columns: repeat(6, 1fr);
    min-height: 0;
    align-content: start;
    gap: 34px;
    padding: 78px 8px 42px;
  }

  .portfolio-note-heading,
  .portfolio-note-copy {
    grid-column: 1 / 7;
  }

  .portfolio-note-heading {
    top: 14px;
    left: 18px;
    max-width: 72%;
  }

  .portfolio-note-heading h2 {
    font-size: clamp(16px, 4.6vw, 22px);
  }

  .portfolio-note-copy {
    gap: 20px;
    padding-top: 0;
  }

  .portfolio-note-copy p {
    font-size: clamp(15px, 4.5vw, 20px);
    line-height: 1.58;
  }

  .footer {
    grid-template-columns: repeat(6, 1fr);
    min-height: clamp(520px, 76vh, 680px);
    align-content: start;
    gap: 22px;
    padding: 72px 8px 28px;
    font-size: 12px;
  }

  .contact-title,
  .contact-main,
  .contact-school {
    grid-column: 1 / 7;
  }

  .contact-title strong {
    font-size: clamp(16px, 4.6vw, 22px);
  }

  .contact-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-block {
    gap: 10px;
  }

  .contact-block a {
    font-size: clamp(17px, 5.2vw, 24px);
    overflow-wrap: anywhere;
  }

  .sns-block a {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .sns-block em {
    font-size: clamp(17px, 5.2vw, 24px);
  }

  .contact-school {
    margin-top: 10px;
    font-size: 10px;
  }

  .project-page {
    grid-template-columns: 18px repeat(6, 1fr) 18px;
  }

  .project-detail {
    grid-column: 2 / 8;
    grid-template-columns: repeat(6, 1fr);
  }

  .back-link,
  .project-detail h1,
  .project-detail p,
  .category-description,
  .project-placeholder {
    grid-column: 1 / 7;
  }

  .project-detail h1 {
    grid-row: auto;
    font-size: clamp(48px, 17vw, 86px);
    margin-top: 18px;
    margin-bottom: 12px;
  }

  .category-page {
    gap: 14px;
    padding-top: 24px;
  }

  .category-page > .back-link {
    margin-bottom: 6px;
  }

  .category-page > h1 {
    font-size: clamp(36px, 11vw, 58px);
    line-height: 0.94;
    overflow-wrap: anywhere;
  }

  .category-page > p {
    margin-bottom: 18px;
  }

  .project-detail p {
    grid-row: auto;
    margin-bottom: 22px;
  }

  .project-detail .project-note {
    margin-bottom: 4px;
  }

  .project-cover {
    grid-column: 1 / 7;
  }

  .cg-cover,
  .cg-index-cover,
  .motion-index-cover,
  .cg-project-list,
  .cg-overview,
  .cg-render-grid,
  .cg-process {
    grid-column: 1 / 7;
  }

  .cg-cover {
    margin-top: 18px;
  }

  .cg-index-cover {
    width: min(72vw, 360px);
    justify-self: end;
    margin-bottom: 38px;
  }

  .cg-index-cover img {
    height: min(42vh, 440px);
  }

  .motion-index-cover {
    width: min(68vw, 320px);
    justify-self: end;
    margin-bottom: 38px;
  }

  .motion-index-cover img,
  .motion-index-cover video {
    max-height: min(34vh, 340px);
    object-fit: contain;
  }

  .motion-main-video {
    grid-column: 1 / 7;
  }

  .process-empty {
    min-height: 190px;
  }

  .cg-project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cg-project-card {
    grid-column: 1;
  }

  .cg-overview {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 42px 0;
  }

  .cg-overview > div,
  .cg-overview > p {
    grid-column: 1;
  }

  .cg-overview > p {
    margin-bottom: 0;
    font-size: 13px;
  }

  .cg-render-grid {
    grid-template-columns: 1fr;
  }

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

  .cg-process header {
    grid-column: 1 / 3;
  }

  .cg-process article {
    min-height: 220px;
  }

  .cg-process article p {
    margin-bottom: 0;
  }

  .cg-project-heading {
    grid-column: 1 / 7;
    justify-items: start;
    margin-top: 18px;
    text-align: left;
  }

  .cg-project-heading h1 {
    font-size: clamp(38px, 11vw, 62px);
    line-height: 1;
  }

  .cg-project-heading p {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .project-information {
    grid-column: 1 / 7;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 54px;
    padding: 22px 0 28px;
  }

  .project-information > header,
  .project-information-body {
    grid-column: 1;
  }

  .project-information > header h2 {
    font-size: clamp(28px, 9vw, 46px);
  }

  .project-information-body {
    gap: 30px;
  }

  .project-facts,
  .project-summary-grid {
    grid-template-columns: 1fr;
  }

  .project-facts > div {
    grid-template-columns: minmax(74px, 0.7fr) 1.6fr;
  }

  .project-summary-grid {
    gap: 22px;
  }

  .project-summary-grid p {
    margin-bottom: 0;
    font-size: 12px;
  }

  .cg-final-triptych {
    grid-column: 1 / 7;
    grid-template-columns: repeat(3, minmax(240px, 72vw));
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-scroll-hint {
    display: block;
    grid-column: 1 / 7;
    margin: -2px 0 18px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .cg-project-intro {
    grid-column: 1 / 7;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 54px 0;
  }

  .cg-project-intro > span,
  .cg-project-intro h2,
  .cg-project-intro > div {
    grid-column: 1;
  }

  .cg-project-intro h2 {
    font-size: clamp(28px, 9vw, 46px);
  }

  .cg-project-intro p {
    margin-bottom: 0;
    font-size: 13px;
  }

  .cg-process-timeline {
    grid-column: 1 / 7;
    gap: 54px;
  }

  .cg-process-timeline > header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cg-process-timeline > header span,
  .cg-process-timeline > header h2 {
    grid-column: 1;
  }

  .cg-process-timeline > header h2 {
    font-size: clamp(34px, 11vw, 56px);
  }

  .cg-process-step {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cg-process-step figure,
  .cg-process-step > div {
    grid-column: 1;
  }

  .cg-process-step > div {
    position: static;
    padding: 0 2px;
  }

  .cg-process-step h3 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .cg-process-step p {
    margin-bottom: 0;
  }

  .cg-process-final figure {
    grid-template-columns: repeat(3, minmax(210px, 70vw));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .project-video,
  .media-network,
  .media-thumbs,
  .engineering-entry,
  .engineering-grid {
    grid-column: 1 / 7;
  }

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

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

  .engineering-preview-grid {
    grid-template-columns: 1fr;
  }

  .dessin-gallery {
    grid-column: 1 / 7;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .university-gallery .university-series {
    grid-column: auto;
  }

  .university-preview {
    grid-template-columns: minmax(18px, 5vw) 1fr minmax(18px, 5vw);
    grid-template-rows: auto auto auto;
    overflow-y: auto;
    align-content: start;
    -webkit-overflow-scrolling: touch;
  }

  .university-preview-close,
  .university-preview-grid,
  .university-preview-copy {
    grid-column: 2;
  }

  .university-preview-grid {
    grid-row: 2;
    align-self: start;
  }

  .university-preview-copy {
    grid-row: 3;
    max-height: none;
    overflow: visible;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.34);
    border-left: 0;
  }

  .image-preview {
    grid-template-columns: minmax(18px, 5vw) 1fr minmax(18px, 5vw);
    grid-template-rows: auto auto auto;
    align-content: start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .preview-close {
    grid-column: 2;
  }

  .image-preview img,
  .engineering-preview-grid {
    grid-column: 2;
    grid-row: 2;
  }

  .image-preview img {
    width: 100%;
    height: auto;
    max-height: 48vh;
  }

  .image-preview p,
  .preview-copy {
    grid-column: 2;
    grid-row: 3;
    padding: 10px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.34);
    border-left: 0;
    font-size: 11px;
    max-height: none;
    overflow: visible;
  }

  .preview-copy strong {
    font-size: clamp(20px, 7vw, 32px);
  }

  .preview-copy dd {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .cg-index-cover {
    width: 100%;
  }

  .cg-project-list {
    grid-template-columns: 1fr;
  }

  .motion-project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .motion-project-card {
    grid-column: auto;
  }

  .cg-process {
    grid-template-columns: 1fr;
  }

  .cg-process header {
    grid-column: 1;
  }

  .cg-process article {
    min-height: 190px;
  }
}
