:root {
  --ink: #11110f;
  --paper: #f4f1e9;
  --muted: rgba(244, 241, 233, 0.65);
  --line: rgba(244, 241, 233, 0.22);
  --accent: #d9ff42;
  --header-height: 86px;
  --page-pad: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.progress {
  position: fixed;
  z-index: 120;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
}

.progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.site-header.scrolled {
  background: rgba(17, 17, 15, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.nav {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
}

.brand strong {
  font-family: "Italiana", serif;
  font-size: 25px;
  font-weight: 400;
}

.brand span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.nav-links a,
.back-link {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a::after,
.back-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

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

.back-link {
  justify-self: end;
}

.menu-button {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--paper);
  background: transparent;
  cursor: pointer;
}

.menu-button span,
.menu-button::after {
  content: "";
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  animation: hero-drift 18s ease-out both;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.22), rgba(8, 8, 7, 0.04) 38%, rgba(8, 8, 7, 0.84)),
    linear-gradient(90deg, rgba(8, 8, 7, 0.4), transparent 62%);
}

.hero-content {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  align-items: end;
  gap: 40px;
  padding: calc(var(--header-height) + 48px) var(--page-pad) clamp(48px, 8vw, 110px);
}

.hero-kicker,
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-kicker {
  margin: 0 0 22px;
  font-size: 11px;
}

.hero-kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 0;
  font-family: "Italiana", serif;
  font-size: clamp(64px, 11.2vw, 178px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.045em;
}

h1 span {
  display: block;
  margin-left: 0.72em;
  color: var(--accent);
}

.hero-side {
  padding: 0 0 10px 24px;
  border-left: 1px solid var(--line);
}

.hero-side p {
  max-width: 32ch;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-style: normal;
  animation: bounce 2s ease-in-out infinite;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 140px);
  padding: clamp(90px, 12vw, 170px) var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.section-label {
  color: var(--muted);
}

.section-label span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  border-radius: 50%;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: "Italiana", serif;
  font-size: clamp(44px, 6.4vw, 96px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.intro-copy {
  max-width: 630px;
  align-self: end;
}

.intro-copy .lead {
  margin-bottom: 28px;
  color: var(--paper);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.intro-copy p:not(.lead) {
  max-width: 58ch;
  color: var(--muted);
}

.collection {
  padding: clamp(90px, 12vw, 170px) var(--page-pad);
}

.collection-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  margin-bottom: clamp(44px, 7vw, 90px);
}

.collection-heading .section-label {
  margin-bottom: 22px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter:hover,
.filter:focus-visible,
.filter.active {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.4vw, 22px);
}

.work {
  position: relative;
  grid-column: span 4;
  min-height: 380px;
  overflow: hidden;
  background: #222;
  cursor: zoom-in;
}

.work.wide {
  grid-column: span 8;
}

.work.tall {
  min-height: 680px;
}

.work.hidden {
  display: none;
}

.work button {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}

.work::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.7));
}

.work-meta {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  pointer-events: none;
}

.work-meta strong {
  display: block;
  font-family: "Italiana", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.work-meta span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.work-meta i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  font-style: normal;
}

.work:hover img,
.work:focus-within img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.marquee {
  overflow: hidden;
  padding: 23px 0;
  border-block: 1px solid var(--line);
  color: var(--accent);
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 26px;
  min-width: max-content;
  font-family: "Italiana", serif;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  animation: marquee 28s linear infinite;
}

.marquee-track i {
  color: var(--paper);
  font-style: normal;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  min-height: 780px;
  background: var(--paper);
  color: var(--ink);
}

.about-media {
  min-height: 650px;
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  padding: clamp(54px, 8vw, 130px) var(--page-pad);
}

.about .section-label {
  color: rgba(17, 17, 15, 0.56);
}

.about h2 {
  max-width: 680px;
}

.about-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}

.about-text p {
  margin: 0;
  color: rgba(17, 17, 15, 0.68);
}

.disciplines {
  display: grid;
  border-top: 1px solid rgba(17, 17, 15, 0.2);
}

.disciplines div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(17, 17, 15, 0.2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.disciplines span {
  color: rgba(17, 17, 15, 0.46);
}

.contact {
  position: relative;
  min-height: 72svh;
  display: grid;
  place-items: center;
  padding: 100px var(--page-pad);
  text-align: center;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  width: min(74vw, 900px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.015),
    0 0 0 140px rgba(255, 255, 255, 0.01);
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact .section-label {
  justify-content: center;
  margin-bottom: 28px;
}

.contact h2 {
  max-width: 1050px;
  margin-inline: auto;
}

.contact h2 em {
  color: var(--accent);
  font-style: normal;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
  padding: 16px 23px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 40px var(--page-pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

footer strong {
  display: block;
  margin-bottom: 5px;
  color: var(--paper);
  font-family: "Italiana", serif;
  font-size: 22px;
  font-weight: 400;
}

footer p {
  margin: 0;
}

.lightbox {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  visibility: hidden;
  opacity: 0;
  color: var(--paper);
  background: rgba(5, 5, 4, 0.96);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.open {
  visibility: visible;
  opacity: 1;
}

.lightbox-stage {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: clamp(64px, 7vw, 110px);
}

.lightbox-stage img {
  max-width: 100%;
  max-height: calc(100svh - 128px);
  object-fit: contain;
}

.lightbox-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px 34px;
  border-left: 1px solid var(--line);
}

.lightbox-count {
  margin-bottom: auto;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.lightbox-info h3 {
  margin-bottom: 10px;
  font-family: "Italiana", serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.lightbox-info p {
  margin: 0;
  color: var(--muted);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(17, 17, 15, 0.45);
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  color: var(--ink);
  background: var(--accent);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 22px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 364px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes bounce {
  50% { transform: translateY(5px); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 18px var(--page-pad) 28px;
    background: rgba(17, 17, 15, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .back-link {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-content,
  .intro,
  .collection-heading {
    grid-template-columns: 1fr;
  }

  .filters {
    justify-content: flex-start;
  }

  .work {
    grid-column: span 6;
  }

  .work.wide {
    grid-column: span 12;
  }

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

  .about-media {
    height: 78vw;
    min-height: 520px;
  }

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

  .lightbox-info {
    position: absolute;
    inset: auto 0 0;
    padding: 70px 26px 24px;
    border: 0;
    background: linear-gradient(transparent, rgba(5, 5, 4, 0.94));
    pointer-events: none;
  }

  .lightbox-count {
    display: none;
  }

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

@media (max-width: 680px) {
  :root {
    --header-height: 72px;
  }

  .hero-content {
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(58px, 20vw, 104px);
  }

  h1 span {
    margin-left: 0.2em;
  }

  .hero-side {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }

  .intro,
  .collection {
    padding-block: 88px;
  }

  .gallery {
    display: block;
  }

  .work,
  .work.wide,
  .work.tall {
    min-height: 0;
    aspect-ratio: 4 / 5;
    margin-bottom: 12px;
  }

  .work.wide {
    aspect-ratio: 4 / 3;
  }

  .about-text {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 460px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .lightbox-stage {
    padding: 70px 12px 130px;
  }

  .lightbox-stage img {
    max-height: calc(100svh - 190px);
  }

  .lightbox-nav {
    top: auto;
    bottom: 22px;
  }

  .lightbox-prev {
    left: auto;
    right: 82px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::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;
  }
}
