/* ============================================================
   L-QUBE TECHNOLOGIES — Design System & Core Styles
   Plain CSS3. No frameworks. No build step.
   ============================================================ */

:root {
  /* Brand palette — derived from the L-QUBE logo (deep forest green cube) */
  --green-950: #06231a;
  --green-900: #0a3527;
  --green-800: #0e4634;
  --green-700: #12573f;
  --green-600: #176e50;
  --green-500: #1e8a5a;
  --green-400: #35a06e;
  --green-200: #bfe0cf;
  --green-100: #e4f0e9;
  --green-50:  #f2f8f4;

  --ink: #101814;
  --ink-soft: #2c3630;
  --muted: #5c6a62;
  --faint: #8a968f;

  --paper: #fafaf7;
  --surface: #ffffff;
  --surface-alt: #f4f5f1;

  --line: #e0e4de;
  --line-dark: #1d4a38;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --shadow-sm: 0 1px 2px rgba(16, 24, 20, 0.05);
  --shadow-md: 0 8px 28px -12px rgba(10, 53, 39, 0.22);
  --shadow-lg: 0 24px 60px -24px rgba(10, 53, 39, 0.35);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.35s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--green-700); text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--green-200); color: var(--green-950); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-900);
  color: #fff;
  padding: 10px 18px;
  z-index: 200;
  font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide { max-width: 1360px; }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(44px, 6vw, 80px); }
.section-dark { background: var(--green-950); color: #eef4f0; }
.section-alt { background: var(--surface-alt); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #f4faf6; }

.h-display { font-size: clamp(2.5rem, 5.4vw, 4.25rem); font-weight: 700; }
.h-xl { font-size: clamp(2rem, 4vw, 3rem); }
.h-lg { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.h-md { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.h-sm { font-size: 1.125rem; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}
.section-dark .lead { color: #c4d4ca; }

.text-muted { color: var(--muted); }
.section-dark .text-muted { color: #9db3a7; }

/* Small technical label — the "human designer" detail */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-700);
}
.label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--green-500);
}
.section-dark .label { color: var(--green-400); }
.section-dark .label::before { background: var(--green-400); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .label { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 16px; }
.section-head-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  max-width: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--green-800); color: #fff; }
.btn-primary:hover { background: var(--green-700); }

.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--green-700); color: var(--green-700); }

.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--green-100); }

.btn-ghost-light { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-700);
  border-bottom: 1px solid transparent;
  transition: gap var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.link-arrow:hover { gap: 12px; border-color: var(--green-500); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 9px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--green-800); background: var(--green-50); }
.nav-links a[aria-current="page"] { color: var(--green-800); font-weight: 600; }
.nav-links a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--green-500);
  margin-top: 3px;
}

.nav-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 140px) clamp(64px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.hero h1 { margin: 20px 0 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-meta div { font-size: 0.85rem; color: var(--muted); }
.hero-meta strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 4px;
}

/* Cube system visual — pure CSS/SVG, no stock imagery */
.hero-visual { position: relative; display: flex; justify-content: center; }
.cube-system { width: min(100%, 460px); height: auto; }
.cube-system .float-a { animation: floatY 7s ease-in-out infinite; }
.cube-system .float-b { animation: floatY 9s ease-in-out infinite reverse; }
.cube-system .float-c { animation: floatY 8s ease-in-out 1.2s infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(to right, var(--surface-alt) 1px, transparent 1px) 0 0 / 88px 88px,
    var(--paper);
}
.page-hero h1 { margin: 18px 0 18px; max-width: 16ch; }
.page-hero .lead { max-width: 60ch; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green-700); }

/* ---------- Intro / trust ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.intro-facts {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.intro-facts dl { display: grid; }
.intro-facts .fact {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.intro-facts .fact:last-child { border-bottom: 0; }
.intro-facts dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 3px;
}
.intro-facts dd { font-size: 0.95rem; color: var(--ink-soft); }

.delivery-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  list-style: none;
  padding: 0;
}
.delivery-chips li {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
  background: var(--surface);
}

/* ---------- Solutions ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.solution-cell {
  background: var(--surface);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  transition: background var(--dur) var(--ease);
}
.solution-cell:hover { background: var(--green-50); }
.solution-cell .num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.solution-cell h3 { font-size: 1.08rem; margin: 14px 0 10px; }
.solution-cell p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.solution-cell .cell-icon {
  width: 38px; height: 38px;
  color: var(--green-700);
  margin-bottom: 18px;
}

.solution-groups { display: grid; gap: clamp(40px, 6vw, 72px); }
.solution-group {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(24px, 5vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.solution-group:first-child { border-top: 0; padding-top: 0; }
.solution-group > div > p { color: var(--muted); font-size: 0.95rem; margin-top: 12px; max-width: 40ch; }
.solution-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  padding: 0;
}
.solution-items li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.solution-items li:hover { border-color: var(--green-500); transform: translateY(-2px); }
.solution-items li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  background: var(--green-500);
  transform: rotate(45deg) translateY(-1px);
}

/* ---------- Industries ---------- */
.industries-list { border-top: 1px solid var(--line); }
.industry-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 3.5vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}
.industry-row .idx {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--faint);
  letter-spacing: 0.1em;
}
.industry-row h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.industry-row p { font-size: 0.94rem; color: var(--muted); max-width: 52ch; }
.industry-row .tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  border: 1px solid var(--green-200);
  background: var(--green-50);
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ---------- Projects ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.filter-btn {
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  transition: all var(--dur) var(--ease);
}
.filter-btn:hover { border-color: var(--green-600); color: var(--green-700); }
.filter-btn.is-active {
  background: var(--green-900);
  border-color: var(--green-900);
  color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-200);
}
.project-cover {
  position: relative;
  aspect-ratio: 16 / 8.5;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
  overflow: hidden;
}
.project-cover .cover-cat {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.project-cover .cover-initial {
  position: absolute;
  right: -8px; top: -28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9rem;
  line-height: 1;
  opacity: 0.12;
  pointer-events: none;
}
.project-cover svg.cover-pattern {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.16;
}
.project-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.project-body .project-type { font-size: 0.82rem; color: var(--green-700); font-weight: 600; margin-bottom: 12px; }
.project-body p { font-size: 0.92rem; color: var(--muted); margin-bottom: 18px; }
.project-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.project-foot .role { font-size: 0.78rem; color: var(--faint); }

/* Case-study modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(6, 35, 26, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: min(760px, 100%);
  max-height: min(84vh, 900px);
  overflow-y: auto;
  transform: translateY(16px);
  transition: transform var(--dur) var(--ease);
}
.modal-overlay.is-open .modal { transform: translateY(0); }
.modal-head {
  padding: 28px 32px;
  color: #fff;
  position: relative;
}
.modal-head .cover-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.modal-head h3 { color: #fff; font-size: 1.6rem; margin-top: 8px; }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  transition: background var(--dur) var(--ease);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.28); }
.modal-body { padding: 28px 32px 36px; }
.modal-body > p { color: var(--ink-soft); margin-bottom: 24px; }
.modal-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 28px;
}
.modal-meta div { background: var(--surface-alt); padding: 14px 18px; }
.modal-meta dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.modal-meta dd { font-size: 0.9rem; font-weight: 500; }
.modal-body h4 {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 14px;
}
.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.capability-list li {
  font-size: 0.82rem;
  padding: 7px 13px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 100px;
  color: var(--green-800);
}

/* ---------- What we build ---------- */
.build-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
.build-col {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.build-col:hover { border-color: var(--green-500); background: rgba(255, 255, 255, 0.06); }
.build-col h3 { font-size: 1.02rem; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.build-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.build-col li { font-size: 0.86rem; color: #b9cbc1; display: flex; gap: 10px; align-items: baseline; }
.build-col li::before { content: "—"; color: var(--green-400); flex: none; }

/* ---------- Process timeline ---------- */
.process-track { position: relative; }
.process-track::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding-bottom: clamp(36px, 5vw, 56px);
}
.process-step:last-child { padding-bottom: 0; }
.process-step .step-num {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-800);
  background: var(--surface);
  border: 1px solid var(--green-200);
  border-radius: 50%;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.process-step:hover .step-num { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.process-step h3 { font-size: 1.15rem; margin-bottom: 8px; padding-top: 14px; }
.process-step p { color: var(--muted); font-size: 0.95rem; max-width: 56ch; }

/* ---------- Why L-QUBE ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.why-cell { background: var(--surface); padding: clamp(28px, 4vw, 44px); }
.why-cell .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--green-600);
}
.why-cell h3 { font-size: 1.2rem; margin: 14px 0 10px; }
.why-cell p { font-size: 0.93rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green-950);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 40px;
  align-items: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 20ch; }
.cta-band p { color: #a9c2b4; margin-top: 14px; max-width: 48ch; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-cube {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 340px;
  opacity: 0.1;
  pointer-events: none;
}

/* ---------- Quote strip ---------- */
.quote-strip { text-align: left; }
.quote-strip blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 26ch;
  color: var(--ink);
}
.quote-strip blockquote span { color: var(--green-600); }
.quote-strip cite {
  display: block;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.contact-details { display: grid; gap: 2px; }
.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-child { padding-top: 0; }
.contact-item .label { margin-bottom: 8px; }
.contact-item p { font-size: 1rem; color: var(--ink-soft); }
.contact-item .placeholder-note {
  font-size: 0.8rem;
  color: var(--faint);
  font-style: italic;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink-soft);
}
.form-field label .req { color: var(--green-600); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px var(--green-100);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #c0392b; }
.field-error {
  display: none;
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 6px;
}
.form-field.has-error .field-error { display: block; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: var(--green-50); border: 1px solid var(--green-200); color: var(--green-800); }
.form-note { font-size: 0.8rem; color: var(--faint); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: #b9cbc1;
  padding-block: clamp(56px, 7vw, 88px) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: #7d9a8c; }
.footer-brand p { font-size: 0.9rem; margin-top: 18px; max-width: 34ch; color: #93aca0; }
.footer-quote {
  margin-top: 22px;
  font-size: 0.88rem;
  font-style: italic;
  color: #c8dcd0;
  border-left: 2px solid var(--green-500);
  padding-left: 14px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7d9a8c;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #c8dcd0; font-size: 0.92rem; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.82rem;
  color: #7d9a8c;
}
.footer-bottom .tagline { font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-900);
  color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--dur) var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--green-700); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.maxw-prose { max-width: 68ch; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
