:root {
  --bg: #f7f4ef;
  --paper: #fffcf8;
  --ink: #1c1a17;
  --muted: #5e5852;
  --line: #e4ddd4;
  --accent: #c45a3a;
  --header-h: 4.25rem;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 1.25rem;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1;
}

.wordmark span {
  font-style: italic;
  font-weight: 500;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  gap: 1.15rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100svh - var(--header-h));
  background: #ece7e0;
}

.hero-figure {
  margin: 0;
  min-height: 70svh;
  background: #1c1a17;
}

.hero-figure img,
.hero-figure picture {
  width: 100%;
  height: 70svh;
  object-fit: cover;
  object-position: center 28%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.25rem 1.5rem 2.75rem;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-copy h1 em {
  font-style: italic;
  font-weight: 500;
  opacity: 0.7;
}

.hero-copy p {
  margin: 1.1rem 0 0;
  max-width: 24rem;
  color: var(--muted);
  font-weight: 300;
  font-size: 1.12rem;
}

.section {
  padding: 4.5rem 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 1.75rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.15rem;
}

.gallery-item {
  margin: 0;
  padding: 0;
  background: var(--paper);
  text-align: left;
  color: inherit;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 6%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover,
.gallery-item:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ink) 10%, transparent);
}

.gallery-open {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  color: inherit;
  font: inherit;
  width: 100%;
  display: block;
}

.gallery-open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.gallery-item .thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e8e2da;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.7rem 0.85rem 0.35rem;
}

.gallery-item .title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
}

.gallery-item .meta {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.gallery-item .work-id {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.gallery-item .inquire-link {
  display: inline-block;
  margin: 0 0.85rem 0.85rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.gallery-item .inquire-link:hover,
.gallery-item .inquire-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.about {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.about figure {
  margin: 0;
  background: var(--paper);
}

.about-photos {
  display: grid;
  gap: 0.85rem;
}
.about img {
  width: 100%;
  height: auto;
}

.about-copy h3 {
  margin: 0 0 0.9rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.about-copy p {
  margin: 0 0 1rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.contact p {
  max-width: 32rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

.not-found {
  min-height: 60svh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.5rem;
}

.not-found h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.4rem;
  margin: 0;
}

.lightbox[open] {
  border: 0;
  padding: 0;
  width: 100vw;
  height: 100svh;
  max-width: none;
  max-height: none;
  background: color-mix(in srgb, #0d0c0b 92%, transparent);
  color: #f7f4ef;
}

.lightbox::backdrop {
  background: #0d0c0b;
}

.lightbox-inner {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0.75rem;
}

.lightbox-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 0.5rem 0.75rem;
  font-size: 0.95rem;
}

.lightbox-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.inquire-btn {
  appearance: none;
  display: inline-block;
  border: 1px solid color-mix(in srgb, #f7f4ef 45%, transparent);
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  text-decoration: none;
  border-radius: 2px;
  white-space: nowrap;
}

.inquire-btn:hover,
.inquire-btn:focus-visible {
  color: #fff;
  border-color: #fff;
  outline: none;
}

.lightbox-toolbar .caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
}

.lightbox-stage {
  display: grid;
  place-items: center;
  min-height: 0;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0.45rem 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  color: #fff;
  outline: 1px solid currentColor;
}

.lightbox-nav {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
}

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

.status {
  color: var(--muted);
}

@media (min-width: 800px) {
  .site-header,
  .site-footer {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: calc(100svh - var(--header-h));
  }

  .hero-figure,
  .hero-figure img,
  .hero-figure picture {
    height: 100%;
    min-height: calc(100svh - var(--header-h));
  }

  .hero-copy {
    padding: 3rem 3.5rem;
  }

  .section {
    padding: 5.5rem 2.5rem;
  }

  .about {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

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

  .gallery-item {
    transition: none;
  }
}
