﻿@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&display=swap");

:root {
  --bg-1: #000000;
  --bg-2: #111111;
  --accent: #000000;
  --text: #000000;
  --muted: #666666;
  --hl-color: #b11f2f;
}

html {
  scrollbar-color: var(--hl-color) #f5f4f1;
  scrollbar-width: auto;
  max-width: 100%;
  overflow-x: clip;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 13px;
  height: 13px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #f5f4f1;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  min-height: 36px;
  border: 3px solid #f5f4f1;
  border-radius: 10px;
  background-color: var(--hl-color);
}

html::-webkit-scrollbar-button:single-button,
body::-webkit-scrollbar-button:single-button {
  width: 13px;
  height: 15px;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 8px 6px;
}

html::-webkit-scrollbar-button:single-button:vertical:decrement,
body::-webkit-scrollbar-button:single-button:vertical:decrement {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 7'%3E%3Cpath d='M1 6 5 1l4 5Z' fill='%23b11f2f'/%3E%3C/svg%3E");
}

html::-webkit-scrollbar-button:single-button:vertical:increment,
body::-webkit-scrollbar-button:single-button:vertical:increment {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 7'%3E%3Cpath d='m1 1 4 5 4-5Z' fill='%23b11f2f'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
  font-family: "Fredoka", sans-serif;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'><circle cx='9' cy='9' r='5' fill='%23000'/></svg>") 9 9, auto;
}

/* Discourage casual media downloads without blocking site interaction. */
img,
video {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.page--home {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.page--home .site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  margin: 0;
  pointer-events: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page--graphic {
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.graphic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
  flex: 1 0 auto;
  justify-items: stretch;
  width: min(100%, 1320px);
  margin: auto;
}

.graphic-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page--graphic .site-footer {
  position: static;
  margin-top: auto;
}

.graphic-card {
  position: relative;
}

.graphic-label {
  display: inline-block;
  font-size: 14px;
  color: #b11f2f;
  letter-spacing: 0.6px;
  margin: 0;
  margin-left: 14px;
  position: absolute;
  top: -20px;
  left: 0;
}

.graphic-frame {
  background: rgba(177, 31, 47, 0.08);
  padding: 18px;
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graphic-frame::before,
.graphic-frame::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 20px;
  background: #b11f2f;
  z-index: 2;
}

.graphic-frame::before {
  top: -20px;
  left: 0;
}

.graphic-frame::after {
  bottom: -20px;
  right: 0;
}

.graphic-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.graphic-stack {
  position: absolute;
  inset: 18px;
  overflow: hidden;
}

.graphic-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: none;
}

.graphic-stack img.is-active {
  opacity: 1;
}

.page--graphic-section {
  padding: 80px 40px 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto 1fr auto;
  overflow-x: hidden;
}

.page--graphic-section .site-footer {
  grid-row: 4;
  align-self: end;
  margin-top: 0;
  padding: 16px 0 20px;
}

.graphic-section-title {
  margin: 0 0 24px;
  font-size: 18px;
  letter-spacing: 1.2px;
  text-align: center;
}

.graphic-section-grid {
  grid-row: 2;
  width: min(100%, var(--graphic-grid-width, 1320px));
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 32px;
  align-items: flex-start;
  justify-content: center;
  flex: 0 0 auto;
  overflow: visible;
}

.graphic-project-card {
  display: grid;
  grid-template-rows: auto auto minmax(40px, auto);
  align-items: start;
  gap: 10px;
  width: min(var(--graphic-line-width, 390px), 100%);
  flex: 0 0 auto;
}

.graphic-project-link {
  display: contents;
  color: inherit;
  text-decoration: none;
}

.graphic-project-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(177, 31, 47, 0.08);
  padding: 8px;
  box-sizing: border-box;
  cursor: pointer;
}

.graphic-project-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.page--graphic-section[data-graphic-section="POSTER"] .graphic-project-cover {
  padding: 20px;
}

.graphic-project-line {
  width: 100%;
  height: 6px;
  background: #b11f2f;
  display: block;
}

.graphic-project-title {
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  width: 100%;
  line-height: 1.25;
  text-align: center;
}

.graphic-viewer {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.graphic-viewer.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.graphic-viewer__inner {
  width: min(92vw, 1080px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.graphic-viewer__close {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 36px;
  height: 36px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.graphic-viewer__title {
  display: none;
}

.graphic-viewer__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graphic-viewer__main {
  width: auto;
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  background: transparent;
  padding: 0;
  display: block;
  margin: 0 auto;
}

.graphic-viewer__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #111111;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  font-size: 34px;
  line-height: 1;
  width: auto;
  height: auto;
  padding: 0 6px;
  cursor: pointer;
}

.graphic-viewer__nav--prev {
  left: calc(50% - min(46vw, 540px) - 120px);
}

.graphic-viewer__nav--next {
  right: calc(50% - min(46vw, 540px) - 120px);
}

.graphic-viewer__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.graphic-viewer__thumb {
  width: 94px;
  height: 70px;
  object-fit: cover;
  border: 1px solid #111;
  opacity: 0.68;
  cursor: pointer;
  background: rgba(177, 31, 47, 0.08);
}

.graphic-viewer__thumb.is-active {
  opacity: 1;
  border: 2px solid #b11f2f;
}

.graphic-viewer__close {
  top: calc(50% - min(31vh, 260px) - 52px);
  right: calc(50% - min(46vw, 540px) - 120px);
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: #111111;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  font-size: 36px;
  line-height: 1;
  padding: 0 4px;
}

.page--graphic-section[data-graphic-section="POSTER"] .graphic-project-cover {
  aspect-ratio: 3 / 4;
}

.graphic-item {
  overflow: hidden;
  background: transparent;
  width: min(100%, 980px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
}

.graphic-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

body.is-about-open > *:not(.about-overlay) {
  filter: blur(10px);
  transition: filter 0.25s ease;
}

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

body.is-contact-open > *:not(.contact-overlay) {
  filter: blur(10px);
  transition: filter 0.25s ease;
}

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

body.is-graphic-viewer {
  overflow: hidden;
}

body.is-art-viewer > *:not(.art-viewer) {
  filter: blur(12px);
  transition: filter 0.25s ease;
}

body.is-art-viewer {
  overflow: hidden;
}

.about-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 10;
}

.about-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.about-card {
  max-width: 92vw;
  width: min(72vw, 720px);
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  color: #000000;
  line-height: 1.8;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  display: block;
}

.about-card.has-about-media {
  width: min(92vw, calc(var(--about-media-size, 320px) + 754px));
  display: grid;
  grid-template-columns: var(--about-media-size, 320px) minmax(0, 720px);
  gap: 34px;
  align-items: center;
}

.about-card__text {
  width: min(72vw, 720px);
  max-width: 720px;
}

.about-card__media {
  width: var(--about-media-size, 320px);
  height: var(--about-media-size, 320px);
  background: rgba(177, 31, 47, 0.08);
  overflow: hidden;
  display: none;
  align-items: center;
  justify-content: center;
}

.about-card.has-about-media .about-card__media {
  display: flex;
}

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

.about-card__placeholder {
  color: #b11f2f;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-card p {
  margin: 0;
  font-weight: 400;
  font-size: 21px;
  display: inline;
  color: #ffffff;
  background: #000000;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  line-height: 1.6;
  padding: 0.12em 0.75em;
}

@media (max-width: 800px) {
  .about-overlay {
    overflow-y: auto;
    padding: 42px 0;
  }

  .about-card {
    width: min(82vw, 620px);
  }

  .about-card.has-about-media {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-card__text {
    width: 100%;
    max-width: 100%;
  }

  .about-card__media {
    width: min(68vw, 320px);
    height: auto;
    aspect-ratio: 1 / 1;
    justify-self: center;
  }
}

.contact-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 12;
}

.contact-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.contact-card {
  width: min(86vw, 760px);
  background: transparent;
  padding: 0;
  position: relative;
}

.contact-tag {
  position: absolute;
  top: -20px;
  left: 14px;
  color: #c2172f;
  font-size: 12px;
  letter-spacing: 0.6px;
  margin: 0;
  padding: 0;
  background: transparent;
}

.contact-frame {
  background: rgba(177, 31, 47, 0.08);
  padding: 26px;
  position: relative;
}

.contact-frame::before,
.contact-frame::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 20px;
  background: #b11f2f;
  z-index: 2;
}

.contact-frame::before {
  top: -20px;
  left: 0;
}

.contact-frame::after {
  bottom: -20px;
  right: 0;
}

.contact-panel {
  background: #ffffff;
  border: 1px solid #d2d2d2;
  padding: 20px;
  width: 100%;
}

.contact-accent {
  display: none;
}

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

.contact-label {
  font-size: 30px;
  letter-spacing: 0.02em;
  color: #212121;
  margin-bottom: 2px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field span {
  font-size: 16px;
  color: #1e1e1e;
}

.contact-field small {
  font-size: 12px;
  color: #777777;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid #9f9f9f;
  background: #ffffff;
  padding: 10px 12px;
  font-size: 16px;
  color: #1f1f1f;
  outline: none;
  box-sizing: border-box;
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  align-self: flex-start;
  margin-top: 4px;
  border: 1px solid #b11f2f;
  background: #b11f2f;
  color: #ffffff;
  min-width: 86px;
  height: 34px;
  letter-spacing: 0.08em;
  font-size: 14px;
  cursor: pointer;
}

.contact-submit:hover {
  background: #8f1725;
  border-color: #8f1725;
}

.contact-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-status {
  min-height: 20px;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #333333;
}

.contact-status.is-success {
  color: #23743b;
}

.contact-status.is-error {
  color: #b11f2f;
}

@media (max-width: 820px) {
  .contact-tag {
    font-size: 12px;
    left: 14px;
  }
  .contact-frame {
    padding: 14px;
  }
  .contact-panel {
    padding: 14px;
  }
  .contact-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .contact-label {
    font-size: 24px;
  }
  .contact-submit {
    font-size: 13px;
    min-width: 80px;
    height: 32px;
  }
}

.art-viewer {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 14;
}

.art-viewer.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.art-viewer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 80vw;
  max-height: 80vh;
}

.art-viewer__media {
  max-width: 80vw;
  max-height: 70vh;
}

.art-viewer__media img {
  width: auto;
  height: auto;
  max-width: 80vw;
  max-height: 70vh;
  display: block;
}

.art-viewer__meta {
  text-align: center;
  color: #000000;
  font-size: 14px;
  line-height: 1.6;
}

.art-viewer__title {
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.textbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 6;
  text-align: center;
}

.page--project .project-page {
  padding-top: 90px;
}

.brand {
  font-size: 12px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.toolbar {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
}

.bracket-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.bracket-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #000000;
  display: block;
}

.bracket-menu.is-intro-loading::before,
.bracket-menu.is-intro-preview::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #000000;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.22;
  pointer-events: none;
}

.bracket-menu.is-intro-loading::before {
  animation: intro-menu-loader 0.9s linear infinite;
}

.bracket-menu.is-intro-loading .bracket-dot {
  opacity: 0.22;
  animation: intro-menu-loader 0.9s linear infinite;
}

.bracket-menu.is-intro-loading .bracket-dot:first-child {
  animation-delay: 0.6s;
}

.bracket-menu.is-intro-loading .bracket-dot:last-child {
  animation-delay: 0.3s;
}

.bracket-menu.is-intro-loading.is-intro-settled::before {
  background: #b11f2f;
  opacity: 1;
  animation: none;
}

.bracket-menu.is-intro-loading.is-intro-settled .bracket-dot {
  background: #000000;
  opacity: 1;
  animation: none;
}

.bracket-menu.is-intro-preview::before {
  background: #b11f2f;
  opacity: 1;
  animation: intro-menu-center-out 0.38s ease forwards;
}

@keyframes intro-menu-loader {
  0%, 32% {
    background: #b11f2f;
    opacity: 1;
  }
  33%, 100% {
    background: #000000;
    opacity: 0.22;
  }
}

@keyframes intro-menu-center-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.58s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s ease;
}

.menu__item {
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  padding: 2px 0;
  text-align: center;
  transition: color 0.2s ease;
  font-weight: 700;
  text-transform: uppercase;
}

.menu__item:hover {
  color: #b11f2f;
}

.menu__item.is-active {
  color: #000000;
}

.menu__item.is-active:hover {
  color: #b11f2f;
}

.bracket-menu:hover .menu,
.bracket-menu:focus-within .menu,
.bracket-menu.is-open .menu,
.bracket-menu.is-intro-preview .menu {
  max-height: 190px;
  opacity: 1;
}

.stage {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.stage__mask,
.art-mask {
  position: absolute;
  inset: 0;
  cursor: inherit;
  touch-action: none;
  pointer-events: auto;
  z-index: 2;
}

/* The home canvas is an interactive surface, not selectable page content. */
.stage,
.stage__mask,
.scene,
.card,
.card__img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.stage__mask {
  overscroll-behavior: none;
}

.stage__mask img {
  -webkit-user-drag: none;
  user-drag: none;
}

.stage__mask.is-grabbing,
.art-mask.is-grabbing {
  cursor: inherit;
}

.scene,
.art-scene {
  position: absolute;
  inset: 0;
  height: 160vh;
  width: 160vw;
  transform-origin: 0 0;
}

.scene {
  width: 160vw;
  min-width: 1640px;
  height: max(180vh, 1260px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.scene.is-ready {
  opacity: 1;
}

.art-scene {
  height: 100vh;
  width: max-content;
}

.card,
.art-card {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--w);
  height: var(--h);
  opacity: var(--o);
  border-radius: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  filter: none;
  transform: translate3d(var(--offset-x, 0px), var(--offset-y, 0px), 0);
  transition: transform 0.15s ease-out, filter 0.2s ease;
}

.card {
  background-image: none !important;
  box-shadow: none;
  transform: translate3d(var(--offset-x, 0px), var(--offset-y, 0px), 0) scale(1.28);
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.2));
  transition: filter 0.2s ease;
}

.card:hover .card__img,
.card:hover,
.art-card:hover {
  filter: none;
}

.page--list {
  padding: 120px 80px 0 140px;
}

.page--list .list {
  flex: 1 0 auto;
  padding-bottom: 40px;
}

.page--list {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page--architecture.page--list {
  padding-left: 120px;
  padding-right: 120px;
}

.page--art {
  height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

.page--art .art-card,
.page--art .art-card .card__img {
  filter: grayscale(0);
}

.page--art .art-card {
  opacity: 1;
  position: relative;
  top: auto;
  left: auto;
  width: var(--w);
  height: var(--h);
  background-image: none;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: none;
  transition: transform 0.15s ease-out;
}

.page--art .art-scene {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  gap: 200px;
  padding: 0 8vw;
  height: 100%;
}

.page--art .art-mask {
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-color: var(--hl-color) #f5f4f1;
  scrollbar-width: auto;
}

.page--art .art-mask::-webkit-scrollbar {
  height: 13px;
}

.page--art .art-mask::-webkit-scrollbar-track {
  background: #f5f4f1;
}

.page--art .art-mask::-webkit-scrollbar-thumb {
  min-width: 36px;
  border: 3px solid #f5f4f1;
  border-radius: 10px;
  background: var(--hl-color);
}

.page--art .art-mask::-webkit-scrollbar-button:single-button {
  width: 15px;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 6px 8px;
}

.page--art .art-mask::-webkit-scrollbar-button:single-button:horizontal:decrement {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 10'%3E%3Cpath d='m6 1-5 4 5 4Z' fill='%23b11f2f'/%3E%3C/svg%3E");
}

.page--art .art-mask::-webkit-scrollbar-button:single-button:horizontal:increment {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 10'%3E%3Cpath d='m1 1 5 4-5 4Z' fill='%23b11f2f'/%3E%3C/svg%3E");
}

.page--art .art-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.project {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page--architecture .project {
  justify-content: center;
  gap: 36px;
}

.page--architecture .project__cover {
  width: 70%;
  max-width: 70%;
}

.page--architecture .project__text {
  width: 34%;
  max-width: 34%;
  padding-left: 14px;
}

.page--architecture .project {
  align-items: center;
}

.page--architecture .project__text {
  align-self: center;
}

.page--list.reveal-enabled .project {
  opacity: 0;
  transform: translateX(-80px);
}

.page--list.reveal-enabled .project.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.page--list.reveal-enabled .project--right {
  transform: translateX(80px);
}

.project--right {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.project__cover {
  width: 72%;
  max-width: 72%;
  border-radius: 0;
  box-shadow: 0 18px 36px rgba(0,0,0,0.2);
  display: block;
  align-self: flex-start;
  text-decoration: none;
  background: #ffffff;
  overflow: visible;
  background-image: none;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'><rect x='4' y='4' width='10' height='10' fill='%23b11f2f'/></svg>") 9 9, pointer;
}

.project__cover img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1);
  transition: transform 0.2s ease, filter 0.2s ease;
  transform-origin: center;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'><rect x='4' y='4' width='10' height='10' fill='%23b11f2f'/></svg>") 9 9, pointer;
}

.project__cover img:hover {
  filter: grayscale(0);
}

.page--architecture .project--right .project__cover img:hover {
  filter: grayscale(0);
}

.project__text {
  width: 40%;
  max-width: 40%;
  align-self: flex-start;
  margin-top: 0;
  padding-top: 0;
}

.project--right .project__text {
  text-align: right;
  margin-right: 0;
  margin-left: 0;
  align-self: flex-start;
}

.page--architecture .project__text {
  align-self: center;
}

.page--architecture .project--right .project__text {
  align-self: center;
}

.project__text h2 {
  margin: 0 0 10px;
  font-size: 32px;
  letter-spacing: 1.2px;
  display: inline-block;
  position: relative;
  padding: 0 6px;
  z-index: 1;
}

.project__text h2::before {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: var(--hl-pos, 88%);
  height: 0.42em;
  background:
    linear-gradient(90deg, rgba(177, 31, 47, 0.55), rgba(177, 31, 47, 0.68) 35%, rgba(177, 31, 47, 0.5)),
    linear-gradient(90deg, rgba(177, 31, 47, 0.25), rgba(177, 31, 47, 0.4));
  background-size: 100% 100%, 100% 100%;
  background-position: 0 0, 0 2px;
  border-radius: 3px;
  transform: rotate(-1.2deg);
  filter: blur(0.25px);
  z-index: -1;
}

.hl-double::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 20%;
  top: calc(var(--hl-pos, 88%) + 0.2em);
  height: 0.3em;
  background: linear-gradient(90deg, rgba(177, 31, 47, 0.35), rgba(177, 31, 47, 0.5) 50%, rgba(177, 31, 47, 0.3));
  border-radius: 3px;
  transform: rotate(1deg);
  filter: blur(0.3px);
  z-index: -1;
}

.hl-pos-top {
  --hl-pos: 82%;
}

.hl-pos-middle {
  --hl-pos: 88%;
}

.hl-pos-bottom {
  --hl-pos: 93%;
}

.project__text p {
  margin: 0;
  font-size: 18px;
  color: #444444;
  max-width: 420px;
  line-height: 1.7;
}

.project__desc {
  color: #000000;
  font-size: 15px;
  line-height: 1.8;
}

.page--architecture .project__meta {
  display: block;
  margin-top: 6px;
  line-height: 1.6;
}

.page--architecture .project__meta > div {
  display: block;
  font-size: 18px;
  background: none;
  padding: 0;
}

.highlight-black {
  color: #000000;
}

.project__text--art-dormitory .project__desc {
  color: #000000;
}

.project__text--art-dormitory .blur-part {
  filter: blur(3px);
  transition: filter 0.2s ease;
}

.project__text--art-dormitory .highlight-black {
  filter: blur(0);
  transition: filter 0.2s ease;
}

.project__text--art-dormitory .project__desc:hover .blur-part {
  filter: blur(0);
}

.project__text--art-dormitory .project__desc:hover .highlight-black {
  filter: blur(3px);
}


.page--architecture .project {
  min-height: 0;
  position: relative;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.page--architecture .list {
  gap: 60px;
}

.page--architecture .project--right {
  flex-direction: row-reverse;
}

.page--architecture .project__cover {
  width: 72%;
  max-width: 72%;
  max-height: none;
}

.page--architecture .project__cover img {
  width: 100%;
  max-width: 100%;
  max-height: none;
}

.page--architecture .project__text {
  width: 28%;
  max-width: 28%;
  text-align: left;
}

.page--architecture .project--right .project__text {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.page--architecture .project__index {
  font-size: 22px;
  letter-spacing: 4px;
  color: #000000;
  position: absolute;
  top: 0;
  transform: none;
  left: -48px;
  display: flex;
  align-items: flex-start;
}


.page--architecture .project__index-main {
  letter-spacing: 2px;
  font-size: inherit;
}

.page--architecture .project__index-slash {
  font-size: 18px;
  margin: 0 2px;
  position: relative;
  top: 10px;
}

.page--architecture .project__index-sub {
  font-size: 22px;
  margin-left: -6px;
  position: relative;
  top: 22px;
  letter-spacing: 1px;
}

.page--architecture .project--right .project__index {
  left: auto;
  right: -48px;
}

.page--architecture .project__cover {
  margin-left: 36px;
}

.page--architecture .project--right .project__cover {
  margin-left: 0;
  margin-right: 36px;
}

.page--architecture .project__text {
  margin-left: 12px;
}

.page--architecture .project--right .project__text {
  margin-left: 0;
  margin-right: 12px;
}

.page--project {
  padding: 0;
}

.project-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 0 80px;
  text-align: center;
}

.project-title {
  margin: -16px 0 24px;
  font-size: 18px;
  letter-spacing: 1.2px;
  display: inline-block;
  position: relative;
  padding: 0 6px;
  z-index: 1;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'><rect x='4' y='4' width='10' height='10' fill='%23b11f2f'/></svg>") 9 9, pointer !important;
}

.project-title::before {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: var(--hl-pos, 55%);
  height: 0.5em;
  background:
    linear-gradient(90deg, rgba(177, 31, 47, 0.5), rgba(177, 31, 47, 0.6) 35%, rgba(177, 31, 47, 0.45)),
    linear-gradient(90deg, rgba(177, 31, 47, 0.2), rgba(177, 31, 47, 0.32));
  background-size: 100% 100%, 100% 100%;
  background-position: 0 0, 0 2px;
  border-radius: 3px;
  transform: rotate(-1.2deg);
  filter: blur(0.2px);
  z-index: -1;
}

.project-title.hl-double::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 20%;
  top: calc(var(--hl-pos, 55%) + 0.35em);
  height: 0.35em;
  background: linear-gradient(90deg, rgba(177, 31, 47, 0.28), rgba(177, 31, 47, 0.42) 50%, rgba(177, 31, 47, 0.25));
  border-radius: 3px;
  transform: rotate(1deg);
  filter: blur(0.2px);
  z-index: -1;
}

.project-desc {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.8;
  color: #222222;
  max-width: none;
  white-space: pre-line;
  display: none;
}

.project-hero {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.project-cover {
  display: inline-block;
  width: auto;
  max-width: 94vw;
  height: auto;
  margin: 20px auto 60px;
  overflow: hidden;
  position: relative;
  max-height: calc(100vh - 220px);
}

.project-cover img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 220px);
  object-fit: contain;
  display: block;
  filter: none;
  position: relative;
  z-index: 1;
}

.project-cover__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'><rect x='4' y='4' width='10' height='10' fill='%23b11f2f'/></svg>") 9 9, pointer !important;
}

.project-cover *,
.project-cover__overlay,
.project-cover__blur,
.project-cover__desc,
.project-cover img {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'><rect x='4' y='4' width='10' height='10' fill='%23b11f2f'/></svg>") 9 9, pointer !important;
}


.project-cover__blur {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateX(-8%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-cover__desc {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  padding: 36px;
  font-size: 18px;
  line-height: 1.7;
  color: #000000;
  white-space: pre-line;
  text-align: left;
  opacity: 0;
  transform: translateX(-6%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'><rect x='4' y='4' width='10' height='10' fill='%23b11f2f'/></svg>") 9 9, pointer !important;
}

.project-cover.has-description:hover .project-cover__blur,
.project-cover.has-description:hover .project-cover__desc,
.project-cover.has-description:focus-within .project-cover__blur,
.project-cover.has-description:focus-within .project-cover__desc,
.project-cover.has-description.is-description-visible .project-cover__blur,
.project-cover.has-description.is-description-visible .project-cover__desc {
  opacity: 1;
  transform: translateX(0);
}


.project-gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0 60px;
  width: 100%;
  max-width: 94vw;
  margin: 0 auto 60px;
  overflow: visible;
  text-align: left;
}

.gallery-item {
  margin: 0;
  width: var(--adaptive-width, 180px);
  height: var(--adaptive-height, 180px);
  flex: 0 0 auto;
  min-width: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: #f2f2f2;
  border: 1px solid #b11f2f;
  box-sizing: border-box;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: #ffffff;
  display: block;
}

.gallery-item iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.gallery-item--video::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.gallery-item--video::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-38%, -50%);
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid #ffffff;
  pointer-events: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 12;
}

.lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__media {
  width: 88vw;
  height: 80vh;
  max-width: 1800px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.lightbox__media img.is-measuring {
  opacity: 0;
}

.lightbox__media img.is-ready {
  opacity: 1;
  transition: opacity 0.16s ease;
}

.lightbox__media iframe {
  width: min(88vw, 1200px);
  height: min(60vh, 675px);
  max-height: 80vh;
  border: 0;
  display: block;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  padding: 8px 12px;
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--next {
  right: 24px;
}

.art-stage {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.page--art .art-stage {
  position: fixed;
  inset: 0;
  height: auto;
}

.page--art .site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 13px;
  z-index: 7;
  margin: 0;
  padding: 10px 0 8px;
  pointer-events: none;
}

@media (max-width: 800px) {
  .toolbar {
    left: 12px;
  }
  .project {
    flex-direction: column;
  }
  .project__cover,
  .project__text {
    width: 100%;
    max-width: 100%;
  }
  .page--list {
    padding: 110px 24px 60px 70px;
  }

  .page--architecture.page--list {
    padding: 96px 24px 60px 70px;
  }

  .page--architecture .project,
  .page--architecture .project--right {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .page--architecture .project__cover,
  .page--architecture .project--right .project__cover,
  .page--architecture .project__text,
  .page--architecture .project--right .project__text {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .page--architecture .project__text,
  .page--architecture .project--right .project__text {
    text-align: left;
    align-items: flex-start;
  }

  .page--architecture .project--right .project__index {
    left: -48px;
    right: auto;
  }
}

@media (max-width: 600px) {
  .textbar {
    top: 16px;
  }
  .menu {
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .page--graphic {
    justify-content: flex-start;
    padding: 96px 24px 48px;
  }

  .graphic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    width: min(100%, 760px);
  }

  .graphic-grid .graphic-link:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 20px) / 2);
    justify-self: center;
  }

  .graphic-viewer__inner {
    width: 100vw;
    padding: 0 16px;
  }

  .graphic-viewer__stage {
    width: 100%;
    min-height: 0;
  }

  .graphic-viewer__main {
    max-width: calc(100% - 76px);
    max-height: 66vh;
  }

  .graphic-viewer__nav--prev {
    left: 4px;
  }

  .graphic-viewer__nav--next {
    right: 4px;
  }

  .graphic-viewer__close {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
  }
}

@media (max-width: 560px) {
  .page--graphic {
    padding: 90px 22px 42px 70px;
  }

  .graphic-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    width: min(100%, 390px);
  }

  .graphic-grid .graphic-link:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .graphic-viewer__thumbs {
    justify-content: flex-start;
    padding-inline: 38px;
  }
}

.contact-overlay {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: max(34px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(34px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
}

.contact-card {
  margin: auto;
  flex: 0 0 auto;
}

.stage__mask,
.art-mask {
  cursor: inherit;
}

a,
button,
[role="button"] {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'><rect x='4' y='4' width='10' height='10' fill='%23b11f2f'/></svg>") 9 9, pointer !important;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 30px;
  height: 30px;
  border: none;
  background: rgba(0,0,0,0.35);
  color: transparent;
  display: block;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 15;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid rgba(255,255,255,0.85);
}

.site-footer {
  position: static;
  margin-top: auto;
  padding: 16px 0 20px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: #333333;
}

.site-footer__studio-link {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

.site-footer__studio-link:hover,
.site-footer__studio-link:focus-visible {
  color: #b11f2f;
}

/* Force red square on all clickable elements and their children */
a *,
button *,
[role="button"] *,
.project__cover,
.project__cover *,
.gallery-item,
.gallery-item *,
.menu__item {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'><rect x='4' y='4' width='10' height='10' fill='%23b11f2f'/></svg>") 9 9, pointer !important;
}

/* Force regular weight everywhere (no bold) */
body,
h1, h2, h3, h4, h5, h6,
.brand,
.menu__item,
.project__text h2,
.project-title,
.art-viewer__title,
.project__index,
.project__year {
  font-weight: 400;
}

/* Mobile-only interaction and density refinements. */
@media (max-width: 800px) {
  .toolbar {
    top: max(14px, env(safe-area-inset-top));
    right: max(4px, env(safe-area-inset-right));
    left: auto;
    transform: none;
    z-index: 30;
  }

  .bracket-menu {
    min-width: 34px;
    min-height: 34px;
    justify-content: center;
    gap: 2px;
  }

  .bracket-dot {
    width: 8px;
    height: 8px;
  }

  .menu {
    align-items: center;
    gap: 7px;
  }

  .menu__item {
    font-size: 10px;
    color: #b11f2f;
    text-align: center;
    font-weight: 500;
  }

  .menu__item.is-active {
    color: #b11f2f;
  }

  .bracket-menu:hover .menu,
  .bracket-menu:focus-within .menu {
    max-height: 0;
    opacity: 0;
  }

  .bracket-menu.is-open .menu,
  .bracket-menu.is-intro-preview .menu {
    max-height: 190px;
    opacity: 1;
  }

  .bracket-menu.is-intro-loading::before,
  .bracket-menu.is-intro-preview::before {
    display: none;
  }

  .bracket-menu.is-intro-loading .bracket-dot,
  .bracket-menu.is-intro-loading.is-intro-settled .bracket-dot {
    opacity: 1;
    animation: none;
    background: #000000;
  }

  .site-footer,
  .page--home .site-footer,
  .page--art .site-footer {
    font-size: 8px;
    letter-spacing: 0.25px;
    padding-top: 6px;
    padding-bottom: max(7px, env(safe-area-inset-bottom));
  }

  .page--home .scene {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .page--home .card,
  .page--home .card__img {
    transition: none;
  }

  .page--home .card__img {
    filter: none;
  }

  .page--architecture.page--list {
    padding: 82px 18px 48px;
  }

  .page--architecture .list {
    gap: 52px;
  }

  .page--architecture .project,
  .page--architecture .project--right {
    width: 100%;
    gap: 12px;
    align-items: stretch;
    padding-top: 34px;
  }

  .page--architecture .project {
    align-self: flex-start;
  }

  .page--architecture .project--right {
    align-self: flex-end;
  }

  .page--architecture .project__text,
  .page--architecture .project--right .project__text {
    width: 92%;
    max-width: 92%;
  }

  .page--architecture .project__text {
    text-align: left;
    align-items: flex-start;
    margin-inline: auto;
  }

  .page--architecture .project--right .project__text {
    text-align: right;
    align-items: flex-end;
    margin-inline: auto;
  }

  .page--architecture .project__cover,
  .page--architecture .project--right .project__cover {
    width: 92%;
    max-width: 92%;
    margin-inline: auto;
  }

  .page--architecture .project__text h2 {
    margin-bottom: 5px;
    padding-inline: 3px;
    font-size: 17px;
    letter-spacing: 0.55px;
  }

  .page--architecture .project__text h2::before {
    height: 0.27em;
  }

  .page--architecture .project__text h2.hl-double::after {
    height: 0.18em;
  }

  .page--architecture .project__meta {
    margin-top: 3px;
    line-height: 1.4;
  }

  .page--architecture .project__meta > div {
    font-size: 13px;
  }

  .page--architecture .project__desc {
    font-size: 12px;
    line-height: 1.55;
  }

  .page--architecture .project__index,
  .page--architecture .project--right .project__index {
    top: 0;
    left: 4%;
    right: auto;
    font-size: 13px;
    letter-spacing: 1px;
  }

  .page--architecture .project--right .project__index {
    left: auto;
    right: 4%;
  }

  .page--architecture .project__index-slash {
    top: 5px;
    font-size: 11px;
  }

  .page--architecture .project__index-sub {
    top: 12px;
    margin-left: -4px;
    font-size: 13px;
  }

  .page--project .project-page {
    padding: 72px 0 42px;
  }

  .project-title {
    margin: -8px 0 12px;
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  .project-cover {
    max-width: 96vw;
    max-height: calc(100svh - 150px);
    margin: 8px auto 24px;
  }

  .project-cover img {
    max-height: calc(100svh - 150px);
  }

  .project-cover__desc {
    padding: 18px;
    font-size: 13px;
    line-height: 1.5;
  }

  .project-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 8px;
    width: calc(100% - 24px) !important;
    max-width: none;
    padding: 8px 0 28px;
    margin: 0 auto 34px;
  }

  .gallery-item {
    width: 100%;
    height: auto;
  }

  .gallery-item img,
  .gallery-item video {
    object-fit: cover;
  }

  .lightbox__media {
    width: 94vw;
    height: 78svh;
  }

  .lightbox__nav,
  .graphic-viewer__nav {
    top: 0;
    bottom: 0;
    width: 22vw;
    height: 100%;
    transform: none;
    color: transparent;
    text-shadow: none;
    padding: 0;
    z-index: 3;
  }

  .graphic-viewer__close {
    width: 44px;
    height: 44px;
    color: transparent;
    text-shadow: none;
    padding: 0;
  }

  .lightbox__nav--prev,
  .graphic-viewer__nav--prev {
    left: 0;
  }

  .lightbox__nav--next,
  .graphic-viewer__nav--next {
    right: 0;
  }

  .page--art .art-scene {
    gap: 86px;
    padding: 0 18vw;
  }

  .page--art .art-mask {
    touch-action: none;
  }

  .page--graphic {
    padding: 82px 20px 42px;
  }

  .page--graphic .graphic-grid {
    justify-items: center;
  }

  .page--graphic .graphic-link {
    width: min(100%, 350px);
    justify-self: center;
  }

  .page--graphic-section {
    padding-inline: 18px;
  }

  .graphic-section-grid {
    justify-content: center;
  }

  .graphic-project-card {
    margin-inline: auto;
  }

  .about-overlay {
    padding: 54px 0;
  }

  .about-card {
    width: min(84vw, 520px);
  }

  .about-card.has-about-media {
    gap: 16px;
  }

  .about-card__media {
    width: min(52vw, 210px);
  }

  .about-card p {
    font-size: 15px;
    line-height: 1.5;
    padding: 0.09em 0.5em;
  }

  .contact-overlay {
    padding: max(26px, env(safe-area-inset-top)) 12px max(26px, env(safe-area-inset-bottom));
  }

  .contact-card {
    width: min(88vw, 540px);
  }

  .contact-tag {
    top: -16px;
    left: 10px;
    font-size: 10px;
  }

  .contact-frame {
    padding: 10px;
  }

  .contact-panel {
    padding: 10px;
  }

  .contact-form {
    gap: 9px;
  }

  .contact-row {
    gap: 8px;
  }

  .contact-field {
    gap: 4px;
  }

  .contact-field span {
    font-size: 13px;
  }

  .contact-field input,
  .contact-field textarea {
    padding: 8px 9px;
    font-size: 14px;
  }

  .contact-field textarea {
    min-height: 92px;
  }

  .contact-submit {
    min-width: 72px;
    height: 29px;
    font-size: 11px;
  }

  .contact-status {
    min-height: 16px;
    font-size: 11px;
  }
}







