/* ---------- Colibrì Restyling — Design System ----------
   Aesthetic: "Precise & Kinetic" — editorial typography, warm paper bg,
   brand green as sole accent, generous whitespace, subtle motion.
----------------------------------------------------------- */

@font-face {
  font-family: 'Google Sans';
  src: url('fonts/GoogleSans.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette — derived from brand green ("VERDE" logo) */
  --brand: #1F8A5B;
  --brand-deep: #14633F;
  --brand-soft: #E8F4ED;
  --brand-ink: #0B2A1B;

  --paper: #F6F3EC;        /* warm off-white */
  --paper-2: #FFFFFF;
  --ink: #14231A;          /* warm near-black */
  --ink-2: #2A3A30;
  --muted: #6B7B70;
  --rule: rgba(20,35,26,0.12);
  --rule-strong: rgba(20,35,26,0.22);

  /* Type scale (fluid-ish) */
  --t-display: clamp(56px, 9vw, 152px);
  --t-display-2: clamp(40px, 5.5vw, 88px);
  --t-h1: clamp(36px, 4.4vw, 64px);
  --t-h2: clamp(28px, 3.2vw, 44px);
  --t-h3: clamp(20px, 1.6vw, 26px);
  --t-body: 17px;
  --t-small: 14px;
  --t-mono: 12px;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --max: 1400px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(.2,.7,.2,1);
}

[data-theme="dark"] {
  --paper: #0E1612;
  --paper-2: #131D17;
  --ink: #ECEFEA;
  --ink-2: #C2CCC5;
  --muted: #8A968D;
  --rule: rgba(236,239,234,0.12);
  --rule-strong: rgba(236,239,234,0.22);
  --brand-soft: #173023;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Google Sans', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--t-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variation-settings: "opsz" 18, "GRAD" 0;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ---------- Type primitives ---------- */
.kicker {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--t-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kicker::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  display: inline-block;
}
.kicker.plain::before { display: none; }

.eyebrow-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: var(--t-mono);
  color: var(--muted);
  letter-spacing: 0.06em;
}

.display {
  font-size: var(--t-display);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "GRAD" -50;
  margin: 0;
  text-wrap: pretty;
}
.display-2 {
  font-size: var(--t-display-2);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0;
  font-variation-settings: "opsz" 96, "GRAD" -25;
}
.h1 { font-size: var(--t-h1); font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
.h2 { font-size: var(--t-h2); font-weight: 500; line-height: 1.08; letter-spacing: -0.018em; margin: 0; }
.h3 { font-size: var(--t-h3); font-weight: 500; line-height: 1.25; margin: 0; }
.body-lg { font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.muted { color: var(--muted); }
.serif-italic { font-style: italic; font-feature-settings: "ss01"; }

/* ---------- Layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 140px) 0; }
.section.tight { padding: clamp(48px, 6vw, 88px) 0; }
.rule-top { border-top: 1px solid var(--rule); }
.rule-bottom { border-bottom: 1px solid var(--rule); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-link { padding: 0; border-radius: 0; background: transparent; color: var(--ink); border-bottom: 1px solid var(--ink); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Top utility bar ---------- */
.utility {
  background: var(--ink);
  color: var(--paper);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.utility-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.utility .pulse {
  display: inline-flex; align-items: center; gap: 8px;
}
.utility .pulse-dot {
  width: 7px; height: 7px; background: var(--brand); border-radius: 50%;
  box-shadow: 0 0 0 0 var(--brand);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,138,91,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(31,138,91,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,138,91,0); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--max); margin: 0 auto;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo .mark { width: 36px; height: 36px; }
.nav-logo .wordmark { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.nav-logo .wordmark span { color: var(--muted); font-weight: 400; }

.nav-links {
  display: flex; gap: 30px;
  font-size: 15px;
}
.nav-links a {
  color: var(--ink-2);
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--brand); }
.nav-links a.has-dropdown::after {
  content: "↓"; font-size: 10px; margin-left: 4px; opacity: .5;
}

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 clamp(60px, 7vw, 90px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: end;
}
.hero-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-title {
  margin-top: 36px;
}
.hero-title em {
  font-style: italic;
  color: var(--brand);
  font-variation-settings: "opsz" 144, "GRAD" -50;
}
.hero-foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  align-items: end;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}
.hero-foot .lede { max-width: 44ch; }
.hero-stat { display: flex; flex-direction: column; gap: 6px; }
.hero-stat .n { font-size: 44px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; font-variation-settings: "opsz" 48, "GRAD" -25;}
.hero-stat .l { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

@media (max-width: 800px) {
  .hero-foot { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex; gap: 56px;
  animation: scroll 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track[data-paused="true"] { animation-play-state: paused; }
.marquee-item {
  font-size: 28px; font-weight: 500; letter-spacing: -0.015em;
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee-item::after {
  content: "✦";
  color: var(--brand);
  font-size: 16px;
  margin-left: 56px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Manifesto / Intro ---------- */
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: 28px; }
}
.manifesto-body p { font-size: 22px; line-height: 1.4; margin: 0 0 18px; color: var(--ink); max-width: 28ch; }
.manifesto-body p:last-child { color: var(--muted); }
.manifesto-body strong { font-weight: 600; }

/* ---------- Services Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.svc {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 240px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.svc:hover { border-color: var(--brand); transform: translateY(-2px); }
.svc:hover .svc-arrow { background: var(--brand); color: #fff; transform: rotate(-45deg); }
.svc-top {
  display: flex; justify-content: space-between; align-items: start; gap: 16px;
}
.svc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.svc-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  display: grid; place-items: center;
  transition: all .3s var(--ease);
  font-size: 14px;
}
.svc-title { font-size: 26px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; }
.svc-desc { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* spans */
.svc.span-4 { grid-column: span 4; }
.svc.span-6 { grid-column: span 6; }
.svc.span-8 { grid-column: span 8; }
.svc.span-12 { grid-column: span 12; }
.svc.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.svc.featured .svc-num,
.svc.featured .svc-desc { color: rgba(255,255,255,0.65); }
.svc.featured .svc-arrow { border-color: rgba(255,255,255,0.25); color: var(--paper); }
.svc.brand-bg {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.svc.brand-bg .svc-num,
.svc.brand-bg .svc-desc { color: rgba(255,255,255,0.78); }
.svc.brand-bg .svc-arrow { border-color: rgba(255,255,255,0.35); color: #fff; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc.span-4, .svc.span-6, .svc.span-8, .svc.span-12 { grid-column: span 2; }
}

/* ---------- Method ---------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 800px) { .method-grid { grid-template-columns: 1fr; } }
.method-step {
  padding: 32px 0;
  border-top: 1px solid var(--rule-strong);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.method-step .step-no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--brand);
  letter-spacing: 0.08em;
}
.method-step .step-title { font-size: 36px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.method-step .step-desc { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 32ch; }
.method-step .step-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px dashed var(--rule);
}

/* ---------- Personas ---------- */
.personas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}
@media (max-width: 1000px) { .personas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .personas { grid-template-columns: 1fr; } }
.persona {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
  transition: all .3s var(--ease);
}
.persona:hover { border-color: var(--brand-deep); background: var(--brand-soft); }
.persona-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--brand); letter-spacing: 0.06em; }
.persona-q { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.persona-d { font-size: 14px; color: var(--muted); margin-top: auto; }

/* ---------- Quote / Why colibrì ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.why-visual {
  aspect-ratio: 4 / 5;
  background: var(--brand);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.why-visual svg { width: 60%; height: auto; }
.why-visual .ticks {
  position: absolute; inset: 24px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}
.why-visual .corner {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}
.why-visual .corner.tl { top: 34px; left: 34px; }
.why-visual .corner.tr { top: 34px; right: 34px; }
.why-visual .corner.bl { bottom: 34px; left: 34px; }
.why-visual .corner.br { bottom: 34px; right: 34px; }

.why-pillars {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; border-top: 1px solid var(--rule); }
.pillar .p-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--brand); letter-spacing: 0.08em; }
.pillar .p-val { font-size: 18px; font-weight: 500; }

/* ---------- Blog ---------- */
.blog-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 900px) { .blog-row { grid-template-columns: 1fr; } }
.post {
  border-top: 1px solid var(--ink);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.post:hover { border-top-color: var(--brand); }
.post:hover .post-title { color: var(--brand); }
.post-meta { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.post-title { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; transition: color .2s var(--ease); }
.post-excerpt { color: var(--muted); font-size: 14px; line-height: 1.5; }
.post-img {
  aspect-ratio: 16/10;
  background: var(--brand-soft);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.post-img::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(31,138,91,0.12) 14px 15px);
}
.post-img .post-tag {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--paper);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ---------- CTA / Footer ---------- */
.cta {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }
.cta-headline { font-size: clamp(40px, 5.5vw, 76px); line-height: 0.95; font-weight: 500; letter-spacing: -0.025em; }
.cta-headline em { font-style: italic; color: var(--brand); }
.cta-form { display: flex; flex-direction: column; gap: 14px; }
.cta-field {
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid rgba(246,243,236,0.3);
  padding: 14px 4px;
}
.cta-field input, .cta-field select {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--paper);
  font-family: inherit;
  font-size: 16px;
  outline: none;
}
.cta-field input::placeholder { color: rgba(246,243,236,0.5); }
.cta-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  width: 80px;
  flex-shrink: 0;
}
.cta-submit {
  margin-top: 12px;
  background: var(--brand);
  color: #fff;
  border: 0;
  padding: 18px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex; justify-content: space-between; align-items: center;
  transition: background .25s var(--ease);
}
.cta-submit:hover { background: var(--brand-deep); }

.footer {
  padding: 60px var(--gutter) 32px;
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
  margin-bottom: 56px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 18px; font-weight: 500; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-grid li a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  padding-top: 28px; border-top: 1px solid var(--rule);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--muted); letter-spacing: 0.05em;
}

/* ---------- Hero badges ---------- */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--paper-2);
}
.hero-badge.brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.hero-badge.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Office (rental) section ---------- */
.office-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .office-grid { grid-template-columns: 1fr; } }

.office-desks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 600px) { .office-desks { grid-template-columns: repeat(2, 1fr); } }

.desk {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  position: relative;
  overflow: hidden;
  transition: all .25s var(--ease);
  cursor: pointer;
}
.desk:hover { border-color: var(--brand); transform: translateY(-2px); }
.desk .desk-role {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.desk .desk-skill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: auto;
}
.desk .desk-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--brand);
  text-transform: uppercase;
}
.desk .desk-status .ds-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.desk.busy .desk-status { color: var(--muted); }
.desk.busy .desk-status .ds-dot { background: var(--muted); }
.desk .desk-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.desk.ai {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.desk.ai .desk-skill { color: rgba(246,243,236,0.6); }
.desk.ai .desk-id { color: rgba(246,243,236,0.5); }

.office-legend {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
  display: flex;
  gap: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
}
.office-legend span { display: inline-flex; align-items: center; gap: 8px; }
.office-legend .l-dot { width: 8px; height: 8px; border-radius: 50%; }
.office-legend .l-dot.on { background: var(--brand); }
.office-legend .l-dot.off { background: var(--muted); opacity: .5; }
.office-legend .l-dot.ai { background: var(--ink); }

.office-perks {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 700px) { .office-perks { grid-template-columns: 1fr; } }
.perk {
  padding: 20px 0 0;
  border-top: 2px solid var(--ink);
}
.perk .perk-n { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--brand); letter-spacing: 0.08em; }
.perk .perk-t { font-size: 17px; font-weight: 500; margin-top: 4px; letter-spacing: -0.01em; }
.perk .perk-d { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ---------- AI-first section ---------- */
.ai-section {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.ai-section .kicker { color: rgba(246,243,236,0.6); }
.ai-section .kicker::before { background: var(--brand); }
.ai-headline em { font-style: italic; color: var(--brand); }

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } }

.ai-caps {
  display: flex;
  flex-direction: column;
}
.ai-cap {
  padding: 22px 0;
  border-top: 1px solid rgba(246,243,236,0.16);
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 20px;
  align-items: start;
  transition: background .2s var(--ease);
}
.ai-cap:last-child { border-bottom: 1px solid rgba(246,243,236,0.16); }
.ai-cap:hover .ai-cap-arrow { color: var(--brand); transform: translateX(4px); }
.ai-cap .ai-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--brand);
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.ai-cap .ai-t { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.ai-cap .ai-d { font-size: 14px; color: rgba(246,243,236,0.6); margin-top: 6px; line-height: 1.5; }
.ai-cap-arrow {
  font-size: 22px;
  color: rgba(246,243,236,0.5);
  transition: all .25s var(--ease);
  padding-top: 4px;
}

/* AI side panel — terminal-ish "what we automate" */
.ai-terminal {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.7;
  position: relative;
}
.ai-terminal .ai-term-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px; border-bottom: 1px dashed var(--rule);
  margin-bottom: 16px;
}
.ai-terminal .ai-term-head .dots { display: flex; gap: 4px; }
.ai-terminal .ai-term-head .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--rule-strong); }
.ai-terminal .ai-term-head .label { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.ai-terminal pre { margin: 0; font-family: inherit; white-space: pre-wrap; }
.ai-terminal .prompt { color: var(--brand); }
.ai-terminal .key { color: var(--ink); font-weight: 600; }
.ai-terminal .val { color: var(--muted); }
.ai-terminal .ok { color: var(--brand); }

.ai-stack {
  margin-top: 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ai-stack .tool {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border: 1px solid rgba(246,243,236,0.18);
  border-radius: var(--radius-pill);
  color: rgba(246,243,236,0.85);
}

/* ---------- PROMO ---------- */
.promo-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
  padding: clamp(40px, 6vw, 80px) 0;
}
@media (max-width: 900px) { .promo-hero { grid-template-columns: 1fr; } }
.promo-hero-left { display: flex; flex-direction: column; gap: 28px; }
.promo-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  width: fit-content;
}
.promo-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.promo-headline { font-size: clamp(40px, 5.6vw, 84px); font-weight: 600; line-height: 0.96; letter-spacing: -0.028em; }
.promo-headline em { font-style: italic; color: var(--brand); }
.promo-sub { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 50ch; }
.promo-trust {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px; color: var(--muted);
}
.promo-trust ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.promo-trust li::before { content: "✓"; color: var(--brand); margin-right: 10px; font-weight: 600; }

.promo-form-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 100px;
  box-shadow: 0 30px 60px -20px rgba(20,35,26,0.10);
}
.promo-form-card .h { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.promo-form-card .sub { font-size: 14px; color: var(--muted); margin-top: -8px; }
.promo-form-card .field { display: flex; flex-direction: column; gap: 6px; }
.promo-form-card label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
.promo-form-card input, .promo-form-card select, .promo-form-card textarea {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s var(--ease);
}
.promo-form-card input:focus, .promo-form-card select:focus, .promo-form-card textarea:focus {
  outline: none; border-color: var(--brand);
}
.promo-form-card .fine { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.promo-form-card .check { display: flex; align-items: start; gap: 10px; font-size: 13px; color: var(--ink-2); }
.promo-form-card .check input { width: auto; }

.promo-success {
  background: var(--brand-soft);
  border: 1px solid var(--brand);
  color: var(--brand-deep);
  border-radius: 10px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.promo-success strong { font-size: 17px; }

/* Strip */
.promo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 800px) { .promo-strip { grid-template-columns: repeat(2, 1fr); } }
.promo-strip .c {
  padding: 32px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 6px;
}
.promo-strip .c:last-child { border-right: 0; }
.promo-strip .v { font-size: 38px; font-weight: 500; letter-spacing: -0.02em; }
.promo-strip .v em { font-style: italic; color: var(--brand); }
.promo-strip .l { font-size: 13px; color: var(--muted); }

/* 3 reasons */
.promo-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 800px) { .promo-reasons { grid-template-columns: 1fr; } }
.promo-reason {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--paper-2);
  display: flex; flex-direction: column; gap: 14px;
}
.promo-reason .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: grid; place-items: center;
  color: var(--brand-deep);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}
.promo-reason h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.promo-reason p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.55; }

/* Deliverables */
.promo-deliv {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .promo-deliv { grid-template-columns: 1fr; } }
.promo-deliv ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.promo-deliv li {
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 20px;
  align-items: start;
}
.promo-deliv li:last-child { border-bottom: 1px solid var(--rule); }
.promo-deliv li .n { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--brand); padding-top: 4px; }
.promo-deliv li .t { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.promo-deliv li .desc { font-size: 14px; color: var(--muted); margin-top: 4px; }
.promo-deliv li .time { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }

/* Testimonial */
.promo-testimonial {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
@media (max-width: 900px) { .promo-testimonial { grid-template-columns: 1fr; } }
.promo-testimonial blockquote {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
}
.promo-testimonial .who { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: rgba(246,243,236,0.6); letter-spacing: 0.06em; }
.promo-testimonial .name { font-size: 18px; font-weight: 500; margin-top: 6px; }
.promo-testimonial .role { font-size: 13px; color: rgba(246,243,236,0.5); margin-top: 2px; }

/* FAQ */
.promo-faq { display: flex; flex-direction: column; max-width: 880px; margin: 48px auto 0; }
.promo-faq details {
  border-top: 1px solid var(--rule);
  padding: 22px 4px;
  cursor: pointer;
}
.promo-faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.promo-faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 19px; font-weight: 500; letter-spacing: -0.01em;
}
.promo-faq summary::-webkit-details-marker { display: none; }
.promo-faq summary::after {
  content: "+";
  font-size: 28px; font-weight: 300;
  color: var(--brand);
  transition: transform .3s var(--ease);
}
.promo-faq details[open] summary::after { content: "–"; }
.promo-faq .a { font-size: 15px; line-height: 1.55; color: var(--muted); padding-top: 12px; max-width: 70ch; }

/* ---------- View switcher (chrome) ---------- */
.viewer-chrome {
  position: sticky; top: 0; z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 10px var(--gutter);
  display: flex; align-items: center; gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(0,0,0,0.3);
}
.viewer-chrome .dots { display: flex; gap: 6px; }
.viewer-chrome .dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.viewer-chrome .urlbar {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 6px 14px;
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 8px;
}
.viewer-chrome .urlbar .lock { color: var(--brand); }
.viewer-chrome .tabs { display: flex; gap: 0; background: rgba(255,255,255,0.08); border-radius: 999px; padding: 4px; }
.viewer-chrome .tabs button {
  background: transparent;
  border: 0;
  color: var(--paper);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.viewer-chrome .tabs button[data-active="true"] { background: var(--brand); }

/* Logo SVG sizing */
.logo-mark { display: inline-block; }

/* ---------- Misc helpers ---------- */
.center { text-align: center; }
.flex { display: flex; }
.gap-12 { gap: 12px; }
.gap-24 { gap: 24px; }
.between { justify-content: space-between; }
.items-center { align-items: center; }
.wrap { flex-wrap: wrap; }
.muted-small { font-size: 13px; color: var(--muted); }

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); transition: all .8s var(--ease); }
  .reveal.in { opacity: 1; transform: translateY(0); }
}

/* JetBrains Mono fallback */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

/* ====================================================
   INNER PAGES — shared
==================================================== */

.page-hero {
  padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 6vw, 80px);
}
.page-hero .breadcrumb {
  display: flex;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}
.page-hero .breadcrumb a:hover { color: var(--brand); }
.page-hero .breadcrumb .sep { opacity: .5; }

.page-hero h1 {
  font-size: clamp(56px, 8vw, 132px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin: 0;
  font-variation-settings: "opsz" 144, "GRAD" -50;
  text-wrap: balance;
}
.page-hero h1 em { font-style: italic; color: var(--brand); }
.page-hero .ph-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 800px) { .page-hero .ph-intro { grid-template-columns: 1fr; gap: 24px; } }
.page-hero .ph-intro p { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 48ch; margin: 0; }
.page-hero .ph-meta {
  display: flex; flex-direction: column; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--muted); letter-spacing: 0.05em;
}
.page-hero .ph-meta strong { color: var(--ink); font-weight: 500; }

/* Dropdown nav */
.nav-links .dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  /* extends hit area down so the bridge to dropdown stays hovered */
  padding-bottom: 24px;
  margin-bottom: -24px;
}
.nav-links .dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  /* invisible by default but already laid out — smooth fade */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
  z-index: 60;
  /* the top padding creates the visible gap WITHOUT a hover dead-zone */
  padding-top: 14px;
}
.nav-links .dropdown[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity .18s var(--ease), transform .22s var(--ease), visibility 0s linear 0s;
}
.nav-links .dropdown-inner {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 30px 60px -20px rgba(20,35,26,0.18);
}
.nav-links .dropdown a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  transition: all .15s var(--ease);
}
.nav-links .dropdown a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.nav-links .dropdown a .dd-no { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }
.nav-links .dropdown a:hover .dd-no { color: var(--brand); }
/* Caret on trigger rotates subtly when open */
.nav-links .dropdown-wrap .has-dropdown::after {
  transition: transform .22s var(--ease), opacity .2s var(--ease);
}
.nav-links .dropdown-wrap:has(.dropdown[data-open="true"]) .has-dropdown::after {
  transform: rotate(180deg);
  opacity: 0.9;
}

/* About / Method bigger text block */
.lead-block {
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin: 0;
  text-wrap: pretty;
}
.lead-block em { font-style: italic; color: var(--brand); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }
.two-col .col-text p { font-size: 17px; line-height: 1.55; margin: 0 0 16px; color: var(--ink-2); }
.two-col .col-text p:last-child { margin-bottom: 0; }
.two-col .col-text strong { color: var(--ink); }

/* Founder card */
.founder {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  padding: clamp(36px, 5vw, 64px);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
}
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; gap: 24px; } }
.founder-visual {
  aspect-ratio: 4 / 5;
  background: var(--brand);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end;
  padding: 24px;
  color: rgba(255,255,255,0.85);
}
.founder-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 22px, rgba(255,255,255,0.08) 22px 23px);
}
.founder-visual .placeholder {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  position: relative;
  text-align: right;
}
.founder-name { font-size: 38px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.founder-role { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--brand); letter-spacing: 0.06em; margin-top: 8px; }
.founder p { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: 16px 0; }
.founder-stats { display: flex; gap: 32px; margin-top: 18px; flex-wrap: wrap; }
.founder-stats .s-n { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; }
.founder-stats .s-l { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

/* Values strip */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 800px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 12px;
}
.value:last-child { border-right: 0; }
.value .v-n { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--brand); letter-spacing: 0.08em; }
.value .v-t { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.value .v-d { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Method timeline — vertical */
.timeline {
  display: flex; flex-direction: column;
  margin-top: 56px;
}
.tl-step {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--rule-strong);
  align-items: start;
  position: relative;
}
.tl-step:last-child { border-bottom: 1px solid var(--rule-strong); }
@media (max-width: 800px) { .tl-step { grid-template-columns: 1fr; gap: 16px; } }
.tl-step .tl-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--brand);
  letter-spacing: 0.08em;
}
.tl-step .tl-t { font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.tl-step .tl-d { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.tl-step .tl-d p { margin: 0 0 12px; }
.tl-step .tl-d p:last-child { margin-bottom: 0; }
.tl-step .tl-meta {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--muted); letter-spacing: 0.05em;
}
.tl-step .tl-meta strong { color: var(--ink); font-weight: 500; }

/* Services index grid */
.svc-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (max-width: 800px) { .svc-index { grid-template-columns: 1fr; } }
.svc-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr auto;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--rule-strong);
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  grid-column: span 2;
  transition: all .25s var(--ease);
}
@media (max-width: 800px) {
  .svc-row { grid-template-columns: 1fr; gap: 14px; grid-column: span 1; }
}
.svc-row:last-child { border-bottom: 1px solid var(--rule-strong); }
.svc-row:hover { padding-left: 24px; padding-right: 24px; background: var(--paper-2); }
.svc-row:hover .svc-row-arrow { color: var(--brand); transform: translateX(4px); }
.svc-row .svc-row-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--brand);
  letter-spacing: 0.08em;
}
.svc-row .svc-row-title { font-size: clamp(24px, 2.6vw, 36px); font-weight: 500; letter-spacing: -0.018em; line-height: 1.05; }
.svc-row .svc-row-desc { font-size: 14px; color: var(--muted); line-height: 1.5; max-width: 50ch; }
.svc-row .svc-row-arrow {
  font-size: 24px;
  color: var(--ink-2);
  transition: all .25s var(--ease);
}
.svc-row.is-ai .svc-row-title::after {
  content: "AI";
  display: inline-block;
  margin-left: 14px;
  padding: 3px 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  vertical-align: middle;
}

/* Service detail */
.svc-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .svc-detail-grid { grid-template-columns: 1fr; } }
.svc-detail-grid .svc-side {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-side h4 { font-size: 14px; font-weight: 500; margin: 0; }
.svc-side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.svc-side ul li { display: flex; gap: 10px; align-items: baseline; }
.svc-side ul li::before { content: "—"; color: var(--brand); }

.svc-include {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 700px) { .svc-include { grid-template-columns: 1fr; } }
.svc-include-card {
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.svc-include-card .ic-n { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--brand); letter-spacing: 0.06em; }
.svc-include-card .ic-t { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin: 8px 0 6px; }
.svc-include-card .ic-d { font-size: 14px; color: var(--muted); line-height: 1.5; }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 32px 0;
}
@media (max-width: 700px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
.kpi {
  padding: 24px 28px 24px 0;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 6px;
}
.kpi:last-child { border-right: 0; }
.kpi-v { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.kpi-v em { font-style: italic; color: var(--brand); }
.kpi-l { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

.related-svc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
@media (max-width: 800px) { .related-svc { grid-template-columns: 1fr; } }
.related-card {
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-2);
  cursor: pointer;
  transition: all .25s var(--ease);
  display: flex; flex-direction: column; gap: 10px;
}
.related-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.related-card .rc-n { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.related-card .rc-t { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.related-card .rc-arrow { margin-top: auto; color: var(--brand); }

/* Blog list */
.blog-list {
  display: flex;
  flex-direction: column;
}
.blog-list-item {
  display: grid;
  grid-template-columns: 200px 1fr 1fr auto;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule-strong);
  align-items: start;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.blog-list-item:last-child { border-bottom: 1px solid var(--rule-strong); }
@media (max-width: 900px) { .blog-list-item { grid-template-columns: 1fr; gap: 12px; } }
.blog-list-item:hover .bl-title { color: var(--brand); }
.bl-meta { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: 0.05em; display: flex; flex-direction: column; gap: 6px; }
.bl-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
}
.bl-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.018em; line-height: 1.1; transition: color .2s var(--ease); margin: 0; }
.bl-excerpt { font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 50ch; }
.bl-arrow { color: var(--brand); font-size: 22px; }

.blog-filters {
  display: flex; gap: 10px;
  flex-wrap: wrap;
  margin: 48px 0 0;
  padding-bottom: 24px;
}
.bf-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.bf-chip:hover { border-color: var(--brand); color: var(--brand-deep); }
.bf-chip[data-active="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Article detail */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
}
.article-body p { margin: 0 0 22px; }
.article-body h2 { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; margin: 48px 0 18px; line-height: 1.15; }
.article-body h3 { font-size: 22px; font-weight: 500; margin: 36px 0 14px; letter-spacing: -0.015em; }
.article-body ul { margin: 0 0 22px; padding-left: 22px; }
.article-body ul li { margin-bottom: 8px; }
.article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 19px;
  font-style: italic;
  color: var(--brand-deep);
}
.article-meta {
  max-width: 720px;
  margin: 0 auto 48px;
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--muted); letter-spacing: 0.05em;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 36px; }
.contact-block {
  display: flex; flex-direction: column; gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.contact-block:last-child { border-bottom: 0; }
.contact-block .cb-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--brand);
  letter-spacing: 0.08em;
}
.contact-block .cb-value {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.contact-block .cb-sub { font-size: 14px; color: var(--muted); }

.map-placeholder {
  aspect-ratio: 16/10;
  background: var(--brand-soft);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--rule);
}
.map-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(transparent 0 calc(50% - 1px), rgba(31,138,91,0.35) calc(50% - 1px) 50%, transparent 50%),
    linear-gradient(90deg, transparent 0 calc(50% - 1px), rgba(31,138,91,0.35) calc(50% - 1px) 50%, transparent 50%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(31,138,91,0.12) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(31,138,91,0.12) 39px 40px);
}
.map-placeholder .pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.map-placeholder .pin::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--brand);
}

.contact-form {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 4px; }
.contact-form .sub { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--brand); }

/* ====================================================
   Hero with image + Risorse section
==================================================== */

.hero-with-image {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: end;
  margin-top: 36px;
}
@media (max-width: 900px) { .hero-with-image { grid-template-columns: 1fr; gap: 32px; } }

.hero-image {
  position: relative;
  aspect-ratio: 4 / 3.6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-soft);
}
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image .img-overlay {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  display: flex; justify-content: space-between; align-items: end;
  pointer-events: none;
}
.hero-image .img-overlay .tag {
  background: var(--paper);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Risorse section */
.risorse {
  background: var(--paper-2);
  padding: clamp(64px, 9vw, 120px) 0;
}
.risorse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 1000px) { .risorse-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .risorse-grid { grid-template-columns: 1fr; } }

.risorsa {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
  cursor: pointer;
  min-height: 340px;
}
.risorsa:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(20,35,26,0.18);
}
.risorsa.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.risorsa.featured .r-desc { color: rgba(246,243,236,0.65); }
.risorsa.featured .r-tag { background: var(--brand); color: #fff; }
.risorsa.featured .r-meta { color: rgba(246,243,236,0.5); }

.risorsa .r-top {
  display: flex; justify-content: space-between; align-items: center;
}
.risorsa .r-tag {
  background: var(--brand-soft);
  color: var(--brand-deep);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}
.risorsa .r-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.risorsa .r-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-top: 6px;
}
.risorsa .r-title em {
  font-style: italic;
  color: var(--brand);
}
.risorsa.featured .r-title em { color: var(--brand); }
.risorsa .r-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.risorsa .r-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px;
  border-top: 1px dashed currentColor;
  opacity: .85;
}
.risorsa .r-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.risorsa .r-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  color: var(--brand);
}
.risorsa.featured .r-cta { color: var(--brand); }
.risorsa .r-cta .arr { transition: transform .25s var(--ease); }
.risorsa:hover .r-cta .arr { transform: translateX(4px); }

/* Team grid (chi siamo) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 220px;
  transition: all .25s var(--ease);
}
.team-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.team-card .tc-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
}
.team-card .tc-role { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.team-card .tc-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Page image */
.page-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-soft);
  margin: 32px 0 0;
}
.page-image img { width: 100%; height: 100%; object-fit: cover; }


