:root {
  --paper: #f4efe6;
  --ink: #181716;
  --muted: #6e675f;
  --line: rgba(24, 23, 22, 0.16);
  --rust: #9c4d32;
  --teal: #546c66;
  --plum: #6f2433;
  --white: #fffaf1;
  --shadow: 0 22px 60px rgba(24, 23, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(244, 239, 230, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 64px;
  padding: 0 28px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  font-size: 16px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: rgba(24, 23, 22, 0.76);
}

.nav-links a {
  border-bottom: 1px solid transparent;
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--rust);
  color: var(--ink);
}

.hero {
  background: #181716;
  min-height: 92svh;
  overflow: hidden;
  position: relative;
}

.hero picture,
.hero img {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero img {
  filter: saturate(0.95) contrast(0.95);
  object-fit: cover;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(24, 23, 22, 0.78), rgba(24, 23, 22, 0.18) 58%, rgba(24, 23, 22, 0.46)),
    linear-gradient(0deg, rgba(24, 23, 22, 0.38), rgba(24, 23, 22, 0.05) 44%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-copy {
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  min-height: 92svh;
  padding: 96px 8vw 72px;
  position: relative;
  width: min(760px, 100%);
  z-index: 1;
}

.kicker {
  color: var(--rust);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.hero .kicker {
  color: #f0b995;
}

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

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 500;
  line-height: 1.04;
  margin-bottom: 0;
  max-width: 720px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 0;
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 8px;
}

.primary-link,
.contact-link {
  align-items: center;
  border: 1px solid currentColor;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  width: fit-content;
}

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

.hero .primary-link:hover,
.hero .primary-link:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.intro-strip {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.intro-strip p {
  background: rgba(255, 250, 241, 0.42);
  color: var(--muted);
  margin: 0;
  min-height: 76px;
  padding: 24px 28px;
}

.section-shell {
  padding: 86px 5vw 96px;
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 34px;
  max-width: 1220px;
}

.gallery {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1220px;
}

.work-card {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.work-card.featured {
  grid-row: span 2;
}

.work-button {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  padding: 0;
  text-align: left;
  width: 100%;
}

.work-button img {
  aspect-ratio: 16 / 10;
  background: #d7d0c5;
  height: auto;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
  width: 100%;
}

.work-card.featured .work-button img {
  aspect-ratio: 4 / 5;
}

.work-button:hover img,
.work-button:focus-visible img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.025);
}

.work-meta {
  display: grid;
  gap: 4px;
}

.work-meta p {
  color: var(--muted);
  margin-bottom: 0;
  max-width: 620px;
}

.statement {
  background: var(--teal);
  color: var(--white);
  padding: 100px 8vw;
}

.statement .kicker {
  color: #d9eadf;
}

.statement-copy {
  max-width: 850px;
}

.statement-copy p:last-child {
  color: rgba(255, 250, 241, 0.82);
  font-size: clamp(18px, 2vw, 24px);
  margin: 28px 0 0;
}

.contact {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 84px 8vw;
}

.contact .kicker {
  color: var(--plum);
}

.lightbox {
  background: transparent;
  border: 0;
  color: var(--white);
  margin: auto;
  max-height: 92svh;
  max-width: min(1180px, 94vw);
  padding: 0;
}

.lightbox::backdrop {
  background: rgba(12, 11, 10, 0.86);
}

.lightbox figure {
  display: grid;
  gap: 14px;
  margin: 0;
}

.lightbox-image {
  box-shadow: var(--shadow);
  max-height: 78svh;
  object-fit: contain;
  width: 100%;
}

.lightbox figcaption {
  display: grid;
  gap: 2px;
}

.lightbox-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.lightbox-text {
  color: rgba(255, 250, 241, 0.78);
}

.close-button {
  align-items: center;
  background: var(--white);
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 30px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: fixed;
  right: 22px;
  top: 18px;
  width: 42px;
  z-index: 20;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 58px;
    padding: 0 16px;
  }

  .brand {
    font-size: 15px;
  }

  .nav-links {
    gap: 12px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-copy {
    min-height: 88svh;
    padding: 88px 22px 58px;
  }

  h1 {
    font-size: 42px;
  }

  .intro-strip,
  .gallery {
    grid-template-columns: 1fr;
  }

  .intro-strip p {
    min-height: 58px;
    padding: 16px 22px;
  }

  .section-shell {
    padding: 62px 22px 72px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .work-card.featured {
    grid-row: auto;
  }

  .work-card.featured .work-button img,
  .work-button img {
    aspect-ratio: 4 / 3;
  }

  .statement,
  .contact {
    padding: 66px 22px;
  }

  .contact {
    align-items: start;
    flex-direction: column;
  }
}
