:root {
  --bg: #ffffff;
  --surface: #f7f7f7;
  --surface-2: #fbfbfb;
  --text: #0f0f0f;
  --text-soft: #2a2a2a;
  --muted: #6f6f6f;
  --muted-2: #8c8c8c;
  --line: #e8e8e8;
  --line-strong: #d8d8d8;
  --max: 1480px;
  --shell: 32px;
  --header-height: 76px;
  --section-gap: 132px;
  --block-gap: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--shell);
  padding-right: var(--shell);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15,15,15,0.08);
}

.header-inner {
  max-width: var(--max);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 var(--shell);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

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

.nav a {
  position: relative;
  padding: 8px 0;
  font-size: 0.93rem;
  line-height: 1;
  color: var(--muted);
  transition: color 0.22s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  outline: none;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-main {
  padding: 0 0 120px;
}

.section {
  position: relative;
  padding: 0 0 var(--section-gap);
}

.section + .section {
  padding-top: calc(var(--section-gap) - 8px);
}

.section + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100vw - (var(--shell) * 2)), var(--max));
  border-top: 1px solid var(--line-strong);
}

.section-anchor {
  scroll-margin-top: 112px;
}

.section-heading {
  margin-bottom: 42px;
}

#light-art .section-heading {
  position: relative;
  padding-top: 38px;
}

#light-art .section-heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--line-strong);
}

.gridline-top {
  border-top: 0;
  padding-top: 0;
}

.section-title {
  margin: 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(3.1rem, 6vw, 6.1rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 800;
  max-width: 11ch;
}

.project-label,
.meta-block h3,
.description-block h3,
.about-right h3 {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-label {
  margin-bottom: 14px;
  font-style: italic;
  color: var(--text-soft);
}

.project {
  margin-bottom: 108px;
}

.project:last-child {
  margin-bottom: 0;
}

.media-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: clip;
}

.media-bleed--inner {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.media-frame {
  width: 100%;
  background: var(--bg);
  overflow: hidden;
  border: 0;
}

.media-frame iframe,
.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  object-fit: cover;
}

.hero {
  margin-bottom: 56px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  min-height: clamp(640px, calc(100vh - var(--header-height) - 12px), 940px);
  object-fit: cover;
  object-position: center 14%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.08) 35%, rgba(255,255,255,0.92) 100%);
}

.hero-content {
  width: 100%;
  padding-bottom: clamp(30px, 5vw, 68px);
}

.hero-text {
  width: min(92vw, 1080px);
  max-width: 1080px;
  margin: 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.65rem, 3vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 600;
  font-style: italic;
  color: var(--text);
}

.project-grid,
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(420px, 1.28fr);
  gap: 46px;
  align-items: start;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.project-grid--store {
  margin-top: 0;
}

.project-left,
.about-left {
  position: sticky;
  top: 102px;
  align-self: start;
}

.project-title,
.about-title {
  margin: 0 0 22px;
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.95rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.meta-group {
  display: grid;
  gap: 26px;
}

.meta-block {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.meta-block h3,
.description-block h3,
.about-right h3 {
  margin-bottom: 14px;
}

.meta-block p,
.project-right p,
.about-right p,
.about-right li {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-soft);
}

.meta-block p + p,
.project-right p + p,
.about-right p + p,
.about-right li + li,
.about-right p + h3,
.about-right ul + h3,
.meta-block ul + p {
  margin-top: 12px;
}

.project-right,
.about-right {
  min-width: 0;
}

.description-block {
  max-width: 820px;
}

.description-block p {
  color: var(--text);
}

.text-link,
.about-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link:hover,
.about-link:hover {
  color: var(--muted);
}

.about-link {
  display: inline-block;
  margin-top: 10px;
  font-style: italic;
}

.details-toggle,
.details-close {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 13px 18px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 30px;
  transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.details-toggle:hover,
.details-close:hover,
.details-toggle:focus-visible,
.details-close:focus-visible {
  background: var(--surface);
  border-color: #cfcfcf;
  transform: translateY(-1px);
  outline: none;
}

.details-panel {
  display: none;
  margin-top: 48px;
  padding-top: 38px;
  border-top: 1px solid var(--line-strong);
}

.details-panel > * + * {
  margin-top: var(--block-gap);
}

.project.is-open .details-panel {
  display: block;
  animation: fadeIn 0.28s ease;
}

.project.is-open .details-toggle {
  display: none;
}

.supplemental-media {
  display: grid;
  gap: 32px;
}

.detail-text {
  margin-top: 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}


.detail-text--narrow {
  max-width: 760px;
}

.detail-text p {
  color: var(--text-soft);
}

.project--store .slider-wrap {
  max-width: 100%;
}

.project--store .slider,
.project--store .slide img {
  border: none !important;
  box-shadow: none !important;
}

.slider[data-autoplay] {
  overflow: hidden;
  border: 1px solid rgba(15,15,15,0.08);
  background: var(--surface-2);
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
}

.slider[data-autoplay] .slide img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  background: var(--bg);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 16px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #d6d6d6;
  cursor: pointer;
}

.slider-dot.active {
  background: #111;
  transform: scale(1.08);
}

.about-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.about-right ul li {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15,15,15,0.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.full-slider {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: var(--surface-2);
  border-top: 1px solid rgba(15,15,15,0.08);
  border-bottom: 1px solid rgba(15,15,15,0.08);
}

.slider-viewport {
  overflow: hidden;
}

.full-slider .slider-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.6s ease;
}

.full-slider .slide {
  min-width: 100%;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface-2);
}

.full-slider .slide img {
  width: 100%;
  height: auto;
  max-height: min(84vh, 1120px);
  object-fit: contain;
  margin: 0 auto;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(15,15,15,0.14);
  background: rgba(255,255,255,0.94);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: #fff;
  border-color: rgba(15,15,15,0.28);
  outline: none;
}

.slider-arrow--prev { left: 20px; }
.slider-arrow--next { right: 20px; }

.masonry-gallery {
  columns: 3 280px;
  column-gap: 20px;
  padding-top: 2px;
}

.masonry-item,
.masonry-item--wide,
.masonry-item--tall {
  display: block;
  margin: 0 0 20px;
  break-inside: avoid;
  background: var(--surface-2);
  border: 1px solid rgba(15,15,15,0.08);
  padding: 12px;
}

.masonry-item img,
.masonry-item--wide img,
.masonry-item--tall img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.details-panel .full-slider,
.details-panel .masonry-gallery,
.details-panel .supplemental-media,
.details-panel .detail-text {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .project-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-left,
  .about-left {
    position: static;
  }

  
  .masonry-gallery {
    columns: 2 240px;

  }
}

@media (max-width: 900px) {
  :root {
    --shell: 22px;
    --section-gap: 96px;
    --block-gap: 28px;
  }

  .header-inner {
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
    gap: 14px 18px;
  }

  .hero {
    margin-bottom: 42px;
  }

  .hero-text {
    font-size: clamp(1.5rem, 6.8vw, 2.45rem);
    line-height: 1.1;
  }

  .section-title {
    font-size: clamp(2.4rem, 10vw, 4.1rem);
  }

  .project-title,
  .about-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .project-grid,
  .about-grid {
    gap: 24px;
    margin-top: 22px;
  }

  .slider[data-autoplay] .slide img {
    height: 380px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: 18px;
  }

  .site-main {
    padding-bottom: 88px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  #light-art .section-heading {
    padding-top: 30px;
  }

  .media-frame iframe,
  .media-frame img {
    aspect-ratio: 16 / 10;
  }

  .details-toggle,
  .details-close {
    width: 100%;
  }

  .full-slider .slide {
    padding: 14px;
  }

  .full-slider .slide img {
    max-height: 72vh;
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
  }

  .slider-arrow--prev { left: 12px; }
  .slider-arrow--next { right: 12px; }

  .masonry-gallery {
    columns: 1;
    column-gap: 0;
  }

  .masonry-item,
  .masonry-item--wide,
  .masonry-item--tall {
    margin-bottom: 14px;
    padding: 8px;
  }
}
