/* ==========================================
   KAYLEE O'BRIEN / SHARED STYLES
========================================== */

:root {
  --forest: #3a4a3a;
  --forest-deep: #2a382a;
  --forest-soft: #5a6a5a;
  --cream: #f5f1ea;
  --cream-soft: #faf7f1;
  --cream-warm: #ede6d8;
  --terracotta: #b8704f;
  --terracotta-deep: #9a5a3e;
  --ink: #1f2520;
  --ink-mid: #4a504a;
  --ink-soft: #6b716b;
  --rule: rgba(58, 74, 58, 0.15);
  --rule-soft: rgba(58, 74, 58, 0.08);

  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}
img { display: block; max-width: 100%; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ====== NAVIGATION ====== */
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  background: rgba(245, 241, 234, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--forest);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--ink-mid);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover { color: var(--forest); }
.nav-links a.active { color: var(--forest); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--terracotta);
}
.nav-cta {
  padding: 0.65rem 1.3rem !important;
  border: 1px solid var(--forest) !important;
  color: var(--forest) !important;
  transition: all 0.3s !important;
  letter-spacing: 0.1em !important;
}
.nav-cta:hover {
  background: var(--forest) !important;
  color: var(--cream) !important;
}
.nav-cta::after { display: none !important; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-block;
  padding: 1.1rem 2.2rem;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn-primary {
  background: var(--forest);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}
.btn-ghost:hover {
  background: var(--forest);
  color: var(--cream);
}
.btn-accent {
  background: var(--terracotta);
  color: var(--cream);
}
.btn-accent:hover {
  background: var(--terracotta-deep);
}
.btn-light {
  background: var(--cream);
  color: var(--forest);
  border: 1px solid var(--cream);
}
.btn-light:hover {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

/* ====== PAGE HEADER (interior pages) ====== */
.page-header {
  padding: 9rem 3rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--terracotta);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.page-eyebrow::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--terracotta);
}
.page-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--forest);
  margin-bottom: 1.5rem;
  max-width: 18ch;
}
.page-title .italic {
  font-style: italic;
  color: var(--terracotta);
}
.page-subtitle {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink-mid);
  max-width: 38rem;
  line-height: 1.45;
}

/* ====== SECTIONS ====== */
section { position: relative; z-index: 2; }
.section-pad {
  padding: 5rem 3rem 7rem;
  max-width: 1400px;
  margin: 0 auto;
}
.section-pad-narrow {
  padding: 5rem 3rem 7rem;
  max-width: 900px;
  margin: 0 auto;
}

/* ====== FOOTER ====== */
footer.site-footer {
  background: var(--cream-soft);
  padding: 4rem 3rem 2rem;
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 2;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}
.footer-brand .wordmark {
  font-size: 1.7rem;
  display: block;
  margin-bottom: 1rem;
}
.footer-brand .tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
  max-width: 24rem;
}
.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.footer-socials a {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}
.footer-socials a:hover {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.jma-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.jma-block img {
  height: 42px;
  width: auto;
  opacity: 0.85;
}
.jma-block .text {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  text-transform: uppercase;
  line-height: 1.5;
}
.jma-block .text strong {
  color: var(--forest);
  font-weight: 400;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--terracotta);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 0.65rem;
}
.footer-col ul a {
  color: var(--forest);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--terracotta); }

.compliance {
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.compliance-text {
  font-size: 0.72rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.compliance-text p { margin-bottom: 0.5rem; }
.compliance-marks {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: flex-end;
}
.eho-mark {
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink-mid);
  background: var(--cream-soft);
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.copyright {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  nav.site-nav { padding: 1.1rem 1.5rem; }
  .nav-links { display: none; }
  .page-header { padding: 7rem 1.5rem 3rem; }
  .section-pad, .section-pad-narrow { padding: 3rem 1.5rem 5rem; }
  footer.site-footer { padding: 3rem 1.5rem 2rem; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .compliance { grid-template-columns: 1fr; gap: 1.5rem; }
  .compliance-marks { justify-content: flex-start; }
  .copyright { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}
