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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  color: #1a2233;
  background: #f6f3ec;
  line-height: 1.65;
  -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: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.15;
  color: #1a2233;
}

@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.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #ab8642;
  color: #16273f;
  border: 1px solid #ab8642;
}

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

.btn-outline {
  background: transparent;
  color: #f6f3ec;
  border: 1px solid rgba(246, 243, 236, 0.55);
}

.btn-outline:hover {
  background: rgba(246, 243, 236, 0.1);
  border-color: #f6f3ec;
}

.btn-block {
  width: 100%;
}

/* ---------- SHARED SECTION HEADS ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ab8642;
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: #ab8642;
}

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

.section-head .section-eyebrow {
  justify-content: center;
}

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

.section-head p {
  color: #5f6672;
  font-size: 1.02rem;
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.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, backdrop-filter 0.35s ease;
}

#header.is-scrolled {
  background: rgba(246, 243, 236, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(22, 39, 63, 0.1);
}

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

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f6f3ec;
  transition: color 0.35s ease;
}

#header.is-scrolled .header-logo {
  color: #16273f;
}

.header-logo-text span {
  font-weight: 500;
  opacity: 0.85;
}

.header-logo-mark {
  width: 28px;
  height: 28px;
  color: #ab8642;
  flex-shrink: 0;
}

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

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

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

#header.is-scrolled .header-nav a {
  color: #1a2233;
}

.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.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #16273f;
  background: #ab8642;
  border-radius: 2px;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.header-cta:hover {
  background: #c9a668;
}

.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: #f6f3ec;
  transition: background 0.35s ease, transform 0.3s ease, opacity 0.3s ease;
}

#header.is-scrolled .header-hamburger span {
  background: #1a2233;
}

.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: #f6f3ec;
  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(22, 39, 63, 0.14);
}

.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: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #1a2233;
}

.header-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #16273f;
  background: #ab8642;
  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.15rem 1.25rem;
  }
  #header.is-scrolled .header-inner {
    padding: 0.8rem 1.25rem;
  }
}
