:root {
  color-scheme: light;
  --ink: #20201d;
  --muted: #706b62;
  --paper: #f6f1e9;
  --surface: #fffaf2;
  --line: rgba(32, 32, 29, 0.16);
  --accent: #9b4f36;
  --accent-dark: #683523;
  --green: #506b58;
  --shadow: 0 18px 60px rgba(35, 28, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fffaf2;
  background: linear-gradient(to bottom, rgba(22, 19, 15, 0.74), rgba(22, 19, 15, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 250, 242, 0.58);
  border-radius: 50%;
  font-family: Georgia, serif;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.94rem;
}

.hero {
  min-height: 94vh;
  display: grid;
  align-content: end;
  gap: 38px;
  padding: 140px clamp(18px, 6vw, 76px) 34px;
  color: #fffaf2;
  background:
    linear-gradient(90deg, rgba(18, 15, 12, 0.82), rgba(18, 15, 12, 0.34) 54%, rgba(18, 15, 12, 0.1)),
    url("https://images.unsplash.com/photo-1500051638674-ff996a0ec29e?auto=format&fit=crop&w=2200&q=84")
      center/cover;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e7b496;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 12vw, 9.4rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 600px;
  color: rgba(255, 250, 242, 0.84);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.filter-button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--accent);
  color: #fffaf2;
}

.primary:hover {
  background: var(--accent-dark);
}

.ghost {
  border-color: rgba(255, 250, 242, 0.54);
  color: #fffaf2;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 250, 242, 0.32);
}

.hero-meta span {
  padding: 18px 16px 4px 0;
  color: rgba(255, 250, 242, 0.82);
  font-weight: 700;
}

.intro,
.work,
.series,
.services,
.contact {
  padding: clamp(64px, 10vw, 118px) clamp(18px, 6vw, 76px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro > p,
.contact p,
.services p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.filter-button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fffaf2;
}

.gallery {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.photo-card,
.series-grid article {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: #1f1b17;
  box-shadow: var(--shadow);
}

.photo-card {
  aspect-ratio: 4 / 5;
}

.photo-card.large,
.photo-card.wide {
  grid-column: span 2;
}

.photo-card.large {
  grid-row: span 2;
}

.photo-card.tall {
  grid-row: span 2;
}

.photo-card.wide {
  aspect-ratio: 16 / 8;
}

.photo-card img,
.series-grid img {
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.photo-card:hover img,
.series-grid article:hover img {
  transform: scale(1.045);
}

.photo-card::after,
.series-grid article::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(16, 14, 12, 0.72), rgba(16, 14, 12, 0.02) 58%);
}

.photo-card div,
.series-grid article div {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 22px;
  color: #fffaf2;
}

.photo-card span,
.series-grid p,
.series-grid span {
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.photo-card.hidden {
  display: none;
}

.series {
  background: #e8ded0;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.series-grid article {
  aspect-ratio: 4 / 5;
}

.services {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 78px);
  background: var(--surface);
}

.service-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 26px;
  background: var(--surface);
}

.service-list span {
  color: var(--accent);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 0.9fr);
  gap: clamp(30px, 6vw, 78px);
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

form .button {
  width: fit-content;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 6vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--ink);
  font-weight: 850;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-end;
  }

  .intro,
  .services,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .filter-controls {
    justify-content: flex-start;
  }

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

  .series-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    display: grid;
  }

  .nav-links {
    justify-content: flex-start;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 92vh;
    padding-top: 150px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-meta span {
    padding: 12px 0;
  }

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

  .photo-card,
  .photo-card.large,
  .photo-card.wide,
  .photo-card.tall {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 5;
    min-height: 280px;
  }

  .service-list article {
    grid-template-columns: 44px 1fr;
  }

  .service-list p {
    grid-column: 2;
  }

  .site-footer {
    flex-direction: column;
  }
}
