/* ============================================================
   MESOGEOS DIGITAL — Main Stylesheet
   REAL design system: Sky · Sage · Steel (light theme)
   Space Grotesk + DM Sans + JetBrains Mono · OKLCH colors
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=JetBrains+Mono:wght@400;500&display=swap");

/* ── Design Tokens (from Lovable styles.css) ─────────────── */
:root {
  --radius: 1rem;
  --radius-sm: calc(var(--radius) - 4px);   /* 12px */
  --radius-md: calc(var(--radius) - 2px);   /* 14px */
  --radius-lg: var(--radius);               /* 16px */
  --radius-xl: calc(var(--radius) + 4px);   /* 20px */

  /* Sky · Sage · Steel — IoT + smart agriculture */
  --background: oklch(0.965 0.006 220);      /* light cool grey-blue canvas */
  --foreground: oklch(0.22 0.02 230);        /* deep steel ink */
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.22 0.02 230);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.22 0.02 230);
  --primary: oklch(0.60 0.10 220);           /* sky blue */
  --primary-foreground: oklch(0.985 0.005 220);
  --secondary: oklch(0.93 0.018 220);        /* pale steel surface */
  --secondary-foreground: oklch(0.22 0.02 230);
  --muted: oklch(0.94 0.010 220);
  --muted-foreground: oklch(0.48 0.02 225);
  --accent: oklch(0.78 0.06 175);            /* soft teal bridge */
  --accent-foreground: oklch(0.22 0.02 230);
  --destructive: oklch(0.58 0.20 30);
  --border: oklch(0.78 0.025 220 / 0.35);
  --input: oklch(0.88 0.02 220);
  --ring: oklch(0.60 0.10 220);
  --grid: oklch(0.60 0.10 220 / 0.10);
  --signal: oklch(0.70 0.14 150);            /* green status */
  --signal-foreground: oklch(0.985 0.005 220);
  --console: oklch(0.22 0.03 230);           /* dark steel console */
  --console-foreground: oklch(0.93 0.018 220);
  --sky: oklch(0.65 0.12 225);
  --sky-foreground: oklch(0.985 0.005 220);
  --sage: oklch(0.66 0.075 150);             /* green for agriculture */
  --steel: oklch(0.55 0.02 230);             /* neutral steel grey */

  /* Fonts */
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-sans:    "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk", "DM Sans", ui-sans-serif, system-ui, sans-serif;

  /* Spacing */
  --gap:     clamp(1rem, 2vw, 1.5rem);
  --section: clamp(5rem, 8vw, 9rem);
  --max-w:   1500px;
  --nav-h:   68px;
  --nav-h-top: 170px; /* expanded header height at page top (~2.5x) */
  --logo-w: 65px;
  --logo-w-top: 200px; /* expanded logo width at page top */
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { border-color: var(--border); }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

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

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

/* ── Layout Utilities ────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.section { padding-block: var(--section); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.flex { display: flex; }

/* ── Typography Scale ────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.mono   { font-family: var(--font-mono); }
.muted  { color: var(--muted-foreground); }
.accent { color: var(--accent); }

/* Mono label — exact match to .label-mono */
.label-mono,
.section-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: var(--muted-foreground);
}

.section-label {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--border);
}

/* ── Decorative backgrounds ──────────────────────────────── */
.bento-dots {
  background-image: radial-gradient(var(--primary) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.10;
}
.bento-grid-lines {
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ── Badges & Labels ─────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
}
.badge-gray {
  color: var(--muted-foreground);
  border-color: var(--border);
  background: var(--secondary);
}
.badge-dot::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse-dot 2s infinite;
}

/* ── Status Indicator ────────────────────────────────────── */
.status-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  text-transform: uppercase;
}
.status-bar::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  display: block;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 var(--signal); }
  50%      { opacity: 0.5; box-shadow: 0 0 0 5px transparent; }
}

.divider { border: none; border-top: 1px solid var(--border); margin-block: 3rem; }

/* ─────────────────────────────────────────────────────────── */
/*  NAVIGATION                                                 */
/* ─────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h-top);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: oklch(0.965 0.006 220 / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  height: var(--nav-h);
  background: oklch(0.965 0.006 220 / 0.92);
  box-shadow: 0 6px 24px oklch(0.22 0.02 230 / 0.07);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; width: 100%;
}
.site-logo img { width: var(--logo-w-top); height: auto; transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.site-header.scrolled .site-logo img { width: var(--logo-w); }
.site-logo a { display: flex; align-items: center; }

.primary-nav { display: flex; align-items: center; gap: 0.25rem; }
.primary-nav a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.primary-nav a:hover,
.primary-nav .current-menu-item a,
.primary-nav .current_page_item a {
  color: var(--foreground);
  background: var(--secondary);
}

.lang-toggle {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: color 0.2s, border-color 0.2s;
}
.lang-toggle:hover { color: var(--foreground); border-color: var(--primary); }

/* Language switcher (EL / EN pills) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
}
.lang-link {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  padding: 0.4rem 0.6rem;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  line-height: 1;
}
.lang-link:hover { color: var(--foreground); }
.lang-link.is-active {
  color: var(--primary-foreground);
  background: var(--primary);
}

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover {
  background: var(--sky);
  box-shadow: 0 8px 24px oklch(0.60 0.10 220 / 0.25);
  transform: translateY(-1px);
}
.btn-outline {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost {
  background: transparent;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--foreground); border-color: var(--primary); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-toggle span { width: 22px; height: 2px; background: var(--foreground); display: block; transition: all 0.3s; }

/* ─────────────────────────────────────────────────────────── */
/*  HERO                                                        */
/* ─────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: var(--nav-h-top);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}
.hero::after {
  content: '';
  position: absolute;
  top: -15%; right: -5%;
  width: 45vw; height: 60vh;
  background: radial-gradient(ellipse at center, oklch(0.65 0.12 225 / 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-pre { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2.5rem; }
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 1.75rem;
}
.hero p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--muted-foreground);
  max-width: 46ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Hero Console Widget — DARK on light bg */
.hero-console {
  position: relative;
  z-index: 1;
  background: var(--console);
  border: 1px solid oklch(0.30 0.03 230);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px oklch(0.22 0.03 230 / 0.25);
}
.console-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid oklch(0.30 0.03 230);
  background: oklch(0.26 0.03 230);
}
.console-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: oklch(0.70 0.02 230);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.console-dots { display: flex; gap: 5px; }
.console-dots span { width: 9px; height: 9px; border-radius: 50%; }
.console-dots span:nth-child(1) { background: #ff5f57; }
.console-dots span:nth-child(2) { background: #febc2e; }
.console-dots span:nth-child(3) { background: #28c840; }
.console-body { padding: 1.5rem; font-family: var(--font-mono); font-size: 0.72rem; line-height: 2; color: var(--console-foreground); }
.console-line { color: oklch(0.70 0.02 230); }
.console-line .prompt { color: var(--signal); margin-right: 0.5rem; }
.console-line .val { color: var(--console-foreground); }
.console-line .ok  { color: var(--signal); }
.console-metric {
  margin-top: 1rem; padding: 1rem;
  border: 1px solid oklch(0.65 0.12 225 / 0.3);
  border-radius: var(--radius-md);
  background: oklch(0.65 0.12 225 / 0.08);
}
.console-metric-val {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 600;
  color: var(--sky);
}
.console-metric-label {
  font-family: var(--font-mono);
  font-size: 0.6rem; color: oklch(0.70 0.02 230);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.2rem;
}
.console-uptime {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.75rem;
  font-family: var(--font-mono); font-size: 0.6rem; color: oklch(0.70 0.02 230);
}

/* ─────────────────────────────────────────────────────────── */
/*  FEATURED PILLAR                                             */
/* ─────────────────────────────────────────────────────────── */
.featured-pillar { padding-block: var(--section); border-top: 1px solid var(--border); }
.featured-pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.featured-pillar h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 1.25rem; line-height: 1.15;
}
.featured-pillar p { color: var(--muted-foreground); font-size: 0.95rem; max-width: 48ch; margin-bottom: 2rem; line-height: 1.75; }
.pillar-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.pillar-feature-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.pillar-feature-item::before { content: '—'; color: var(--primary); font-family: var(--font-mono); flex-shrink: 0; }
.pillar-ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Flow Diagram */
.flow-diagram { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.flow-diagram-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.flow-steps { display: flex; flex-direction: column; }
.flow-step { display: flex; gap: 1rem; align-items: flex-start; }
.flow-step-num {
  font-family: var(--font-mono); font-size: 0.6rem;
  color: var(--primary); background: oklch(0.60 0.10 220 / 0.1);
  border: 1px solid oklch(0.60 0.10 220 / 0.25);
  border-radius: 50%; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 0.15rem;
}
.flow-step-line { width: 1px; background: var(--border); height: 24px; margin-left: 11px; }
.flow-step-content { padding-bottom: 1.25rem; }
.flow-step-layer { font-family: var(--font-mono); font-size: 0.6rem; color: var(--primary); letter-spacing: 0.1em; margin-bottom: 0.15rem; }
.flow-step-name { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: var(--foreground); }
.flow-step-desc { font-size: 0.75rem; color: var(--muted-foreground); }
.flow-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 1.5rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.flow-metric { text-align: center; }
.flow-metric-val { font-family: var(--font-mono); font-size: 0.72rem; color: var(--signal); font-weight: 500; }
.flow-metric-label { font-family: var(--font-mono); font-size: 0.55rem; color: var(--muted-foreground); letter-spacing: 0.08em; text-transform: uppercase; }

/* ─────────────────────────────────────────────────────────── */
/*  PILLARS GRID                                               */
/* ─────────────────────────────────────────────────────────── */
.pillars-section { padding-block: var(--section); border-top: 1px solid var(--border); }
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pillar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex; flex-direction: column; gap: 1rem;
  text-decoration: none; color: inherit;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px oklch(0.22 0.03 230 / 0.08);
  border-color: oklch(0.60 0.10 220 / 0.4);
}
.pillar-card-num { font-family: var(--font-mono); font-size: 0.62rem; color: var(--primary); letter-spacing: 0.12em; }
.pillar-card h3 { font-size: 1.15rem; font-weight: 600; color: var(--foreground); }
.pillar-card p { font-size: 0.85rem; color: var(--muted-foreground); line-height: 1.65; flex: 1; }
.pillar-card-product { font-family: var(--font-mono); font-size: 0.6rem; color: var(--muted-foreground); letter-spacing: 0.06em; }
.pillar-card-arrow { font-family: var(--font-mono); font-size: 0.85rem; color: var(--primary); transition: transform 0.2s; }
.pillar-card:hover .pillar-card-arrow { transform: translateX(4px); }

/* ─────────────────────────────────────────────────────────── */
/*  CTA SECTION                                                */
/* ─────────────────────────────────────────────────────────── */
.cta-section {
  padding-block: var(--section);
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--secondary);
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--primary) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.06;
  pointer-events: none;
}
.cta-section .section-label { justify-content: center; }
.cta-section .section-label::after { display: none; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600; letter-spacing: -0.025em; margin-bottom: 1rem; position: relative; }
.cta-section p { color: var(--muted-foreground); font-size: 1rem; margin-bottom: 2.5rem; position: relative; }
.cta-section .btn { position: relative; }

/* ─────────────────────────────────────────────────────────── */
/*  FOOTER                                                     */
/* ─────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding-top: 3rem; background: var(--card); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 3rem; padding-bottom: 3rem; }
.footer-logo img { height: 100px; width: auto; margin-bottom: 1rem; }
.footer-logo p { font-size: 0.8rem; color: var(--muted-foreground); line-height: 1.6; max-width: 26ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.83rem; color: var(--muted-foreground); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col ul li a.sub-label { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); opacity: 0.6; pointer-events: none; margin-top: 0.5rem; }
.footer-contact li { font-size: 0.8rem; color: var(--muted-foreground); line-height: 1.8; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-ticker { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.06em; color: var(--muted-foreground); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-legal { display: flex; align-items: center; gap: 1.5rem; }
.footer-legal a { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.06em; color: var(--muted-foreground); transition: color 0.2s; }
.footer-legal a:hover { color: var(--primary); }
.footer-copyright { font-family: var(--font-mono); font-size: 0.6rem; color: var(--muted-foreground); letter-spacing: 0.06em; }

/* ─────────────────────────────────────────────────────────── */
/*  PILLAR / PRODUCT SINGLE PAGE                               */
/* ─────────────────────────────────────────────────────────── */
.page-hero { padding-top: calc(var(--nav-h-top) + 2rem); padding-bottom: 4rem; border-bottom: 1px solid var(--border); position: relative; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 2rem; transition: color 0.2s; }
.back-link:hover { color: var(--primary); }
.back-link::before { content: '←'; }
.page-hero-badge { margin-bottom: 1.25rem; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 1.25rem; max-width: 20ch; }
.page-hero .lead { font-size: 1.05rem; color: var(--muted-foreground); max-width: 58ch; line-height: 1.72; margin-bottom: 2rem; }
.page-hero-metrics { display: flex; gap: 3rem; flex-wrap: wrap; }
.hero-metric-val { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--foreground); }
.hero-metric-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); }

.content-section { padding-block: 4rem; border-bottom: 1px solid var(--border); }
.content-section:last-child { border-bottom: none; }

.problem-list { display: flex; flex-direction: column; }
.problem-item { display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); align-items: start; }
.problem-item:last-child { border-bottom: none; }
.problem-num { font-family: var(--font-mono); font-size: 0.65rem; color: var(--destructive); letter-spacing: 0.08em; }
.problem-text { font-size: 0.925rem; color: var(--muted-foreground); line-height: 1.65; }

.solution-list { display: flex; flex-direction: column; gap: 1rem; }
.solution-item { display: grid; grid-template-columns: 60px 1fr; gap: 1.5rem; align-items: start; padding: 1.25rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.solution-num { font-family: var(--font-mono); font-size: 0.65rem; color: var(--primary); }
.solution-text { font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.65; }
.solution-text strong { color: var(--foreground); font-weight: 600; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.product-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 0.75rem; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px oklch(0.22 0.03 230 / 0.08); border-color: oklch(0.60 0.10 220 / 0.4); }
.product-card-type { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-foreground); background: var(--accent); padding: 0.2rem 0.6rem; border-radius: 100px; align-self: flex-start; }
.product-card h3 { font-size: 1.15rem; font-weight: 600; }
.product-card p { font-size: 0.83rem; color: var(--muted-foreground); line-height: 1.65; flex: 1; }

.tags-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; color: var(--muted-foreground); padding: 0.3rem 0.7rem; border: 1px solid var(--border); border-radius: 100px; background: var(--card); }

.why-list { display: flex; flex-direction: column; gap: 0.6rem; }
.why-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.why-item:last-child { border-bottom: none; }
.why-item::before { content: '✓'; color: var(--signal); font-family: var(--font-mono); font-size: 0.8rem; flex-shrink: 0; margin-top: 0.05rem; }

/* ─────────────────────────────────────────────────────────── */
/*  ABOUT PAGE                                                 */
/* ─────────────────────────────────────────────────────────── */
.about-principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.principle-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.principle-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.principle-card p { font-size: 0.83rem; color: var(--muted-foreground); line-height: 1.65; }

.team-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.quote-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.quote-card blockquote { font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.7; font-style: italic; margin-bottom: 1.25rem; position: relative; padding-left: 1.25rem; }
.quote-card blockquote::before { content: '"'; position: absolute; left: 0; top: -0.2rem; font-size: 2rem; color: var(--primary); font-style: normal; line-height: 1; font-family: var(--font-display); }
.quote-author { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em; color: var(--foreground); }
.quote-role { font-family: var(--font-mono); font-size: 0.6rem; color: var(--muted-foreground); margin-top: 0.2rem; }

.pillars-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pillar-overview-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; transition: transform 0.2s, box-shadow 0.2s; }
.pillar-overview-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px oklch(0.22 0.03 230 / 0.08); }
.pillar-overview-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.pillar-overview-card h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; }
.pillar-overview-card p { font-family: var(--font-mono); font-size: 0.6rem; color: var(--muted-foreground); letter-spacing: 0.04em; }

.differentiators { display: flex; flex-direction: column; }
.differentiator { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.differentiator:last-child { border-bottom: none; }
.differentiator-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--foreground); }
.differentiator-desc { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.7; }

.iso-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.iso-badge { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em; color: var(--steel); padding: 0.4rem 0.8rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); }

/* ─────────────────────────────────────────────────────────── */
/*  CONTACT PAGE                                               */
/* ─────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
.contact-info p { color: var(--muted-foreground); font-size: 0.925rem; line-height: 1.72; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; }
.contact-detail { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.contact-detail-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); width: 70px; flex-shrink: 0; margin-top: 0.1rem; }
.contact-detail-value { color: var(--foreground); }
.contact-detail-value a:hover { color: var(--primary); }

.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem; box-shadow: 0 16px 48px oklch(0.22 0.03 230 / 0.06); }
.contact-form h3 { font-size: 1.15rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--input);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.60 0.10 220 / 0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ─────────────────────────────────────────────────────────── */
/*  GENERAL PAGE (Privacy, Terms)                             */
/* ─────────────────────────────────────────────────────────── */
.prose-content { max-width: 720px; padding-top: 2.5rem; padding-bottom: 5rem; }
.prose-content h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.025em; margin-bottom: 2rem; }
.prose-content h2 { font-size: 1.2rem; font-weight: 600; margin-top: 2.5rem; margin-bottom: 0.75rem; color: var(--foreground); }
.prose-content p { font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.8; margin-bottom: 1rem; }
.prose-content a { color: var(--primary); }

/* ─────────────────────────────────────────────────────────── */
/*  RESPONSIVE                                                 */
/* ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr !important; }
  .hero { min-height: auto; padding-block: calc(var(--nav-h-top) + 1rem) 5rem; }
  .hero-console { display: none; }
  .featured-pillar-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .pillars-overview { grid-template-columns: repeat(2, 1fr); }
  .differentiator { grid-template-columns: 1fr; gap: 0.5rem; }
}
@media (max-width: 768px) {
  .primary-nav { display: none; }
:root { --nav-h-top: 108px; --logo-w-top: 130px; }
  .primary-nav.open { display: flex; flex-direction: column; position: fixed; top: var(--nav-h-top); left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--border); padding: 1.5rem; gap: 0.5rem; box-shadow: 0 16px 40px oklch(0.22 0.03 230 / 0.1); transition: top 0.4s cubic-bezier(0.4,0,0.2,1); }
  .site-header.scrolled .primary-nav.open { top: var(--nav-h); }
  .nav-toggle { display: flex; }
  .lang-toggle { display: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .about-principles, .team-quotes { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .problem-item { grid-template-columns: 60px 1fr; }
  .pillars-overview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pillars-overview { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

/* ── Scroll animations ───────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── WordPress specifics ─────────────────────────────────── */
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100%; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.search-field { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.5rem 0.75rem; color: var(--foreground); font-family: var(--font-sans); }
.page-links { display: flex; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.7rem; margin-top: 2rem; }
.page-links a { padding: 0.4rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--muted-foreground); transition: all 0.2s; }
.page-links a:hover { border-color: var(--primary); color: var(--primary); }

/* ── About: who-we-are grid + console ────────────────────── */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.who-console .hero-console { display: block; }
@media (max-width: 1024px) {
  .who-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .who-console .hero-console { display: block; }  /* keep visible on About */
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — BENTO GRID (exact match to Lovable)
   ═══════════════════════════════════════════════════════════ */
.bento-main { max-width: var(--max-w); margin-inline: auto; width: 100%; padding: calc(var(--nav-h-top) + 1rem) 1rem 2rem; }
@media (min-width: 768px) { .bento-main { padding: calc(var(--nav-h-top) + 1.5rem) 2rem 3rem; } }

.bento { display: grid; grid-auto-rows: min-content; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(12, 1fr); } }

/* radii matching Tailwind rounded-3xl / 2xl / xl */
.r-3xl { border-radius: 1.5rem; }
.r-2xl { border-radius: 1rem; }
.r-xl  { border-radius: 0.75rem; }

/* ── Hero tile ─────────────────────────────────────────── */
.bento-hero {
  position: relative; overflow: hidden; border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary) 45%, oklch(0.78 0.06 175 / 0.4) 100%);
  padding: 2rem;
}
@media (min-width: 768px) { .bento-hero { grid-column: span 8; padding: 3rem; } }
.bento-hero .dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--primary) 1px, transparent 0);
  background-size: 24px 24px; opacity: 0.10;
}
.bento-hero .inner { position: relative; z-index: 10; display: flex; height: 100%; flex-direction: column; justify-content: space-between; }
.bento-hero .status { margin-bottom: 2rem; display: flex; align-items: center; gap: 0.5rem; }
.bento-hero .status-dot { height: 0.5rem; width: 0.5rem; border-radius: 9999px; background: var(--primary); animation: pulse-dot 2s infinite; }
.bento-hero .status-text { font-family: var(--font-display); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; color: var(--primary); }
.bento-hero h1 {
  font-family: var(--font-display); font-weight: 700; line-height: 0.95; letter-spacing: -0.02em;
  color: var(--foreground); font-size: 3rem;
}
@media (min-width: 768px) { .bento-hero h1 { font-size: 4.5rem; } }
.bento-hero h1 .c-water { color: var(--primary); }
.bento-hero h1 .c-agri  { color: var(--sage); }
.bento-hero p { margin-top: 1.5rem; max-width: 28rem; font-size: 1.125rem; line-height: 1.65; color: var(--muted-foreground); }
.bento-hero .ctas { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.pill {
  border-radius: 9999px; padding: 1rem 2rem; font-weight: 500; font-size: 1rem;
  transition: all 0.2s; display: inline-block; cursor: pointer; text-align: center;
}
.pill-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: 0 10px 25px oklch(0.60 0.10 220 / 0.2); }
.pill-primary:hover { background: oklch(0.60 0.10 220 / 0.9); }
.pill-outline { border: 1px solid oklch(0.60 0.10 220 / 0.4); color: var(--primary); }
.pill-outline:hover { background: oklch(0.60 0.10 220 / 0.1); }

/* ── Console tile ──────────────────────────────────────── */
.bento-console {
  display: flex; flex-direction: column; border-radius: 1.5rem;
  border: 1px solid oklch(1 0 0 / 0.05);
  background: var(--console); color: var(--console-foreground);
  padding: 1.5rem; box-shadow: 0 25px 50px -12px oklch(0.22 0.03 230 / 0.5);
}
@media (min-width: 768px) { .bento-console { grid-column: span 4; } }
.bento-console .c-head { margin-bottom: 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.bento-console .c-dots { display: flex; gap: 0.375rem; }
.bento-console .c-dots span { height: 0.625rem; width: 0.625rem; border-radius: 9999px; }
.bento-console .c-dots span:nth-child(1) { background: var(--primary); }
.bento-console .c-dots span:nth-child(2) { background: oklch(0.78 0.06 175 / 0.4); }
.bento-console .c-dots span:nth-child(3) { background: oklch(1 0 0 / 0.15); }
.bento-console .c-ver { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.5; }
.bento-console .c-body { flex-grow: 1; display: flex; flex-direction: column; gap: 1.5rem; }
.bento-console .c-cluster { border-radius: 0.75rem; border: 1px solid oklch(1 0 0 / 0.1); background: oklch(1 0 0 / 0.05); padding: 1rem; }
.bento-console .c-label { margin-bottom: 0.25rem; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: -0.02em; opacity: 0.4; }
.bento-console .c-cluster-row { display: flex; align-items: flex-end; justify-content: space-between; }
.bento-console .c-cluster-name { font-family: var(--font-mono); font-size: 1.125rem; color: #fff; }
.bento-console .c-active { font-family: var(--font-mono); font-size: 10px; color: var(--primary); }
.bento-console .c-region { margin-top: 0.5rem; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: oklch(1 0 0 / 0.4); }
.bento-console .c-nodes { padding: 1rem; }
.bento-console .c-nodes-row { display: flex; align-items: baseline; gap: 0.5rem; }
.bento-console .c-count { font-family: var(--font-display); font-size: 3.75rem; font-weight: 700; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.bento-console .c-ping { display: flex; height: 1rem; width: 3rem; align-items: center; border-radius: 9999px; background: oklch(0.60 0.10 220 / 0.2); padding: 0 0.25rem; }
.bento-console .c-ping span { height: 0.5rem; width: 0.5rem; border-radius: 9999px; background: var(--primary); animation: ping 1.4s cubic-bezier(0,0,0.2,1) infinite; }
.bento-console .c-bars { margin-top: 1rem; display: flex; height: 3rem; width: 100%; align-items: flex-end; gap: 0.25rem; }
.bento-console .c-bars div { flex: 1; border-radius: 2px; background: var(--primary); }
.bento-console .c-foot { margin-top: 1rem; display: flex; justify-content: space-between; border-top: 1px solid oklch(1 0 0 / 0.1); padding-top: 1rem; }
.bento-console .c-foot span { font-family: var(--font-mono); font-size: 10px; opacity: 0.3; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

/* ── Featured (Smart Irrigation) tile ──────────────────── */
.bento-featured {
  position: relative; overflow: hidden; border-radius: 1.5rem;
  border: 1px solid oklch(0.66 0.075 150 / 0.3);
  background: linear-gradient(135deg, var(--card) 0%, var(--card) 55%, oklch(0.66 0.075 150 / 0.1) 100%);
  padding: 1.5rem;
}
@media (min-width: 768px) { .bento-featured { grid-column: span 12; padding: 2.5rem; } }
.bento-featured .grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
  background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}
.bento-featured .inner { position: relative; z-index: 10; display: grid; gap: 2rem; }
@media (min-width: 768px) { .bento-featured .inner { grid-template-columns: repeat(12, 1fr); align-items: center; } }
.bento-featured .pitch { }
@media (min-width: 768px) { .bento-featured .pitch { grid-column: span 7; } .bento-featured .diagram { grid-column: span 5; } }
.bento-featured .f-head { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.bento-featured .f-icon { display: flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: 0.5rem; background: oklch(0.66 0.075 150 / 0.15); color: var(--sage); }
.bento-featured h2 { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--foreground); }
@media (min-width: 768px) { .bento-featured h2 { font-size: 3rem; } }
.bento-featured h2 .c-controller { color: var(--sage); }
.bento-featured h2 .c-ai { color: var(--primary); }
.bento-featured .f-body { margin-top: 1rem; max-width: 36rem; font-size: 1rem; line-height: 1.65; color: var(--muted-foreground); }
@media (min-width: 768px) { .bento-featured .f-body { font-size: 1.125rem; } }
.bento-featured .f-body strong { color: var(--foreground); font-weight: 600; }
.bento-featured .f-bullets { margin-top: 1.5rem; display: grid; gap: 0.5rem; font-size: 0.875rem; color: oklch(0.22 0.02 230 / 0.8); }
@media (min-width: 640px) { .bento-featured .f-bullets { grid-template-columns: 1fr 1fr; } }
.bento-featured .f-bullets li { display: flex; align-items: flex-start; gap: 0.5rem; }
.bento-featured .f-bullets li::before { content: ''; margin-top: 0.4rem; height: 0.375rem; width: 0.375rem; flex-shrink: 0; border-radius: 9999px; background: var(--sage); }
.bento-featured .f-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pill-sm { border-radius: 9999px; padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500; transition: all 0.2s; display: inline-block; cursor: pointer; }
.pill-sage { background: var(--sage); color: var(--primary-foreground); }
.pill-sage:hover { opacity: 0.9; }
.pill-sage-outline { border: 1px solid oklch(0.66 0.075 150 / 0.4); color: var(--sage); }
.pill-sage-outline:hover { background: oklch(0.66 0.075 150 / 0.1); }

/* ── Pillar/Product tiles ──────────────────────────────── */
.bento-tile {
  display: flex; flex-direction: column; border-radius: 1.5rem;
  border: 1px solid var(--border); background: var(--card); padding: 1.5rem;
  transition: all 0.2s; text-decoration: none; color: inherit;
}
@media (min-width: 768px) { .bento-tile { grid-column: span 4; } }
.bento-tile.accent-sky:hover  { border-color: oklch(0.60 0.10 220 / 0.4); }
.bento-tile.accent-sage:hover { border-color: oklch(0.66 0.075 150 / 0.4); }
.bento-tile .t-icon { margin-bottom: 1.5rem; display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: var(--background); }
.bento-tile .t-icon.sky  { color: var(--primary); }
.bento-tile .t-icon.sage { color: var(--sage); }
.bento-tile h3 { margin-bottom: 0.5rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
.bento-tile .t-tag { margin-bottom: 1.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.bento-tile .t-prod { margin-top: auto; border-radius: 1rem; background: var(--background); padding: 1rem; }
.bento-tile .t-prod-label { margin-bottom: 0.25rem; display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.bento-tile .t-prod-label.sky  { color: var(--primary); }
.bento-tile .t-prod-label.sage { color: var(--sage); }
.bento-tile .t-prod-name { font-family: var(--font-display); font-weight: 700; color: var(--foreground); }

/* Waste tile (accent bg) */
.bento-waste {
  display: flex; flex-direction: column; justify-content: space-between; border-radius: 1.5rem;
  border: 1px solid oklch(0.78 0.06 175 / 0.4); background: oklch(0.78 0.06 175 / 0.4);
  padding: 1.5rem; transition: all 0.2s; text-decoration: none; color: inherit;
}
@media (min-width: 768px) { .bento-waste { grid-column: span 4; } }
.bento-waste:hover { background: oklch(0.78 0.06 175 / 0.6); }
.bento-waste .t-icon { margin-bottom: 1.5rem; display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: var(--card); color: var(--primary); }
.bento-waste h3 { margin-bottom: 0.5rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
.bento-waste .t-tag { font-size: 0.875rem; color: oklch(0.22 0.02 230 / 0.7); }
.bento-waste .t-prod { margin-top: 1rem; border-radius: 1rem; background: var(--card); padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.bento-waste .t-prod-label { margin-bottom: 0.25rem; display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); }
.bento-waste .t-prod-name { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; color: var(--foreground); }

/* ── Bento closing CTA ─────────────────────────────────── */
.bento-cta-wrap { max-width: 80rem; margin-inline: auto; width: 100%; padding: 0 1rem 4rem; }
@media (min-width: 768px) { .bento-cta-wrap { padding: 0 2rem 4rem; } }
.bento-cta {
  border-radius: 1.5rem; border: 1px solid oklch(0.60 0.10 220 / 0.3);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--background) 50%, oklch(0.78 0.06 175 / 0.3) 100%);
  padding: 2.5rem; text-align: center;
}
@media (min-width: 768px) { .bento-cta { padding: 4rem; } }
.bento-cta h2 { margin-top: 0.75rem; font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--foreground); }
@media (min-width: 768px) { .bento-cta h2 { font-size: 3rem; } }
.bento-cta p { margin: 1rem auto 0; max-width: 36rem; color: var(--muted-foreground); }
.bento-cta .pill { margin-top: 2rem; }

/* ── Minimal circular flow diagram ─────────────────────── */
.flow-min {
  position: relative; height: 100%; overflow: hidden; border-radius: 1rem;
  border: 1px solid oklch(0.66 0.075 150 / 0.3);
  background: linear-gradient(135deg, oklch(0.66 0.075 150 / 0.05) 0%, oklch(0.965 0.006 220 / 0.4) 50%, oklch(0.60 0.10 220 / 0.05) 100%);
  padding: 1.25rem; backdrop-filter: blur(4px);
}
.flow-min .fm-dots { position: absolute; inset: 0; pointer-events: none; opacity: 0.06; background-image: radial-gradient(var(--foreground) 1px, transparent 1px); background-size: 18px 18px; }
.flow-min .fm-head { position: relative; margin-bottom: 0.5rem; display: flex; align-items: center; justify-content: space-between; }
.flow-min .fm-head .h1 { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.68rem; color: var(--sage); }
.flow-min .fm-head .h2 { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.55rem; color: var(--muted-foreground); }
.flow-min .fm-svg-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.flow-min svg { height: 300px; width: 300px; }
.flow-min .fm-sub { position: relative; margin-top: 0.25rem; min-height: 2.5rem; text-align: center; }
.flow-min .fm-sub div { font-size: 0.75rem; color: var(--muted-foreground); }
@keyframes loop-dash { to { stroke-dashoffset: -160; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping-slow { 0% { opacity: 0.6; } 100% { opacity: 0; } }

/* ── Flexible content columns (ACF bento builder) ──────── */
.bento-col { min-width: 0; }
.bento-col > * { height: 100%; }
@media (min-width: 768px) {
  .bento-col.col-12 { grid-column: span 12; }
  .bento-col.col-8  { grid-column: span 8; }
  .bento-col.col-6  { grid-column: span 6; }
  .bento-col.col-4  { grid-column: span 4; }
}
.bento-richtext { height: auto !important; }

/* ═══════════════════════════════════════════════════════════
   BLOG — listing grid, pagination & single article
   ═══════════════════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.blog-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 1.25rem; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, border-color .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); border-color: oklch(0.60 0.10 220 / 0.4); box-shadow: 0 12px 30px oklch(0.22 0.02 230 / 0.08); }
.blog-card-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--background); }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary); background: linear-gradient(135deg, oklch(0.60 0.10 220 / 0.08), oklch(0.66 0.075 150 / 0.08)); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; }
.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.blog-card-date { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.05em; color: var(--muted-foreground); text-transform: uppercase; }
.blog-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; color: var(--foreground); margin: 0; }
.blog-card-excerpt { font-size: 0.92rem; color: var(--muted-foreground); line-height: 1.6; margin: 0; }
.blog-card-more { margin-top: auto; padding-top: 0.5rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--primary); }

.blog-pagination { margin-top: 3rem; }
.blog-pagination .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; justify-content: center; }
.blog-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 0.75rem; border: 1px solid var(--border); border-radius: 0.6rem; color: var(--foreground); text-decoration: none; font-size: 0.9rem; transition: .2s; }
.blog-pagination .page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.blog-pagination .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.blog-pagination .page-numbers.dots { border: none; }

.article-hero-meta { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.25rem; }
.article-cat { color: var(--primary); }
.article-feature { margin: 0 0 2.5rem; border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--border); }
.article-feature img { width: 100%; height: auto; display: block; }
.article-tags { margin-top: 2.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }

@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.footer-logo-img { height: 100px; width: auto; display: block; }

/* Pillar card icon (managed: emoji or SVG keyword) */
.pillar-card-title { display: flex; align-items: center; gap: 0.55rem; }
.pillar-card-ico { display: inline-flex; align-items: center; color: var(--primary); flex-shrink: 0; }
.pillar-card-ico svg { width: 1.5rem; height: 1.5rem; }
.pillar-card-emoji { font-size: 1.25rem; line-height: 1; flex-shrink: 0; }
