@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --forest: #1B3C29;
  --forest-light: #2C5841;
  --accent: #D4A373;
  --cream: #F5F5F0;
  --ink: #111814;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--white);
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--white);
}
::-webkit-scrollbar-thumb {
  background: var(--forest-light);
}

.text-bronze {
  color: var(--accent);
}

.bg-forest-deep {
  background-color: var(--forest);
}

.reveal-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hover-lift {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(27, 60, 41, 0.1);
}

.img-arch {
  border-radius: 2px;
  filter: saturate(0.95) contrast(1.05);
}

.btn-primary {
  background-color: var(--forest);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 0;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
  border: 1px solid var(--forest);
}

.btn-primary:hover {
  background-color: var(--forest-light);
  border-color: var(--forest-light);
}

.btn-outline {
  background-color: transparent;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 0;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.3);
}

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

.diagonal-top {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 4vw));
}

.diagonal-bottom {
  clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 100%);
}

#mobile-menu {
  top: 0;
  height: 100vh;
  width: 100vw;
}

.z-topbar {
  z-index: 60;
}

.aspect-4-3 {
  aspect-ratio: 4/3;
}

.brightness-70 {
  filter: brightness(0.7);
}

.brightness-50 {
  filter: brightness(0.5);
}

.icon-style,
header svg,
.text-bronze svg {
  cursor: pointer;
  transition: 0.2s;
}

.gallery-grid {
  height: auto;
}

@media (min-width: 768px) {
  .gallery-grid {
    height: 600px;
  }
}

.img-grayscale {
  filter: grayscale(30%) saturate(0.95) contrast(1.05);
}

.img-grayscale:hover,
.group:hover .img-grayscale {
  filter: grayscale(0%) saturate(0.95) contrast(1.05);
}

.hero-subpage {
  height: 50vh;
}

.tracking-extra-wide {
  letter-spacing: 0.3em;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

@media (max-width: 640px) {
  section,
  section > div,
  section > div > div,
  section > div > div > div {
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .contact-grid > div,
  .grid > div {
    min-width: 0;
    max-width: 100%;
  }
}

#contact-form {
  max-width: 100%;
  overflow: hidden;
}

#contact-form .g-recaptcha {
  transform-origin: left center;
  max-width: 100%;
}

@media (max-width: 400px) {
  #contact-form .g-recaptcha {
    transform: scale(0.85);
  }
}

@media (max-width: 340px) {
  #contact-form .g-recaptcha {
    transform: scale(0.75);
  }
}