/* ============================================
   HILARY McKEE — hilarymckee.ca
   Terra & Botanical · Complete Site Styles
   ============================================ */

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

:root {
  --cream: #FAF6F0;
  --cream-dark: #F0E8DC;
  --cream-mid: #E8DDD0;
  --terra: #B85A38;
  --terra-light: #D4785A;
  --terra-pale: #F0DDD4;
  --forest: #1E2E18;
  --forest-mid: #283C20;
  --forest-light: #3A5028;
  --olive: #4A5A28;
  --olive-light: #7A8A50;
  --olive-pale: #D8DCC0;
  --earth: #180E08;
  --text-dark: #241408;
  --text-body: #6A5040;
  --text-muted: #9A8070;
  --border: #DDD0C0;
  --border-light: #EAE0D4;
  --nav-height: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; }
a { color: var(--terra); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--terra-light); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  background: rgba(250,246,240,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border-light);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 1px 20px rgba(36,20,8,0.06);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-link {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text-dark); }
.nav-link.active { color: var(--terra); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-dark);
  transition: all 0.3s;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-dark);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terra);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 0.5px;
  background: var(--terra);
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--forest);
  padding: 13px 26px;
  border: none;
  border-radius: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn:hover { background: var(--forest-light); color: var(--cream); }
.btn-outline {
  background: transparent;
  color: var(--terra);
  border: 0.5px solid var(--terra);
}
.btn-outline:hover { background: var(--terra); color: var(--cream); }

/* ── TAGS ── */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 0.5px solid var(--border);
  color: var(--text-muted);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
}

/* ── SECTIONS ── */
.section-cream { background: var(--cream); }
.section-linen { background: var(--cream-dark); }
.section-forest {
  background: var(--forest);
}
.section-forest h1,
.section-forest h2,
.section-forest h3 { color: var(--olive-pale); }
.section-forest p { color: #8AAA80; }
.section-forest .eyebrow { color: #3A5028; }
.section-forest .eyebrow::before { background: #3A5028; }

.section-olive { background: var(--olive); }
.section-earth { background: var(--earth); }

/* ── DIVIDERS ── */
.divider {
  border: none;
  border-top: 0.5px solid var(--border);
}
.divider-forest {
  border-color: var(--forest-mid);
}

/* ── FORMS ── */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}
.form-input {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-dark);
  background: transparent;
  border: none;
  border-bottom: 0.5px solid var(--border);
  padding: 8px 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus { border-bottom-color: var(--terra); }
.form-input::placeholder { color: var(--text-muted); opacity: 0.5; }
textarea.form-input { resize: none; height: 90px; }

/* ── FOOTER ── */
.footer {
  background: var(--earth);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 0.5px solid #2A1A0E;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3A2818;
  text-decoration: none;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-link {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #2A1810;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--terra); }
.footer-copy { font-size: 11px; color: #1A1008; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── READING PROGRESS ── */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--terra);
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--cream);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 0.5px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  .nav-hamburger { display: flex; }
  .footer { flex-direction: column; text-align: center; gap: 1.25rem; }
}
