:root {
  --site-width: 980px;
  --black: #000000;
  --white: #ffffff;
  --gold: rgb(191, 156, 73);
  --beige: rgb(246, 235, 228);
  --beige-border: rgba(176, 169, 134, 1);
  --text: #000000;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --heavy-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Poppins", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

.page { overflow-x: hidden; }

.site-width {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HERO GROUP ========== */
.hero-group {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
}

.hero-group__media,
.hero-group__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-group__media {
  height: 1073px;
  background: url("../assets/hero-interior.jpg?v=20260615r") center / cover no-repeat;
  z-index: 0;
}

.hero-group__overlay {
  height: 1073px;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.62) 48%, rgba(0, 0, 0, 0.84) 100%);
}

/* ========== HEADER ========== */
.site-header {
  position: relative;
  z-index: 10;
  background: transparent;
}

.header-shell {
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: 100%;
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0;
}

.header-bar {
  grid-area: 1 / 1 / 2 / 2;
  justify-self: stretch;
  width: 100vw;
  margin: 0 0 26px;
  margin-left: calc(50% - 50vw);
  background: var(--gold);
}

.header-bar__inner {
  position: relative;
  width: 100%;
  max-width: var(--site-width);
  height: 37px;
  margin: 0 auto;
}

.header-phone {
  position: absolute;
  top: 50%;
  left: 321px;
  transform: translateY(-50%);
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
}

.header-phone svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.header-phone:hover { opacity: 0.85; }

.header-address {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 310px;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
  color: var(--white);
}

.header-email {
  grid-area: 1 / 1 / 2 / 2;
  justify-self: start;
  align-self: start;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  width: max-content;
  max-width: calc(100% - 40px);
  min-height: 20px;
  margin: 9px 0 34px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
}

.header-email svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: var(--black);
  color: var(--black);
}

.header-email span {
  color: var(--white);
}

.header-email:hover { opacity: 0.85; }

.main-nav {
  grid-area: 2 / 1 / 3 / 2;
  justify-self: start;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 716px;
  max-width: calc(100% - 40px);
  margin: 0 0 27px 132px;
}

.main-nav a {
  display: inline-block;
  padding: 10px;
  margin: 4px;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: color 0.08s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

/* ========== HERO MAIN ========== */
.hero-main {
  position: relative;
  z-index: 1;
  min-height: 926px;
}

.hero-main__inner {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 149px 0 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 452px;
  max-width: 72vw;
  height: auto;
}

/* ========== HERO MENU ========== */
.hero-menu {
  position: relative;
  z-index: 2;
  min-height: 330px;
  display: flex;
  align-items: center;
  background: var(--black);
}

.hero-menu__inner {
  position: relative;
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 48px 20px 56px;
  text-align: center;
}

.hero-menu__title {
  margin: 0 0 39px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
}

.menu-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 142px;
  min-height: 40px;
  padding: 7px 28px;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu-btn:hover {
  background: var(--white);
  color: var(--black);
}

/* ========== ABOUT ========== */
.about {
  position: relative;
  min-height: 671px;
  background: var(--white);
}

.about__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/about-bg.jpg") center / cover no-repeat;
  opacity: 0.03;
}

.about__inner {
  position: relative;
  z-index: 1;
  max-width: 1076px;
  padding: 108px 0 80px;
  display: grid;
  grid-template-columns: 388px 601px;
  column-gap: 87px;
  align-items: start;
}

.section-heading {
  margin: 0 0 36px;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--black);
}

.section-heading--right { text-align: right; }

.about .section-heading {
  width: 460px;
  margin-top: 50px;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
  line-height: 1.1;
  text-align: left;
}

.section-heading__accent {
  color: var(--gold);
}

.about__text {
  max-width: 601px;
}

.about__text p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.4;
}

/* ========== GALLERY ========== */
.gallery {
  position: relative;
  background: var(--white);
}

.gallery__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/about-bg.jpg") center / cover no-repeat;
  opacity: 0.03;
}

.gallery__inner {
  position: relative;
  z-index: 1;
  max-width: var(--site-width);
  padding: 36px 20px 40px;
}

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

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  display: block;
  background: var(--beige);
}

/* ========== EVENTS + MOMENTS ========== */
.events {
  position: relative;
  background: var(--white);
  padding-bottom: 0;
}

.events__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  padding: 114px 20px 120px;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(500px, 1fr);
  column-gap: 60px;
  align-items: start;
}

.events__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.events__content {
  max-width: 720px;
  margin: 0;
  grid-column: 1;
}

.events__content p {
  margin: 0 0 34px;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0;
}

.events__side {
  grid-column: 2;
  align-self: center;
  margin-top: 30px;
  text-align: right;
}

.events .section-heading {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
  line-height: 1.1;
  text-align: right;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 52px;
  grid-column: 1 / -1;
  margin: 92px auto 0;
  width: 100%;
  max-width: 960px;
}

.events__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.events-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 179px;
  min-height: 40px;
  padding: 7px 22px;
  border: 2px solid var(--black);
  background: transparent;
  color: var(--black);
  font-size: 16px;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, color 0.2s ease;
}

.events-btn:hover {
  background: var(--black);
  color: var(--white);
}

.moment-item {
  text-align: center;
}

.moment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  background: transparent;
}

.moment-icon svg {
  width: 54px;
  height: 54px;
  fill: #242323;
}

.moment-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--black);
}

/* ========== INFO ========== */
.info {
  background: var(--black);
  color: var(--white);
  padding: 88px 0 118px;
}

.info .site-width {
  max-width: 1160px;
}

.info__title {
  margin: 0 0 82px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  color: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 36px 96px;
}

.info-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  text-align: left;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0;
  color: var(--white);
}

.info-icon svg {
  width: 100%;
  height: 100%;
}

.info-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--white);
}

.info-item strong {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.info-item em {
  font-style: italic;
}

.info-note {
  margin: 78px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  color: var(--white);
}

/* ========== FOOTER ========== */
.site-footer {
  position: relative;
  min-height: 515px;
  background: var(--black) url("../assets/footer-exterior.jpg") center 68% / cover no-repeat;
  color: var(--white);
  padding: 128px 0 43px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 43px;
  background: rgba(0, 0, 0, 0.72);
}

.footer-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.footer-title {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 24.2px;
  color: var(--white);
}

.footer-hours,
.footer-hours-detail,
.footer-address,
.footer-phone,
.footer-email {
  margin: 0;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--white);
}

.footer-address {
  margin-top: 1px;
}

.footer-phone {
  margin-top: 21px;
}

.footer-hours-detail strong {
  font-weight: 700;
}

.footer-email a {
  text-decoration: none;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  transition: opacity 0.2s ease;
}

.footer-social a:hover { opacity: 0.82; }

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-legal {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  height: 43px;
  padding: 0 20px;
  background: rgba(191, 156, 73, 0.62);
  color: var(--white);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.footer-legal span:first-child {
  text-align: left;
}

.footer-legal__links {
  text-align: right;
}

.footer-legal a {
  text-decoration: none;
}

.footer-legal__links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

/* ========== LEGAL PAGE ========== */
.legal-page {
  min-height: 100vh;
  background: var(--white);
  color: var(--black);
}

.legal-header {
  background: var(--black);
  color: var(--white);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.legal-logo {
  display: inline-flex;
  align-items: center;
}

.legal-logo img {
  width: 112px;
  height: auto;
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.legal-nav a:hover {
  color: var(--gold);
}

.legal-hero {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 86px;
}

.legal-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.05;
}

.legal-content {
  max-width: 860px;
  padding-top: 72px;
  padding-bottom: 88px;
}

.legal-section {
  padding: 0 0 34px;
  margin: 0 0 34px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.legal-section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}

.legal-section p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.55;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.55;
}

.legal-address a,
.legal-section a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-footer {
  background: var(--gold);
  color: var(--white);
  padding: 18px 0;
  font-size: 14px;
}

.legal-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 1400px) {
  .about__inner {
    max-width: 1310px;
    grid-template-columns: 650px 620px;
    column-gap: 40px;
  }

  .about .section-heading {
    width: 650px;
  }
}

@media (max-width: 900px) {
  .events__inner {
    display: block;
    padding: 80px 20px 90px;
  }

  .events__content {
    max-width: 760px;
  }

  .events__content p {
    font-size: 16px;
    line-height: 1.4;
  }

  .events__side {
    margin: 42px 0 0;
    text-align: left;
  }

  .events .section-heading {
    text-align: left;
  }

  .events__actions {
    justify-content: flex-start;
  }

  .about__inner {
    display: block;
    padding: 86px 20px 80px;
  }

  .about .section-heading,
  .about__text {
    width: 100%;
    max-width: 760px;
  }

  .about .section-heading {
    margin-top: 0;
  }

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

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

  .info-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 42px;
  }

  .info__title {
    font-size: 36px;
    margin-bottom: 54px;
  }

  .info-item p {
    font-size: 13px;
  }

  .info-item strong {
    font-size: 13px;
  }

  .info-note {
    font-size: 14px;
    margin-top: 54px;
  }
}

@media (max-width: 979px) {
  .header-bar__inner {
    height: auto;
    min-height: 37px;
    padding: 8px 20px;
  }

  .header-phone {
    left: 20px;
  }

  .header-address {
    width: max-content;
    max-width: none;
    right: 20px;
    white-space: nowrap;
  }

  .main-nav {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  body.mobile-nav-open {
    overflow: hidden;
  }

  body.mobile-nav-open .hero-group {
    overflow: visible;
  }

  .site-header {
    position: absolute;
    inset: 0 0 auto;
  }

  .header-shell {
    display: none;
  }

  .mobile-menu-toggle {
    position: fixed;
    top: 13px;
    right: 11px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 58px 42px 0 43px;
    background: var(--black);
    color: var(--white);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  }

  body.mobile-nav-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.mobile-nav-open .mobile-menu-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .mobile-menu__close {
    position: absolute;
    top: 13px;
    right: 11px;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
  }

  .mobile-menu__close span {
    position: absolute;
    top: 24px;
    left: 14px;
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
  }

  .mobile-menu__close span:first-child {
    transform: rotate(45deg);
  }

  .mobile-menu__close span:last-child {
    transform: rotate(-45deg);
  }

  .mobile-menu__nav {
    display: block;
    width: 100%;
  }

  .mobile-menu__nav a {
    display: flex;
    align-items: center;
    min-height: 57px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 20px;
    font-weight: 400;
    line-height: 56px;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .mobile-menu__nav a.active {
    color: var(--gold);
  }

  .hero-logo {
    width: 280px;
  }

  .section-heading,
  .section-heading--right {
    font-size: 28px;
    text-align: left;
  }

  .hero-menu__title,
  .info__title {
    font-size: 28px;
  }

  .site-footer {
    min-height: auto;
    background-position: center 72%;
    padding: 96px 0 0;
  }

  .site-footer::before {
    inset: 0;
  }

  .footer-inner {
    padding-bottom: 72px;
  }

  .footer-title {
    font-size: 22px;
    line-height: 24.2px;
  }

  .footer-legal {
    position: relative;
    grid-template-columns: 1fr;
    gap: 4px;
    height: auto;
    padding: 10px 20px;
  }

  .footer-legal span:first-child,
  .footer-legal a {
    text-align: center;
  }

  .footer-legal__links {
    justify-content: center;
    gap: 18px;
  }

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

  .gallery__inner {
    padding: 24px 12px 28px;
  }

  .gallery-grid {
    width: min(366px, calc(100vw - 24px));
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
  }

  .gallery-grid img {
    width: 100%;
    height: min(466px, calc((100vw - 24px) * 1.273));
    aspect-ratio: 366 / 466;
    min-height: 0;
    object-fit: cover;
  }

  .info {
    padding: 64px 0 78px;
  }

  .info-item {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 18px;
  }

  .info-icon {
    width: 50px;
    height: 50px;
  }

  .hero-main {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
  }

  .hero-main__inner {
    padding: 90px 20px 120px;
  }

  .hero-group__media,
  .hero-group__overlay {
    height: 100%;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-group__media {
    background-position: 28% center;
  }

  .legal-header__inner,
  .legal-footer__inner {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: center;
  }

  .legal-header__inner {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .legal-logo img {
    width: 96px;
  }

  .legal-nav {
    gap: 20px;
  }

  .legal-hero {
    padding: 54px 0 64px;
  }

  .legal-hero h1 {
    font-size: 42px;
  }

  .legal-content {
    padding-top: 52px;
    padding-bottom: 64px;
  }

  .legal-section h2 {
    font-size: 24px;
  }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .gallery__inner {
    padding: 24px 12px 28px;
  }

  .gallery-grid {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
  }

  .gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
    object-fit: cover;
  }
}
