/* styles.css */
:root {
  --bg: #06070a;
  --bg-soft: rgba(255, 255, 255, 0.035);
  --bg-soft-2: rgba(255, 255, 255, 0.02);
  --gold: #d1d1d1;
  --gold-deep: #b8b7b4;
  --line: rgba(208, 185, 138, 0.23);
  --line-soft: rgba(255, 255, 255, 0.08);
  --max: 1180px;
  --muted: #c5c5c3;
  --radius: 8px;
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
  --soft: #9d9d9d;
  --text: #ebeae7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #050608;
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.75;
  margin: 0;
  overflow-x: hidden;
}

.site-bg,
.marble-overlay {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

.site-bg {
  background:
    radial-gradient(
      circle at 20% 15%,
      rgba(255, 255, 255, 0.06),
      transparent 20%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(208, 185, 138, 0.06),
      transparent 24%
    ),
    radial-gradient(
      circle at 50% 85%,
      rgba(255, 255, 255, 0.03),
      transparent 24%
    ),
    linear-gradient(
      135deg,
      rgba(3, 4, 6, 0.94) 0%,
      rgba(10, 11, 15, 0.91) 40%,
      rgba(5, 6, 10, 0.94) 100%
    ),
    url("./images/background.jpg");
  background-size: auto, auto, auto, auto, cover;
  background-position: center, center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed;
  background-blend-mode: normal, normal, normal, normal, multiply;
  filter: brightness(0.85) contrast(1.05);
}

.marble-overlay {
  background:
    linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 18%,
      rgba(255, 255, 255, 0.02) 36%,
      transparent 54%,
      rgba(255, 255, 255, 0.03) 72%,
      transparent 100%
    ),
    linear-gradient(
      30deg,
      transparent 0%,
      rgba(255, 255, 255, 0.025) 18%,
      transparent 35%,
      rgba(255, 255, 255, 0.02) 52%,
      transparent 67%,
      rgba(255, 255, 255, 0.02) 85%,
      transparent 100%
    ),
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 255, 255, 0.03),
      transparent 18%
    ),
    radial-gradient(
      circle at 80% 75%,
      rgba(208, 185, 138, 0.03),
      transparent 22%
    );
  filter: contrast(110%) saturate(85%);
  opacity: 0.95;
  z-index: -1;
}

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

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

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

.top-nav-wrapper {
  background: var(--bg);
  position: fixed;
  width: 100%;
  z-index: 100;
}

.top-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 50%;
  padding: 1rem 0;
  position: relative;
  top: 0;
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), var(--max));
  z-index: 100;
}

.brand {
  color: var(--muted);
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.nav-menu {
  align-items: center;
  display: flex;
  gap: 1.35rem;
}

.nav-menu a {
  color: var(--soft);
  font-size: 0.83rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #e1a939;
}

.nav-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 46px;
  position: relative;
  width: 46px;
}

.nav-toggle span {
  background: var(--text);
  height: 1.5px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: 180ms ease;
  width: 18px;
}

.nav-toggle span:first-child {
  top: 18px;
}

.nav-toggle span:last-child {
  top: 26px;
}

.nav-toggle.open span:first-child {
  top: 22px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.open span:last-child {
  top: 22px;
  transform: translateX(-50%) rotate(-45deg);
}

.section {
  margin: 0 auto;
  padding: 7rem 0;
  width: min(calc(100% - 2rem), var(--max));
}

.hero {
  display: grid;
  min-height: 100vh;
  padding-bottom: 5rem;
  padding-top: 5rem;
  place-items: center;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.logo {
  width: 50%;
}

.crest-mark {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.1rem 0 1.35rem;
}

.crest-mark span {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.crest-mark span:first-child,
.crest-mark span:last-child {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(208, 185, 138, 0.8),
    transparent
  );
  height: 1px;
  width: 88px;
}

.crest-center {
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(255, 255, 255, 0.07),
      transparent 58%
    ),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(208, 185, 138, 0.35);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 40px rgba(208, 185, 138, 0.08);
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
  height: 72px;
  letter-spacing: 0.12em;
  width: 72px;
}

h1,
h2,
h3 {
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}

h1,
h2 {
  font-family: "Cinzel", serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  color: #e3e2e1;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 -1px 0 rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.45);
}

h2 {
  color: #e1a939;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.16;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 -1px 0 rgba(0, 0, 0, 0.5);
}

h3 {
  color: #e1e1e0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05),
    0 -1px 0 rgba(0, 0, 0, 0.45);
}

.script-title {
  color: #e1a939;
  font-family: "Great Vibes", cursive;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  margin: 0.4rem 0 0;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 -1px 0 rgba(0, 0, 0, 0.55),
    0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-subheadline {
  color: #d7d6d5;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 1.4rem auto 0;
  max-width: 780px;
}

.hero-description,
.hero-body,
.column-copy p,
.price-note,
.ornate-list li,
label span {
  color: var(--muted);
}

.hero-description {
  font-size: 1.05rem;
  margin: 1rem auto 0;
  max-width: 760px;
}

.hero-body {
  margin: 1.15rem auto 0;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.1rem;
}

.btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.88rem;
  justify-content: center;
  letter-spacing: 0.18em;
  padding: 0.95rem 1.35rem;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #e1a939 0%, #b98b30 100%);
  box-shadow: 0 10px 30px rgba(185, 149, 87, 0.18);
  color: #101014;
  font-weight: 600;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(208, 185, 138, 0.2);
  color: var(--text);
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  max-width: 920px;
  text-align: center;
}

.ornate-divider {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.2rem auto 0;
}

.ornate-divider span {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(208, 185, 138, 0.85),
    transparent
  );
  height: 1px;
  position: relative;
  width: min(170px, 22vw);
}

.ornate-divider i {
  color: var(--gold);
  font-size: 0.95rem;
  font-style: normal;
  opacity: 0.9;
  text-shadow: 0 0 18px rgba(208, 185, 138, 0.18);
}

.naked-columns {
  align-items: start;
  display: grid;
  gap: 3rem;
}

.two-col {
  grid-template-columns: 1fr 1fr;
}

.column-copy p {
  margin: 0 0 1rem;
}

.ornate-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ornate-list.centered {
  text-align: left;
  margin: 30px 0 30px 50%;
  transform: translateX(-50%);
  border: 1px solid #333;
  border-radius: var(--radius);
  padding: 40px;
}

.ornate-list li {
  margin: 0 0 0.85rem;
  padding-left: 1.35rem;
  position: relative;
}

.ornate-list li::before {
  color: var(--gold);
  content: "✦";
  font-size: 0.72rem;
  left: 0;
  position: absolute;
  top: 0.05rem;
}

.pricing-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
  backdrop-filter: blur(6px);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(208, 185, 138, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.45rem 1.55rem;
}

.pricing-card.featured {
  border-color: rgba(208, 185, 138, 0.32);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(208, 185, 138, 0.06) inset;
}

.card-kicker {
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.mini-divider {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(208, 185, 138, 0.68),
    transparent
  );
  height: 1px;
  margin: 1.25rem 0 1rem;
  width: 100%;
}

.price {
  color: #eadfcf;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.35rem;
  line-height: 1.05;
  margin: 0;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05),
    0 -1px 0 rgba(0, 0, 0, 0.45);
}

.price span {
  color: var(--soft);
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  margin-top: 0.25rem;
  text-shadow: none;
}

.quote-column {
  align-items: center;
  display: flex;
}

.pull-quote {
  color: #d9cfbb;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.35;
  margin: 0;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04),
    0 -1px 0 rgba(0, 0, 0, 0.4);
}

.center {
  margin: 0 auto;
  width: 80%;
}

.membership-copy strong {
  color: #e7dcc9;
  font-weight: 600;
}

.inquiry-form {
  margin: 0 auto;
  max-width: 920px;
}

.form-row {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr 1fr;
}

label {
  display: block;
  margin-bottom: 1rem;
}

label span {
  display: block;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: var(--text);
  outline: none;
  padding: 0.95rem 1rem;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(208, 185, 138, 0.36);
  box-shadow: 0 0 0 4px rgba(208, 185, 138, 0.08);
}

textarea {
  min-height: 170px;
  resize: vertical;
}

.form-actions {
  margin-top: 1.2rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 750ms ease,
    transform 750ms ease;
}

.reveal.visible,
.reveal.visible-on-load {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .pricing-grid,
  .two-col,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 5.5rem 0;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .top-nav {
    padding: 0.8rem 0;
    width: calc(100% - 1rem);
  }

  .brand {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    background: rgba(8, 9, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.15rem;
    min-width: 220px;
    opacity: 0;
    padding: 0.75rem;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .nav-menu a {
    padding: 0.8rem 0.9rem;
  }

  .section {
    width: calc(100% - 1rem);
  }

  .crest-mark span:first-child,
  .crest-mark span:last-child {
    width: 50px;
  }

  .ornate-divider span {
    width: 64px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.visible,
  .reveal.visible-on-load,
  .nav-menu,
  .nav-toggle span,
  .btn {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Footer */
footer {
  margin: 0 auto;
  max-width: 60%;
  padding: 100px 0;
}

/* Photo gallery */
.photo-gallery {
  margin: 0 0 2.75rem;
}

.gallery-shell {
  backdrop-filter: blur(6px);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(208, 185, 138, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-stage {
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.02);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.gallery-stage::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0) 24%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

.gallery-layer {
  inset: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  transition: opacity 900ms ease;
  z-index: 1;
}

.gallery-layer.is-visible {
  opacity: 1;
  z-index: 2;
}

.gallery-image {
  animation: gallery-ken-burns 7.2s ease forwards;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transform-origin: center center;
  width: 100%;
}

.gallery-layer[data-origin="top-left"] .gallery-image {
  transform-origin: 20% 24%;
}

.gallery-layer[data-origin="top-right"] .gallery-image {
  transform-origin: 80% 24%;
}

.gallery-layer[data-origin="bottom-left"] .gallery-image {
  transform-origin: 20% 76%;
}

.gallery-layer[data-origin="bottom-right"] .gallery-image {
  transform-origin: 80% 76%;
}

.gallery-layer[data-origin="center"] .gallery-image {
  transform-origin: center center;
}

@keyframes gallery-ken-burns {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.14);
  }
}

.gallery-thumbs {
  display: grid;
  gap: 0.75rem;
  grid-auto-columns: minmax(88px, 120px);
  grid-auto-flow: column;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  padding: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(208, 185, 138, 0.38) rgba(255, 255, 255, 0.04);
  -webkit-overflow-scrolling: touch;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 10px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(208, 185, 138, 0.5),
    rgba(208, 185, 138, 0.28)
  );
  border: 2px solid rgba(10, 14, 16, 0.85);
  border-radius: 999px;
}

.gallery-thumbs::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(208, 185, 138, 0.62),
    rgba(208, 185, 138, 0.36)
  );
}

.gallery-thumb {
  appearance: none;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  cursor: pointer;
  filter: grayscale(1);
  min-width: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.gallery-thumb:hover {
  transform: translateY(-1px);
  filter: grayscale(0);
}

.gallery-thumb:focus-visible {
  border-color: rgba(208, 185, 138, 0.42);
  box-shadow: 0 0 0 4px rgba(208, 185, 138, 0.08);
  outline: none;
}

.gallery-thumb[aria-current="true"] {
  border-color: rgba(208, 185, 138, 0.4);
  box-shadow:
    0 0 0 1px rgba(208, 185, 138, 0.08) inset,
    0 10px 24px rgba(0, 0, 0, 0.22);
  filter: grayscale(0);
}

.gallery-thumb[aria-current="true"]::after {
  content: "";
  inset: 0;
  position: absolute;
  border: 1px solid rgba(208, 185, 138, 0.35);
  border-radius: inherit;
  pointer-events: none;
}

.gallery-thumb img {
  aspect-ratio: 4 / 3;
  display: block;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  width: 100%;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img,
.gallery-thumb[aria-current="true"] img {
  opacity: 1;
}

@media (max-width: 760px) {
  .gallery-thumbs {
    gap: 0.6rem;
    grid-auto-columns: minmax(84px, 96px);
    padding: 0.85rem;
  }

  .gallery-thumbs::-webkit-scrollbar {
    height: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-layer,
  .gallery-thumb,
  .gallery-thumb img {
    transition: none !important;
  }

  .gallery-image {
    animation: none !important;
    transform: none !important;
  }
}
