* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: #000000;
}

body {
  position: relative;
  overflow-x: hidden;
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #000000;
  color: #f5f5f5;
  font-family: "Inter", Arial, sans-serif;
}

body.is-dialog-open {
  overflow: hidden;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px clamp(20px, 4vw, 56px) 0;
  background: transparent;
}

.brand,
.site-nav a {
  color: #ffffff;
  text-decoration: none;
}

.brand {
  display: inline-block;
  padding: 0;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a {
  padding: 8px 10px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition: color 160ms ease-out, background 160ms ease-out;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

main {
  position: relative;
  z-index: 1;
  width: min(100%, 1720px);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) 88px;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: min(100%, 1720px);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) 34px;
  color: #ffffff;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  min-height: 64vh;
  align-items: end;
  padding: clamp(72px, 10vh, 118px) 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.dialog-content h3 {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 960px;
  color: #ffffff;
  font-size: clamp(42px, 5.6vw, 86px);
  line-height: 1.12;
  text-align: right;
  animation: pageFadeIn 720ms ease-out both;
}

.hero-highlight {
  display: inline;
  padding: 0.02em 0.1em 0.04em;
  background: #242424;
  color: #ffffff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-copy {
  display: grid;
  gap: 14px;
  max-width: 560px;
  padding-bottom: 10px;
  animation: pageFadeIn 720ms 120ms ease-out both;
}

.hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.58;
}

@media (min-width: 761px) {
  .hero h1 {
    grid-column: 7 / span 6;
    grid-row: 1;
    align-self: start;
  }

  .hero-copy {
    grid-column: 4 / span 3;
    grid-row: 1;
    align-self: end;
  }

  .hero-portrait {
    grid-column: 1 / span 3;
    grid-row: 1;
    align-self: end;
    width: 82%;
  }
}

.hero-portrait {
  margin: 0;
  max-width: none;
}

.hero-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 38%;
  filter: grayscale(0.12) contrast(1.02);
  animation: pageFadeIn 720ms 220ms ease-out both;
}

.experience-section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  padding: 72px 0;
  scroll-margin-top: 24px;
}

.experience-heading {
  display: grid;
  gap: 10px;
  grid-column: 1 / span 3;
}

.experience-heading p,
.experience-heading h2,
.experience-heading span,
.experience-card p,
.experience-card h3,
.experience-card span {
  margin: 0;
}

.experience-heading p,
.experience-card p {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.experience-heading h2 {
  max-width: 360px;
  font-size: clamp(34px, 4vw, 70px);
  font-weight: 400;
  line-height: 0.96;
}

.experience-heading span {
  max-width: 310px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.38;
}

.experience-grid {
  display: grid;
  grid-column: 4 / span 9;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 14px;
}

.experience-card {
  display: grid;
  grid-column: span 3;
  align-content: space-between;
  min-height: clamp(148px, 16vw, 230px);
  padding: 18px;
  background: #101010;
  color: #ffffff;
}

.experience-card h3 {
  max-width: 100%;
  color: #ffffff;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 400;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.experience-card span {
  display: block;
  max-width: 96%;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.project-section {
  padding: 72px 0 104px;
}

.section-heading {
  display: grid;
  align-content: start;
  min-height: clamp(300px, 35vw, 560px);
  aspect-ratio: 3 / 4;
  width: 100%;
  padding: 18px;
  scroll-margin-top: 24px;
  overflow: hidden;
}

.section-label {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.section-heading h2 {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.04;
}

.section-heading .eyebrow {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(56px, 6vw, 104px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.section-heading,
.project-card {
  grid-column: span 3;
}

.project-card {
  appearance: none;
  position: relative;
  display: grid;
  align-content: end;
  min-height: clamp(300px, 35vw, 560px);
  aspect-ratio: 3 / 4;
  width: 100%;
  padding: 18px;
  border: 0;
  background: #101010;
  color: #ffffff;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
}

.section-heading,
.project-card,
.experience-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease-out, transform 520ms ease-out;
}

.section-heading.is-visible,
.project-card.is-visible,
.experience-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card::before,
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.project-card.has-image::before {
  background: var(--card-image) center / cover no-repeat;
  opacity: 0.76;
  filter: grayscale(0.12) contrast(1.02);
  transform: scale(1.01);
  transition: transform 420ms ease-out, opacity 220ms ease-out, filter 220ms ease-out;
}

.project-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0.76;
  filter: grayscale(0.12) contrast(1.02);
  transform: scale(1.01);
  transition: transform 420ms ease-out, opacity 220ms ease-out, filter 220ms ease-out;
}

.project-card::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.08));
}

.project-card.has-image:hover::before,
.project-card.has-image:focus-visible::before,
.project-card:hover .project-card-media,
.project-card:focus-visible .project-card-media {
  opacity: 0.98;
  filter: grayscale(0) contrast(1.06);
  transform: scale(1.06);
}

.project-card:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.back-link {
  display: inline-block;
  margin-top: clamp(48px, 8vh, 92px);
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-page {
  width: min(100%, 1720px);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) 88px;
}

.project-hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  min-height: 62vh;
  padding: clamp(52px, 8vh, 96px) 0 clamp(46px, 8vh, 82px);
}

.project-hero-copy {
  display: grid;
  grid-column: 1 / span 6;
  align-content: center;
  gap: 14px;
  min-width: 0;
  padding: clamp(20px, 2.2vw, 34px);
  background: #101010;
}

.project-page-category,
.project-page-description,
.project-page-meta-item p {
  margin: 0;
}

.project-page-category {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.project-hero h1 {
  margin: 0;
  max-width: 100%;
  color: #ffffff;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: none;
  font: 400 clamp(34px, 3.7vw, 62px)/1.02 "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

.project-title-highlight {
  display: inline;
  padding: 0;
  background: transparent;
  color: #ffffff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.project-page-description {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.62;
}

.project-page-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  max-width: 100%;
  margin-top: 12px;
  padding-top: 18px;
}

.project-page-meta-item {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.project-page-meta-item[hidden] {
  display: none;
}

.project-page-meta-item span {
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.project-page-meta-item p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.project-page-meta-item a {
  display: block;
  margin: 0 0 6px;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.project-hero-media {
  display: grid;
  grid-column: 7 / span 6;
  min-width: 0;
  background: #050505;
}

.project-hero-media img,
.project-hero-media video,
.project-hero-media iframe,
.project-hero-media .youtube-preview,
.project-gallery-grid img,
.project-gallery-grid video,
.project-gallery-grid iframe,
.project-gallery-grid .youtube-preview {
  display: block;
  width: 100%;
  border: 0;
  background: #000000;
}

.project-hero-media img,
.project-hero-media video,
.project-hero-media iframe,
.project-hero-media .youtube-preview {
  aspect-ratio: 16 / 10;
  height: 100%;
  object-fit: cover;
}

.youtube-preview {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
}

.youtube-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-story {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  padding: 30px 0 72px;
}

.project-story article {
  display: grid;
  grid-column: span 4;
  align-content: start;
  gap: 10px;
}

.project-story h2 {
  margin: 0;
  font: 400 clamp(22px, 2.2vw, 36px)/1.05 "Inter", Arial, sans-serif;
}

.project-story p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.62;
}

.project-gallery {
  padding-top: 14px;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.project-gallery-grid figure {
  grid-column: span 4;
  margin: 0;
  min-width: 0;
  background: #050505;
}

.image-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.project-gallery-grid img,
.project-gallery-grid video,
.project-gallery-grid iframe,
.project-gallery-grid .youtube-preview,
.image-lightbox-trigger img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.video-preview {
  position: relative;
  display: block;
  overflow: hidden;
  background: #050505;
}

.video-preview-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.video-preview-icon::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.46);
}

.video-preview-icon::after {
  content: "";
  position: absolute;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #ffffff;
  transform: translateX(2px);
}

.image-lightbox {
  width: 100vw;
  max-width: none;
  height: 100svh;
  max-height: none;
  margin: 0;
  padding: clamp(18px, 4vw, 56px);
  border: 0;
  background: rgba(0, 0, 0, 0.92);
}

.image-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.86);
}

.image-lightbox img,
.image-lightbox video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-lightbox img[hidden],
.image-lightbox video[hidden] {
  display: none;
}

.image-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  outline: none;
  transition: color 160ms ease-out, opacity 160ms ease-out;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  background: transparent;
  color: #ffffff;
  opacity: 0.72;
}

.project-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.project-card h3 {
  margin: 0;
  max-width: 92%;
  font: 700 clamp(14px, 1vw, 18px)/1.22 "Inter", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.project-card h3 span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 500;
}

.project-card-description {
  display: -webkit-box;
  max-width: 92%;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease-out, transform 180ms ease-out;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-card:hover .project-card-description,
.project-card:focus-visible .project-card-description {
  opacity: 1;
  transform: translateY(0);
}

.project-dialog {
  width: min(1440px, calc(100vw - 36px));
  max-width: none;
  height: min(860px, calc(100svh - 36px));
  max-height: none;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #050505;
  color: #ffffff;
}

.project-dialog::backdrop {
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(10px);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  height: 100%;
}

.dialog-media {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  background: #000000;
}

.media-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  background: #000000;
  overflow: hidden;
}

.media-stage img,
.media-stage video,
.media-stage iframe,
.media-stage .youtube-preview {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #000000;
}

.media-stage iframe,
.media-stage .youtube-preview {
  aspect-ratio: 16 / 9;
}

.media-stage .youtube-preview img {
  object-fit: contain;
}

.media-notice {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: min(320px, calc(100% - 28px));
  margin: 0;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.82);
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  line-height: 1.35;
  text-align: right;
}

.media-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
}

.media-dot {
  appearance: none;
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.36);
}

.media-dot.is-active {
  background: #ffffff;
}

.dialog-content {
  min-width: 0;
  padding: clamp(34px, 4vw, 62px);
  overflow-y: auto;
}

.dialog-category,
.dialog-role,
.dialog-notice,
.dialog-sections h4,
.dialog-sections p {
  margin: 0;
}

.dialog-category {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dialog-content h3 {
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 0.98;
}

.dialog-role {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.dialog-notice {
  display: none;
  margin-top: 22px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.dialog-notice:not(:empty) {
  display: block;
}

.dialog-sections {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

.dialog-sections h4 {
  margin-bottom: 6px;
  font: 800 15px/1.25 "Inter", Arial, sans-serif;
}

.dialog-sections p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.62;
}

@media (max-width: 1180px) {
  .experience-section {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .experience-heading {
    grid-column: 1 / span 2;
  }

  .experience-grid {
    grid-column: 3 / span 4;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .experience-card {
    grid-column: span 2;
  }

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

  .section-heading,
  .project-card {
    grid-column: span 3;
  }

  .dialog-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(320px, 55%) minmax(0, 45%);
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px 16px 0;
  }

  .brand {
    display: none;
  }

  .site-nav {
    justify-content: flex-end;
    gap: 4px;
    width: 100%;
  }

  .site-nav a {
    padding: 7px 8px;
    font-size: 10px;
  }

  main {
    padding: 0 16px 64px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 52px 0 44px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 0 16px 28px;
  }

  .hero h1 {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: clamp(34px, 10.2vw, 44px);
    line-height: 1.1;
    text-align: right;
    overflow-wrap: break-word;
  }

  .hero-title-line,
  .hero-highlight {
    display: block;
    max-width: 100%;
  }

  .hero-copy {
    margin-top: 24px;
  }

  .hero-portrait {
    max-width: none;
    width: 100%;
  }

  .experience-section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 44px 0;
  }

  .experience-heading,
  .experience-grid {
    grid-column: 1;
  }

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

  .experience-card {
    grid-column: 1;
    min-height: 160px;
  }

  .project-section {
    padding: 44px 0 48px;
  }

  .section-heading {
    display: grid;
    min-height: auto;
    aspect-ratio: auto;
    padding: 12px 0 18px;
  }

  .section-heading h2 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .section-heading .eyebrow {
    font-size: clamp(48px, 16vw, 76px);
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading,
  .project-card {
    grid-column: auto;
  }

  .project-page {
    padding: 0 16px 64px;
  }

  .back-link {
    margin-top: 44px;
  }

  .project-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 44px 0 36px;
  }

  .project-hero-copy,
  .project-hero-media,
  .project-story article,
  .project-gallery-grid figure {
    grid-column: auto;
  }

  .project-hero h1 {
    font-size: clamp(38px, 12vw, 62px);
  }

  .project-page-meta {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 16px;
    padding-top: 20px;
  }

  .project-story,
  .project-gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-story {
    gap: 28px;
    padding: 0 0 28px;
  }

  .project-story article {
    gap: 12px;
  }

  .project-gallery {
    padding-top: 0;
  }

  .project-card {
    min-height: 360px;
    aspect-ratio: 4 / 5;
    padding: 16px;
  }

  .section-heading,
  .project-card,
  .experience-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .project-card.has-image:hover::before,
  .project-card.has-image:focus-visible::before,
  .project-card:hover .project-card-media,
  .project-card:focus-visible .project-card-media {
    opacity: 0.76;
    filter: grayscale(0.12) contrast(1.02);
    transform: scale(1.01);
  }

  .project-dialog {
    width: 100vw;
    height: 100svh;
    border: 0;
  }

  .dialog-layout {
    grid-template-rows: 42svh minmax(0, 58svh);
  }

  .dialog-content {
    padding: 28px 20px 40px;
  }

  .dialog-content h3 {
    font-size: clamp(30px, 10vw, 46px);
  }
}

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

  .section-heading,
  .project-card {
    opacity: 1;
    transform: none;
  }
}
