:root {
  --ink: #111111;
  --ink-soft: #1d1d1d;
  --paper: #ffffff;
  --mist: #e7e7e7;
  --sand: #d9d9d9;
  --line: rgba(17, 17, 17, 0.18);
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

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

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

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

button { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  min-height: 6.2rem;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  transition: background .35s ease, min-height .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled,
.site-header--solid {
  min-height: 4.8rem;
  background: rgba(17, 17, 17, .96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
  backdrop-filter: blur(14px);
}

.brand { position: relative; z-index: 52; width: clamp(12rem, 19vw, 20rem); }
.brand img { width: 100%; height: auto; }

.main-navigation {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3.4rem);
  align-items: center;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.main-navigation a { position: relative; padding: .5rem 0; }
.main-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .25rem;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}
.main-navigation a:hover::after,
.main-navigation a:focus-visible::after { right: 0; }

.menu-button {
  display: none;
  position: relative;
  z-index: 52;
  width: 2.75rem;
  height: 2.75rem;
  padding: .65rem;
  border: 0;
  background: transparent;
}
.menu-button span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: .35rem 0;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, .92fr);
  color: #fff;
  background: var(--ink);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 10rem var(--gutter) 8rem;
}

.eyebrow {
  margin: 0 0 1.2rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.1rem, 7.3vw, 8.2rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .93;
}

.hero-intro {
  max-width: 35rem;
  margin: 2.25rem 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.hero-image { position: relative; min-height: 100svh; overflow: hidden; }
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,.6), transparent 35%), linear-gradient(0deg, rgba(17,17,17,.35), transparent 40%);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 49% center;
  filter: saturate(.75) contrast(1.05);
  transform: scale(1.015);
}

.hero-mark {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 4rem;
  width: clamp(4rem, 7vw, 7rem);
  opacity: .75;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  bottom: 2.5rem;
  width: 1.5rem;
  height: 3.5rem;
}
.scroll-cue span,
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  background: rgba(255,255,255,.8);
}
.scroll-cue span { top: 0; height: 100%; }
.scroll-cue::after { top: 0; height: .75rem; animation: scroll 1.7s ease-in-out infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(2.7rem); opacity: 0; } }

.text-link {
  display: inline-flex;
  align-items: center;
  padding: .35rem 0;
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.text-link--light { color: #fff; }

.section { padding: clamp(6rem, 11vw, 10rem) var(--gutter); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 28rem);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.section-heading h2,
.about-content h2,
.contact-copy h2,
.album-intro h1,
.not-found h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 6.6rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .94;
}
.section-heading > p { margin: 0; color: #5d5d5d; font-size: 1.05rem; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.photo-card { position: relative; grid-column: span 4; aspect-ratio: 3 / 4; overflow: hidden; background: var(--mist); }
.photo-card:nth-child(4n + 1) { grid-column: span 7; aspect-ratio: 7 / 5; }
.photo-card:nth-child(4n + 2) { grid-column: span 5; aspect-ratio: 5 / 6; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.75,.2,1); }
.photo-card:hover img { transform: scale(1.025); }
.photo-card span {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  padding: .4rem .7rem;
  color: #fff;
  background: rgba(17,17,17,.78);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.portfolio-empty {
  min-height: min(34rem, 65vh);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  border: 1px solid var(--line);
  background: #f4f4f4;
}
.empty-pattern {
  min-height: 26rem;
  background: #dfdfdf url("../img/brand/pattern.png") center / 46rem auto repeat;
  filter: grayscale(1);
  opacity: .86;
}
.portfolio-empty > div:last-child {
  padding: clamp(2rem, 6vw, 6rem);
  align-self: center;
}
.portfolio-empty img { width: 5.5rem; margin-bottom: 3rem; }
.portfolio-empty h3 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 4.8rem); letter-spacing: -.055em; line-height: 1; }
.portfolio-empty p { max-width: 28rem; margin: 0; color: #5d5d5d; }

.album-list { margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.album-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10rem 9rem;
  gap: 2rem;
  align-items: center;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}
.album-title { font-size: clamp(1.3rem, 2.5vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; }
.album-count { color: #707070; font-size: .85rem; }
.album-action { justify-self: end; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.about-section {
  min-height: 52rem;
  display: grid;
  grid-template-columns: .6fr 1fr .85fr;
  background: var(--mist);
}
.about-pattern { background: url("../img/brand/pattern.png") center / 31rem auto repeat; filter: grayscale(1); opacity: .42; }
.about-content { align-self: center; padding: clamp(3rem, 7vw, 7rem); }
.about-content h2 { font-size: clamp(2.6rem, 5vw, 5.3rem); }
.about-content > p:not(.eyebrow) { max-width: 38rem; margin: 2rem 0 0; color: #4f4f4f; font-size: 1.05rem; }
.signature { width: min(22rem, 80%); margin-top: 4rem; }
.about-portrait { min-height: 52rem; overflow: hidden; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; filter: grayscale(.92) contrast(1.1); }

.contact-section {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 4rem;
  align-items: end;
  padding: clamp(6rem, 12vw, 11rem) var(--gutter);
  color: #fff;
  background: var(--ink);
}
.contact-copy h2 { max-width: 12ch; }
.contact-copy > p:last-child { color: rgba(255,255,255,.62); }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.button {
  display: inline-flex;
  justify-content: center;
  min-height: 3.75rem;
  padding: 1rem 1.4rem;
  border: 1px solid currentColor;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease;
}
.button--light { color: var(--ink); background: #fff; border-color: #fff; }
.button--light:hover { color: #fff; background: transparent; }
.contact-pending { color: rgba(255,255,255,.65); }

.site-footer {
  display: grid;
  grid-template-columns: minmax(12rem, 19rem) 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem var(--gutter);
  color: rgba(255,255,255,.6);
  background: var(--ink-soft);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .78rem;
}
.site-footer img { width: 100%; }
.site-footer p { margin: 0; }
.site-footer a { justify-self: end; }

.reveal { opacity: 0; transform: translateY(1.6rem); transition: opacity .7s ease var(--delay, 0ms), transform .7s ease var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.album-page { background: #f5f5f5; }
.album-intro,
.not-found { min-height: 65vh; padding: 11rem var(--gutter) 5rem; background: #fff; }
.album-intro { display: flex; flex-direction: column; justify-content: flex-end; }
.album-intro h1 { max-width: 14ch; }
.album-intro > p:last-child { max-width: 46rem; margin: 2rem 0 0; color: #5e5e5e; }
.back-link { align-self: flex-start; margin-bottom: 4rem; border-bottom: 1px solid; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.album-grid { padding: 1rem; columns: 3 22rem; column-gap: 1rem; }
.album-photo { width: 100%; padding: 0; margin: 0 0 1rem; display: block; break-inside: avoid; border: 0; background: #ddd; cursor: zoom-in; overflow: hidden; }
.album-photo img { width: 100%; height: auto; transition: transform .5s ease; }
.album-photo:hover img { transform: scale(1.015); }
.album-empty { min-height: 24rem; display: grid; place-items: center; padding: 4rem var(--gutter); color: #646464; }
.not-found { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.not-found .text-link { margin-top: 2rem; }

.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 3.5rem;
  background: rgba(0,0,0,.96);
}
.lightbox > img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; }
.lightbox button { position: absolute; border: 0; color: #fff; background: transparent; cursor: pointer; }
.lightbox-close { top: 1rem; right: 1.25rem; width: 3rem; height: 3rem; font-size: 2.25rem; line-height: 1; }
.lightbox-nav { top: 50%; width: 3.5rem; height: 5rem; transform: translateY(-50%); font-size: 3rem; }
.lightbox-prev { left: .7rem; }
.lightbox-next { right: .7rem; }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .main-navigation:not(.main-navigation--desktop) {
    position: fixed;
    inset: 0;
    z-index: 51;
    padding: 8.5rem var(--gutter) 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.2rem;
    background: var(--ink);
    font-size: clamp(1.8rem, 7vw, 3.5rem);
    letter-spacing: -.03em;
    text-transform: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }
  .main-navigation.is-open { opacity: 1; visibility: visible; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(.43rem) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-.43rem) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-right: 20vw; background: linear-gradient(90deg, rgba(17,17,17,.93), rgba(17,17,17,.5)); }
  .hero-image { position: absolute; inset: 0; }
  .hero-image::after { background: linear-gradient(90deg, rgba(17,17,17,.75), rgba(17,17,17,.1)); }
  .hero-mark { display: none; }
  .about-section { grid-template-columns: .45fr 1fr; }
  .about-portrait { grid-column: 1 / -1; min-height: 38rem; }
  .site-footer { grid-template-columns: 12rem 1fr; }
  .site-footer a { grid-column: 2; justify-self: start; }
}

@media (max-width: 720px) {
  .site-header { min-height: 4.9rem; padding-top: .9rem; padding-bottom: .9rem; }
  .brand { width: 12.5rem; }
  .main-navigation--desktop { display: none; }
  .hero-copy { padding-top: 8rem; padding-right: var(--gutter); }
  .hero h1 { font-size: clamp(3.2rem, 14vw, 5.4rem); }
  .hero-intro { max-width: 25rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .portfolio-empty { grid-template-columns: 1fr; }
  .empty-pattern { min-height: 15rem; background-size: 28rem auto; }
  .album-row { grid-template-columns: 1fr auto; gap: .5rem 1rem; }
  .album-count { grid-column: 1; }
  .album-action { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .about-section { grid-template-columns: 1fr; }
  .about-pattern { min-height: 12rem; background-size: 25rem auto; }
  .about-content { padding: 4.5rem var(--gutter); }
  .about-portrait { min-height: 32rem; }
  .contact-section { grid-template-columns: 1fr; gap: 3rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1.25rem; }
  .site-footer img { width: 13rem; }
  .site-footer a { grid-column: auto; }
  .album-intro, .not-found { min-height: 70vh; padding-top: 8.5rem; }
  .album-grid { columns: 2 10rem; gap: .55rem; padding: .55rem; }
  .album-photo { margin-bottom: .55rem; }
  .lightbox { padding: 4rem .5rem; }
  .lightbox-nav { background: rgba(0,0,0,.35) !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
