@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --cream: #FAF8F4;
  --warm-white: #FEFCF9;
  --sage: #8A9E85;
  --sage-light: #C4D4BF;
  --sage-dark: #5C7A57;
  --terracotta: #C4714A;
  --terracotta-light: #E8C4B0;
  --brown: #6B4F3A;
  --brown-light: #A07850;
  --text-dark: #2C2018;
  --text-mid: #5C4A35;
  --text-light: #9A8470;
  --gold: #C9A84C;
  --border: rgba(138, 158, 133, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

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

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

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 4px 30px rgba(44,32,24,0.08); }

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }

/* nav-cta removed */

.hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.hamburger span { width: 24px; height: 1.5px; background: var(--text-dark); transition: all 0.3s; display: block; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: white;
  padding: 0.9rem 2.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
  border: none; cursor: pointer;
}

.btn-primary:hover { background: var(--brown); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  padding: 0.9rem 2.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s;
  background: transparent; cursor: pointer;
}

.btn-outline:hover { background: var(--terracotta); color: white; }

/* ── SECTIONS ── */
.section { padding: 6rem 5%; }
.section-sm { padding: 4rem 5%; }

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.section-body {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.8;
}

/* ── DIVIDER ── */
.divider {
  width: 48px; height: 1px;
  background: var(--terracotta);
  margin: 1.5rem 0;
}

/* ── FOOTER ── */
footer {
  background: var(--text-dark);
  color: rgba(253,250,245,0.7);
  padding: 4rem 5% 2rem;
}

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

.footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.8; max-width: 280px; }

.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(253,250,245,0.65); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--terracotta-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
  color: rgba(253,250,245,0.4);
}

/* ── TEXTURE OVERLAY ── */
.texture {
  position: relative;
}
.texture::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE NAV ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--warm-white);
  padding: 2rem 5%;
  border-bottom: 1px solid var(--border);
  z-index: 99;
  flex-direction: column; gap: 1.5rem;
}

.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── PAGE TRANSITIONS ── */
body {
  animation: pageFadeIn 0.4s ease forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* smooth exit on link click */
body.page-exit {
  animation: pageFadeOut 0.25s ease forwards;
}

@keyframes pageFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}
