/* =========================================================================
   CKS Software Solutions — design system
   Aesthetic: refined engineered (light). Brand blue + ink-navy dominant,
   amber sharp accent, blueprint-grid motif, subtle grain, optical serif
   display (Fraunces) + grotesk body (Hanken Grotesk) + mono labels.
   ========================================================================= */

:root {
  /* Brand */
  --blue: #1b8acb;
  --blue-600: #1577b0;
  --blue-700: #115f8d;
  --blue-050: #eaf4fb;
  --ink: #14143a;          /* near-brand navy #16163F, deepened */
  --ink-700: #2a2a55;
  --amber: #f0a02a;        /* sharp accent */
  --amber-600: #d98910;

  /* Neutrals */
  --paper: #f5f7fa;        /* page canvas */
  --surface: #ffffff;
  --surface-2: #fbfcfe;
  --line: #e3e8ef;
  --line-strong: #cdd6e2;
  --text: #1d2433;
  --muted: #5b6678;
  --muted-2: #8a93a4;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Geometry */
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20, 20, 58, 0.05), 0 2px 6px rgba(20, 20, 58, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 20, 58, 0.08), 0 2px 8px rgba(20, 20, 58, 0.05);
  --shadow-lg: 0 24px 60px rgba(20, 20, 58, 0.14), 0 8px 20px rgba(20, 20, 58, 0.07);
  --shadow-blue: 0 18px 40px rgba(27, 138, 203, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber); color: var(--ink); }

/* blueprint grid + grain atmosphere on the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(27, 138, 203, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 138, 203, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

/* ----- layout primitives ----- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--blue);
  opacity: 0.6;
}
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 18px;
  font-optical-sizing: auto;
}
.section-head p { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); margin-top: 18px; max-width: 60ch; }
.lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); }

em.amber { font-style: normal; color: var(--blue); position: relative; white-space: nowrap; }
em.amber::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.04em;
  height: 0.32em; background: var(--amber); opacity: 0.32; z-index: -1; border-radius: 2px;
}

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 50px rgba(27,138,203,.36); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); background: var(--surface); box-shadow: var(--shadow-sm); }
.btn-amber { background: var(--ink); color: #fff; }
.btn-amber:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-amber:hover svg { transform: translateX(4px); }
.btn-block { width: 100%; justify-content: center; padding-block: 17px; }
/* compact buttons in the sticky header so they sit proportionally in the bar */
.site-header .btn { padding: 9px 16px; font-size: 13.5px; gap: 7px; }
.site-header .btn svg { width: 14px; height: 14px; }

/* =========================================================================
   Header / nav
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(245, 247, 250, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(245,247,250,.86); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex: none; }
.brand .mark svg { width: 40px; height: 40px; }
.brand .name { font-family: 'IBM Plex Sans', var(--font-body); font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: .005em; line-height: 1; }
.brand .name small { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--blue); font-weight: 500; margin-top: 4px; }
/* chevron recolour on the dark footer */
.site-footer .brand .name { color: #fff; }
.site-footer .brand .mark svg path:nth-of-type(1) { stroke: #fff; }
.site-footer .brand .mark svg path:nth-of-type(2) { stroke: #6fc6ff; opacity: 1; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-700); position: relative; padding-block: 6px; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue); transition: width .25s var(--ease); }
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* language selector */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 13px; font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .06em; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.lang-btn:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.lang-btn svg { width: 13px; height: 13px; color: var(--muted); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); padding: 6px; min-width: 150px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s var(--ease); z-index: 70;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: none; border: 0; padding: 9px 11px; border-radius: 7px; font-size: 14px; color: var(--ink); font-weight: 500;
}
.lang-menu button:hover { background: var(--blue-050); color: var(--blue-700); }
.lang-menu button .flag { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.lang-menu button[aria-current="true"] { color: var(--blue); }
.lang-menu button[aria-current="true"]::after { content: "●"; margin-left: auto; font-size: 8px; color: var(--blue); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(56px, 7vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(38px, 6.4vw, 78px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 22px;
  font-optical-sizing: auto;
}
.hero h1 .serif-i { font-style: italic; color: var(--blue); }
.hero p.lead { margin-top: 26px; max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .stat .n { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); color: var(--ink); font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.hero-meta .stat .n .accent { color: var(--blue); }
.hero-meta .stat .l { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 8px; }
.hero-meta .stat { position: relative; padding-left: 18px; }
.hero-meta .stat::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 4px; width: 2px; background: var(--amber); border-radius: 2px; }

/* hero visual: engineered console card */
.hero-visual { position: relative; }
.console {
  background: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  color: #cfe6f5;
}
.console::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(27,138,203,.45), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(240,160,42,.18), transparent 60%);
}
.console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); position: relative; z-index: 1; }
.console-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.22); }
.console-bar .dot:nth-child(1){ background:#ff5f57;} .console-bar .dot:nth-child(2){ background:#febc2e;} .console-bar .dot:nth-child(3){ background:#28c840;}
.console-bar .file { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.console-body { padding: 22px clamp(18px,2.5vw,28px) 26px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.85; position: relative; z-index: 1; }
.console-body .ln { display: block; white-space: pre; }
.console-body .c-key { color: #6fc6ff; } .console-body .c-str { color: #ffd479; } .console-body .c-num { color: #b6f09c; } .console-body .c-com { color: rgba(255,255,255,.4); } .console-body .c-fn { color: #ff9ec9; }
.console-foot { display: flex; gap: 14px; padding: 16px 22px 20px; border-top: 1px solid rgba(255,255,255,.08); position: relative; z-index: 1; flex-wrap: wrap; }
.console-foot .tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.16); padding: 5px 10px; border-radius: 100px; }

.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero-badge .pulse { width: 10px; height: 10px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 0 rgba(40,200,64,.5); animation: pulse 2s infinite; flex: none; }
.hero-badge .t { font-size: 13px; line-height: 1.3; }
.hero-badge .t b { color: var(--ink); display: block; font-size: 14px; }
.hero-badge .t span { color: var(--muted); font-size: 12px; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(40,200,64,.5);} 70%{box-shadow:0 0 0 10px rgba(40,200,64,0);} 100%{box-shadow:0 0 0 0 rgba(40,200,64,0);} }

/* =========================================================================
   Trust strip (marquee)
   ========================================================================= */
.trust { padding-block: 38px; border-block: 1px solid var(--line); background: var(--surface-2); }
.trust .label { text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 24px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 26px); font-weight: 500; color: var(--ink); opacity: .42; white-space: nowrap; transition: opacity .3s, color .3s; letter-spacing: -.01em; }
.marquee-track span:hover { opacity: 1; color: var(--blue); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* =========================================================================
   Services
   ========================================================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .num { font-family: var(--font-mono); font-size: 12px; color: var(--blue); letter-spacing: .1em; }
.card .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--blue-050); display: grid; place-items: center; color: var(--blue); margin: 18px 0 20px; transition: background .35s, color .35s, transform .35s var(--ease); }
.card:hover .ic { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: 25px; color: var(--ink); letter-spacing: -.01em; }
.card .q { color: var(--blue-700); font-size: 15px; font-weight: 600; margin-top: 8px; }
.card p { color: var(--muted); font-size: 15.5px; margin-top: 12px; }
.card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.card ul li { font-size: 14px; color: var(--ink-700); display: flex; gap: 9px; align-items: flex-start; }
.card ul li::before { content: ""; width: 16px; height: 16px; margin-top: 2px; flex: none; background: var(--amber); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat; }
.card .corner { position: absolute; top: 0; right: 0; width: 80px; height: 80px; background: linear-gradient(225deg, var(--blue-050), transparent); border-bottom-left-radius: 100%; opacity: 0; transition: opacity .35s; }
.card:hover .corner { opacity: 1; }

/* =========================================================================
   Value pillars
   ========================================================================= */
.pillars { background: var(--ink); color: #e7eefc; position: relative; overflow: hidden; }
.pillars::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 80% at 100% 0%, #000, transparent 70%); }
.pillars .eyebrow { color: var(--amber); }
.pillars .eyebrow::before { background: var(--amber); }
.pillars .section-head h2 { color: #fff; }
.pillars .section-head p { color: rgba(231,238,252,.65); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; position: relative; z-index: 1; }
.pillar { background: var(--ink); padding: 38px 32px; transition: background .35s; }
.pillar:hover { background: #1b1b47; }
.pillar .pn { font-family: var(--font-mono); font-size: 12px; color: var(--amber); letter-spacing: .1em; }
.pillar h3 { font-family: var(--font-display); font-weight: 500; font-size: 23px; color: #fff; margin: 16px 0 12px; letter-spacing: -.01em; }
.pillar p { color: rgba(231,238,252,.66); font-size: 15px; }

/* =========================================================================
   Approach (process steps)
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 30px 26px 30px 0; position: relative; }
.step::before { content: ""; position: absolute; top: 14px; left: 0; right: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.step .sn { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 13px; position: relative; z-index: 1; }
.step h4 { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--ink); margin: 22px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* =========================================================================
   About / split
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.about-copy h2 { font-family: var(--font-display); font-weight: 460; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); margin-top: 18px; }
.about-copy p { color: var(--muted); margin-top: 18px; font-size: 16.5px; }
.flags { display: flex; gap: 10px; margin-top: 26px; }
.flag-chip { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.flag-chip .e { font-size: 17px; }

.offices { display: grid; gap: 16px; }
.office { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start; transition: transform .3s var(--ease), box-shadow .3s; }
.office:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.office .pin { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; flex: none; }
.office .pin svg { width: 22px; height: 22px; }
.office h4 { font-size: 16px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.office h4 .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; background: var(--amber); color: var(--ink); padding: 3px 7px; border-radius: 5px; font-weight: 600; }
.office address { font-style: normal; color: var(--muted); font-size: 14.5px; margin-top: 5px; }
.office .ph { font-family: var(--font-mono); font-size: 13px; color: var(--blue-700); margin-top: 8px; display: inline-block; }

/* =========================================================================
   Careers teaser / banner
   ========================================================================= */
.banner { background: linear-gradient(135deg, var(--blue), var(--blue-700)); color: #fff; border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 60px); position: relative; overflow: hidden; box-shadow: var(--shadow-blue); }
.banner::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.1); }
.banner::after { content: ""; position: absolute; right: 40px; bottom: -90px; width: 200px; height: 200px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); }
.banner-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.banner .eyebrow { color: rgba(255,255,255,.85); } .banner .eyebrow::before { background: rgba(255,255,255,.7); }
.banner h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.6vw, 42px); margin-top: 14px; letter-spacing: -.02em; max-width: 16ch; line-height: 1.06; }
.banner .btn-amber { background: #fff; color: var(--ink); }
.banner .btn-amber:hover { background: var(--amber); }

/* =========================================================================
   Forms / contact
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-aside h2 { font-family: var(--font-display); font-weight: 460; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); margin-top: 18px; }
.contact-aside p { color: var(--muted); margin-top: 18px; max-width: 42ch; }
.assurances { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.assurances li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--ink-700); }
.assurances li .ck { width: 26px; height: 26px; border-radius: 8px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; flex: none; }
.assurances li .ck svg { width: 15px; height: 15px; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 42px); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--amber-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 15px; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-050); background: #fff; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6678' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12.5px; color: var(--muted-2); margin-top: 4px; }
.form-note a { color: var(--blue); text-decoration: underline; }
.form-status { margin-top: 14px; font-size: 14px; padding: 13px 16px; border-radius: var(--radius-sm); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f7ed; color: #146c2e; border: 1px solid #b6e3c4; }
.form-status.err { background: #fdeaea; color: #a4242a; border: 1px solid #f3c2c4; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; } .btn.loading .btn-label, .btn.loading svg.arr { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   Careers page specifics
   ========================================================================= */
.careers-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding-block: clamp(70px, 9vw, 130px); }
.careers-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 80% 0%, rgba(27,138,203,.4), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(240,160,42,.16), transparent 60%); }
.careers-hero .eyebrow { color: var(--amber); } .careers-hero .eyebrow::before { background: var(--amber); }
.careers-hero h1 { font-family: var(--font-display); font-weight: 450; font-size: clamp(36px, 6vw, 70px); line-height: 1.02; letter-spacing: -.03em; margin-top: 20px; max-width: 16ch; }
.careers-hero h1 .it { font-style: italic; color: var(--blue); }
.careers-hero p { color: rgba(255,255,255,.72); font-size: clamp(17px, 1.8vw, 21px); margin-top: 22px; max-width: 50ch; }
.careers-hero .position-rel { position: relative; z-index: 1; }
.stacks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.stack-chip { font-family: var(--font-mono); font-size: 13px; padding: 9px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.04); }
.stack-chip b { color: var(--amber); }

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.benefit .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.benefit .ic svg { width: 24px; height: 24px; }
.benefit h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--ink); }
.benefit p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.benefit .big { font-family: var(--font-display); font-size: 30px; color: var(--blue); font-weight: 500; }

/* =========================================================================
   Legal pages (privacy / terms / cookies)
   ========================================================================= */
.legal-hero { background: var(--ink); color: #fff; padding-block: clamp(56px, 7vw, 96px) clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.legal-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 85% 0%, rgba(27,138,203,.38), transparent 60%); }
.legal-hero .wrap { position: relative; z-index: 1; }
.legal-hero .eyebrow { color: var(--amber); } .legal-hero .eyebrow::before { background: var(--amber); }
.legal-hero h1 { font-family: var(--font-display); font-weight: 460; font-size: clamp(34px, 5vw, 60px); letter-spacing: -.02em; margin-top: 16px; line-height: 1.04; }

.legal-body { padding-block: clamp(48px, 6vw, 80px); }
.legal-wrap { max-width: 840px; }
.legal-doc[data-legal-lang="nl"], .legal-doc[data-legal-lang="es"] { display: none; }
html.js .legal-doc { display: none; }
html.js .legal-doc.active { display: block; }

.legal-doc h1 { display: none; } /* title shown in hero */
.legal-doc .last-updated { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--muted-2); margin-bottom: 28px; }
.legal-doc h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); letter-spacing: -.01em; margin: 40px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-doc h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-doc h3 { font-family: var(--font-body); font-weight: 700; font-size: 17px; color: var(--ink); margin: 26px 0 10px; }
.legal-doc p { color: var(--text); margin: 12px 0; font-size: 16px; }
.legal-doc a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc a:hover { color: var(--blue-700); }
.legal-doc ul { margin: 12px 0 12px; padding-left: 0; list-style: none; display: grid; gap: 9px; }
.legal-doc li { position: relative; padding-left: 26px; color: var(--text); font-size: 16px; }
.legal-doc li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc .highlight-box { background: var(--blue-050); border: 1px solid #cfe6f6; border-left: 4px solid var(--blue); border-radius: var(--radius-sm); padding: 18px 22px; margin: 24px 0; }
.legal-doc .highlight-box p { margin: 0; color: var(--ink-700); }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.legal-doc th { background: var(--surface-2); text-align: left; font-weight: 600; color: var(--ink); padding: 12px 16px; font-size: 13px; border-bottom: 1px solid var(--line); }
.legal-doc td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text); vertical-align: top; }
.legal-doc tr:last-child td { border-bottom: 0; }
.legal-doc .back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-weight: 600; color: var(--blue); text-decoration: none; }
.legal-doc .back-link:hover { gap: 12px; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--ink); color: rgba(231,238,252,.7); padding-block: clamp(56px, 7vw, 84px) 32px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand .name { color: #fff; }
.site-footer .f-about { margin-top: 18px; font-size: 14.5px; max-width: 34ch; }
.site-footer h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.site-footer ul a, .site-footer address { color: rgba(231,238,252,.7); font-size: 14.5px; font-style: normal; transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.site-footer address a:hover { color: var(--blue); }
.kit-digital { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 10px 14px; font-size: 12px; color: rgba(255,255,255,.7); }
.kit-digital .kd-mark { font-family: var(--font-mono); font-weight: 700; color: var(--amber); letter-spacing: .04em; }
/* Kit Digital funding badge — needs a light surface for the official artwork */
.funding { margin-top: 44px; background: #fff; border-radius: var(--radius); padding: 22px clamp(18px, 3vw, 40px); display: flex; justify-content: center; }
.funding img { width: 100%; max-width: 1040px; height: auto; }
.funding-caption { /* screen-reader / fallback only */ }

.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* =========================================================================
   Reveal animations
   ========================================================================= */
/* Progressive enhancement: only hide pre-reveal when JS is active, so the
   page is fully visible if JS is disabled or fails to run. */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.08s;} .reveal[data-d="2"]{ transition-delay:.16s;} .reveal[data-d="3"]{ transition-delay:.24s;} .reveal[data-d="4"]{ transition-delay:.32s;}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .hero-badge .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* page-load orchestration for hero */
.hero .load { opacity: 0; transform: translateY(20px); animation: rise .8s var(--ease) forwards; }
.hero .load[data-d="1"]{ animation-delay:.05s;} .hero .load[data-d="2"]{ animation-delay:.15s;} .hero .load[data-d="3"]{ animation-delay:.27s;} .hero .load[data-d="4"]{ animation-delay:.39s;} .hero .load[data-d="5"]{ animation-delay:.5s;}
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .load { animation: none; opacity: 1; transform: none; } }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 540px; }
  .services-grid, .pillars-grid, .benefits-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 14px; }
  .step::before { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 74px 0 auto; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 24px; transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: var(--shadow-md); z-index: 55; }
  .site-header.open .nav-links { transform: none; }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg);}
  .site-header.open .nav-toggle span:nth-child(2){ opacity: 0;}
  .site-header.open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg);}
  .nav .btn.hide-sm { display: none; }
  .services-grid, .pillars-grid, .benefits-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 0; }
}
