:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --ink: #272321;
  --muted: #675f58;
  --line: #ded8cf;
  --brick: #934d3f;
  --green: #2f5f55;
  --gold: #c59a4f;
  --shadow: 0 18px 48px rgba(39, 35, 33, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(222, 216, 207, 0.85);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(14px);
}

.brand img {
  width: min(250px, 56vw);
  height: auto;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
  color: var(--green);
}

nav a:hover {
  color: var(--brick);
}

.hero {
  position: relative;
  min-height: clamp(460px, 70vh, 680px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(39, 35, 33, 0.78), rgba(39, 35, 33, 0.32) 52%, rgba(39, 35, 33, 0.08));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  padding: clamp(42px, 8vw, 92px) clamp(20px, 6vw, 78px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4c872;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6vw, 5.4rem);
  line-height: 0.97;
  letter-spacing: 0;
}

.status {
  display: inline-flex;
  margin: 28px 0 0;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 100px) 0;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.details-grid p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

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

.feature-grid article {
  min-height: 360px;
  padding: 24px;
  border-top: 4px solid var(--gold);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(39, 35, 33, 0.08);
}

.feature-grid article:nth-child(2n) {
  border-color: var(--green);
}

.feature-grid h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
}

.detail-copy {
  display: grid;
  gap: 18px;
}

.photos {
  width: min(1240px, calc(100% - 40px));
}

.gallery-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.featured-photo {
  position: sticky;
  top: 92px;
  margin: 0;
  background: #171513;
  box-shadow: var(--shadow);
  touch-action: pan-y;
}

.featured-photo img {
  width: 100%;
  height: min(68vh, 720px);
  min-height: 430px;
  object-fit: contain;
  background: #171513;
}

.featured-photo figcaption {
  min-height: 50px;
  padding: 13px 18px;
  color: #fff;
  font-weight: 700;
}

.gallery-actions {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.gallery-actions button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(23, 21, 19, 0.58);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-actions button:hover {
  background: rgba(147, 77, 63, 0.9);
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding-right: 4px;
}

.thumb-grid button {
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 3px solid transparent;
  background: var(--surface);
  cursor: pointer;
}

.thumb-grid button.active {
  border-color: var(--brick);
}

.thumb-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
}

footer {
  padding: 30px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

footer p {
  width: min(1180px, 100%);
  margin: 0 auto;
}

@media (max-width: 940px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .featured-photo {
    position: relative;
    top: auto;
  }

  .featured-photo img {
    height: auto;
    min-height: 0;
    max-height: 76vh;
  }

  .thumb-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 620px) {
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero {
    min-height: 560px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(39, 35, 33, 0.85), rgba(39, 35, 33, 0.22));
  }

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

  .feature-grid article {
    min-height: 0;
    padding: 20px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
