/* ==========================================================================
   Verdara Agritech — design system
   Mirrors the React/Tailwind token set (OKLCH) in plain CSS.
   ========================================================================== */

:root {
  --radius: 0.9rem;
  --background: oklch(0.985 0.008 140);
  --foreground: oklch(0.22 0.035 155);
  --card: oklch(1 0 0);
  --primary: oklch(0.55 0.145 152);
  --primary-foreground: oklch(0.99 0.01 140);
  --secondary: oklch(0.94 0.028 150);
  --muted: oklch(0.95 0.015 150);
  --muted-foreground: oklch(0.5 0.03 155);
  --accent: oklch(0.72 0.16 165);
  --gold: oklch(0.79 0.13 85);
  --earth: oklch(0.52 0.07 65);
  --border: oklch(0.9 0.02 150);
  --input: oklch(0.9 0.02 150);
  --glass: oklch(1 0 0 / 65%);
  --glass-border: oklch(1 0 0 / 55%);

  --gradient-hero: linear-gradient(
    135deg,
    oklch(0.28 0.07 158 / 0.92),
    oklch(0.18 0.05 165 / 0.72) 45%,
    oklch(0.35 0.09 120 / 0.6)
  );
  --gradient-primary: linear-gradient(120deg, oklch(0.45 0.13 158), oklch(0.72 0.16 165));
  --gradient-gold: linear-gradient(120deg, oklch(0.79 0.13 85), oklch(0.88 0.1 105));
  --gradient-soft: linear-gradient(180deg, oklch(0.985 0.008 140), oklch(0.95 0.028 155));
  --shadow-soft: 0 18px 50px -22px oklch(0.35 0.09 155 / 0.45);
  --shadow-glow: 0 0 60px -10px oklch(0.72 0.16 165 / 0.45);
  --shadow-neu: 8px 8px 24px oklch(0.85 0.03 150 / 0.5), -8px -8px 24px oklch(1 0 0 / 0.9);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --shell: 80rem;
}

html.dark {
  --background: oklch(0.17 0.028 165);
  --foreground: oklch(0.96 0.012 145);
  --card: oklch(0.22 0.032 165);
  --primary: oklch(0.72 0.16 165);
  --primary-foreground: oklch(0.16 0.03 165);
  --secondary: oklch(0.27 0.04 165);
  --muted: oklch(0.26 0.035 165);
  --muted-foreground: oklch(0.72 0.025 150);
  --accent: oklch(0.78 0.15 160);
  --gold: oklch(0.82 0.13 85);
  --earth: oklch(0.62 0.08 65);
  --border: oklch(1 0 0 / 12%);
  --input: oklch(1 0 0 / 16%);
  --glass: oklch(0.22 0.032 165 / 60%);
  --glass-border: oklch(1 0 0 / 12%);
  --gradient-soft: linear-gradient(180deg, oklch(0.17 0.028 165), oklch(0.21 0.035 168));
  --shadow-neu: 8px 8px 24px oklch(0.12 0.02 165 / 0.7), -8px -8px 24px oklch(0.28 0.04 165 / 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

/* ---------- utilities ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 6rem;
  position: relative;
}

@media (min-width: 640px) {
  .section {
    padding-block: 8rem;
  }
}

.section--soft {
  background-image: var(--gradient-soft);
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gold {
  color: var(--gold);
}

.muted {
  color: var(--muted-foreground);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 0.9rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
}

.btn--primary {
  background-image: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}

.btn--glass {
  background: var(--glass);
  backdrop-filter: blur(18px);
  border-color: var(--glass-border);
  color: var(--primary-foreground);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--foreground);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon--sm {
  width: 1rem;
  height: 1rem;
}

/* ---------- reveal + counters ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- ambience ---------- */

.ambience {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.ambience__leaf {
  position: absolute;
  top: -10vh;
  color: oklch(0.88 0.1 140 / 0.55);
  animation: leaf-fall linear infinite;
}

.ambience__particle {
  position: absolute;
  bottom: -10vh;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: oklch(0.9 0.09 150 / 0.6);
  animation: drift linear infinite;
}

@keyframes leaf-fall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  50% {
    transform: translate3d(40px, 45vh, 0) rotate(180deg);
  }
  100% {
    transform: translate3d(-30px, 105vh, 0) rotate(360deg);
    opacity: 0;
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  20% {
    opacity: 0.6;
  }
  100% {
    transform: translate3d(0, -120vh, 0);
    opacity: 0;
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.9;
  }
}

.float-soft {
  animation: float-soft 6s ease-in-out infinite;
}

.glow-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(130px);
  animation: pulse-glow 5s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- navbar ---------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding: 0.75rem;
}

@media (min-width: 640px) {
  .site-header {
    padding: 1.25rem;
  }
}

.nav {
  max-width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  padding: 0.75rem 1rem;
  transition: all 0.5s ease;
}

.site-header.is-scrolled .nav {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-color: var(--glass-border);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-image: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
  color: var(--primary-foreground);
  flex: none;
}

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-foreground);
}

.brand__tag {
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.7);
}

.brand__logo img {
  max-height: 44px;
  width: auto;
}

.site-header.is-scrolled .brand__name {
  color: var(--foreground);
}

.site-header.is-scrolled .brand__tag {
  color: var(--muted-foreground);
}

.nav__menu {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1180px) {
  .nav__menu {
    display: flex;
  }
}

.nav__menu a {
  position: relative;
  display: block;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(1 0 0 / 0.8);
  transition: color 0.3s ease;
}

.site-header.is-scrolled .nav__menu a {
  color: var(--muted-foreground);
}

.nav__menu a::after {
  content: "";
  position: absolute;
  inset-inline: 0.75rem;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background-image: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav__menu a:hover,
.nav__menu .is-active > a,
.nav__menu .current-menu-item > a {
  color: var(--primary-foreground);
}

.site-header.is-scrolled .nav__menu a:hover,
.site-header.is-scrolled .nav__menu .is-active > a,
.site-header.is-scrolled .nav__menu .current-menu-item > a {
  color: var(--foreground);
}

.nav__menu .is-active > a::after,
.nav__menu .current-menu-item > a::after {
  transform: scaleX(1);
}

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1180px) {
  .nav__actions {
    margin-left: 0;
  }
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: 0.75rem;
  border: 1px solid oklch(1 0 0 / 0.25);
  background: transparent;
  color: var(--primary-foreground);
  transition: background-color 0.3s ease;
}

.site-header.is-scrolled .icon-btn {
  border-color: var(--border);
  color: var(--foreground);
}

.icon-btn:hover {
  background: oklch(1 0 0 / 0.12);
}

.nav__cta {
  display: none;
  padding: 0.65rem 1.25rem;
}

@media (min-width: 640px) {
  .nav__cta {
    display: inline-flex;
  }
}

.nav__toggle {
  display: grid;
}

@media (min-width: 1180px) {
  .nav__toggle {
    display: none;
  }
}

.nav__mobile {
  max-width: var(--shell);
  margin: 0.5rem auto 0;
  border-radius: 1rem;
  padding: 0.75rem;
}

.nav__mobile[hidden] {
  display: none;
}

.nav__mobile ul {
  display: grid;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .nav__mobile ul {
    grid-template-columns: 1fr 1fr;
  }
}

.nav__mobile a {
  display: block;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.nav__mobile a:hover,
.nav__mobile .is-active > a {
  background: var(--secondary);
  color: var(--foreground);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background-image: var(--gradient-hero);
}

.hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 8rem;
  padding-bottom: 10rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-foreground);
}

.hero h1 {
  margin-top: 1.5rem;
  max-width: 48rem;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--primary-foreground);
}

.hero h1 .gold {
  background-image: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  color: oklch(1 0 0 / 0.82);
}

.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stats {
  margin-top: 4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  border-radius: 1rem;
  padding: 1.25rem;
}

.stat__value {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
}

.stat__label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.7);
}

.wave {
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.wave svg {
  display: block;
  width: 100%;
  height: 70px;
}

@media (min-width: 768px) {
  .wave svg {
    height: 110px;
  }
}

.wave--bottom {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 10;
  color: var(--background);
}

.wave--flip svg {
  transform: rotate(180deg);
}

/* ---------- section heading ---------- */

.heading {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.heading--left {
  margin-inline: 0;
  text-align: left;
}

.heading__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--secondary) 60%, transparent);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}

.heading h2 {
  margin-top: 1.25rem;
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  font-weight: 700;
}

.heading p {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

.section--invert .heading__eyebrow {
  border-color: oklch(1 0 0 / 0.2);
  background: oklch(1 0 0 / 0.1);
  color: var(--primary-foreground);
}

.section--invert .heading h2,
.section--invert h3 {
  color: var(--primary-foreground);
}

.section--invert .heading p {
  color: oklch(1 0 0 / 0.75);
}

/* ---------- generic cards & grids ---------- */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3,
.grid--4,
.grid--5 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4,
  .grid--5 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .grid--5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in oklab, var(--primary) 40%, transparent);
  box-shadow: var(--shadow-soft);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-image: var(--gradient-primary);
  color: var(--primary-foreground);
  transition: transform 0.4s ease;
}

.card:hover .card__icon {
  transform: scale(1.1) rotate(6deg);
}

.card h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.card__link {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* ---------- about ---------- */

.split {
  margin-top: 4rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.about__figure {
  position: relative;
}

.about__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.about__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -0.5rem;
  border-radius: 1rem;
  padding: 1.25rem;
}

.about__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--primary);
}

.about__badge span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.checklist {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .checklist {
    grid-template-columns: 1fr 1fr;
  }
}

.checklist li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.checklist svg {
  color: var(--primary);
  margin-top: 2px;
}

.timeline {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .timeline {
    grid-template-columns: repeat(5, 1fr);
  }
}

.timeline li > div {
  position: relative;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.25rem;
}

.timeline .year {
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  border-radius: 999px;
  background-image: var(--gradient-primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.timeline p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- filters ---------- */

.filters {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.filter {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
}

.filter:hover {
  color: var(--foreground);
  border-color: color-mix(in oklab, var(--primary) 40%, transparent);
}

.filter.is-active {
  background-image: var(--gradient-primary);
  border-color: transparent;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}

.is-hidden {
  display: none !important;
}

/* ---------- products ---------- */

.product {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.product__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product:hover .product__media img {
  transform: scale(1.1);
}

.product__quick {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.4s ease;
}

.product:hover .product__quick,
.product:focus-within .product__quick {
  opacity: 1;
  transform: none;
}

.product__body {
  padding: 1.25rem;
}

.product__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.product__body h3 {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.product__body p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- modal + lightbox ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: color-mix(in oklab, var(--foreground) 85%, transparent);
  backdrop-filter: blur(6px);
}

.overlay[hidden] {
  display: none;
}

.overlay__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--background);
  color: var(--foreground);
}

.modal {
  width: min(32rem, 100%);
  border-radius: 1.25rem;
  background: var(--card);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.modal img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.75rem;
}

.modal h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
}

.modal__meta {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.modal__note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.lightbox img {
  max-height: 85vh;
  max-width: 100%;
  width: auto;
  border-radius: 1rem;
  object-fit: contain;
}

/* ---------- sustainability ---------- */

.section--invert {
  position: relative;
  overflow: hidden;
  background: color-mix(in oklab, var(--primary) 95%, black);
  color: var(--primary-foreground);
  padding-block: 0;
}

.section--invert .shell {
  position: relative;
  z-index: 2;
  padding-block: 5rem;
}

.section--invert .glass {
  color: var(--primary-foreground);
}

.section--invert .glass p {
  color: oklch(1 0 0 / 0.75);
}

.sustain__img {
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: var(--shadow-glow);
}

.metric {
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.metric strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}

.metric span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.7);
}

/* ---------- projects ---------- */

.project {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
}

.project img {
  aspect-ratio: 16 / 11;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project:hover img {
  transform: scale(1.05);
}

.project__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    color-mix(in oklab, var(--foreground) 85%, transparent),
    color-mix(in oklab, var(--foreground) 25%, transparent) 45%,
    transparent
  );
}

.project__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
  color: var(--background);
}

.project__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: oklch(1 0 0 / 0.8);
}

.project__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.project__body h3 {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: oklch(1 0 0 / 0.98);
}

.project__body p {
  margin-top: 0.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.875rem;
  color: oklch(1 0 0 / 0.85);
  transition: all 0.5s ease;
}

.project:hover p {
  max-height: 8rem;
  opacity: 1;
}

/* ---------- gallery ---------- */

.masonry {
  margin-top: 3rem;
  display: grid;
  grid-auto-rows: 200px;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 1024px) {
  .masonry {
    grid-template-columns: repeat(4, 1fr);
  }
}

.masonry .tall {
  grid-row: span 2;
}

.tile {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 1rem;
  background: none;
}

.tile img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.tile:hover img {
  transform: scale(1.1);
}

.tile__cat {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--foreground);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tile:hover .tile__cat {
  opacity: 1;
}

/* ---------- team + testimonials ---------- */

.member {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--card);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.member__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.member__media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.member:hover .member__media img {
  transform: scale(1.1);
}

.member__social {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(to top, color-mix(in oklab, var(--foreground) 80%, transparent), transparent);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.member:hover .member__social {
  transform: none;
}

.member__social span {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  color: var(--background);
}

.member__body {
  padding: 1.25rem;
}

.member__body h3 {
  font-size: 1rem;
  font-weight: 600;
}

.member__role {
  font-size: 0.875rem;
  color: var(--primary);
}

.member__body p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.quote {
  height: 100%;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow-neu);
}

.quote__mark {
  width: 2rem;
  height: 2rem;
  color: color-mix(in oklab, var(--primary) 25%, transparent);
}

.stars {
  margin-top: 0.75rem;
  display: flex;
  gap: 2px;
  color: var(--gold);
}

.stars svg {
  fill: currentColor;
  width: 1rem;
  height: 1rem;
}

.quote blockquote {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.quote figcaption {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quote figcaption img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  object-fit: cover;
}

.quote figcaption b {
  display: block;
  font-size: 0.875rem;
}

.quote figcaption small {
  color: var(--muted-foreground);
}

/* ---------- posts ---------- */

.post-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--card);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.post-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.post-card__media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.1);
}

.post-card__body {
  padding: 1.5rem;
}

.post-card__meta {
  display: flex;
  gap: 0.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.post-card__meta .cat {
  color: var(--primary);
}

.post-card__meta .date {
  color: var(--muted-foreground);
}

.post-card__body h3 {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.post-card:hover h3 {
  color: var(--primary);
}

.post-card__author {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- accordion (FAQ) ---------- */

.faq-grid {
  margin-top: 6rem;
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.accordion__item {
  border-bottom: 1px solid var(--border);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: 0;
  padding: 1.125rem 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.accordion__trigger svg {
  transition: transform 0.3s ease;
}

.accordion__trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.accordion__panel {
  padding-bottom: 1.125rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.accordion__panel[hidden] {
  display: none;
}

/* ---------- contact ---------- */

.contact-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.info-item {
  display: flex;
  gap: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.1rem 1.25rem;
}

.info-item + .info-item {
  margin-top: 0.75rem;
}

.info-item svg {
  color: var(--primary);
  margin-top: 3px;
}

.info-item b {
  display: block;
  font-size: 0.9rem;
}

.info-item span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.map {
  margin-top: 1rem;
  width: 100%;
  height: 260px;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  filter: saturate(0.9);
}

.form {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.form__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: block;
  margin-bottom: 1rem;
}

.field > span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--input);
  border-radius: 0.75rem;
  background: var(--background);
  color: var(--foreground);
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease;
}

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

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

.field--honeypot {
  position: absolute;
  left: -9999px;
}

.form__notice {
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.form__notice--ok {
  background: color-mix(in oklab, var(--primary) 15%, transparent);
  color: var(--primary);
}

.form__notice--err {
  background: oklch(0.577 0.245 27.325 / 0.14);
  color: oklch(0.55 0.22 27);
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: var(--card);
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 4rem;
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr repeat(3, 0.8fr) 1.2fr;
  }
}

.site-footer h3 {
  font-size: 0.875rem;
  font-weight: 600;
}

.site-footer nav ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.site-footer nav a,
.site-footer__about p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.site-footer nav a:hover {
  color: var(--primary);
}

.socials {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.5rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
}

.socials a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.newsletter {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.newsletter input {
  width: 100%;
  border: 1px solid var(--input);
  border-radius: 0.75rem;
  background: var(--background);
  color: var(--foreground);
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  outline: none;
}

.newsletter button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border: 0;
  border-radius: 0.75rem;
  background-image: var(--gradient-primary);
  color: var(--primary-foreground);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- floating actions ---------- */

.floaters {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 60;
  display: grid;
  gap: 0.75rem;
}

.floater {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background-image: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.floater:hover {
  transform: scale(1.08);
}

.floater--whatsapp {
  background-image: none;
  background: oklch(0.65 0.16 150);
  color: white;
}

.floater[hidden] {
  display: none;
}

.cookie {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  max-width: 44rem;
  margin-inline: auto;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
}

.cookie[hidden] {
  display: none;
}

.cookie p {
  flex: 1 1 16rem;
  color: var(--foreground);
}

/* ---------- inner pages ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 11rem 0 5rem;
  background-image: var(--gradient-primary);
  color: var(--primary-foreground);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--primary-foreground);
}

.page-hero p {
  margin-top: 0.75rem;
  color: oklch(1 0 0 / 0.8);
}

.breadcrumbs {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.75);
  margin-bottom: 0.75rem;
}

.content-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .content-layout--sidebar {
    grid-template-columns: minmax(0, 1fr) 20rem;
  }
}

.entry-content {
  font-size: 1.02rem;
  color: var(--foreground);
}

.entry-content > * + * {
  margin-top: 1.15rem;
}

.entry-content h2 {
  margin-top: 2.5rem;
  font-size: 1.6rem;
}

.entry-content h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

.entry-content a {
  color: var(--primary);
  text-decoration: underline;
}

.entry-content blockquote {
  margin: 2rem 0;
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
  color: var(--muted-foreground);
  font-style: italic;
}

.entry-content img {
  border-radius: 1rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.25rem;
  list-style: disc;
  color: var(--muted-foreground);
}

.entry-content ol {
  list-style: decimal;
}

.entry-content code,
.entry-content pre {
  background: var(--secondary);
  border-radius: 0.5rem;
  padding: 0.15rem 0.4rem;
  font-size: 0.9em;
}

.entry-content pre {
  padding: 1rem;
  overflow-x: auto;
}

.widget {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--card);
  padding: 1.5rem;
}

.widget + .widget {
  margin-top: 1.5rem;
}

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.widget ul {
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.widget a:hover {
  color: var(--primary);
}

.pagination {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding-inline: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background-image: var(--gradient-primary);
  border-color: transparent;
  color: var(--primary-foreground);
}

.post-nav {
  margin-top: 3rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .post-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.post-nav a {
  display: block;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.1rem 1.25rem;
  font-weight: 600;
}

.post-nav small {
  display: block;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-size: 0.7rem;
  margin-bottom: 0.35rem;
}

.comment-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.comment-list ol.children {
  margin-top: 1.25rem;
  padding-left: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.comment-body {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.25rem;
}

.comment-meta {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--input);
  border-radius: 0.75rem;
  background: var(--background);
  color: var(--foreground);
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

.comment-form .form-submit input[type="submit"],
.btn-submit {
  width: auto;
  border: 0;
  border-radius: 0.75rem;
  background-image: var(--gradient-primary);
  color: var(--primary-foreground);
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
}

.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form input[type="search"] {
  width: 100%;
  border: 1px solid var(--input);
  border-radius: 0.75rem;
  background: var(--background);
  color: var(--foreground);
  padding: 0.65rem 1rem;
  font: inherit;
}

.search-form button {
  border: 0;
  border-radius: 0.75rem;
  background-image: var(--gradient-primary);
  color: var(--primary-foreground);
  padding-inline: 1rem;
}

.center {
  text-align: center;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-6 {
  margin-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
