/* Environmentrepreneurs — shared site stylesheet
   Design language preserved from the original single-page prototype (index.html):
   forest/lime/gold palette, Playfair Display + DM Sans, pill buttons,
   eco-card/service-card/why-item family, blurred-glass nav, auto-hiding social rail. */

:root {
  --forest: #1a3a2a;
  --moss: #2d5a3d;
  --leaf: #4a8c5c;
  --lime: #8bc34a;
  --earth: #a0522d;
  --sand: #f5f0e8;
  --cream: #faf7f2;
  --charcoal: #1c1c1c;
  --gold: #c8a951;

  /* Status-chip accents (Phase 1 §4.2) */
  --status-vision-bg: #fbf3df;
  --status-vision-text: #7c621b;
  --status-proposed-bg: #eaf5ec;
  --status-proposed-text: #3e774e;
  --status-exploration-bg: #eef3fb;
  --status-exploration-text: #35608c;
  --status-future-bg: #f2eef7;
  --status-future-text: #6b4f92;
  --status-reality-bg: var(--sand);
  --status-reality-text: var(--charcoal);
  --status-target-bg: #fdece3;
  --status-target-text: #a1481f;

  /* Fluid type scale, named per §5 so every page shares one scale */
  --step-hero: clamp(2.8rem, 6vw, 5rem);
  --step-h1: clamp(2.2rem, 4.6vw, 3.4rem);
  --step-h2: clamp(2rem, 4vw, 3rem);
  --step-h3: clamp(1.3rem, 2.2vw, 1.6rem);
  --step-banner: clamp(1.6rem, 3vw, 2.4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--charcoal); overflow-x: hidden; width: 100%; }

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

/* SKIP LINK */
.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: var(--forest); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: 0.5rem; text-decoration: none; font-weight: 600;
  z-index: 1000; transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* FOCUS VISIBLE */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--lime); outline-offset: 3px;
}

/* NAV */
nav.site-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(26, 58, 42, 0.97);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 4rem;
}
.logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--lime); letter-spacing: 1px; text-decoration: none; line-height: 1.2; display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.logo span { color: var(--gold); }
.logo-tagline { font-size: 0.55rem; letter-spacing: 2px; color: rgba(139, 195, 74, 0.5); text-transform: uppercase; display: block; font-family: 'DM Sans', sans-serif; font-weight: 400; margin-top: 1px; }
.logo-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; max-width: 100%; vertical-align: bottom; }
.logo-text { min-width: 0; overflow: hidden; }
.logo-wrap {
  width: 52px; height: 52px; flex-shrink: 0;
  background: radial-gradient(circle at center, rgba(139, 195, 74, 0.22) 0%, rgba(139, 195, 74, 0.05) 65%, transparent 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1.5px rgba(139, 195, 74, 0.3), 0 0 20px rgba(139, 195, 74, 0.18);
  animation: logoPulse 3s ease-in-out infinite;
  transition: box-shadow 0.3s, transform 0.3s;
  overflow: hidden;
}
.logo-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.logo:hover .logo-wrap { box-shadow: 0 0 0 2px rgba(139, 195, 74, 0.55), 0 0 32px rgba(139, 195, 74, 0.38); transform: scale(1.08); }
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 1.5px rgba(139, 195, 74, 0.28), 0 0 16px rgba(139, 195, 74, 0.15); }
  50% { box-shadow: 0 0 0 2.5px rgba(139, 195, 74, 0.45), 0 0 28px rgba(139, 195, 74, 0.30); }
}
@media (prefers-reduced-motion: reduce) { .logo-wrap { animation: none; } }

nav.site-nav ul { list-style: none; display: flex; align-items: center; gap: 2.2rem; }
nav.site-nav ul a { color: #cde8d4; text-decoration: none; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.5px; transition: color 0.3s; }
nav.site-nav ul a:hover { color: var(--lime); }
nav.site-nav ul li.current a:not(.nav-cta) { color: var(--lime); }
nav.site-nav .nav-cta { background: var(--lime); color: var(--forest); padding: 0.55rem 1.3rem; border-radius: 3rem; font-weight: 700; }
nav.site-nav .nav-cta:hover { background: #a4d65e; color: var(--forest); }
nav.site-nav ul li.current a.nav-cta { color: var(--forest); box-shadow: inset 0 0 0 2px var(--forest); }

/* Ecosystem dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.7em; }
.nav-dropdown .dropdown-menu {
  list-style: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: rgba(13, 31, 21, 0.98); border: 1px solid rgba(139, 195, 74, 0.2);
  border-radius: 0.75rem; padding: 0.5rem; min-width: 220px;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-menu li { width: 100%; }
.dropdown-menu a { display: block; padding: 0.6rem 0.9rem; border-radius: 0.5rem; white-space: nowrap; }
.dropdown-menu a:hover { background: rgba(139, 195, 74, 0.12); }

/* MOBILE / TABLET NAV TOGGLE */
.nav-toggle {
  display: none; width: 44px; height: 44px; flex-shrink: 0; margin-left: auto;
  border-radius: 50%; background: rgba(139, 195, 74, 0.12); border: 1.5px solid rgba(139, 195, 74, 0.35);
  flex-direction: column; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  box-shadow: 0 0 0 1.5px rgba(139, 195, 74, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-toggle:hover { background: rgba(139, 195, 74, 0.22); }
.nav-toggle .bar { display: block; width: 19px; height: 2px; background: var(--lime); border-radius: 2px; transition: transform 0.3s ease, opacity 0.25s ease; }
.nav-toggle .bar + .bar { margin-top: 5px; }
.nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  nav.site-nav { flex-wrap: nowrap; }
  .logo { flex-shrink: 1; overflow: hidden; }
  .logo-wrap { flex-shrink: 0; }
  .nav-toggle { display: flex; }
  nav.site-nav ul {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; width: 100%;
    background: rgba(13, 31, 21, 0.98); backdrop-filter: blur(10px);
    max-height: 0; opacity: 0; overflow: hidden; pointer-events: none;
    padding: 0 1.5rem; margin: 0; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
  }
  nav.site-nav ul.nav-open { max-height: 32rem; opacity: 1; pointer-events: auto; padding: 0.5rem 1.5rem 1.25rem; }
  nav.site-nav ul li { width: 100%; text-align: right; }
  nav.site-nav ul a { display: block; padding: 0.9rem 0; border-bottom: 1px solid rgba(139, 195, 74, 0.12); }
  nav.site-nav .nav-cta { display: inline-block; margin: 0.9rem 0; }
  .nav-dropdown .dropdown-menu,
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: rgba(139, 195, 74, 0.06); box-shadow: none; margin: 0 0 0.5rem;
    max-height: none; overflow: visible; pointer-events: auto; width: auto;
    display: none;
  }
  .nav-dropdown.dropdown-open .dropdown-menu,
  .nav-dropdown.dropdown-open:hover .dropdown-menu,
  .nav-dropdown.dropdown-open:focus-within .dropdown-menu {
    display: block;
  }
  .nav-dropdown > a::after { content: ' ▾'; }
}
@media (max-width: 480px) {
  nav.site-nav { padding: 0.85rem 1.1rem; }
  .logo { gap: 0.55rem; font-size: 1.05rem; }
  .logo-wrap { width: 42px; height: 42px; }
  .logo-tagline { display: none; }
  .nav-toggle { width: 40px; height: 40px; }
}
@media (min-width: 1025px) { nav.site-nav { padding: 1rem 4rem; } }
@media (max-width: 1024px) and (min-width: 769px) { nav.site-nav { padding: 1rem 2rem; } }
@media (max-width: 768px) { nav.site-nav { padding: 1rem 1.5rem; } }

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--forest) 0%, #0d2b1a 50%, #142b1e 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 8rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(139, 195, 74, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(200, 169, 81, 0.06) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; max-width: 860px; }
.hero-badge {
  display: inline-block; background: rgba(139, 195, 74, 0.15); border: 1px solid rgba(139, 195, 74, 0.3);
  color: var(--lime); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 0.4rem 1.2rem; border-radius: 2rem; margin-bottom: 1.5rem;
}
h1.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: var(--step-hero);
  font-weight: 900; line-height: 1.1;
  color: #fff; margin-bottom: 1.2rem;
}
h1.hero-title em { color: var(--lime); font-style: normal; }
.hero-tagline {
  font-size: 1.2rem; color: var(--gold); letter-spacing: 3px; text-transform: uppercase;
  font-weight: 300; margin-bottom: 1.8rem;
}
.hero-desc { font-size: 1.05rem; color: #9dc4aa; line-height: 1.9; max-width: 700px; margin: 0 auto 2.5rem; }
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--lime); color: var(--forest);
  padding: 0.85rem 2.2rem; border-radius: 3rem; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; transition: all 0.3s; letter-spacing: 0.5px; display: inline-block; border: none; cursor: pointer;
}
.btn-primary:hover { background: #a4d65e; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(139, 195, 74, 0.35); }
.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.3); color: #fff;
  padding: 0.85rem 2.2rem; border-radius: 3rem; font-weight: 500; font-size: 0.95rem;
  text-decoration: none; transition: all 0.3s; display: inline-block; background: transparent;
}
.btn-outline:hover { border-color: var(--lime); color: var(--lime); }

/* HONESTY STRIP (replaces old stats bar) */
.honesty-strip { background: var(--forest); padding: 2.5rem 4rem; }
.honesty-grid { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; }
.honesty-tile { text-align: center; max-width: 220px; }
.honesty-value { font-family: 'Playfair Display', serif; font-size: 1.7rem; color: var(--lime); font-weight: 700; line-height: 1.2; }
.honesty-label { font-size: 0.82rem; color: #9dc4aa; margin-top: 0.4rem; line-height: 1.5; }
.honesty-caption { text-align: center; font-size: 0.82rem; color: #7aaa8a; max-width: 640px; margin: 1.6rem auto 0; line-height: 1.7; }
.honesty-caption a { color: var(--lime); }

/* SECTIONS */
section { padding: 6rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; color: var(--leaf); font-weight: 500; margin-bottom: 0.8rem; }
h2.section-title { font-family: 'Playfair Display', serif; font-size: var(--step-h2); font-weight: 800; line-height: 1.2; color: var(--forest); margin-bottom: 1.2rem; }
h2.section-title span { color: var(--leaf); }
.section-sub { font-size: 1.05rem; color: #555; line-height: 1.8; max-width: 700px; margin-bottom: 3rem; }
.section-sub a { color: var(--leaf); }
section.on-dark h2.section-title { color: #fff; }
section.on-dark .section-sub { color: #9dc4aa; }
section.on-forest { background: var(--forest); color: #fff; }
section.on-deep { background: linear-gradient(135deg, #0d2b1a, var(--forest)); color: #fff; }
section.on-mist { background: #f0f5f1; }
section.on-cream { background: var(--cream); }
section.on-sand { background: var(--sand); }

.page-header { padding: 9.5rem 2rem 4rem; background: linear-gradient(135deg, var(--forest) 0%, #0d2b1a 100%); text-align: center; }
.page-header .section-label { color: var(--lime); }
.page-header h1 { font-family: 'Playfair Display', serif; font-size: var(--step-h1); font-weight: 800; color: #fff; line-height: 1.15; max-width: 900px; margin: 0 auto 1.2rem; }
.page-header p { color: #9dc4aa; font-size: 1.05rem; max-width: 760px; margin: 0 auto; line-height: 1.85; }

/* STATUS CHIPS (Phase 1 §4.2) */
.status-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 2rem; white-space: nowrap;
}
.status-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status-vision { background: var(--status-vision-bg); color: var(--status-vision-text); }
.status-proposed { background: var(--status-proposed-bg); color: var(--status-proposed-text); }
.status-exploration { background: var(--status-exploration-bg); color: var(--status-exploration-text); }
.status-future { background: var(--status-future-bg); color: var(--status-future-text); }
.status-reality { background: var(--status-reality-bg); color: var(--status-reality-text); }
.status-target { background: var(--status-target-bg); color: var(--status-target-text); }

/* ROUTING / ECO CARDS */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.eco-card {
  background: #fff; border-radius: 1.5rem; padding: 2rem 1.8rem;
  border: 1px solid #ddeedd; transition: all 0.3s; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.eco-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--gold));
  transform: scaleX(0); transition: transform 0.3s; transform-origin: left;
}
.eco-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1); }
.eco-card:hover::after { transform: scaleX(1); }
.eco-icon { width: 2.4rem; height: 2.4rem; color: var(--leaf); }
.eco-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--forest); }
.eco-card p { color: #666; font-size: 0.92rem; line-height: 1.7; flex-grow: 1; }
.eco-card .card-link { color: var(--leaf); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.eco-card .card-link:hover { text-decoration: underline; }
a.eco-card { text-decoration: none; }

/* SERVICE / PANEL CARDS */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card {
  background: #fff; border-radius: 1.5rem; padding: 2.5rem 2rem;
  border: 1px solid #ddeedd; transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--leaf));
  transform: scaleX(0); transition: transform 0.3s; transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); border-color: rgba(139, 195, 74, 0.45); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--forest); margin-bottom: 0.8rem; }
.service-card p { color: #666; font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.service-card .card-link { color: var(--leaf); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.service-card .card-link:hover { text-decoration: underline; }

/* WHY / STAGE ITEMS */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.why-item { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1.2rem; padding: 2rem; transition: background 0.3s; }
.why-item:hover { background: rgba(255, 255, 255, 0.1); }
.why-num { font-family: 'Playfair Display', serif; font-size: 3rem; color: rgba(139, 195, 74, 0.2); font-weight: 900; line-height: 1; margin-bottom: 0.6rem; }
.why-item h4 { color: var(--lime); font-size: 1rem; margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 1px; }
.why-item p { color: #9dc4aa; font-size: 0.95rem; line-height: 1.75; }
.why-item .status-chip { margin-bottom: 0.8rem; }

/* PATHWAY STEPS (Green Gold Initiative) */
.pathway { display: flex; flex-direction: column; gap: 1.2rem; counter-reset: pathway; }
.pathway-step {
  background: #fff; border: 1px solid #ddeedd; border-radius: 1.25rem;
  padding: 1.8rem 2rem; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1.2rem; align-items: start;
  position: relative; max-width: 100%;
}
.pathway-step .pathway-index {
  font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 800; color: var(--gold);
}
.pathway-step h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--forest); margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.pathway-step p { color: #555; font-size: 0.95rem; line-height: 1.75; }

/* CALLOUT (does-not-claim box) */
.callout-box { background: var(--sand); border: 1px solid #e3dbcb; border-radius: 1.25rem; padding: 2rem 2.2rem; }
.callout-box h3 { font-family: 'Playfair Display', serif; color: var(--forest); font-size: 1.2rem; margin-bottom: 1rem; }
.callout-box ul { padding-left: 1.2rem; color: #444; line-height: 1.9; font-size: 0.97rem; }

/* DIAGRAM */
.diagram-wrap { background: #fff; border: 1px solid #ddeedd; border-radius: 1.5rem; padding: 2rem; overflow-x: auto; }
.diagram-wrap svg { width: 100%; height: auto; min-width: 560px; }
.diagram-note { font-size: 0.85rem; color: #666; margin-top: 1rem; line-height: 1.7; }
.diagram-hint { display: none; }

/* STAKEHOLDER / CONTACT CARDS */
.contact-wrapper { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--forest); margin-bottom: 1rem; }
.contact-info p { color: #555; line-height: 1.85; margin-bottom: 1.5rem; }
.contact-box { background: #fff; border-radius: 1.5rem; padding: 2.5rem; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); text-align: center; }
.contact-box h4 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--forest); margin-bottom: 1rem; }
.contact-box p { color: #555; line-height: 1.8; margin-bottom: 1.5rem; }
.contact-email { font-size: 1.15rem; font-weight: 700; color: var(--forest); max-width: 100%; overflow-wrap: break-word; white-space: normal; padding: 0.85rem 1.4rem; border-radius: 1.5rem; }

/* FOOTER */
footer.site-footer { background: #0d1f15; color: #7aaa8a; text-align: center; padding: 3rem 2rem; font-size: 0.9rem; line-height: 2; }
.footer-logo-img { width: 58px; height: 58px; border-radius: 50%; display: block; margin: 0 auto 0.7rem; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(139, 195, 74, 0.35), 0 0 20px rgba(139, 195, 74, 0.15); }
footer.site-footer .footer-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--lime); margin-bottom: 0.5rem; }
footer.site-footer a { color: var(--lime); text-decoration: none; }
footer.site-footer nav { margin: 1rem 0; }
footer.site-footer nav a { color: #9dc4aa; margin: 0 0.6rem; font-size: 0.85rem; }
footer.site-footer nav a:hover { color: var(--lime); }
.footer-missions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 1rem 0; }
.fm-tag { background: rgba(139, 195, 74, 0.08); border: 1px solid rgba(139, 195, 74, 0.15); color: #4a7a5a; font-size: 0.75rem; padding: 0.25rem 0.8rem; border-radius: 2rem; }

/* POLYMATH360STUDIO SIGNATURE */
.p360-signature { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0 0; font-size: 0.72rem; letter-spacing: 0.03em; opacity: 0.6; transition: opacity 0.3s ease; width: 100%; justify-content: center; font-family: 'DM Sans', sans-serif; }
.p360-signature:hover { opacity: 0.95; }
.p360-dots { display: inline-flex; align-items: center; gap: 4px; }
.p360-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.p360-dot.saffron { background-color: #FF9933; }
.p360-dot.white { background-color: #E8E8E8; border: 1px solid rgba(255, 255, 255, 0.2); }
.p360-dot.green { background-color: #138808; }
.p360-link { color: #7aaa8a; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.25s ease, color 0.25s ease; }
.p360-link:hover { border-bottom-color: currentColor; color: var(--lime); }

/* FLOATING SOCIAL RAIL */
.social-rail { position: fixed; left: 1.1rem; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 0.7rem; transition: opacity 0.45s ease, transform 0.45s ease; }
.social-rail a { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(26, 58, 42, 0.92); border: 1px solid rgba(139, 195, 74, 0.25); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); text-decoration: none; transition: all 0.3s ease; }
.social-rail a svg { width: 19px; height: 19px; fill: #cde8d4; transition: fill 0.3s ease, transform 0.3s ease; }
.social-rail a:hover { background: var(--lime); border-color: var(--lime); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(139, 195, 74, 0.35); }
.social-rail a:hover svg { fill: var(--forest); transform: scale(1.08); }
@media (max-width: 768px) {
  .social-rail { left: 0.6rem; gap: 0.5rem; }
  .social-rail a { width: 36px; height: 36px; }
  .social-rail a svg { width: 16px; height: 16px; }
  .social-rail.rail-hidden { opacity: 0; transform: translateY(-50%) translateX(-70%); pointer-events: none; }
  .social-rail.rail-hidden::after { content: ''; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 5px; height: 46px; border-radius: 0 4px 4px 0; background: rgba(139, 195, 74, 0.35); }
}
@media (prefers-reduced-motion: reduce) { .social-rail { transition: none; } }

/* RESPONSIVE — sections/grids */
@media (max-width: 768px) {
  section { padding: 4.5rem 1.5rem; }
  .honesty-strip { padding: 2rem 1.5rem; }
  .honesty-grid { gap: 2rem; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-grid, .card-grid, .why-grid { grid-template-columns: 1fr; }
  .pathway-step { grid-template-columns: 2.2rem minmax(0, 1fr); padding: 1.4rem 1.3rem; }
  .status-chip { white-space: normal; }
  .diagram-hint {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.8rem; font-weight: 600; color: var(--leaf);
    margin-bottom: 0.75rem;
  }
  .diagram-hint::before { content: '↔'; font-size: 1rem; }
  .page-header { padding: 8rem 1.5rem 3rem; }
}

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(25px); transition: all 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
