/* ==========================================================
   Garrido Electronics – new site
   Tokens first: swap the brand colours here when the new logo lands.
   ========================================================== */
:root {
  --ink: #0d1a14;
  --ink-2: #3c4a43;
  --muted: #64726b;
  --paper: #ffffff;
  --tint: #f3f7f2;
  --line: #dfe7dd;

  --dark: #07110d;
  --dark-2: #0d1b15;
  --dark-line: rgba(255, 255, 255, .12);
  --on-dark: #e8f0ea;
  --on-dark-2: #a8b8ae;

  --brand: #2f7d20;        /* logo green, text-safe on white */
  --brand-2: #3b8427;
  --lime: #7be24f;         /* accent on dark */
  --lime-ink: #062b0c;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 26, 20, .05), 0 8px 24px rgba(13, 26, 20, .06);
  --header-h: 72px;

  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--dark); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 0 0 rgba(123, 226, 79, .5); }
.btn-primary:hover { box-shadow: 0 8px 28px -6px rgba(123, 226, 79, .55); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { padding: 9px 18px; font-size: 15px; background: var(--dark); color: #fff; }
.btn-sm:hover { background: var(--brand); }
.btn-block { width: 100%; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--ink); border-color: var(--lime); }

.lang { display: inline-flex; background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; padding: 5px 12px; border-radius: 999px; cursor: pointer;
  font: 600 13px/1 var(--mono); color: var(--muted); letter-spacing: .04em;
}
.lang button[aria-pressed="true"] { background: var(--dark); color: #fff; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s, top .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--on-dark); overflow: hidden; isolation: isolate;
  background:
    linear-gradient(100deg, rgba(4, 12, 8, .97) 0%, rgba(4, 12, 8, .86) 48%, rgba(4, 12, 8, .55) 100%),
    url('../images/hero-pcb.jpg') center / cover no-repeat, var(--dark);
}
.hero::after { /* fade into next section */
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--dark-line); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-dark { color: var(--brand); }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 700; letter-spacing: -.035em; color: #fff; }
.hl { color: var(--lime); }
.lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--on-dark-2); }

.hero-art { justify-self: end; width: 100%; max-width: 560px; }
.hero-art { perspective: 1100px; }
/* Mouse tilt: main.js writes --rx / --ry (each -1 .. 1). Without JS or a mouse they stay 0 = flat. */
.board { width: 100%; height: auto; transform: rotateY(calc(var(--rx, 0) * 11deg)) rotateX(calc(var(--ry, 0) * -8deg)); will-change: transform; }
.board .traces, .board .pulses, .board .pads { transform: translate(calc(var(--rx, 0) * 3px), calc(var(--ry, 0) * 3px)); }
.board .chip { transform: translate(calc(var(--rx, 0) * -6px), calc(var(--ry, 0) * -6px)); }
.board .chip-shadow { transform: translate(calc(var(--rx, 0) * 12px), calc(var(--ry, 0) * 8px)); }
.board .traces path { stroke: rgba(123, 226, 79, .28); stroke-width: 2.5; }
.board .pulses use { stroke: var(--lime); stroke-width: 2.5; stroke-dasharray: 14 300; stroke-dashoffset: 314; animation: pulse 3.6s linear infinite; }
.board.paused .pulses use { animation-play-state: paused; }
.board .pulses use:nth-child(2n) { animation-duration: 4.4s; animation-delay: -1.3s; }
.board .pulses use:nth-child(3n) { animation-duration: 5.2s; animation-delay: -2.6s; }
.board .pads circle { fill: var(--dark); stroke: var(--lime); stroke-opacity: .7; stroke-width: 2; }
.chip-t { font: 500 20px var(--mono); fill: #fff; letter-spacing: .08em; }
.chip-s { font: 400 10px var(--mono); fill: var(--on-dark-2); letter-spacing: .1em; }
@keyframes pulse { to { stroke-dashoffset: 0; } }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dark-line); }
.strip li { display: flex; gap: 12px; align-items: baseline; padding: 22px 20px 26px 0; font-size: 15px; font-weight: 500; color: var(--on-dark); }
.strip li + li { padding-left: 20px; border-left: 1px solid var(--dark-line); }
.strip .mono { color: var(--lime); font-size: 12px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -.03em; }
.section-dark h2 { color: #fff; }
.sub { margin-top: 18px; color: var(--muted); font-size: 18px; }
.section-dark .sub { color: var(--on-dark-2); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 32px;
  transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--lime); transition: width .35s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d8c5; }
.card:hover::before { width: 100%; }
.ico-l { width: 40px; height: 40px; fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.card h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -.015em; }
.card p { color: var(--ink-2); font-size: 16px; }

.mini-cta {
  margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 26px 32px; border-radius: var(--radius); background: var(--dark); color: var(--on-dark);
}
.mini-cta strong { color: #fff; }
.mini-cta p { max-width: 40em; }

/* Approach */
.points { display: grid; gap: 4px; }
.points li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--dark); color: var(--lime); font-weight: 500; }
.points h3 { font-size: 21px; margin-bottom: 6px; }
.points p { color: var(--ink-2); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 34px 24px 0 0; }
.steps li::before { content: ""; position: absolute; left: 0; top: 11px; right: 0; height: 2px; background: var(--dark-line); }
.steps li::after { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--dark); border: 2px solid var(--lime); }
.step-n { color: var(--lime); font-size: 13px; }
.steps h3 { color: #fff; font-size: 21px; margin: 8px 0 8px; }
.steps p { color: var(--on-dark-2); font-size: 15.5px; }

/* Industries */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; background: var(--tint); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--mono); color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--ink-2); }

/* Contact */
.contact { position: relative; isolation: isolate; background: radial-gradient(900px 500px at 85% 0%, rgba(123, 226, 79, .13), transparent 60%), var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact h2 { font-size: clamp(32px, 4.4vw, 52px); }
.channels { margin-top: 40px; display: grid; gap: 18px; }
.channels li { display: flex; align-items: center; gap: 16px; }
.channels .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(123, 226, 79, .12); color: var(--lime); }
.channels .lbl { display: block; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.channels a { font-size: 20px; font-weight: 600; text-decoration: none; color: #fff; border-bottom: 1px solid rgba(123, 226, 79, .5); }
.channels a:hover { color: var(--lime); }

.form { background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(59, 132, 39, .15); }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand-2); flex: none; }
.check.invalid { color: #c0392b; }
.form .btn-primary { background: var(--dark); color: #fff; }
.form .btn-primary:hover { background: var(--brand); box-shadow: none; }
.form-status { min-height: 1.4em; font-size: 15px; font-weight: 500; }
.form-status.ok { color: var(--brand); }
.form-status.err { color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--tint); border-top: 1px solid var(--line); padding-top: 56px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.foot-grid img { height: 56px; width: auto; }
.foot-tag { margin-top: 14px; color: var(--muted); max-width: 22em; }
.foot-grid h4 { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-grid a { display: block; text-decoration: none; padding: 4px 0; color: var(--ink-2); }
.foot-grid a:hover { color: var(--brand); }
.foot-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.foot-grid .foot-wa { display: inline-flex; }
.foot-wa .ico { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.foot-bottom { border-top: 1px solid var(--line); padding: 20px 0 28px; color: var(--muted); font-size: 14px; }

/* Clients band */
.clients { background: var(--paper); border-bottom: 1px solid var(--line); }
.clients-inner { display: flex; align-items: center; gap: 12px 48px; padding: 30px 0; flex-wrap: wrap; }
.clients-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); flex: none; }
.clients-list { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 44px; flex: 1; justify-content: space-between; }
.clients-list li { color: #6b7a72; font-size: 22px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: color .2s; }
.clients-list li:hover { color: var(--ink); }
.clients-list .c-airbus { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 19px; }
.clients-list .c-ingeteam { font-weight: 700; }
.clients-list .c-elixion { font-weight: 500; letter-spacing: .01em; }
.clients-list .c-swisscom { font-weight: 600; }
.clients-list .c-neuro { font-weight: 500; letter-spacing: .02em; }

/* Logos are pre-coloured a single muted grey; heights are tuned so they carry equal visual weight */
.clients-list li { display: flex; align-items: center; }
.clients-list img { width: auto; max-width: 100%; }
.clients-list .c-airbus img { height: 22px; }
.clients-list .c-ingeteam img { height: 26px; }
.clients-list .c-swisscom img { height: 28px; }
.clients-list .c-elixion img { height: 42px; }
.clients-list .c-neuro img { height: 34px; }

/* Booking */
.hero-actions .btn-wa { padding: 14px; }
.hero-actions .btn-wa .ico { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.book-card {
  display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--lime); color: var(--lime-ink); text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.book-card:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(123, 226, 79, .55); }
.book-card .ico { width: 30px; height: 30px; }
.book-card span:not(.arrow) { flex: 1; }
.book-card strong { display: block; font-size: 18px; }
.book-card small { display: block; font-size: 14px; opacity: .8; }
.book-card .arrow { font-size: 22px; font-weight: 700; }
.book-card + .channels { margin-top: 28px; }

/* Footer bottom row */
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom a { color: var(--muted); text-decoration: none; }
.foot-bottom a:hover { color: var(--brand); text-decoration: underline; }
.check a { color: var(--brand); }

/* Legal / privacy page */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 110px); }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 700; letter-spacing: -.03em; }
.legal .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; }
.legal a { color: var(--brand); }
.legal address { font-style: normal; padding: 18px 22px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); line-height: 1.7; }
.todo { background: #fff3bf; color: #5c4700; padding: 0 4px; border-radius: 4px; }
.back-link { font-weight: 600; text-decoration: none; font-size: 15px; color: var(--ink-2); }
.back-link:hover { color: var(--brand); }
.header-inner .back-link { margin-left: auto; }

/* Cookie banner: Accept and Reject share one style on purpose (equal prominence) */
.cookie {
  position: fixed; z-index: 80; left: 20px; bottom: 20px; width: min(440px, calc(100% - 40px));
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 22px 20px; box-shadow: 0 24px 60px -12px rgba(7, 17, 13, .35);
}
.cookie h2 { font-size: 18px; letter-spacing: -.01em; outline: none; }
.cookie p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.cookie p a { color: var(--brand); }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.cb-btn {
  flex: 1 1 0; min-width: 120px; padding: 11px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--dark); background: var(--dark); color: #fff; font-weight: 600; font-size: 15px;
  transition: background .15s, border-color .15s;
}
.cb-btn:hover { background: var(--brand); border-color: var(--brand); }
.cb-link { background: none; border: 0; padding: 8px 6px; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.cb-link:hover { color: var(--brand); }
.cb-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cb-row:first-child { margin-top: 4px; }
.cb-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand-2); flex: none; }
.cb-row strong { display: block; font-size: 15px; }
.cb-row small { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); margin-top: 2px; }

.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; text-decoration: none; }
.linklike:hover { color: var(--brand); text-decoration: underline; }
.foot-links { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; }

/* Consent-gated calendar */
.embed-wrap { margin-top: clamp(40px, 6vw, 72px); }
.embed-wrap h3 { color: #fff; font-size: 24px; margin-bottom: 18px; }
.embed-gate { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border: 1px dashed rgba(255, 255, 255, .3); border-radius: var(--radius); color: var(--on-dark-2); }
.embed-gate p { max-width: 42em; }
.embed-frame-host iframe { display: block; width: 100%; height: 680px; border: 0; border-radius: var(--radius); background: #fff; }

/* Cookie table (privacy page) */
.table-wrap { overflow-x: auto; margin: 16px 0; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cookie-table th, .cookie-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table th { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
.cookie-table code { font-family: var(--mono); font-size: 13.5px; background: var(--tint); padding: 1px 6px; border-radius: 4px; }

/* Mobile dock */
.dock { display: none; }

/* Reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 440px; margin-top: 8px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip li:nth-child(3) { padding-left: 0; border-left: 0; }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
}
@media (max-width: 860px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split .section-head { position: static; margin-bottom: 32px; }
  .burger { display: block; margin-left: 4px; }
  .lang { margin-left: auto; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: 0 20px 30px rgba(0, 0, 0, .08);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 14px; padding: 14px; }
}
@media (max-width: 1020px) {
  .clients-label { flex: 0 0 100%; }
  .clients-list { justify-content: flex-start; gap: 18px 36px; }
  .clients-list li { font-size: 19px; }
}
@media (max-width: 640px) {
  .clients-list { gap: 20px 28px; }
  .clients-list .c-airbus img { height: 18px; }
  .clients-list .c-ingeteam img { height: 22px; }
  .clients-list .c-swisscom img { height: 24px; }
  .clients-list .c-elixion img { height: 34px; }
  .clients-list .c-neuro img { height: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 18px 18px 16px; }
  .embed-frame-host iframe { height: 620px; }
  .book-card { padding: 16px 18px; }
  .book-card strong { font-size: 17px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .cards, .row2, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn:not(.btn-wa) { width: 100%; }
  .strip li { padding: 16px 12px 16px 0; font-size: 14px; flex-direction: column; gap: 4px; }
  .strip li + li { padding-left: 14px; }
  .mini-cta { padding: 24px; }
  .mini-cta .btn { width: 100%; }
  .brand img { height: 40px; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 17, 13, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--dark-line);
  }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; text-decoration: none; color: #fff; font-weight: 600; font-size: 15px; border: 1px solid rgba(255, 255, 255, .22); }
  .dock .dock-main { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .board .pulses use { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; opacity: .0; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Blog ---------- */
.header-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.header-links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.header-links a:not(.btn):hover, .header-links a[aria-current="page"] { color: var(--ink); border-color: var(--lime); }
.lang a { padding: 5px 12px; border-radius: 999px; font: 600 13px/1 var(--mono); color: var(--muted); letter-spacing: .04em; text-decoration: none; }
.lang a[aria-current="true"] { background: var(--dark); color: #fff; }

.blog-index, .post { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 110px); }
.blog-index .wrap, .post .wrap { max-width: 46rem; }
.blog-index h1, .post h1 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 700; letter-spacing: -.03em; }
.blog-lead { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.blog-empty { margin-top: 32px; padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.post-list { display: grid; gap: 18px; margin-top: 36px; }
.post-card { display: block; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c9d8c5; }
.post-card time, .post-meta { font: 500 13px/1 var(--mono); color: var(--muted); letter-spacing: .04em; }
.post-card h2 { font-size: 22px; margin: 12px 0 8px; }
.post-card p { color: var(--ink-2); font-size: 16px; }

.post-back { display: inline-block; margin-bottom: 28px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink-2); }
.post-back:hover { color: var(--brand); }
.post-meta { margin-top: 18px; }
.post-body { margin-top: 36px; font-size: 18px; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { font-size: 26px; margin-top: 2em; }
.post-body h3 { font-size: 21px; margin-top: 1.6em; }
.post-body p, .post-body li { color: var(--ink-2); }
.post-body ul, .post-body ol { padding-left: 1.4em; display: grid; gap: 6px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body a { color: var(--brand); }
.post-body blockquote { border-left: 3px solid var(--lime); padding: 2px 0 2px 18px; }
.post-body code { font: .9em var(--mono); background: var(--tint); padding: 2px 6px; border-radius: 6px; }
.post-body pre { background: var(--dark); color: var(--on-dark); padding: 16px 18px; border-radius: 12px; overflow-x: auto; font-size: 15px; }
.post-body pre code { background: none; padding: 0; color: inherit; }
.post-body img { border-radius: 12px; height: auto; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.post-cta { margin-top: 56px; padding: 28px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); }
.post-cta h2 { font-size: 22px; }
.post-cta p { margin-top: 8px; color: var(--ink-2); }
.post-cta .btn { margin-top: 18px; }

@media (max-width: 640px) {
  .header-links { gap: 12px; }
  .header-links .hide-sm { display: none; }
  .post-body { font-size: 17px; }
}
@media (max-width: 440px) { .header-links .hide-xs { display: none; } .header-links { margin-left: auto; } }

/* ---------- Hero video ---------- */
.hero-video { position: relative; aspect-ratio: 16 / 9; max-width: 640px; perspective: none; }
.hero-video video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  transform: scale(1.3);                        /* the clip has a lot of empty frame around the product */
  mix-blend-mode: lighten;                      /* the video's near-black background melts into the hero */
  -webkit-mask-image: radial-gradient(ellipse 62% 66% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 66% at 50% 50%, #000 55%, transparent 100%);
}
@media (max-width: 1020px) { .hero-video { max-width: 560px; margin-inline: auto; } }
