/* =============================================================================
   CUSTOM PROPERTIES
============================================================================= */
:root {
  --cream: #FDFAF5;
  --oat: #E8DDD0;
  --gold: #C9A96E;
  --sage: #C4A882;
  --text: #2C2B29;
  --text-light: #7A7672;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;

  --section-pad: 72px;
  --container-max: 1120px;
  --header-h: 64px;
}

@media (min-width: 768px) {
  :root {
    --section-pad: 120px;
  }
}

/* =============================================================================
   RESET + BASE
============================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img,
svg {
  display: block;
}

/* =============================================================================
   LAYOUT
============================================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 48px;
  }
}

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

/* =============================================================================
   TYPOGRAPHY
============================================================================= */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 18px;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 52px;
}

/* =============================================================================
   BUTTONS
============================================================================= */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background-color: transparent;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.28s ease, color 0.28s ease;
}

.btn:hover {
  background-color: var(--gold);
  color: var(--cream);
}

.btn--small {
  padding: 9px 20px;
  font-size: 11px;
}

.btn--lg {
  padding: 16px 44px;
  font-size: 13px;
}

/* =============================================================================
   SITE HEADER
============================================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background-color: rgba(253, 250, 245, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.14);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-serif);
  font-size: 21px;
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* =============================================================================
   HERO
============================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cream);
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero__decor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(100px, 14vw, 200px);
  pointer-events: none;
}

.hero__decor--left {
  left: 0;
}

.hero__decor--right {
  right: 0;
}

.hero__decor svg {
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 620px;
  padding: 40px 32px;
}

.hero__headline {
  font-size: clamp(54px, 9vw, 100px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 22px;
  line-height: 1.0;
}

.hero__sub {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 44px;
}

/* =============================================================================
   SERVICES
============================================================================= */
.services {
  background-color: var(--oat);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--cream);
  padding: 48px 36px 52px;
  transition-delay: var(--delay, 0s);
}

@media (min-width: 768px) {
  .service-card {
    padding: 60px 48px 64px;
  }
}

.service-card__icon {
  margin-bottom: 28px;
  height: 38px;
  display: flex;
  align-items: center;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.service-card__rule {
  width: 32px;
  height: 1.5px;
  background-color: var(--gold);
  margin-bottom: 18px;
}

.service-card__desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.7;
}

/* =============================================================================
   ABOUT
============================================================================= */
.about {
  background-color: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: center;
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 88px;
  }
}

.about__text .eyebrow {
  margin-bottom: 14px;
}

.about__text h2 {
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.15;
}

.about__text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about__text p:last-of-type {
  margin-bottom: 40px;
}

.about__panel {
  position: relative;
  background-color: var(--sage);
  border-radius: 3px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 36px 40px;
}

@media (max-width: 767px) {
  .about__panel {
    aspect-ratio: 16 / 9;
    padding: 28px 32px;
  }
}

.about__leaf-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about__panel-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 52px);
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  opacity: 0.82;
  line-height: 1;
  letter-spacing: 0.01em;
}

/* =============================================================================
   TESTIMONIALS
============================================================================= */
.testimonials {
  background-color: var(--oat);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background-color: var(--cream);
  padding: 44px 36px 48px;
  transition-delay: var(--delay, 0s);
  border-left: 2px solid var(--gold);
}

@media (min-width: 768px) {
  .testimonial {
    padding: 52px 44px 56px;
    border-left: none;
    border-top: 2px solid var(--gold);
  }
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 28px;
}

.testimonial__name {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* =============================================================================
   INSTAGRAM
============================================================================= */
.instagram {
  background-color: var(--oat);
}

.instagram__header {
  text-align: center;
  margin-bottom: 40px;
}

.insta-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
}

.instagram__handle {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 169, 110, 0.4);
  padding-bottom: 2px;
  transition: opacity 0.25s ease;
}

.instagram__handle:hover {
  opacity: 0.65;
}

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

@media (min-width: 768px) {
  .instagram__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.insta-tile {
  position: relative;
  aspect-ratio: 1;
  background-color: var(--tile-bg, var(--oat));
  overflow: hidden;
  transition-delay: var(--delay, 0s);
}

.insta-tile svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.insta-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(44, 43, 41, 0);
  transition: background-color 0.3s ease;
  pointer-events: none;
}

.insta-tile:hover::after {
  background-color: rgba(44, 43, 41, 0.07);
}

/* =============================================================================
   FINAL CTA
============================================================================= */
.cta-final {
  background-color: var(--cream);
  border-top: 1px solid rgba(44, 43, 41, 0.07);
}

.cta-final__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-final__headline {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 44px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.cta-final__location {
  margin-top: 28px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* =============================================================================
   FOOTER
============================================================================= */
.footer {
  background-color: var(--cream);
  border-top: 1px solid rgba(44, 43, 41, 0.08);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
}

.footer__copy {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

/* =============================================================================
   SCROLL ANIMATIONS
============================================================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: var(--delay, 0s);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
