/* LangSyn Foundation v0.8 — dark + organic earth tones with natural greens and "Truth & Trust" focus */

:root {
  --bg-start: #0b0a08;
  --bg-end: #1f1b13;
  --panel-dark: #15110d;
  --panel-alt: #221c13;
  --text-main: #f7f3e5;
  --text-soft: #d6cfbf;
  --accent-gold: #f4d35e;
  --accent-green: #88b978;
  --accent-clay: #c75b39;
  --accent-red: #e4664a;
  --max-width: 1040px;
  --font-serif: Georgia, "Times New Roman", serif;
}

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

body {
  margin: 0;
  font-family: var(--font-serif);
  background: radial-gradient(circle at 10% 0%, #272015 0%, var(--bg-start) 40%, var(--bg-end) 100%);
  color: var(--text-main);
  line-height: 1.7;
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 70%, rgba(136,185,120,0.13), transparent 70%),
    radial-gradient(circle at 80% 20%, rgba(244,211,94,0.18), transparent 75%),
    radial-gradient(circle at 50% 10%, rgba(199,91,57,0.12), transparent 70%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 9, 7, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244,211,94,0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  font-size: 1.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(244,211,94,0.3);
  color: var(--accent-gold);
  background: radial-gradient(circle at 20% 0%, rgba(244,211,94,0.35), rgba(11,9,7,0.9));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.86rem;
}

.nav-main a {
  color: var(--text-soft);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 999px;
  transition: width 0.16s ease-out;
}

.nav-main a:hover::after,
.nav-main a:focus-visible::after {
  width: 100%;
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(to bottom, rgba(244,211,94,0.09), transparent 80%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3.3vw, 2.9rem);
  line-height: 1.25;
  color: var(--accent-gold);
  margin: 0 0 1rem;
}

.lead {
  color: var(--text-soft);
  font-size: 1.12rem;
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-green));
  color: #241d12;
  box-shadow: 0 12px 26px rgba(0,0,0,0.7);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.85);
}

.btn.ghost {
  border-color: rgba(244,211,94,0.4);
  color: var(--text-main);
  background: rgba(20, 16, 10, 0.8);
}

.btn.ghost:hover {
  background: rgba(27, 21, 13, 0.95);
}

.hero-motif {
  display: flex;
  justify-content: center;
}

.seed-motif {
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,0.8));
  opacity: 0.95;
}

/* Sections */

.section {
  padding: 3.5rem 0;
  background: rgba(9, 7, 5, 0.92);
}

.section-alt {
  background: radial-gradient(circle at 80% 0%, rgba(136,185,120,0.12), rgba(9,7,5,0.96));
}

.section h2 {
  font-size: 1.7rem;
  margin: 0 0 0.7rem;
  color: var(--accent-gold);
}

.section p {
  font-size: 1.04rem;
  color: var(--text-soft);
}

/* Why section */

.why {
  background: rgba(13, 10, 7, 0.96);
}

.why-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.why-card {
  background: var(--panel-dark);
  border-radius: 18px;
  padding: 1.3rem 1.3rem 1.4rem;
  border: 1px solid rgba(244,211,94,0.16);
  box-shadow: 0 14px 30px rgba(0,0,0,0.75);
}

.why-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.18rem;
}

.why-card p {
  font-size: 0.98rem;
  margin-bottom: 0.8rem;
}

.why-motifs {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.why-motif {
  display: flex;
  justify-content: center;
}

.spiral-motif,
.shield-motif {
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 16px 36px rgba(0,0,0,0.85));
}

/* Paths */

.paths-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.path-card {
  background: var(--panel-dark);
  border-radius: 18px;
  padding: 1.3rem 1.3rem 1.4rem;
  border: 1px solid rgba(244,211,94,0.14);
  box-shadow: 0 14px 30px rgba(0,0,0,0.7);
}

.path-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.path-card p {
  font-size: 0.98rem;
  margin-bottom: 0.8rem;
}

.path-understanding {
  border-left: 4px solid var(--accent-gold);
}

.path-stewardship {
  border-left: 4px solid var(--accent-green);
}

.path-openness {
  border-left: 4px solid var(--accent-clay);
}

.path-harmony {
  border-left: 4px solid var(--accent-red);
}

.card-link {
  font-size: 0.92rem;
  color: var(--accent-gold);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* Ecology */

.ecology {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: center;
}

.ecology-text h2 {
  margin-bottom: 0.7rem;
}

.ecology-text p {
  margin-bottom: 0.9rem;
}

.ecology-text em {
  font-style: italic;
  color: var(--accent-gold);
}

.ecology-link a {
  color: var(--accent-green);
  text-decoration: none;
}

.ecology-link a:hover {
  text-decoration: underline;
}

.ecology-domains a {
  color: var(--accent-gold);
  text-decoration: none;
}

.ecology-domains a:hover {
  text-decoration: underline;
}

.ecology-motif {
  display: flex;
  justify-content: center;
}

.leaf-motif {
  width: 220px;
  height: 220px;
  filter: drop-shadow(0 16px 36px rgba(0,0,0,0.8));
}

/* Footer */

.site-footer {
  background: #050403;
  border-top: 1px solid rgba(244,211,94,0.18);
  padding: 1.8rem 0 2rem;
  text-align: center;
}

.footer-inner {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.footer-inner p {
  margin: 0.2rem 0;
}

/* Responsive */

@media (max-width: 960px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.2rem;
  }

  .paths-grid,
  .ecology {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-motif {
    order: -1;
    margin-bottom: 1.2rem;
  }

  .nav-main {
    display: none;
  }
}
