/* Global design tokens */
:root {
  --gold: #B8963E;
  --gold-light: #D4AF6A;
  --gold-pale: #F5EDD6;
  --dark: #0D0D0D;
  --deep: #1A1A1A;
  --charcoal: #2C2C2C;
  --mid: #5C5C5C;
  --light: #F0EDE8;
  --white: #FAFAF8;
  --accent: #8B6914;
  --nav-h: 80px;
  --section-pad: clamp(60px, 8vw, 120px);
}

/* Base reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 300;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 300;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 400;
}

p {
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  color: var(--mid);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.section {
  padding: var(--section-pad) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 30px;
}

.divider.center {
  margin: 20px auto 30px;
}

.intro-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.intro-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.btn-outline-dark:hover {
  background: var(--gold);
  color: var(--white);
}

/* Shared navbar styles */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all 0.4s ease;
  background: var(--dark);
}

body.home-page #navbar {
  background: transparent;
}

#navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

/* Home page requires a higher-specificity scrolled override. */
body.home-page #navbar.scrolled {
  background: var(--dark);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
}

.nav-logo-sub {
  font-size: 0.62rem;
  color: var(--gold-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  font-size: 0.78rem !important;
  padding: 10px 24px;
  background: var(--gold);
  color: var(--white) !important;
  letter-spacing: 0.1em !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 100;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--dark);
  padding: 30px clamp(20px, 5vw, 60px);
  flex-direction: column;
  gap: 24px;
  z-index: 999;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Cormorant Garamond', serif;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
}

.nav-mobile .nav-mobile-cta {
  justify-content: center;
}

.page-hero {
  height: 420px;
  background: linear-gradient(135deg, var(--deep) 0%, var(--charcoal) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  margin-top: var(--nav-h);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(184,150,62,0.05) 50px), repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(184,150,62,0.05) 50px);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb span,
.gold {
  color: var(--gold);
}

.page-hero h1 {
  color: var(--white);
}

/* Reusable reveal animation utility classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* Shared footer */
footer {
  background: #080808;
  padding: 80px 0 0;
  border-top: 1px solid rgba(184,150,62,0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--white);
}

.footer-logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-badge {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(184,150,62,0.3);
  padding: 6px 12px;
  color: var(--gold-light);
}

.footer-col-title {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184,150,62,0.2);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.footer-contact-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy,
.footer-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-links {
  display: flex;
  gap: 24px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

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

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