/* ==========================================================================
   Prakheti, Design System
   Palette sourced from the Prakheti brand mark and social templates:
   forest green ring, terracotta "before/after" labels, sage accents,
   cream background. Keep new sections within these tokens.
   ========================================================================== */

:root {
  /* Palette */
  --cream: #faf5ea;
  --cream-deep: #f1e8d6;
  --forest: #1e7a3c;
  --forest-dark: #123d24;
  --forest-darker: #0d2b19;
  --sage: #a9bd82;
  --sage-light: #e7edda;
  --terracotta: #a35a34;
  --terracotta-dark: #7c4526;
  --charcoal: #232821;
  --charcoal-soft: #4a5245;
  --white: #ffffff;
  --line: rgba(35, 40, 33, 0.1);

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 45px -25px rgba(18, 61, 36, 0.35);
  --shadow-card: 0 12px 30px -18px rgba(18, 61, 36, 0.28);

  --header-h: 84px;
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest-darker);
  letter-spacing: -0.01em;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 108px 0;
}

.section--tight {
  padding: 84px 0;
}

.section--alt {
  background: var(--cream-deep);
}

.section--forest {
  background: linear-gradient(160deg, var(--forest-dark), var(--forest-darker));
  color: var(--sage-light);
}

.section--forest h2,
.section--forest h3 {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--terracotta);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--charcoal-soft);
  font-size: 1.05rem;
}

.section--forest .section-head p {
  color: rgba(231, 237, 218, 0.8);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  background: var(--forest-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--forest-darker);
  border: 1.5px solid var(--forest-darker);
}

.btn-outline:hover {
  background: var(--forest-darker);
  color: var(--white);
  transform: translateY(-2px);
}

.section--forest .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.section--forest .btn-outline:hover {
  background: var(--white);
  color: var(--forest-darker);
}

.btn-terracotta {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 14px 30px -16px rgba(124, 69, 38, 0.7);
}

.btn-terracotta:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 245, 234, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.is-scrolled {
  background: rgba(250, 245, 234, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(18, 61, 36, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest-darker);
}

.brand__tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__links {
  display: flex;
  gap: 34px;
}

.nav__links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--terracotta);
  transition: width 0.25s ease;
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  width: 100%;
}

.nav__links a.is-active {
  color: var(--forest);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__social {
  display: flex;
  gap: 12px;
}

.nav__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--forest-darker);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav__social a:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

.nav__social svg {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--forest-darker);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 96px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 82% 8%, rgba(169, 189, 130, 0.35), transparent),
    radial-gradient(ellipse 50% 45% at 6% 92%, rgba(30, 122, 60, 0.16), transparent),
    var(--cream);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__copy .eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--forest);
}

.hero p {
  font-size: 1.12rem;
  color: var(--charcoal-soft);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero__stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero__stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--forest-darker);
}

.hero__stats div span {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}

.hero__visual {
  position: relative;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.hero__blob--1 {
  width: 220px;
  height: 220px;
  background: var(--sage);
  opacity: 0.55;
  top: -40px;
  right: -30px;
}

.hero__blob--2 {
  width: 160px;
  height: 160px;
  background: var(--terracotta);
  opacity: 0.18;
  bottom: -30px;
  left: -40px;
}

.hero__badge {
  position: absolute;
  left: -30px;
  bottom: 34px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
}

.hero__badge .icon-circle {
  flex-shrink: 0;
}

.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--forest-darker);
}

.hero__badge span {
  font-size: 0.78rem;
  color: var(--charcoal-soft);
}

/* ---------- Icon circle ---------- */
.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle svg {
  width: 22px;
  height: 22px;
}

/* ---------- Marquee / partner strip ---------- */
.marquee-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  background: var(--white);
}

.marquee-wrap p.marquee-label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-bottom: 20px;
  font-weight: 600;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--forest-darker);
  opacity: 0.55;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Pillars (what we stand for) ---------- */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 260px;
  max-width: 320px;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.value-card .icon-circle {
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
}

/* ---------- Pull quote ---------- */
.pull-quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-style: italic;
  color: var(--forest-darker);
  line-height: 1.5;
  position: relative;
  padding: 0 20px;
}

.pull-quote span {
  display: block;
  margin-top: 18px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}

/* ---------- Community storytelling ---------- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.community-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.community-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.community-card__body {
  padding: 22px 24px;
}

.community-card__body p {
  color: var(--charcoal-soft);
  font-size: 0.94rem;
}

.community-card__body span {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}

/* ---------- Projects gallery ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 43, 25, 0.85) 0%, rgba(13, 43, 25, 0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--white);
}

.project-card__overlay .tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 6px;
  font-weight: 600;
}

.project-card__overlay h3 {
  color: var(--white);
  font-size: 1.15rem;
}

.projects-note {
  margin-top: 30px;
  text-align: center;
  color: var(--charcoal-soft);
  font-size: 0.92rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 43, 25, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px 20px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__content {
  max-width: 780px;
  width: 100%;
  text-align: center;
}

.lightbox__content img {
  border-radius: var(--radius-md);
  max-height: 72vh;
  width: 100%;
  object-fit: contain;
  background: var(--charcoal);
}

.lightbox__content h3 {
  color: var(--white);
  margin-top: 20px;
}

.lightbox__close {
  position: absolute;
  top: 28px;
  right: 34px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Media / press ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.media-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(231, 237, 218, 0.18);
  border-radius: var(--radius-md);
  padding: 30px;
}

.media-card .icon-circle {
  background: rgba(231, 237, 218, 0.14);
  color: var(--sage);
  margin-bottom: 18px;
}

.media-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.media-card p {
  font-size: 0.9rem;
  color: rgba(231, 237, 218, 0.75);
}

.media-card a.media-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage);
  border-bottom: 1px solid var(--sage);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--forest), var(--forest-dark));
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  max-width: 520px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
  max-width: 480px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--forest-darker);
  color: rgba(231, 237, 218, 0.75);
  padding: 80px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(231, 237, 218, 0.12);
}

.footer__brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.footer__brand img {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  background: var(--white);
}

.footer__brand span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
}

.footer p.tagline {
  font-size: 0.92rem;
  max-width: 260px;
  margin-bottom: 20px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul li a {
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer ul li a:hover {
  color: var(--sage);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(231, 237, 218, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer__social a:hover {
  background: var(--sage);
  color: var(--forest-darker);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.82rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 70px;
  background:
    radial-gradient(ellipse 55% 60% at 90% 0%, rgba(169, 189, 130, 0.3), transparent),
    var(--cream-deep);
  text-align: center;
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  max-width: 760px;
  margin: 0 auto 18px;
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--charcoal-soft);
  font-size: 1.05rem;
}

/* ---------- About page ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.story-copy p {
  color: var(--charcoal-soft);
  margin-bottom: 18px;
}

.approach-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
  margin-top: 20px;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.approach-step {
  text-align: center;
}

.approach-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  margin: 0 auto 14px;
}

.approach-step h4 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.approach-step p {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.founder-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.founder-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.founder-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.founder-card__body {
  padding: 30px;
}

.founder-card h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.founder-card .role {
  color: var(--terracotta);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: block;
}

.founder-card p.bio {
  color: var(--charcoal-soft);
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.founder-card__links {
  display: flex;
  gap: 12px;
}

.founder-card__links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.founder-card__links a:hover {
  background: var(--forest);
  color: var(--white);
}

.founder-card__links svg {
  width: 16px;
  height: 16px;
}

.timeline {
  border-left: 2px solid var(--line);
  margin-left: 10px;
  padding-left: 34px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -41.5px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--terracotta);
}

.timeline-item .year {
  font-family: var(--font-display);
  color: var(--forest);
  font-size: 1.1rem;
  margin-bottom: 6px;
  display: block;
}

.timeline-item p {
  color: var(--charcoal-soft);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-info-card {
  background: var(--forest-darker);
  color: rgba(231, 237, 218, 0.85);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 22px;
}

.contact-line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.contact-line .icon-circle {
  background: rgba(231, 237, 218, 0.12);
  color: var(--sage);
}

.contact-line strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.contact-line span, .contact-line a {
  font-size: 0.92rem;
}

.contact-info-card .footer__social {
  margin-top: 30px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--forest-darker);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--cream);
  color: var(--charcoal);
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--charcoal-soft);
  margin-top: 14px;
}

.form-success {
  display: none;
  background: var(--sage-light);
  color: var(--forest-darker);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.9rem;
  margin-top: 18px;
}

.form-success.is-visible {
  display: block;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 90;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(1, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .approach-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid img { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  :root { --header-h: 72px; }

  .nav__links, .nav__social { display: none; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 30px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    transform: translateY(-140%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .nav.is-open .nav__links a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open .nav__social {
    display: flex;
    margin-top: 16px;
  }

  .values-grid, .projects-grid, .community-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 28px; flex-direction: column; text-align: center; justify-content: center; }
  .approach-steps { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
}
