/* Self-hosted: nothing on this site is loaded from a third party. */
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-display: swap; src: url(../assets/fonts/instrument-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 500; font-display: swap; src: url(../assets/fonts/instrument-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-display: swap; src: url(../assets/fonts/instrument-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 700; font-display: swap; src: url(../assets/fonts/instrument-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url(../assets/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url(../assets/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }

:root {
  --ground: #F5F7F3;
  --surface: #FFFFFF;
  --ink: #0E1A13;
  --text: #3A4A40;
  --muted: #4A5A50;
  --line: #DDE3DC;
  --field: #C9D2C8;
  --tint: #E6EFE8;
  --accent: #17784A;
  --accent-dark: #0F5A37;
  --on-dark: #E8EFE9;
  --on-dark-muted: #C5D1C8;
  --on-dark-accent: #7FD9A4;
  --dark-line: #2A3A30;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

img { max-width: 100%; height: auto; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -10000px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { margin: 0 0 12px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.eyebrow--dark { color: var(--on-dark-accent); }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }

.lead { margin: 18px 0 0; font-size: 18px; line-height: 1.55; color: var(--text); max-width: 640px; }

.section { padding-top: 96px; padding-bottom: 96px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #24342A; color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--field); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn:disabled { opacity: 0.6; cursor: default; }

.chip { display: inline-block; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: #EEF1ED; color: var(--text); }
.chip--accent { background: var(--tint); color: var(--accent-dark); }
.pill { display: inline-block; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--field); }
.pill--accent { border-color: transparent; background: var(--tint); color: var(--accent-dark); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(245, 247, 243, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: baseline; gap: 6px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.logo span { font-family: var(--mono); color: var(--accent); }
.nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.nav ul a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; display: inline-block; }
.nav ul a:not(.btn):hover { color: var(--accent); }
.nav .btn { min-height: 44px; padding: 10px 18px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 72px; }
.hero__text { flex: 1 1 520px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.03em; }
.hero .lead { font-size: 20px; max-width: 560px; margin-top: 28px; }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Quick answers */
.answers {
  flex: 1 1 420px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  box-shadow: 0 1px 2px rgba(14, 26, 19, 0.04), 0 12px 32px rgba(14, 26, 19, 0.06);
}
.answers__head { display: flex; align-items: center; gap: 10px; }
.answers__head h2 { font-size: 16px; font-weight: 600; letter-spacing: 0; }
.answers__intro { margin: 12px 0 16px; font-size: 14px; color: var(--muted); }
.answers__questions { display: flex; flex-wrap: wrap; gap: 8px; }
.answers__questions button {
  font: inherit; font-size: 14px; text-align: left; cursor: pointer;
  min-height: 44px; padding: 10px 14px; border-radius: 999px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--field);
}
.answers__questions button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.answers__answer { margin-top: 18px; background: var(--ground); border-radius: 12px; padding: 18px; min-height: 128px; }
.answers__answer p { margin: 0; }
.answers__answer .eyebrow { font-size: 12px; margin-bottom: 8px; }
.answers__own { margin-top: 16px; display: flex; gap: 8px; }
.answers__own input { flex: 1 1 auto; min-width: 0; height: 48px; border: 1px solid var(--field); border-radius: 8px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); }
.answers__own button { width: 48px; height: 48px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* Two routes */
.routes { display: flex; flex-wrap: wrap; gap: 24px; padding-bottom: 96px; }
.route { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 16px; text-decoration: none; }
.route__label { font-family: var(--mono); font-size: 13px; }
.route__title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.route__text { font-size: 17px; line-height: 1.55; }
.route__more { margin-top: 8px; font-weight: 600; }
.route--light { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.route--light .route__label, .route--light .route__more { color: var(--accent); }
.route--light .route__text { color: var(--text); }
.route--dark { background: var(--ink); color: var(--on-dark); }
.route--dark .route__label, .route--dark .route__more { color: var(--on-dark-accent); }
.route--dark .route__title { color: #fff; }
.route--dark .route__text { color: var(--on-dark-muted); }
.route:hover { box-shadow: 0 8px 24px rgba(14, 26, 19, 0.10); }

/* Products */
.products { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.card__shot { height: 220px; background: var(--tint); overflow: hidden; display: flex; justify-content: center; padding-top: 20px; }
.card__shot img { display: block; align-self: flex-start; width: 170px; border-radius: 18px 18px 0 0; box-shadow: 0 4px 16px rgba(14, 26, 19, 0.18); }
.card__shot--desktop { justify-content: flex-start; padding-left: 20px; }
.card__shot--desktop img { width: 620px; max-width: none; border-radius: 8px 0 0 0; box-shadow: 0 4px 16px rgba(14, 26, 19, 0.12); }
.card__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.card h3 { font-size: 22px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text); line-height: 1.55; }
.card__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.card__link { margin-top: auto; padding-top: 12px; font-weight: 600; text-decoration: none; }

/* Custom work */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split__intro { flex: 1 1 380px; min-width: 0; }
.split__intro .btn { margin-top: 32px; }
.services { flex: 1 1 560px; min-width: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.service { flex: 1 1 260px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.service h3 { font-size: 18px; letter-spacing: 0; margin-bottom: 8px; }
.service p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); }
.service--wide { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 20px 32px; background: var(--ink); border: 0; color: var(--on-dark); padding: 28px; }
.service--wide > div { flex: 1 1 280px; min-width: 0; }
.service--wide h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; color: #fff; }
.service--wide p { color: var(--on-dark-muted); }
.service--wide ul { flex: 1 1 280px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.service--wide li { display: flex; gap: 10px; }
.service--wide li::before { content: '→'; font-family: var(--mono); color: var(--on-dark-accent); }

.cases { margin-top: 72px; }
.cases__list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 32px 24px; }
.cases__list li { flex: 1 1 320px; min-width: 0; border-top: 2px solid var(--ink); padding-top: 18px; }
.cases__sector { margin: 0 0 6px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.cases__what { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 600; }

/* AI */
.ai { background: var(--ink); color: var(--on-dark); }
.ai h2 { color: #fff; max-width: 760px; }
.ai .lead { color: var(--on-dark-muted); }
.ai__points { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px; }
.ai__point { flex: 1 1 300px; min-width: 0; border: 1px solid var(--dark-line); border-radius: 16px; padding: 28px; }
.ai__point .eyebrow { font-size: 13px; margin-bottom: 14px; }
.ai__point h3 { font-size: 20px; letter-spacing: 0; color: #fff; margin-bottom: 10px; }
.ai__point p { margin: 0; line-height: 1.55; color: var(--on-dark-muted); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.facts { flex: 0 1 360px; min-width: 0; background: var(--ink); color: var(--on-dark); border-radius: 16px; padding: 32px; }
.facts dl { margin: 0; display: flex; flex-direction: column; gap: 22px; }
.facts dt { font-size: 14px; color: #A9B8AD; }
.facts dd { margin: 4px 0 0; font-size: 20px; font-weight: 600; color: #fff; }
.facts dd.big { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.about__text { flex: 1 1 480px; min-width: 0; }
.about__text > p { font-size: 18px; line-height: 1.6; color: var(--text); margin: 18px 0 0; }
.timeline { margin: 32px 0 0; padding: 0; list-style: none; }
.timeline li { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline__years { flex: 0 0 120px; font-family: var(--mono); font-size: 14px; color: var(--muted); padding-top: 2px; }
.timeline__role { flex: 1 1 320px; min-width: 0; }
.about h3 { margin: 28px 0 10px; font-size: 14px; letter-spacing: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.about__link { margin-top: 28px; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }

/* Europe strip */
.strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.strip .wrap > div { flex: 1 1 240px; min-width: 0; }
.strip p { margin: 0; font-size: 15px; color: var(--muted); }
.strip strong { display: block; margin-bottom: 4px; font-size: 17px; color: var(--ink); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__info { flex: 1 1 360px; min-width: 0; }
.contact__info .lead { margin-bottom: 32px; }
.contact address { font-style: normal; line-height: 1.8; }
.contact__legal { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.form { flex: 1 1 520px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form__row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field label, .form legend { font-size: 14px; font-weight: 600; }
.field input, .field textarea { border: 1px solid var(--field); border-radius: 8px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); }
.field input { height: 48px; }
.field textarea { resize: vertical; min-height: 140px; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { padding: 0; margin-bottom: 8px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--field); border-radius: 999px; font-size: 15px; cursor: pointer; }
.topics label:has(input:checked) { border-color: var(--accent); background: var(--tint); }
.form .btn { align-self: flex-start; }
.honeypot { position: absolute; left: -10000px; }
.form__error { margin: 0; color: #A3261B; }
.form__thanks { margin: 0; font-size: 18px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.site-footer .logo { color: #fff; font-size: 17px; }
.site-footer .logo span { color: var(--on-dark-accent); }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: #fff; }

/* Privacy page */
.page { max-width: 760px; padding-top: 72px; padding-bottom: 96px; }
.page h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.page h2 { font-size: 22px; margin-top: 40px; }
.page p, .page li { font-size: 17px; line-height: 1.6; color: var(--text); }

/* On a phone the wrapped menu would take a third of the screen if it stayed put. */
@media (max-width: 720px) {
  html { scroll-padding-top: 16px; }
  .site-header { position: static; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
