:root {
  --snow: #edf2f4;
  --snow-light: #f7f9f8;
  --frost: #cadce5;
  --mineral: #879dbd;
  --violet: #6f789a;
  --ink: #192b44;
  --ink-soft: #42546a;
  --line: rgba(25, 43, 68, 0.22);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --serif-jp: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --utility: "Helvetica Neue", Arial, sans-serif;
  --shell: min(90vw, 1480px);
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--snow);
  font-family: var(--serif-jp);
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

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

::selection {
  color: var(--snow-light);
  background: var(--violet);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: var(--snow-light);
  background: var(--ink);
  font-family: var(--utility);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding-inline: 3.2vw;
  border-bottom: 1px solid transparent;
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    height 300ms ease;
}

.site-header.is-scrolled {
  height: 66px;
  border-color: var(--line);
  background: rgba(237, 242, 244, 0.9);
  backdrop-filter: blur(16px);
}

.site-logo {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  font-family: var(--utility);
  font-size: 0.69rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-logo span:last-child {
  font-family: var(--serif-jp);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  gap: clamp(1.4rem, 3vw, 3.4rem);
  font-family: var(--utility);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding-block: 0.6rem;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

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

.hero {
  position: relative;
  min-height: max(720px, 100svh);
  overflow: hidden;
  background: var(--snow);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 31vw;
  width: 1px;
  background: rgba(25, 43, 68, 0.25);
  content: "";
}

.hero__media {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 31vw;
  overflow: hidden;
  background: var(--frost);
}

.hero__media::after {
  position: absolute;
  inset: 0;
  background: rgba(233, 240, 243, 0.09);
  content: "";
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  animation: hero-scale 1600ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero__title-wrap {
  position: absolute;
  z-index: 3;
  top: 47%;
  left: 5.8vw;
  width: min(85vw, 1320px);
  transform: translateY(-50%);
}

.hero__role {
  margin: 0 0 clamp(1rem, 2vh, 2rem) 0.45rem;
  font-family: var(--utility);
  font-size: clamp(0.62rem, 0.7vw, 0.76rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: title-in 1000ms 120ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(5.4rem, 12.8vw, 22.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.7;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  width: max-content;
  animation: title-in 1100ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero h1 span:first-child {
  animation-delay: 180ms;
}

.hero h1 span:last-child {
  margin-left: 0.28em;
  animation-delay: 280ms;
}

.hero__art-caption {
  position: absolute;
  z-index: 3;
  top: 32%;
  right: 2.2vw;
  display: flex;
  margin: 0;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.hero__art-caption span:last-child {
  font-family: var(--utility);
  font-size: 0.59rem;
  letter-spacing: 0.22em;
}

.hero__news {
  position: absolute;
  z-index: 3;
  right: 5.8vw;
  bottom: 6.5vh;
  left: 5.8vw;
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  align-items: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--snow);
  backdrop-filter: blur(10px);
  animation: news-in 900ms 650ms ease both;
}

.hero__news-label {
  font-family: var(--utility);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__news p {
  overflow: hidden;
  margin: 0;
  font-size: clamp(0.75rem, 0.95vw, 0.92rem);
  letter-spacing: 0.075em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero__news p a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  bottom: 1.65rem;
  left: 5.8vw;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--utility);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.works {
  padding-block: clamp(7rem, 13vw, 13rem) clamp(8rem, 15vw, 15rem);
}

.works.section-shell {
  width: auto;
  margin-right: 2.4vw;
  margin-left: 5.8vw;
}

.section-heading {
  display: grid;
  grid-template-columns: calc(31vw - 5.8vw) minmax(0, 1fr);
  padding-bottom: clamp(3rem, 7vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.section-heading__eyebrow {
  margin: 0;
  font-family: var(--utility);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: -0.25em 0 1.2rem;
  font-size: clamp(2.5rem, 5.4vw, 5.8rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.section-heading div > p {
  max-width: 34rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.83rem;
  letter-spacing: 0.07em;
  line-height: 2;
}

.year-nav {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.year-nav[hidden] {
  display: none;
}

.year-nav a {
  display: inline-flex;
  min-width: 5rem;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--utility);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  transition:
    color 200ms ease,
    background 200ms ease,
    border-color 200ms ease;
}

.year-nav a:hover,
.year-nav a:focus-visible {
  color: var(--snow-light);
  border-color: var(--ink);
  background: var(--ink);
}

.works-year {
  display: grid;
  grid-template-columns: calc(31vw - 5.8vw) minmax(0, 1fr);
  padding-top: clamp(4.5rem, 8vw, 8rem);
  scroll-margin-top: 5rem;
}

.works-year__label {
  position: relative;
}

.works-year__label h3 {
  position: sticky;
  top: 7rem;
  margin: -0.18em 0 0;
  font-family: var(--display);
  font-size: clamp(5.5rem, 10vw, 11rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(3.5rem, 6vw, 7rem) clamp(1.5rem, 3.2vw, 3.75rem);
}

.art-card {
  width: 100%;
  min-width: 0;
}

.art-card__button {
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  background: transparent;
  text-align: left;
}

.art-card__image {
  position: relative;
  width: 100%;
  max-height: 68svh;
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: var(--frost);
}

.art-card__image::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(25, 43, 68, 0.13);
  content: "";
  pointer-events: none;
}

.art-card__image img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition:
    transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 400ms ease;
}

.art-card__button:hover img,
.art-card__button:focus-visible img {
  filter: saturate(1.04);
  transform: scale(1.018);
}

.art-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.95rem;
  margin-top: 1rem;
}

.art-card__title {
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
  letter-spacing: 0.08em;
}

.art-card__date {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-family: var(--utility);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.contact {
  color: var(--snow-light);
  background: var(--ink);
}

.contact__inner {
  display: grid;
  grid-template-columns: 0.75fr 1.6fr;
  gap: 0;
  padding-block: clamp(7rem, 12vw, 12rem);
}

.contact__intro {
  padding-right: clamp(2rem, 5vw, 6rem);
}

.contact__intro h2 {
  margin: clamp(3rem, 6vw, 6rem) 0 2rem;
  font-size: clamp(1.8rem, 3.6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.55;
}

.contact__intro > p:last-child {
  max-width: 27rem;
  margin: 0;
  color: rgba(247, 249, 248, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  line-height: 2;
}

.contact-form {
  border-top: 1px solid rgba(247, 249, 248, 0.28);
}

.form-row {
  border-bottom: 1px solid rgba(247, 249, 248, 0.28);
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.form-row--split label + label {
  border-left: 1px solid rgba(247, 249, 248, 0.28);
}

.form-row label {
  display: block;
  padding: 1.25rem 1.4rem 1.45rem;
}

.form-row label > span {
  display: flex;
  margin-bottom: 1.1rem;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.11em;
}

.form-row label b {
  color: var(--frost);
  font-family: var(--utility);
  font-size: 0.48rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--snow-light);
  background: transparent;
  border-radius: 0;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.form-row textarea {
  min-height: 11rem;
  line-height: 1.9;
  resize: vertical;
}

.form-row:focus-within {
  background: rgba(202, 220, 229, 0.06);
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
}

.contact-form__footer p {
  max-width: 25rem;
  margin: 0;
  color: rgba(247, 249, 248, 0.55);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  line-height: 1.8;
}

.send-button {
  display: inline-flex;
  min-width: 10rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 1.2rem;
  color: var(--ink);
  cursor: pointer;
  background: var(--snow-light);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  transition:
    color 200ms ease,
    background 200ms ease;
}

.send-button:hover,
.send-button:focus-visible {
  color: var(--ink);
  background: var(--frost);
}

.send-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.form-status {
  min-height: 1.5em;
  margin: 1.3rem 0 0;
  color: var(--frost);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 2.6rem 3.2vw 2.2rem;
  color: var(--snow-light);
  border-top: 1px solid rgba(247, 249, 248, 0.18);
  background: var(--ink);
  font-family: var(--utility);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 3rem);
  letter-spacing: 0.04em;
}

.site-footer p:nth-child(2),
.site-footer a {
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a {
  justify-self: end;
}

.scrollbar {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  bottom: 0;
  width: 8px;
  background: transparent;
  pointer-events: none;
}

.scrollbar__thumb {
  position: absolute;
  top: 0;
  right: 1px;
  width: 4px;
  min-height: 2.5rem;
  border-radius: 999px;
  background: rgba(111, 120, 154, 0.72);
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  transition:
    width 180ms ease,
    background-color 180ms ease;
}

.scrollbar__thumb:hover,
.scrollbar__thumb.is-dragging {
  width: 6px;
  background: rgba(111, 120, 154, 0.92);
}

.scrollbar__thumb.is-dragging {
  cursor: grabbing;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--snow-light);
  border: 0;
  background: rgba(15, 27, 43, 0.98);
}

.lightbox::backdrop {
  background: rgba(15, 27, 43, 0.98);
}

.lightbox__topbar {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
  padding-inline: 2rem;
  pointer-events: none;
}

.lightbox__count {
  margin: 0;
  font-family: var(--utility);
  font-size: 0.6rem;
  letter-spacing: 0.17em;
}

.lightbox__close {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem;
  color: inherit;
  cursor: pointer;
  background: transparent;
  font-family: var(--utility);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  pointer-events: auto;
  text-transform: uppercase;
}

.lightbox__close span:last-child {
  font-size: 1.5rem;
  font-weight: 200;
  line-height: 1;
  margin-top: -0.2rem;
}

.lightbox__stage {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: 5rem minmax(0, 1fr) 5rem;
  align-items: center;
  padding: 5rem 0 1.5rem;
}

.lightbox figure {
  display: grid;
  min-width: 0;
  height: 100%;
  margin: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
}

.lightbox figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 9.5rem);
  object-fit: contain;
}

.lightbox figcaption {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.lightbox figcaption span:last-child {
  color: rgba(247, 249, 248, 0.55);
  font-family: var(--utility);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  margin: 0.2rem 0 0;
}

.lightbox__arrow {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: inherit;
  cursor: pointer;
  background: transparent;
  justify-self: center;
  transition: background 180ms ease;
}

.lightbox__arrow:hover,
.lightbox__arrow:focus-visible {
  background: rgba(247, 249, 248, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 750ms ease,
    transform 750ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-scale {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes title-in {
  from {
    opacity: 0;
    transform: translateY(0.35em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes news-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero::before {
    left: 24vw;
  }

  .hero__media {
    left: 24vw;
  }

  .hero h1 {
    font-size: clamp(5rem, 14vw, 9rem);
  }

  .section-heading,
  .works-year {
    grid-template-columns: calc(24vw - 5.8vw) minmax(0, 1fr);
  }

  .contact__inner {
    grid-template-columns: minmax(8rem, 0.5fr) 1.5fr;
  }

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

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .site-footer p:nth-child(2) {
    grid-row: 2;
  }

  .site-footer a {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 1100px) {
  .art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100vw - 2.5rem);
    --header-height: 68px;
  }

  .site-header {
    padding-inline: 1.25rem;
  }

  .site-logo span:last-child {
    display: none;
  }

  .site-nav {
    gap: 1.15rem;
    font-size: 0.59rem;
  }

  .hero {
    min-height: 720px;
    height: 100svh;
  }

  .hero::before {
    display: none;
  }

  .hero__media {
    inset: 0;
  }

  .hero__media::after {
    background: rgba(237, 242, 244, 0.28);
  }

  .hero__media img {
    object-position: 52% center;
  }

  .hero__title-wrap {
    top: 44%;
    left: 1.25rem;
    width: calc(100vw - 2.5rem);
  }

  .hero__role {
    margin-left: 0.2rem;
  }

  .hero h1 {
    font-size: clamp(5rem, 22vw, 6rem);
    line-height: 0.69;
  }

  .hero h1 span:last-child {
    margin-left: 0;
    font-size: 0.74em;
    letter-spacing: -0.025em;
  }

  .hero__art-caption {
    top: 28%;
    right: 1.1rem;
  }

  .hero__news {
    right: 1.25rem;
    bottom: 4.2rem;
    left: 1.25rem;
    display: block;
    padding: 0.85rem 1.5rem;
    background: var(--snow);
  }

  .hero__news-label {
    display: block;
    margin-bottom: 0.55rem;
  }

  .hero__news p {
    overflow: visible;
    font-size: 0.7rem;
    line-height: 1.7;
    text-overflow: initial;
    white-space: normal;
  }

  .hero__scroll {
    bottom: 1.3rem;
    left: 1.25rem;
  }

  .works {
    padding-top: 6.5rem;
  }

  .works.section-shell {
    margin-inline: 1.25rem;
  }

  .section-heading {
    display: block;
    padding-bottom: 3rem;
  }

  .section-heading__eyebrow {
    margin-bottom: 2.2rem;
  }

  .section-heading h2 {
    margin-top: 0;
  }

  .year-nav {
    min-height: 4.8rem;
  }

  .works-year {
    display: block;
    padding-top: 4rem;
  }

  .works-year__label h3 {
    position: static;
    margin-bottom: 3.5rem;
    font-size: 6.4rem;
  }

  .art-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .art-card {
    margin: 0;
  }

  .contact__inner {
    display: block;
    padding-block: 6.5rem;
  }

  .contact__intro {
    padding-right: 0;
    padding-bottom: 4rem;
  }

  .contact__intro h2 {
    margin-top: 2.6rem;
  }

  .form-row--split {
    display: block;
  }

  .form-row--split label + label {
    border-top: 1px solid rgba(247, 249, 248, 0.28);
    border-left: 0;
  }

  .form-row label {
    padding-inline: 0.3rem;
  }

  .contact-form__footer {
    display: block;
  }

  .send-button {
    width: 100%;
    margin-top: 1.7rem;
  }

  .site-footer {
    display: flex;
    padding: 2.5rem 1.25rem 2rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .site-footer p:first-child {
    width: 100%;
    margin-bottom: 2.4rem;
  }

  .lightbox__topbar {
    height: 4.5rem;
    padding-inline: 1rem;
  }

  .lightbox__stage {
    display: block;
    padding: 4.5rem 1rem 5rem;
  }

  .lightbox figure {
    height: 100%;
  }

  .lightbox figure img {
    max-height: calc(100dvh - 11rem);
  }

  .lightbox__arrow {
    position: absolute;
    z-index: 2;
    bottom: 1.1rem;
  }

  .lightbox__arrow--prev {
    left: 1rem;
  }

  .lightbox__arrow--next {
    right: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
