:root {
  --color-bg: #FAF9F6;
  --color-text: #1A3C34;
  --color-accent: #C76D55;
  --color-surface: #FFFFFF;
  --color-border: #1A3C34;
  --font-heading: 'Times New Roman', Times, serif;
  --font-body: system-ui, -apple-system, sans-serif;
  --spacing-unit: 1rem;
  --radius-soft: 8px;
  --shadow-hard: 4px 4px 0px 0px var(--color-accent);
  --nav-height: 80px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-top: 0;
  color: var(--color-text);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-bg);
  border-bottom: 2px solid var(--color-border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.logo-icon svg {
  height: 32px;
  width: 32px;
  display: block;
  color: var(--color-accent);
}

/* Navigation */
.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link:hover {
  color: var(--color-accent);
}

.btn-cta {
  background-color: var(--color-text);
  color: var(--color-bg) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-hard);
  border: 1px solid var(--color-text);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px 0px var(--color-accent);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: all 0.3s ease;
}

/* Footer */
.site-footer {
  background-color: var(--color-surface);
  border-top: 2px solid var(--color-border);
  padding: 4rem 1rem 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
}

.footer-tagline {
  font-style: italic;
  color: var(--color-accent);
  font-weight: 500;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-heading {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(26, 60, 52, 0.1);
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text);
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    padding: 2rem;
    border-bottom: 2px solid var(--color-border);
    flex-direction: column;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
  }

  .main-nav.active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    font-size: 1.25rem;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* -------------------------------------------------------------------------- */
/* Tailwind-style helper classes used in markup (kept local & readable)        */
/* -------------------------------------------------------------------------- */

/* Brand colors (used throughout the HTML as if they were Tailwind tokens) */
.text-forest { color: var(--color-text) !important; }
.bg-forest { background-color: var(--color-text) !important; }
.text-clay { color: var(--color-accent) !important; }
.bg-clay { background-color: var(--color-accent) !important; }

/* Opacity variants used in markup (slash needs escaping in CSS selectors) */
.bg-forest\/40 { background-color: rgba(26, 60, 52, 0.40) !important; }
.bg-clay\/20 { background-color: rgba(199, 109, 85, 0.20) !important; }

/* A custom stone background used on the Services page */
.bg-stone-custom { background-color: #F5F2EC !important; }

/* Small utility helpers referenced in the HTML */
.font-sans-body { font-family: var(--font-body) !important; }
.section-pad { padding: 5rem 0; }
@media (max-width: 768px) {
  .section-pad { padding: 3.5rem 0; }
}

.btn-shadow { box-shadow: var(--shadow-hard); }
.card-shadow {
  box-shadow: 12px 12px 0px 0px rgba(199, 109, 85, 0.18);
  border: 1px solid rgba(26, 60, 52, 0.12);
}
/* footer extras */
.footer__extras{margin-top:16px;}
.footer__extrasInner{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start;justify-content:space-between;}
.footer__social{display:flex;gap:10px;align-items:center;}
.footer-social{display:inline-flex;gap:8px;align-items:center;text-decoration:none;}
.footer-social__icon{display:block;}
.footer__poemWrap{max-width:520px;}
.footer-poem{opacity:0.9;font-size:0.95em;line-height:1.35;}
/* --- injected by logo step --- */
.brand{display:inline-flex;align-items:center;gap:10px}
.brand-logo{width:28px;height:28px;display:inline-block;flex:0 0 auto}
.brand-logo *{vector-effect:non-scaling-stroke}
/* --- /injected by logo step --- */
