/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: #2a1f16;
  background: #faf5ec;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
  color: #2a1f16;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- SHARED BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #b5502e;
  color: #fffdf9;
  border: 1px solid #b5502e;
}

.btn-primary:hover {
  background: #8a3c20;
  border-color: #8a3c20;
}

.btn-outline {
  background: transparent;
  color: #fffdf9;
  border: 1px solid rgba(255, 253, 249, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 253, 249, 0.12);
  border-color: #fffdf9;
}

.btn-block {
  width: 100%;
}

/* ---------- SHARED SECTION HEADS ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b5502e;
  margin-bottom: 0.9rem;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-style: italic;
  margin-bottom: 1rem;
}

.section-head p {
  color: #6b5c4c;
  font-size: 1.02rem;
}

.section-head-light .section-eyebrow {
  color: #e0b563;
}

.section-head-light h2,
.section-head-light p {
  color: #fffdf9;
}

.section-head-light p {
  opacity: 0.82;
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ---------- HEADER ---------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

#header.is-scrolled {
  background: #faf5ec;
  box-shadow: 0 4px 24px rgba(42, 31, 22, 0.08);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: padding 0.35s ease;
}

#header.is-scrolled .header-inner {
  padding: 0.9rem 2rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fffdf9;
  transition: color 0.35s ease;
}

#header.is-scrolled .header-logo {
  color: #2a1f16;
}

.header-logo i {
  color: #c9972f;
  font-size: 1.3rem;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-nav ul {
  display: flex;
  gap: 2.4rem;
}

.header-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #fffdf9;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.35s ease;
}

#header.is-scrolled .header-nav a {
  color: #2a1f16;
}

.header-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.header-nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fffdf9;
  background: #b5502e;
  border-radius: 2px;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.header-cta:hover {
  background: #8a3c20;
}

.header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.header-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fffdf9;
  transition: background 0.35s ease, transform 0.3s ease, opacity 0.3s ease;
}

#header.is-scrolled .header-hamburger span {
  background: #2a1f16;
}

.header-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(78vw, 340px);
  height: 100vh;
  background: #faf5ec;
  padding: 6.5rem 2.2rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  box-shadow: -12px 0 32px rgba(42, 31, 22, 0.12);
}

.header-mobile-nav.is-open {
  transform: translateX(0);
}

.header-mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.header-mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: #2a1f16;
}

.header-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fffdf9;
  background: #b5502e;
  border-radius: 2px;
}

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

@media (max-width: 768px) {
  .header-cta {
    display: none;
  }
  .header-hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 1.1rem 1.25rem;
  }
  #header.is-scrolled .header-inner {
    padding: 0.75rem 1.25rem;
  }
}
