/* ============================================
   therevestate.com — Global Stylesheet v2
   Aesthetic: Warm editorial / community-forward
   Light ground, refined gold & forest accents
   ============================================ */

/* Brand fonts, self-hosted (SIL Open Font License) — no third-party font CDN */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/cormorant-garamond-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300; font-display: swap; src: url('fonts/cormorant-garamond-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/cormorant-garamond-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600; font-display: swap; src: url('fonts/cormorant-garamond-600-italic.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/outfit-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/outfit-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/outfit-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/outfit-600-normal.woff2') format('woff2'); }

/* --- Variables --- */
:root {
  --cream:        #F7F3EE;
  --cream-deep:   #EDE7DC;
  --warm-white:   #FDFAF6;
  --gold:         #A07830;
  --gold-light:   #C49A50;
  --gold-dim:     #D4B97A;
  --gold-subtle:  #F0E4C8;
  --forest:       #2D4A3E;
  --forest-light: #3D6455;
  --forest-dim:   #EBF2EE;
  --charcoal:     #1E1E1E;
  --ink:          #2C2C2C;
  --ink-mid:      #4A4A4A;
  --ink-light:    #6E6E6E;
  --border:       #DDD5C8;
  --border-light: #EDE7DC;
  --surface:      #FFFFFF;
  --surface-2:    #F7F3EE;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;
  --max-width:    1160px;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* --- Nav --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(253,250,246,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--forest);
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--forest); }

.nav-cta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 22px;
  background: var(--forest);
  color: var(--warm-white);
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--forest-light); }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}
.section { padding: 96px 0; }

/* --- Type Utilities --- */
.label {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.label-forest {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 18px;
}
.divider {
  width: 40px;
  height: 2px;
  background: var(--gold-dim);
  margin: 20px 0;
}
.divider-forest {
  width: 40px;
  height: 2px;
  background: var(--forest);
  margin: 20px 0;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
}
.section-title { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.section-body {
  font-size: 0.97rem;
  color: var(--ink-mid);
  line-height: 1.85;
  margin-top: 18px;
}

/* --- Buttons --- */
.btn-forest {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 13px 34px;
  background: var(--forest);
  color: var(--warm-white);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-forest:hover { background: var(--forest-light); transform: translateY(-1px); }

.btn-gold {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 13px 34px;
  background: var(--gold);
  color: var(--warm-white);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline-forest {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 34px;
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline-forest:hover { background: var(--forest); color: var(--warm-white); }

/* --- Footer --- */
footer {
  background: var(--forest);
  padding: 64px 0 36px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(237,231,220,0.6);
  line-height: 1.65;
}
.footer-heading {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(237,231,220,0.7);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 48px 0;
  border-top: 1px solid rgba(237,231,220,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-legal { font-size: 0.72rem; color: rgba(237,231,220,0.4); }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; transition: color var(--transition); }
.footer-legal a:hover { color: var(--cream); }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.85s cubic-bezier(0.4,0,0.2,1) forwards; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.50s; }

/* --- Responsive --- */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .container { padding: 0 24px; }
  .section { padding: 68px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 24px; }
  .footer-bottom { padding: 24px 24px 0; flex-direction: column; gap: 8px; text-align: center; }
}
