:root {
  --ivory: #fff9ef;
  --porcelain: #f7f2eb;
  --champagne: #f0dcc0;
  --gold: #c8964a;
  --rose: #b98d86;
  --eucalyptus: #657964;
  --walnut: #4a3024;
  --ink: #241c18;
  --muted: #6d625b;
  --line: rgba(74, 48, 36, .16);
  --shadow: 0 24px 70px rgba(47, 31, 23, .18);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  padding: 16px clamp(18px, 4vw, 54px);
  color: #fffaf4;
  transition: background .24s ease, box-shadow .24s ease, color .24s ease, min-height .24s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 64px;
  color: var(--ink);
  background: rgba(255, 249, 239, .94);
  box-shadow: 0 14px 45px rgba(47, 31, 23, .11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle,
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  cursor: pointer;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
}

.icon-button svg,
.nav-toggle svg,
.button svg,
.detail-item svg,
.scroll-cue svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fffaf4;
  background: var(--walnut);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(36, 28, 24, .78), rgba(36, 28, 24, .28) 48%, rgba(36, 28, 24, .44)),
    linear-gradient(0deg, rgba(36, 28, 24, .66), rgba(36, 28, 24, .02) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 36px));
  padding: 160px 0 clamp(80px, 12vh, 128px);
  margin-left: clamp(18px, 7vw, 110px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4d39f;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 7.6rem);
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 5rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.25;
}

.lead {
  width: min(620px, 100%);
  margin-bottom: 34px;
  color: rgba(255, 250, 244, .88);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

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

.button-primary {
  color: var(--walnut);
  background: #fff7ea;
}

.button-ghost {
  color: #fffaf4;
  border-color: rgba(255, 250, 244, .44);
}

.button-dark {
  color: #fffaf4;
  background: var(--walnut);
}

.scroll-cue {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 28px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fffaf4;
  border: 1px solid rgba(255, 250, 244, .5);
  border-radius: 999px;
}

.section {
  padding: clamp(72px, 10vw, 132px) 0;
}

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

.intro-section {
  background:
    radial-gradient(circle at 16% 14%, rgba(200, 150, 74, .13), transparent 34%),
    var(--ivory);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.detail-band {
  padding: clamp(38px, 6vw, 70px) 0;
  background: #efe3d3;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.detail-item {
  min-height: 220px;
  padding: clamp(24px, 4vw, 36px);
  background: rgba(255, 249, 239, .72);
}

.detail-item svg {
  margin-bottom: 30px;
  color: var(--eucalyptus);
}

.detail-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.slideshow-section {
  background:
    linear-gradient(180deg, var(--ivory), #f1e4d3);
}

.slideshow-heading {
  align-items: center;
}

.slideshow-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.slideshow-control {
  color: var(--walnut);
  background: rgba(255, 249, 239, .78);
  border-color: var(--line);
  box-shadow: 0 14px 30px rgba(47, 31, 23, .08);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.slideshow-control:hover,
.slideshow-control:focus-visible {
  color: #fffaf4;
  background: var(--walnut);
  border-color: var(--walnut);
  transform: translateY(-1px);
}

.slideshow-control:disabled {
  color: rgba(74, 48, 36, .42);
  cursor: not-allowed;
  background: rgba(255, 249, 239, .5);
  border-color: rgba(74, 48, 36, .1);
  box-shadow: none;
}

.slideshow-control:disabled:hover,
.slideshow-control:disabled:focus-visible {
  color: rgba(74, 48, 36, .42);
  background: rgba(255, 249, 239, .5);
  border-color: rgba(74, 48, 36, .1);
  transform: none;
}

.slideshow-count {
  min-width: 78px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
}

.slideshow-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, 178px);
  gap: 14px;
  align-items: stretch;
  padding: 14px;
  overflow: hidden;
  background: rgba(255, 249, 239, .78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.slideshow-stage {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: clamp(360px, 58vw, 650px);
  padding: 0;
  overflow: hidden;
  color: #fffaf4;
  cursor: pointer;
  background: #d8c4af;
  border: 0;
  border-radius: var(--radius);
  text-align: left;
}

.slideshow-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: opacity .24s ease, transform .42s ease, filter .42s ease;
}

.slideshow-stage:hover img,
.slideshow-stage:focus-visible img {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.04);
}

.slideshow-stage.is-changing img {
  opacity: .28;
  transform: scale(1.025);
}

.slideshow-stage:focus-visible {
  outline: 3px solid rgba(200, 150, 74, .72);
  outline-offset: 3px;
}

.slideshow-strip {
  display: grid;
  grid-auto-rows: minmax(82px, 1fr);
  gap: 10px;
  min-height: 0;
  max-height: 650px;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(74, 48, 36, .32) transparent;
}

.slideshow-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #d8c4af;
  border: 2px solid transparent;
  border-radius: var(--radius);
}

.slideshow-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.84) contrast(.96);
  transform: scale(1.01);
  transition: filter .18s ease, transform .18s ease;
}

.slideshow-thumb::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(36, 28, 24, .22);
  transition: opacity .18s ease;
}

.slideshow-thumb:hover img,
.slideshow-thumb:focus-visible img,
.slideshow-thumb.is-active img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.05);
}

.slideshow-thumb:hover::after,
.slideshow-thumb:focus-visible::after,
.slideshow-thumb.is-active::after {
  opacity: 0;
}

.slideshow-thumb.is-active {
  border-color: var(--gold);
}

.slideshow-thumb:focus-visible {
  outline: 3px solid rgba(200, 150, 74, .72);
  outline-offset: 2px;
}

.slideshow-empty {
  margin-top: 0;
}

.gallery-section {
  background: var(--porcelain);
}

.gallery-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 520px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 13px;
  color: var(--walnut);
  cursor: pointer;
  background: rgba(255, 249, 239, .64);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: #fffaf4;
  background: var(--walnut);
  border-color: var(--walnut);
}

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

.gallery-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  cursor: pointer;
  background: #d8c4af;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(47, 31, 23, .1);
}

.gallery-card:nth-child(8n + 1),
.gallery-card:nth-child(8n + 6) {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-card:nth-child(8n + 3) {
  aspect-ratio: 1 / 1;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .35s ease, filter .35s ease;
}

.gallery-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(36, 28, 24, .62), rgba(36, 28, 24, 0) 52%);
  opacity: 0;
  transition: opacity .25s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.055);
}

.gallery-card:hover::after,
.gallery-card:focus-visible::after {
  opacity: 1;
}

.gallery-card-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fffaf4;
  background: rgba(36, 28, 24, .48);
  border: 1px solid rgba(255, 250, 244, .26);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: background .25s ease, opacity .25s ease, transform .25s ease;
}

.gallery-card:hover .gallery-card-caption,
.gallery-card:focus-visible .gallery-card-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card:hover .gallery-card-caption,
.gallery-card:focus-visible .gallery-card-caption {
  background: rgba(36, 28, 24, .62);
}

.gallery-empty {
  display: none;
  margin: 0;
  padding: 26px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed rgba(74, 48, 36, .28);
  border-radius: var(--radius);
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
  margin-top: clamp(34px, 6vw, 72px);
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 249, 239, .82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.download-panel h2 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.download-panel p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.share-section {
  background:
    linear-gradient(120deg, rgba(101, 121, 100, .22), transparent 42%),
    var(--ivory);
}

.share-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .72fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.share-panel p {
  color: var(--muted);
}

.share-steps {
  display: grid;
  gap: 12px;
}

.share-steps div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 86px;
  padding: 18px;
  background: rgba(255, 255, 255, .54);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.share-steps span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.share-steps p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  padding: clamp(14px, 3vw, 34px);
}

.lightbox.is-open {
  display: grid;
  place-items: center;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 13, 10, .86);
  backdrop-filter: blur(16px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(1320px, 100%);
  height: min(88vh, 860px);
  padding: 0 74px;
  color: #fffaf4;
  touch-action: pan-y;
}

.lightbox-image {
  align-self: center;
  justify-self: center;
  max-width: 100%;
  max-height: calc(88vh - 98px);
  object-fit: contain;
  box-shadow: var(--shadow);
  transform: translateX(var(--lightbox-drag-x, 0));
  transition: transform .22s cubic-bezier(.22, .61, .36, 1), opacity .18s ease;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform, opacity;
}

.lightbox-dialog.is-dragging .lightbox-image {
  transition: none;
}

.lightbox-dialog.is-slide-out-left .lightbox-image {
  opacity: 0;
  transform: translateX(-140px) scale(.985);
}

.lightbox-dialog.is-slide-out-right .lightbox-image {
  opacity: 0;
  transform: translateX(140px) scale(.985);
}

.lightbox-dialog.is-slide-enter-left .lightbox-image {
  opacity: 0;
  transform: translateX(-140px) scale(.985);
}

.lightbox-dialog.is-slide-enter-right .lightbox-image {
  opacity: 0;
  transform: translateX(140px) scale(.985);
}

.lightbox .icon-button {
  color: #fffaf4;
  background: rgba(255, 250, 244, .12);
  border-color: rgba(255, 250, 244, .26);
  transition: background .18s ease, transform .18s ease;
}

.lightbox .icon-button:hover,
.lightbox .icon-button:focus-visible {
  background: rgba(255, 250, 244, .22);
  transform: translateY(-1px);
}

.lightbox-close {
  position: absolute;
  top: 0;
  right: 10px;
  z-index: 2;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  transform: translateY(calc(-50% - 1px));
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding-top: 16px;
}

.lightbox-caption span {
  display: block;
  color: #f1ce9c;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lightbox-caption span:empty {
  display: none;
}

.lightbox-caption strong {
  display: block;
  font-size: 1.03rem;
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 18px;
    display: none;
    width: min(320px, calc(100vw - 36px));
    padding: 14px;
    color: var(--ink);
    background: rgba(255, 249, 239, .97);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 42px rgba(47, 31, 23, .13);
  }

  .site-header.is-open .site-nav {
    display: grid;
    gap: 2px;
  }

  .site-nav a {
    padding: 11px 10px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 36px);
    padding-top: 132px;
    margin: 0 auto;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(36, 28, 24, .76), rgba(36, 28, 24, .34)),
      linear-gradient(0deg, rgba(36, 28, 24, .7), rgba(36, 28, 24, .05) 48%);
  }

  .intro-grid,
  .share-panel,
  .download-panel {
    grid-template-columns: 1fr;
  }

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

  .section-heading {
    display: grid;
    align-items: start;
  }

  .slideshow-actions {
    justify-content: flex-start;
  }

  .slideshow-frame {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .slideshow-stage {
    aspect-ratio: 4 / 5;
    min-height: clamp(390px, 112vw, 660px);
  }

  .slideshow-strip {
    grid-auto-columns: minmax(76px, 18vw);
    grid-auto-flow: column;
    grid-auto-rows: auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 4px;
  }

  .slideshow-thumb {
    aspect-ratio: 1 / 1;
  }

  .gallery-tools {
    justify-content: flex-start;
  }

  .download-panel .button {
    justify-self: start;
  }

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

  .lightbox-dialog {
    height: min(84vh, 720px);
    padding: 54px 0 58px;
  }

  .lightbox-image {
    max-height: calc(84vh - 196px);
  }

  .lightbox-nav {
    top: auto;
    bottom: 0;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: translateY(-1px);
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 68px;
  }

  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .button {
    width: 100%;
  }

  .slideshow-actions {
    width: 100%;
  }

  .slideshow-count {
    margin-left: auto;
  }

  .slideshow-stage {
    min-height: min(118vw, 560px);
  }

  .download-panel .button {
    justify-self: stretch;
  }

  .scroll-cue {
    display: none;
  }

  .gallery-grid {
    gap: 10px;
  }

  .gallery-card,
  .gallery-card:nth-child(8n + 1),
  .gallery-card:nth-child(8n + 6),
  .gallery-card:nth-child(8n + 3) {
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }

  .gallery-card-caption {
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
  }

  .share-steps div {
    grid-template-columns: 44px 1fr;
    padding: 16px;
  }

  .lightbox {
    padding: 10px;
  }

  .lightbox-caption {
    align-items: start;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }
}
