:root {
  --paper: #ffffff;
  --ink: #171717;
  --muted: #746d63;
  --line: #e3e3e3;
  --panel: #ffffff;
  --charcoal: #242424;
  --accent: #9b5f34;
  --white: #ffffff;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(18px, 3vw, 40px);
  background: #111111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  grid-column: 2;
  justify-self: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.55vw, 1.55rem);
  letter-spacing: 0;
  font-weight: 500;
  color: var(--white);
}

.site-nav {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(12px, 1.7vw, 22px);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  border-color: currentColor;
}

.menu-toggle {
  grid-column: 3;
  justify-self: end;
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--white);
  min-height: 42px;
  padding: 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}

.hero {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(22px, 3vw, 36px) 0 clamp(34px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.hero-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro .eyebrow {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  font-size: clamp(3.25rem, 6.2vw, 5.7rem);
}

h2 {
  font-size: clamp(2.25rem, 4.2vw, 4.5rem);
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.contact-hero p,
.intro p,
.split-copy p,
.contact-details p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-light {
  background: transparent;
}

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

.section-wrap {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr);
  gap: clamp(28px, 6vw, 84px);
  padding: clamp(68px, 9vw, 120px) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: clamp(68px, 10vw, 128px);
}

.feature-card {
  position: relative;
  min-height: clamp(440px, 40vw, 620px);
  overflow: hidden;
  background: var(--charcoal);
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 58%);
}

.feature-card span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 1;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.1vw, 3.1rem);
}

.feature-card:hover img {
  transform: scale(1.035);
}

.quote-band {
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: 68px 24px;
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
}

.quote-band p {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5.5vw, 6rem);
  line-height: 1.05;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  padding: clamp(56px, 8vw, 96px) 0;
}

.split-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(68px, 10vw, 128px) 0 clamp(36px, 6vw, 72px);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 18px;
}

.page-hero p {
  margin: 0 auto;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-bottom: 36px;
}

.filter-button,
.buy-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  min-height: 40px;
  padding: 0 14px;
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-button.is-active,
.buy-button {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.masonry {
  columns: 3 280px;
  column-gap: 18px;
  padding-bottom: clamp(72px, 10vw, 128px);
}

.photo-tile {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  background: var(--panel);
  border: 1px solid rgba(23, 23, 23, 0.08);
}

.photo-tile.is-hidden {
  display: none;
}

.photo-tile > button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.photo-tile img {
  width: 100%;
}

.photo-tile div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
}

.photo-tile h2 {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 64px 20px 28px;
  background: rgba(0, 0, 0, 0.9);
  color: var(--white);
}

.lightbox[hidden],
.purchase-toast[hidden] {
  display: none;
}

.lightbox img {
  max-height: 78vh;
  width: auto;
  object-fit: contain;
}

.lightbox p {
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
  min-height: 42px;
  padding: 0 14px;
  cursor: pointer;
}

.purchase-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: min(360px, calc(100% - 40px));
  background: var(--ink);
  color: var(--white);
  padding: 16px 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.purchase-toast p {
  margin: 0;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 0;
}

.contact-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.contact-details,
.contact-form {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.contact-details h2 {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  min-height: 48px;
  padding: 12px 14px;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--accent);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 5vw, 68px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .intro,
  .split-section,
  .contact-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(100% - 36px, 680px);
  }

  .hero-media {
    aspect-ratio: 4 / 5;
  }

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

  .feature-card {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
    gap: 10px;
  }

  .brand {
    font-size: 1.18rem;
  }

  .menu-toggle {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.66rem;
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4rem);
  }

  .hero-copy {
    padding: 0;
  }

  .section-wrap,
  .page-hero,
  .contact-hero {
    width: min(100% - 32px, 1180px);
  }

  .photo-tile div,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .buy-button {
    width: 100%;
  }
}
