:root {
  --ink: #171310;
  --paper: #fffaf0;
  --warm: #d8612c;
  --gold: #e5b64a;
  --cobalt: #175e8f;
  --olive: #536b3d;
  --stone: #ece0ce;
  --shadow: 0 20px 60px rgba(31, 20, 10, .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;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fffaf0;
  background: linear-gradient(180deg, rgba(10, 8, 6, .74), rgba(10, 8, 6, .05));
}

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

.brand-mark {
  width: 17px;
  height: 25px;
  border-radius: 999px 999px 4px 4px;
  background:
    radial-gradient(circle at 50% 33%, #fff6c7 0 18%, transparent 19%),
    linear-gradient(180deg, var(--gold), var(--warm));
  box-shadow: 0 0 18px rgba(229, 182, 74, .65);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  font-size: .9rem;
  font-weight: 650;
}

.nav-links a {
  opacity: .9;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #150c08;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 7, 5, .88) 0%, rgba(12, 7, 5, .52) 42%, rgba(12, 7, 5, .18) 100%),
    linear-gradient(0deg, rgba(12, 7, 5, .86) 0%, rgba(12, 7, 5, .08) 48%);
}

.hero-content {
  position: relative;
  width: min(780px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 72px;
  color: #fffaf0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 8.6rem);
  line-height: .9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, .9);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 250, 240, .55);
  border-radius: 4px;
  font-weight: 800;
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #24170b;
}

.button.ghost {
  color: #fffaf0;
  background: rgba(255, 250, 240, .08);
  backdrop-filter: blur(14px);
}

.social-band,
.gallery-section,
.tradition-section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 28px;
}

.section-heading h2,
.tradition-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
}

.social-band {
  background:
    linear-gradient(180deg, rgba(229, 182, 74, .16), rgba(229, 182, 74, 0)),
    var(--paper);
}

.social-links {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.social-link {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 110px;
  padding: 22px;
  border: 1px solid rgba(23, 19, 16, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .45);
  box-shadow: 0 14px 38px rgba(31, 20, 10, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 19, 16, .28);
  box-shadow: var(--shadow);
}

.social-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
}

.social-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.facebook .social-icon {
  background: var(--cobalt);
}

.instagram .social-icon {
  background: linear-gradient(135deg, #7842a8, #d94f5d 48%, #e5b64a);
}

.social-link strong,
.social-link small {
  display: block;
}

.social-link strong {
  font-size: 1.18rem;
}

.social-link small {
  margin-top: 4px;
  color: rgba(23, 19, 16, .7);
  line-height: 1.4;
}

.gallery-section {
  background: #171310;
  color: #fffaf0;
}

.gallery-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #2c241b;
  color: #fffaf0;
  cursor: pointer;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 55%);
}

.gallery-item span {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-weight: 850;
  text-align: left;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.14);
}

.tradition-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(23, 94, 143, .08), rgba(216, 97, 44, .08)),
    var(--stone);
}

.tradition-copy {
  max-width: 690px;
  justify-self: end;
}

.tradition-copy p:last-child {
  margin: 22px 0 0;
  color: rgba(23, 19, 16, .78);
  font-size: 1.05rem;
  line-height: 1.8;
}

.facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.facts div {
  padding: 24px;
  border-left: 5px solid var(--warm);
  background: rgba(255, 250, 240, .62);
}

.facts dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: .95;
}

.facts dd {
  margin: 8px 0 0;
  color: rgba(23, 19, 16, .72);
  font-weight: 750;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: rgba(255, 250, 240, .72);
  font-size: .9rem;
}

.site-footer p {
  margin: 0;
}

.lightbox {
  width: min(1100px, calc(100vw - 26px));
  max-height: calc(100svh - 26px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #100c09;
  color: #fffaf0;
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(12, 7, 5, .78);
  backdrop-filter: blur(6px);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: calc(100svh - 104px);
  object-fit: contain;
  background: #100c09;
}

.lightbox figcaption {
  padding: 15px 18px 18px;
  font-weight: 800;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  color: #fffaf0;
  background: rgba(23, 19, 16, .7);
  cursor: pointer;
}

.lightbox-close {
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 44px;
  height: 58px;
  transform: translateY(-50%);
  border-radius: 4px;
  font-size: 2.6rem;
}

.lightbox-nav.prev {
  left: 10px;
}

.lightbox-nav.next {
  right: 10px;
}

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

  .nav-links {
    gap: 12px;
    font-size: .82rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(12, 7, 5, .9) 0%, rgba(12, 7, 5, .45) 62%, rgba(12, 7, 5, .25) 100%);
  }

  .social-links,
  .tradition-section {
    grid-template-columns: 1fr;
  }

  .tradition-copy {
    justify-self: start;
  }

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

  .gallery-item.wide {
    grid-column: span 2;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 10px;
  }
}

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

  .nav-links {
    margin-top: 14px;
  }

  .brand {
    font-size: .95rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14.8vw, 4rem);
    line-height: .94;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .gallery-grid {
    display: block;
  }

  .gallery-item {
    width: 100%;
    height: 245px;
    margin-top: 12px;
  }

  .social-link {
    grid-template-columns: 48px 1fr;
    padding: 18px;
  }

  .social-icon {
    width: 48px;
    height: 48px;
  }
}
