/* ============================================
   NEXUS TRANSITIONS — Global Stylesheet
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  --sage:            #4A7C59;
  --sage-dark:       #3a6347;
  --amber:           #C8874A;
  --amber-dark:      #a96d35;
  --terracotta:      #D4795A;
  --cream:           #F7F2EB;
  --cream-dark:      #ede6d9;
  --charcoal:        #2D3142;
  --charcoal-light:  #4a4f6a;
  --white:           #ffffff;
  --font-head:       'Montserrat', sans-serif;
  --font-body:       'Lora', serif;
  --radius:          8px;
  --shadow:          0 4px 24px rgba(45,49,66,0.10);
  --max-width:       1200px;
  --transition:      0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section        { padding: 88px 0; }
.section--sm    { padding: 52px 0; }
.section--lg    { padding: 120px 0; }
.section--cream    { background: var(--cream); }
.section--white    { background: var(--white); }
.section--sage     { background: var(--sage); color: var(--white); }
.section--charcoal { background: var(--charcoal); color: var(--white); }
.section--sage    h2,
.section--sage    h3,
.section--charcoal h2,
.section--charcoal h3 { color: var(--white); }

.text-center { text-align: center; }
.text-sage   { color: var(--sage); }
.text-amber  { color: var(--amber); }

/* --- Eyebrow Label --- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

/* --- Divider --- */
.divider {
  width: 48px; height: 3px;
  background: var(--amber);
  border-radius: 2px;
  margin: 14px 0 24px;
}
.divider--center { margin: 14px auto 24px; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn--amber { background: var(--amber); color: var(--white); border-color: var(--amber); }
.btn--amber:hover { background: var(--amber-dark); border-color: var(--amber-dark); }
.btn--sage  { background: var(--sage);  color: var(--white); border-color: var(--sage); }
.btn--sage:hover  { background: var(--sage-dark);  border-color: var(--sage-dark); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn--outline-white:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn--outline-sage  { background: transparent; color: var(--sage);  border-color: var(--sage); }
.btn--outline-sage:hover  { background: var(--sage);  color: var(--white); }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  box-shadow: 0 2px 12px rgba(45,49,66,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.site-header__logo img { height: 34px; width: auto; flex-shrink: 0; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-shrink: 0;
}
.site-nav a {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  color: var(--charcoal);
  transition: color var(--transition);
}
.site-nav a:hover,
.site-nav a.active { color: var(--sage); }
.site-nav .nav-cta { margin-left: 4px; }
.site-nav .nav-cta .btn {
  font-size: 0.78rem;
  padding: 10px 20px;
  white-space: nowrap;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.site-footer__brand img  { height: 34px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.85; }
.site-footer__brand p    { font-size: 0.88rem; line-height: 1.65; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-col p { font-size: 0.88rem; margin-bottom: 8px; }
.footer-col a.footer-email { color: var(--amber); transition: color var(--transition); }
.footer-col a.footer-email:hover { color: #e0a060; }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.site-footer__bottom a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.site-footer__bottom a:hover { color: var(--white); }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(45,49,66,0.15);
}
.card__image { width: 100%; height: 200px; object-fit: cover; }
.card__body  { padding: 28px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p  { font-size: 0.93rem; color: var(--charcoal-light); }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--sage);
  margin-top: 16px;
  transition: gap var(--transition);
}
.card__link:hover { gap: 10px; }
.card__link::after { content: '→'; }

/* ============================================
   FORM (Netlify)
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:not([type="radio"]):not([type="checkbox"]):focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--sage); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 24px 32px;
    gap: 18px;
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: 0 8px 24px rgba(45,49,66,0.1);
  }
  .site-nav.open .nav-cta { margin-left: 0; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
