/* ============================================================
   Talking Leaves NC, LLC
   Shared stylesheet — used by index.html and privacy.html
   Plain CSS, no frameworks, no JavaScript.

   Fonts are self-hosted (no external/Google requests).
   See fonts/Jost-OFL.txt and fonts/OpenSans-LICENSE.txt.
   ============================================================ */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/OpenSans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("fonts/Jost-latin.woff2") format("woff2");
}

:root {
  --green:        #007d52;   /* logo accent, section headings */
  --green-deep:   #007750;   /* quote band */
  --teal:         #1aadcc;   /* statement band, buttons, accents */
  --teal-dark:    #1597b4;
  --ink:          #4f4a47;   /* hero + dark headings */
  --ink-soft:     #5d5854;   /* body copy */
  --ink-faint:    #837e79;   /* eyebrows, meta, muted */
  --line:         #e4e1dd;
  --bg:           #ffffff;
  --bg-alt:       #f6f4f3;   /* tinted section background */

  --maxw: 1180px;
  --pad: 32px;

  --sans: "Open Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-soft);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-faint);
  margin: 0 0 48px;
}

.heading-green {
  color: var(--green);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

/* ---------- buttons / pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 4px;
  line-height: 1;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--teal-dark); text-decoration: none; transform: translateY(-1px); }
.btn .arr { font-size: 0.9em; line-height: 1; }

.linkedin-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 30px;
  border-radius: 5px;
  line-height: 1;
}
.linkedin-pill:hover { background: var(--teal-dark); text-decoration: none; }
.linkedin-pill u { text-underline-offset: 3px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { background: #fff; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo:hover { text-decoration: none; }
.logo-img { height: 42px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
}
.main-nav a:hover { color: var(--green); text-decoration: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.hero__art {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 70%;
  object-fit: cover;
  object-position: right center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%);
          mask-image: linear-gradient(to right, transparent 0%, #000 38%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 110px;
}
.hero h1 {
  margin: 0;
  font-family: "Jost", "Century Gothic", var(--sans);
  font-size: clamp(2.7rem, 7.2vw, 5.6rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.08;
  color: var(--ink);
  text-transform: uppercase;
  max-width: 15ch;
}

/* ============================================================
   FRAMEWORK HIGHLIGHTS
   ============================================================ */
.intro { max-width: 880px; }
.intro .heading-green { max-width: 20ch; }
.intro .lead {
  color: var(--ink-faint);
  font-weight: 600;
  font-size: 1.12rem;
  margin: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 64px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}
.feature__icon { width: 60px; height: 60px; margin-bottom: 22px; }
.feature h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.feature p { margin: 0; font-size: 0.97rem; color: var(--ink-faint); }

/* ============================================================
   STATEMENT BAND (teal)
   ============================================================ */
.statement {
  position: relative;
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 104px 0;
  overflow: hidden;
}
.statement__bg {
  position: absolute; inset: 0;
  background: url("images/network.jpg") center / cover no-repeat;
  opacity: 0.12;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.statement p {
  position: relative;
  margin: 0 auto;
  max-width: 980px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.45;
}

/* ============================================================
   OUR TEAM
   ============================================================ */
.member-lead {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}
.member-name {
  color: var(--green);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.member-role { font-weight: 700; color: var(--ink); font-size: 0.95rem; margin: 0 0 28px; }

.bio {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0 4px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.bio:last-child { border-bottom: 1px solid var(--line); }
.bio .chev { color: var(--teal); font-weight: 800; font-size: 1rem; letter-spacing: -2px; line-height: 1.7; }
.bio__body h4 { font-size: 0.97rem; margin: 0 0 8px; color: var(--ink); }
.bio__body p { font-size: 0.97rem; color: var(--ink-soft); }

.member-aside { text-align: center; position: sticky; top: 24px; }
.member-lead--next { margin-top: 84px; padding-top: 84px; border-top: 1px solid var(--line); }
.avatar {
  width: 220px; height: 220px;
  margin: 0 auto 24px;
}
.avatar img { width: 100%; height: 100%; display: block; object-fit: contain; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { text-align: center; }
.contact .heading-green { max-width: 22ch; margin: 0 auto 36px; }

/* ============================================================
   QUOTE BAND (green)
   ============================================================ */
.quote-band {
  position: relative;
  background: var(--green-deep);
  color: #fff;
  text-align: center;
  padding: 96px 0;
  overflow: hidden;
}
.quote-band__bg {
  position: absolute; inset: 0;
  background: url("images/network.jpg") center / cover no-repeat;
  opacity: 0.10;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.quote-band__inner { position: relative; }
.quote-band blockquote {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(1.5rem, 3.1vw, 2.15rem);
  font-weight: 400;
  line-height: 1.4;
}
.quote-band cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #fff; padding: 64px 0 56px; }
.footer-top {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}
.footer-logo-img { height: 38px; width: auto; }
.footer-logo { display: flex; align-items: center; gap: 11px; }

.footer-copy { text-align: center; line-height: 1.6; }
.footer-copy strong { color: var(--ink); font-weight: 700; }
.footer-copy span { display: block; color: var(--ink-faint); font-size: 0.95rem; }

.footer-legal {
  margin-top: 44px;
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.footer-legal .disclaimer {
  max-width: 760px; margin: 0 auto 16px;
  font-size: 0.85rem; color: var(--ink-faint); line-height: 1.6;
}
.footer-legal .meta {
  font-size: 0.85rem; color: var(--ink-faint);
}
.footer-legal .meta a {
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 0.78rem;
}
.footer-legal .meta a:hover { color: var(--green); }
.footer-legal .sep { margin: 0 10px; color: var(--line); }

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.page-head {
  background: var(--bg-alt);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.page-head .updated { color: var(--ink-faint); font-size: 0.95rem; margin: 0; }

.doc { max-width: 760px; padding-top: 72px; padding-bottom: 90px; }
.disclaimer-box {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  padding: 22px 26px;
  margin-bottom: 44px;
}
.disclaimer-box p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-faint);
  margin: 0;
}
.disclaimer-box p + p { margin-top: 0.75em; }
.doc h2 {
  color: var(--green);
  font-weight: 400;
  font-size: 1.45rem;
  margin: 44px 0 16px;
  letter-spacing: -0.01em;
}
.doc h2:first-child { margin-top: 0; }
.doc p { color: var(--ink-soft); font-size: 1rem; }
.doc a { font-weight: 600; }
.doc code {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 0.88em;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.1em 0.4em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --pad: 24px; }
  .section { padding: 64px 0; }

  .main-nav ul { gap: 22px; }
  .main-nav a { font-size: 0.7rem; letter-spacing: 0.1em; }

  .hero__art { width: 100%; opacity: 0.5; -webkit-mask-image: none; mask-image: none; }
  .hero__inner { padding-top: 72px; padding-bottom: 84px; }

  .features { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; padding-top: 40px; }

  .member-lead { grid-template-columns: 1fr; gap: 36px; }
  .member-aside { order: -1; position: static; }
  .avatar { width: 180px; height: 180px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; text-align: center; justify-items: center; }
}

@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; gap: 16px; align-items: flex-start; }
  .main-nav ul { flex-wrap: wrap; gap: 16px 22px; }
  .hero h1 { max-width: none; }
  .statement, .quote-band { padding: 72px 0; }
  .footer-legal .sep { display: inline-block; }
}

@media (max-width: 420px) {
  .footer-legal .meta .sep { display: block; height: 4px; overflow: hidden; color: transparent; }
}
