:root {
  --bg: #f7f3ee;
  --bg-alt: #ede8e1;
  --bg-deep: #e4ddd4;
  --text: #3b3632;
  --text-light: #6a6055;
  --text-faint: #a89e94;
  --accent: #c9a87c;
  --accent-soft: #d4c4a8;
  --sage: #8a9e7e;
  --sage-soft: #b5c5ab;
  --rose: #c2a09c;
  --rose-soft: #d8c4c0;
  --rule: #d0c8be;
  --shadow: rgba(59, 54, 50, 0.08);
  --shadow-strong: rgba(59, 54, 50, 0.15);
}

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

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

body {
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 300;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--accent-soft);
  color: var(--text);
}


/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: 0.06em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: 0.04em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: 0.03em;
  font-weight: 400;
}

.label {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
}

p {
  font-size: 1.05rem;
  max-width: 38em;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}


/* ═══════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 800px;
}

section {
  padding: 6rem 0;
}

.rule {
  width: 60px;
  height: 1px;
  background: var(--rule);
  border: none;
  margin: 2rem auto;
}

.rule--wide {
  width: 120px;
}

.rule--left {
  margin-left: 0;
}

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


/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.5s ease, padding 0.4s ease, box-shadow 0.5s ease;
}

.nav--scrolled {
  background-color: rgba(247, 243, 238, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 2.5rem;
  box-shadow: 0 1px 0 var(--rule);
}

.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.nav--hero .nav__logo,
.nav--hero .nav__link {
  color: #fff;
}

.nav--hero.nav--scrolled .nav__logo,
.nav--hero.nav--scrolled .nav__link {
  color: var(--text);
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav__link {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--accent);
}

.nav--hero.nav--scrolled .nav__link:hover {
  color: var(--accent);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  margin: 6px 0;
  transition: all 0.3s ease;
}

.nav--hero .nav__toggle span {
  background: #fff;
}

.nav--hero.nav--scrolled .nav__toggle span {
  background: var(--text);
}


/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 20s ease-out forwards;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 26, 22, 0.25) 0%,
    rgba(30, 26, 22, 0.15) 40%,
    rgba(30, 26, 22, 0.35) 100%
  );
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.hero__title {
  color: #fff;
  font-weight: 300;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease 0.3s forwards;
}

.hero__subtitle {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  animation: fadeUp 1.2s ease 0.7s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1.2s ease 1.1s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ═══════════════════════════════════════
   PAGE HERO (non-home pages)
   ═══════════════════════════════════════ */

.page-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--text);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(30, 26, 22, 0.3) 0%,
    rgba(30, 26, 22, 0.2) 50%,
    rgba(30, 26, 22, 0.4) 100%
  );
}

.page-hero__title {
  position: relative;
  z-index: 2;
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 1s ease 0.2s forwards;
}


/* ═══════════════════════════════════════
   INTRODUCTION / MISSION
   ═══════════════════════════════════════ */

.intro {
  padding: 7rem 0;
  text-align: center;
}

.intro p {
  font-size: 1.25rem;
  line-height: 2;
  margin: 0 auto;
  color: var(--text-light);
  font-style: italic;
}


/* ═══════════════════════════════════════
   FEATURE SECTIONS
   ═══════════════════════════════════════ */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}

.feature--reverse {
  direction: rtl;
}

.feature--reverse > * {
  direction: ltr;
}

.feature__image-wrap {
  position: relative;
  overflow: hidden;
}

.feature__image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--rule);
  transition: transform 0.8s ease;
}

.feature__image-wrap:hover .feature__image {
  transform: scale(1.03);
}

.feature__image-wrap::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 168, 124, 0.3);
  pointer-events: none;
  transition: inset 0.5s ease;
}

.feature__image-wrap:hover::after {
  inset: 16px;
}

.feature__text h2 {
  margin-bottom: 0.5rem;
}

.feature__text p {
  color: var(--text-light);
  margin-top: 1.5rem;
}


/* ═══════════════════════════════════════
   QUOTE / TESTIMONIAL
   ═══════════════════════════════════════ */

.quote-section {
  background: var(--bg-alt);
  padding: 6rem 0;
  text-align: center;
}

.quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text);
}

.quote-attr {
  margin-top: 1.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
}


/* ═══════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════ */

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.gallery-filter {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  background: none;
  border: 1px solid var(--rule);
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-filter:hover,
.gallery-filter--active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.gallery-grid {
  columns: 3;
  column-gap: 1.5rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  border: 1px solid var(--rule);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(59, 54, 50, 0);
  transition: background 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  background: rgba(59, 54, 50, 0.1);
}


/* ═══════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(30, 26, 22, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95);
  transition: transform 0.4s ease;
}

.lightbox--open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.7rem;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.lightbox__close:hover {
  color: #fff;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  transition: color 0.3s ease;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
}

.lightbox__nav:hover {
  color: #fff;
}

.lightbox__nav--prev {
  left: 2rem;
}

.lightbox__nav--next {
  right: 2rem;
}


/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 0;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 1px solid var(--rule);
}

.about-text h2 {
  margin-bottom: 0.5rem;
}

.about-text p {
  color: var(--text-light);
  margin-top: 1.5rem;
}

.values {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
}

.value-item h3 {
  margin-bottom: 1rem;
  font-style: italic;
}

.value-item p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0 auto;
}


/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 6rem 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  position: relative;
}

.form-group label {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 0;
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a7168'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.btn {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn:hover {
  background: transparent;
  color: var(--text);
}

.contact-info h3 {
  margin-bottom: 0.5rem;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.contact-detail {
  margin-bottom: 2.5rem;
}

.contact-detail a {
  font-size: 1.05rem;
  color: var(--text-light);
}

.contact-detail a:hover {
  color: var(--accent);
}


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.footer {
  background: var(--text);
  color: var(--bg-alt);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h3 {
  color: var(--bg);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  font-weight: 300;
}

.footer p,
.footer a {
  font-size: 0.9rem;
  color: var(--text-faint);
  line-height: 1.9;
}

.footer a:hover {
  color: var(--bg);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__bottom {
  border-top: 1px solid rgba(247, 243, 238, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer__bottom p {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin: 0 auto;
}


/* ═══════════════════════════════════════
   CTA STRIP
   ═══════════════════════════════════════ */

.cta-strip {
  padding: 5rem 0;
  text-align: center;
}

.cta-strip h2 {
  margin-bottom: 0.5rem;
  font-style: italic;
}

.cta-strip p {
  margin: 0 auto 2rem;
  color: var(--text-light);
}

.cta-strip .btn {
  display: inline-block;
}


/* ═══════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s 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; }


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 900px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature--reverse {
    direction: ltr;
  }

  .feature__image {
    height: 360px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-photo {
    max-width: 500px;
    margin: 0 auto;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .gallery-grid {
    columns: 2;
  }

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

@media (max-width: 600px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px var(--shadow);
  }

  .nav__links--open {
    right: 0;
  }

  .nav__link {
    color: var(--text) !important;
    font-size: 0.8rem;
  }

  .nav__toggle {
    display: block;
    z-index: 101;
  }

  .hero {
    min-height: 500px;
  }

  h1 {
    font-size: 2.4rem;
  }

  .gallery-grid {
    columns: 1;
  }

  section {
    padding: 4rem 0;
  }

  .feature__image {
    height: 280px;
  }

  .lightbox__nav--prev {
    left: 0.5rem;
  }

  .lightbox__nav--next {
    right: 0.5rem;
  }
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 22, 0.4);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-overlay--open {
  opacity: 1;
  visibility: visible;
}
