:root {
  --ink: #101114;
  --muted: #6f747c;
  --line: #dfe2e6;
  --paper: #f7f8fa;
  --white: #ffffff;
  --blue: #1677ff;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 66px;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
}
.nav {
  max-width: var(--max);
  height: 100%;
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 15px;
  font-weight: 680;
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  color: #31343a;
}
.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.language-picker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 2px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.language-button {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: .48;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}
.language-button span {
  font-size: 19px;
  line-height: 1;
}
.language-button:hover { opacity: .8; transform: scale(1.06); }
.language-button[aria-pressed="true"] {
  border-color: rgba(16, 17, 20, .28);
  opacity: 1;
}
.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.menu-button span {
  display: block;
  height: 1px;
  margin: 7px 0;
  background: var(--ink);
  transition: transform .2s ease;
}

.hero {
  min-height: 92vh;
  padding: 124px 28px 44px;
  display: grid;
  align-items: end;
}
.hero-inner {
  max-width: var(--max);
  width: 100%;
  margin: auto;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
}
h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(54px, 8vw, 118px);
  line-height: .94;
  font-weight: 690;
  letter-spacing: 0;
}
.hero-copy {
  max-width: 700px;
  margin: 40px 0 0 auto;
  color: #373b42;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.25;
  font-weight: 430;
}
.scroll-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 52px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.scroll-mark::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.featured {
  padding: 30px 28px 130px;
  background: var(--paper);
}
.section-head {
  max-width: var(--max);
  margin: auto;
  padding: 78px 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 1px solid var(--line);
}
.section-head h2, .about h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  font-weight: 650;
}
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.theme-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 24px;
}
.theme-card { grid-column: span 6; }
.theme-card:nth-child(3) { grid-column: span 7; }
.theme-card:nth-child(4) { grid-column: 8 / span 5; }
.theme-card-link { display: block; }
.theme-image {
  position: relative;
  overflow: hidden;
  background: #e7e9ec;
  aspect-ratio: 16 / 10;
}
.theme-card:nth-child(2) .theme-image,
.theme-card:nth-child(4) .theme-image { aspect-ratio: 4 / 5; }
.theme-image img {
  --cover-zoom: 1;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--cover-zoom));
  transition: transform .7s cubic-bezier(.2,.75,.25,1);
}
.theme-card-link:hover img { transform: scale(calc(var(--cover-zoom) + .025)); }
.theme-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 0;
}
.theme-meta h3 { margin: 0; font-size: 20px; font-weight: 590; }
.theme-meta span { color: var(--muted); font-size: 13px; }

.about { padding: 130px 28px; }
.about-inner {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 24px;
}
.about-copy {
  max-width: 790px;
  margin-left: auto;
  font-size: clamp(26px, 3.5vw, 50px);
  line-height: 1.12;
}
.about-copy p { margin: 0; }
.about-details {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 40px;
  font-size: 14px;
  color: var(--muted);
}

.collection-hero {
  padding: 154px 28px 72px;
  background: var(--paper);
}
.collection-hero-inner { max-width: var(--max); margin: auto; }
.collection-number { color: var(--blue); font-size: 13px; font-weight: 650; }
.collection-hero h1 {
  max-width: 950px;
  margin-top: 20px;
  font-size: clamp(54px, 8vw, 110px);
}
.collection-intro {
  max-width: 700px;
  margin: 48px 0 0 auto;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.3;
  color: #3b3e43;
}
.gallery {
  max-width: var(--max);
  margin: auto;
  padding: 72px 28px 140px;
}
.work {
  width: 100%;
  margin: 0 auto 100px;
}
.work-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--paper);
  cursor: zoom-in;
}
.work-media img {
  --image-zoom: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
  transition: opacity .25s ease;
}
.work-media .work-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  width: var(--overlay-size, 25%);
  height: auto;
  object-fit: contain;
  transform: scale(var(--overlay-zoom, 1));
  transform-origin: center;
  pointer-events: none;
}
.work-media:hover > img:not(.work-overlay) { opacity: .92; }
.work-caption {
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}
.work-caption strong { font-weight: 600; }
.work-caption span { color: var(--muted); }
.gallery-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: -32px;
}
.gallery-action {
  min-width: 164px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.gallery-action:hover,
.gallery-action:focus-visible {
  color: var(--paper);
  background: var(--ink);
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgba(245, 246, 248, .96);
}
.lightbox.is-open { display: grid; }
.lightbox-figure {
  max-width: 94vw;
  margin: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.lightbox-media {
  position: relative;
  display: inline-flex;
  overflow: hidden;
}
.lightbox img { width: auto; max-width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox .lightbox-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  width: var(--overlay-size, 25%);
  height: auto;
  object-fit: contain;
  transform: scale(var(--overlay-zoom, 1));
  transform-origin: center;
  pointer-events: none;
}
.lightbox-caption {
  margin-top: 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 590;
  text-align: center;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(16, 17, 20, .12);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 28px rgba(16, 17, 20, .08);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: background .2s ease, transform .2s ease;
}
.lightbox-nav:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.05);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.site-footer {
  padding: 50px 28px;
  color: #f6f7f8;
  background: #111215;
}
.footer-inner {
  max-width: var(--max);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}
.footer-title { max-width: 700px; font-size: clamp(32px, 5vw, 68px); line-height: 1; font-weight: 620; }
.footer-links { display: flex; gap: 24px; font-size: 13px; color: #b9bdc4; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .site-header { height: 60px; }
  .nav { padding: 0 18px; }
  .menu-button { display: block; }
  .menu-open .site-header,
  .menu-open .nav-links {
    background: #fff !important;
    opacity: 1;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links {
    position: fixed;
    z-index: 51;
    inset: 60px 0 0;
    display: none;
    align-items: flex-start;
    flex-direction: column;
    padding: 36px 22px;
    gap: 26px;
    background: #fff !important;
    box-shadow: 0 18px 30px rgba(16, 17, 20, .08);
    font-size: 22px;
  }
  .language-picker {
    margin-top: 8px;
    margin-left: 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .language-button { width: 38px; height: 38px; }
  .language-button span { font-size: 24px; }
  .menu-open .nav-links { display: flex; }
  .hero { min-height: 88vh; padding: 106px 20px 34px; }
  h1 { font-size: 55px; }
  .hero-copy { margin-top: 32px; }
  .featured { padding: 0 20px 80px; }
  .section-head { padding-top: 58px; align-items: start; flex-direction: column; gap: 12px; }
  .theme-grid { display: block; }
  .theme-card, .theme-card:nth-child(3), .theme-card:nth-child(4) { margin-bottom: 42px; }
  .theme-card:nth-child(2) .theme-image, .theme-card:nth-child(4) .theme-image { aspect-ratio: 16 / 10; }
  .about { padding: 82px 20px; }
  .about-inner { display: block; }
  .about h2 { margin-bottom: 38px; }
  .about-copy { font-size: 28px; }
  .about-details { flex-direction: column; gap: 10px; }
  .collection-hero { padding: 120px 20px 58px; }
  .collection-hero h1 { font-size: 54px; overflow-wrap: anywhere; }
  .collection-intro { margin-top: 34px; }
  .gallery { padding: 50px 20px 90px; }
  .work, .work:nth-child(even) { width: 100%; margin-bottom: 58px; }
  .lightbox { padding: 64px 14px 88px; }
  .lightbox-figure { max-width: 100%; }
  .lightbox img { max-width: 100%; max-height: calc(100vh - 190px); }
  .lightbox-caption { margin-top: 12px; font-size: 14px; }
  .lightbox-nav {
    top: auto;
    bottom: 20px;
    transform: none;
  }
  .lightbox-nav:hover { transform: scale(1.05); }
  .lightbox-prev { left: calc(50% - 62px); }
  .lightbox-next { right: calc(50% - 62px); }
  .footer-inner { align-items: start; flex-direction: column; }
}
