/* ===== THE TIMBER TALE — SHARED DESIGN SYSTEM ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F5F0E8;
  --warm-white: #FAF8F4;
  --beige: #E8E0D0;
  --sand: #D4C9B0;
  --wood: #8B6A3E;
  --wood-dark: #5C4428;
  --wood-light: #C4A97A;
  --charcoal: #2C2A25;
  --charcoal-mid: #4A4640;
  --charcoal-light: #7A756C;
  --green: #2E4A35;
  --green-mid: #3D6147;
  --green-light: #C8D9C2;
  --bronze: #A0703A;
  --bronze-light: #D4A96A;
  --text-on-dark: #F0EBE0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250,248,244,0.96);
  box-shadow: 0 1px 0 rgba(44,42,37,0.08);
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal-mid);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--bronze); }
.nav-cta {
  background: transparent;
  border: 1px solid var(--wood);
  color: var(--wood-dark);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--wood);
  color: var(--warm-white);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  padding: 8rem 3rem 5rem;
  background: var(--charcoal);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1617806118233-18e1de247200?w=1600&q=70') center/cover;
  opacity: 0.12;
}
.page-hero-content { position: relative; z-index: 1; max-width: 800px; }
.page-hero .eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.page-hero .eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--bronze-light);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-on-dark);
  margin-bottom: 1.25rem;
}
.page-hero h1 em { font-style: italic; color: var(--wood-light); }
.page-hero p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(240,235,224,0.7);
  max-width: 520px;
}

/* ===== SHARED SECTION STYLES ===== */
section { padding: 5rem 3rem; }
.section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}
h2.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
h2.section-title em { font-style: italic; color: var(--wood); }
.section-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--charcoal-light);
  max-width: 520px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--wood);
  color: var(--warm-white);
  border: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.25s, transform 0.15s;
}
.btn-primary:hover { background: var(--wood-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--sand);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
}
.btn-outline:hover { background: var(--beige); border-color: var(--wood-light); }
.btn-dark {
  background: var(--charcoal);
  color: var(--text-on-dark);
  border: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.25s;
}
.btn-dark:hover { background: var(--charcoal-mid); }

/* ===== FADE IN ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: var(--charcoal);
  color: var(--text-on-dark);
  text-align: center;
  padding: 5rem 3rem;
}
.newsletter-section h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.newsletter-section p {
  color: rgba(240,235,224,0.6);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: 2px 0 0 2px;
  color: var(--text-on-dark);
  font-family: var(--sans);
  font-size: 0.88rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(240,235,224,0.35); }
.newsletter-form button {
  background: var(--wood);
  color: var(--warm-white);
  border: none;
  padding: 0.9rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 2px 2px 0;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--wood-dark); }

/* ===== FOOTER ===== */
footer {
  background: #1C1A16;
  color: var(--text-on-dark);
  padding: 4rem 3rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--wood-light);
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(240,235,224,0.5);
}
.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,235,224,0.4);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(240,235,224,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--wood-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(240,235,224,0.3);
}
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a {
  color: rgba(240,235,224,0.4);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--wood-light); }

/* ===== FORMS ===== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--wood); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(250,248,244,0.98);
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  section { padding: 4rem 1.5rem; }
  .page-hero { padding: 6rem 1.5rem 4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1px solid rgba(255,255,255,0.15); border-bottom: none; border-radius: 2px 2px 0 0; }
  .newsletter-form button { border-radius: 0 0 2px 2px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}
