/* ═══════════════════════════════════════════════════════
   SUSTABLOOM INNOVATIONS — Global Stylesheet v2
   sustabloom.com
═══════════════════════════════════════════════════════ */

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

:root {
  --teal:        #0D7B6E;
  --teal-dark:   #0A5C52;
  --teal-deep:   #063D36;
  --teal-light:  #E6F4F1;
  --teal-mid:    #B2DDD7;
  --amber:       #D97706;
  --cream:       #F7F4EF;
  --slate:       #1A2B28;
  --gray:        #6B7B79;
  --gray-light:  #F1F5F9;
  --white:       #FFFFFF;
}

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

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

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

/* ── NAV — solid dark, always readable ──────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
  height: 66px;
  background: var(--teal-deep);
  border-bottom: 1px solid rgba(178,221,215,0.1);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--teal-mid); }

.nav-links {
  display: flex; align-items: center;
  gap: 2.5rem; list-style: none;
}
.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem; font-weight: 300;
  color: rgba(178,221,215,0.65);
  text-decoration: none;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--teal-mid);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-icons { display: flex; align-items: center; gap: 0.6rem; }
.nav-icon {
  display: flex; align-items: center; justify-content: center;
  width: 33px; height: 33px;
  border: 1px solid rgba(178,221,215,0.2);
  color: rgba(178,221,215,0.6);
  text-decoration: none; border-radius: 2px;
  transition: all 0.22s ease;
}
.nav-icon:hover { background: rgba(178,221,215,0.1); border-color: var(--teal-mid); color: var(--white); }
.nav-icon svg { width: 14px; height: 14px; fill: currentColor; }

/* ── PAGE HERO ───────────────────────────────────────── */
.page-hero {
  padding: 9rem 4rem 5rem;
  background: var(--teal-deep);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 72% 50%, rgba(13,123,110,0.22) 0%, transparent 68%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }

.page-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.63rem; color: rgba(178,221,215,0.6);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.page-eyebrow::before { content: ''; width: 22px; height: 1px; background: rgba(178,221,215,0.4); }

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4.2vw, 4.5rem);
  font-weight: 300; color: var(--white); line-height: 1.08;
}
.page-title em { font-style: italic; color: var(--teal-mid); }

/* ── SECTIONS ────────────────────────────────────────── */
section { padding: 6rem 4rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.63rem; color: var(--amber);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--amber); }
.section-label.light { color: var(--teal-mid); }
.section-label.light::before { background: var(--teal-mid); }
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-weight: 300; line-height: 1.12;
  color: var(--teal-deep); margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--teal-mid); }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  background: var(--teal); color: var(--white);
  padding: 0.86rem 2rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.67rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: all 0.24s ease; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-outline {
  border: 1px solid var(--teal-mid); color: var(--teal);
  padding: 0.86rem 2rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.67rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: all 0.24s ease;
}
.btn-outline:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-outline.light { border-color: rgba(178,221,215,0.3); color: var(--teal-mid); }
.btn-outline.light:hover { background: rgba(178,221,215,0.1); color: var(--white); }

.btn-ghost {
  color: var(--teal);
  font-family: 'DM Mono', monospace;
  font-size: 0.67rem; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: gap 0.24s, color 0.24s;
}
.btn-ghost:hover { gap: 0.9rem; color: var(--teal-dark); }

/* ── CTA BAND ────────────────────────────────────────── */
.cta-band { background: var(--teal-dark); padding: 5rem 4rem; text-align: center; }
.cta-band .section-title { color: var(--white); margin-bottom: 1.5rem; }
.cta-band .section-title em { color: rgba(255,255,255,0.6); }
.cta-band p { font-size: 1rem; color: rgba(255,255,255,0.62); max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.85; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────────── */
footer { background: var(--teal-deep); padding: 3rem 4rem 2rem; border-top: 1px solid rgba(178,221,215,0.07); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(178,221,215,0.07); margin-bottom: 2rem; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 400; color: var(--white); margin-bottom: 0.4rem; }
.footer-tagline { font-family: 'DM Mono', monospace; font-size: 0.56rem; color: rgba(178,221,215,0.3); letter-spacing: 0.08em; text-transform: uppercase; }
.footer-nav { display: flex; gap: 3.5rem; }
.footer-col h4 { font-family: 'DM Mono', monospace; font-size: 0.56rem; color: var(--teal-mid); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; opacity: 0.65; }
.footer-col a { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.3); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; font-weight: 300; }
.footer-col a:hover { color: rgba(255,255,255,0.65); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-family: 'DM Mono', monospace; font-size: 0.56rem; color: rgba(178,221,215,0.2); letter-spacing: 0.06em; }
.footer-icons { display: flex; gap: 0.6rem; }
.footer-icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid rgba(178,221,215,0.1); color: rgba(178,221,215,0.3); text-decoration: none; transition: all 0.2s; border-radius: 2px; }
.footer-icon:hover { border-color: var(--teal-mid); color: var(--teal-mid); }
.footer-icon svg { width: 12px; height: 12px; fill: currentColor; }
/* Footer legal links — append to existing style.css */
.footer-legal { display: flex; gap: 1.5rem; align-items: center; }
.footer-legal a { font-family: 'DM Mono', monospace; font-size: 0.56rem; color: rgba(178,221,215,0.35); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(178,221,215,0.7); }

/* ── ANIMATIONS ──────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.5rem; }
  .page-hero { padding: 7rem 1.5rem 3.5rem; }
  footer { padding: 2.5rem 1.5rem 1.5rem; }
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-nav { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .cta-band { padding: 3.5rem 1.5rem; }
}
