:root {
  color-scheme: light;
  --background: #f6f1ea;
  --surface: #fbf8f4;
  --text: #826f5f;
  --body-text: #5f554e;
  --muted: #a99a8e;
  --line: rgba(130, 111, 95, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--background);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(28px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(32px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  background:
    radial-gradient(circle at 50% 24%, #ffffff 0, #faf7f2 36%, var(--background) 100%);
}

.hero-card {
  width: min(88vw, 760px);
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
  animation: fade-in 800ms ease-out both;
}

.art {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

.links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: clamp(22px, 3.4vw, 34px);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.links a,
.about-actions a,
.scroll-cue {
  color: var(--text);
  text-decoration: none;
}

.links a {
  padding: 8px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, opacity 180ms ease;
}

.links a:hover,
.links a:focus-visible {
  border-bottom-color: currentColor;
}

.links span {
  color: var(--muted);
}

.credit {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.scroll-cue {
  width: fit-content;
  margin: clamp(28px, 5vh, 54px) auto 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.72;
  transition: opacity 180ms ease;
}

.scroll-cue:hover {
  opacity: 1;
}

.scroll-cue .arrow {
  font-size: 1rem;
  line-height: 1;
}

.about {
  width: 100%;
  padding:
    clamp(72px, 10vw, 132px)
    max(24px, env(safe-area-inset-right))
    clamp(82px, 11vw, 148px)
    max(24px, env(safe-area-inset-left));
  background: var(--surface);
  border-top: 1px solid rgba(130, 111, 95, 0.08);
}

.about-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(48px, 8vw, 104px);
}

.about-image-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
}

.about-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 54%;
}

.about-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about h1 {
  margin: 0 0 30px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.about-copy p:not(.eyebrow) {
  margin: 0 0 20px;
  color: var(--body-text);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.76;
}

.about-copy em {
  font-family: Georgia, "Times New Roman", serif;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 34px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.about-actions a {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 180ms ease;
}

.about-actions a:hover,
.about-actions a:focus-visible {
  border-color: currentColor;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    align-items: flex-start;
    padding-top: max(62px, env(safe-area-inset-top));
  }

  .hero-card {
    width: min(90vw, 520px);
  }

  .links {
    margin-top: 20px;
  }

  .credit {
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .scroll-cue {
    margin-top: 34px;
  }

  .about {
    padding-top: 72px;
    padding-bottom: 92px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-image-wrap {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .about-image {
    aspect-ratio: 4 / 5;
    object-position: 50% 54%;
  }

  .about-copy {
    max-width: 620px;
    margin: 0 auto;
  }

  .about h1 {
    margin-bottom: 26px;
  }

  .about-copy p:not(.eyebrow) {
    line-height: 1.7;
  }
}

@media (max-width: 430px) {
  .about {
    padding-left: 22px;
    padding-right: 22px;
  }

  .about-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

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

  .hero-card {
    animation: none;
  }
}

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

.gallery {
  width: 100%;
  padding:
    clamp(72px, 10vw, 132px)
    max(22px, env(safe-area-inset-right))
    clamp(90px, 12vw, 150px)
    max(22px, env(safe-area-inset-left));
  background: #f6f1ea;
}

.gallery-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.gallery-heading {
  max-width: 680px;
  margin: 0 auto clamp(38px, 6vw, 64px);
  text-align: center;
}

.gallery-heading h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.gallery-heading > p:last-child {
  margin: 0;
  color: var(--body-text);
  font-size: 1rem;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 18px);
}

.gallery-item {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 280ms ease, opacity 280ms ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
  opacity: 0.94;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: rgba(23, 20, 18, 0.93);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: min(92vw, 1500px);
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0,0,0,0.28);
}

.lightbox-close {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

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

@media (max-width: 520px) {
  .gallery {
    padding-top: 72px;
    padding-bottom: 96px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .gallery-heading {
    margin-bottom: 34px;
  }
}

@media (max-width: 900px) and (min-width: 521px) {
  .gallery-item:last-child {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 520px) {
  .gallery-item:last-child {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }
}
