:root {
  --ink: #0a1a3a;
  --ink-soft: #102758;
  --sand: #f4f6f8;
  --paper: #ffffff;
  --sea: #35e0d1;
  --sea-deep: #0d47a1;
  --blue: #00aeef;
  --line: rgba(10, 26, 58, 0.13);
  --white-line: rgba(255, 255, 255, 0.18);
  --shadow: 0 22px 60px rgba(10, 26, 58, 0.11);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Avenir Next", Avenir, var(--sans);
  --gutter: clamp(20px, 5vw, 76px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.04em; }
h1 { font-size: clamp(3.6rem, 8.8vw, 9rem); line-height: 0.91; }
h2 { font-size: clamp(2.35rem, 5.2vw, 5.4rem); line-height: 0.98; }
h3 { font-size: clamp(1.45rem, 2.1vw, 2.2rem); line-height: 1.06; }
p { color: rgba(7, 28, 38, 0.72); font-size: 1rem; line-height: 1.72; }

.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid rgba(10, 26, 58, 0.08);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, padding 180ms ease;
}
.site-header.is-scrolled {
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.brand img { width: 43px; height: 38px; object-fit: contain; }
.brand img + span { white-space: nowrap; }
.site-nav { justify-self: end; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); font-size: 0.82rem; font-weight: 600; }
.site-nav a:not(.nav-cta) { padding: 8px 0; }
.nav-cta { padding: 11px 17px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(90deg, var(--sea-deep), var(--blue)); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 150px var(--gutter) 40px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink) 12%, #0b2c68 58%, var(--sea-deep));
}
.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: linear-gradient(var(--white-line) 1px, transparent 1px), linear-gradient(90deg, var(--white-line) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero__orb--one { width: min(48vw, 680px); aspect-ratio: 1; top: -18%; right: -9%; background: radial-gradient(circle at 35% 35%, #9cf8ef, var(--blue) 54%, transparent 72%); opacity: 0.68; }
.hero__orb--two { width: min(26vw, 360px); aspect-ratio: 1; left: -9%; bottom: 5%; border: 1px solid rgba(53, 224, 209, 0.34); background: rgba(0, 174, 239, 0.06); }
.hero__content { position: relative; z-index: 1; max-width: 1280px; }
.hero h1 { max-width: 1230px; margin-bottom: 30px; font-weight: 500; }
.hero h1 em { color: var(--sea); font-style: normal; }
.hero__lede { max-width: 650px; margin-bottom: 34px; color: rgba(255, 255, 255, 0.72); font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: flex-end; margin-top: 74px; color: rgba(255, 255, 255, 0.56); font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; }

.eyebrow { margin-bottom: 18px; color: var(--sea-deep); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.eyebrow--light { color: var(--sea); }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 23px; border: 1px solid var(--ink); border-radius: 999px; font-size: 0.82rem; font-weight: 700; transition: transform 180ms ease, background 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button--accent { border-color: transparent; color: #fff; background: linear-gradient(90deg, var(--sea-deep), var(--blue)); box-shadow: 0 12px 30px rgba(0, 174, 239, 0.22); }
.button--accent:hover { background: linear-gradient(90deg, #123fc0, #0bc5ec); }
.button--ghost { border-color: rgba(255, 255, 255, 0.38); color: #fff; }
.button--ghost:hover { color: var(--ink); background: #fff; }
.text-link { display: inline-flex; gap: 8px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 0.82rem; font-weight: 700; }

.section { padding: 120px var(--gutter); }
.section-heading { max-width: 910px; margin-bottom: 60px; }
.section-heading h2 { margin-bottom: 0; }

.services { background: var(--sand); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card { min-height: 340px; padding: 30px; border: 1px solid rgba(10, 26, 58, 0.07); border-radius: 18px; background: #fff; box-shadow: 0 16px 42px rgba(10, 26, 58, 0.07); }
.service-card > span { display: block; margin-bottom: 100px; color: var(--sea-deep); font-size: 0.72rem; font-weight: 700; }
.service-card h3 { margin-bottom: 18px; font-size: 1.4rem; }
.service-card p { margin: 0; font-size: 0.94rem; }

.work { color: #fff; background: linear-gradient(150deg, var(--ink), #0c285c 72%, var(--sea-deep)); }
.work .eyebrow { color: var(--sea); }
.work .section-heading > div h2, .work .section-heading > h2 { color: #fff; }
.work .section-heading > p { color: rgba(255, 255, 255, 0.6); }
.case-study { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.78fr); gap: clamp(38px, 6vw, 90px); align-items: center; padding: 90px 0; border-top: 1px solid var(--white-line); }
.case-study--reverse { grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.12fr); }
.case-study--reverse .case-study__visual { order: 2; }
.case-study__visual { position: relative; overflow: hidden; border-radius: 18px; background: var(--ink-soft); box-shadow: 0 34px 80px rgba(0, 0, 0, 0.22); }
.case-study__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(7, 28, 38, 0.34)); }
.case-study--dutch .case-study__visual::after { display: none; }
.case-study__visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 600ms ease; }
.case-study__visual:hover img { transform: scale(1.025); }
.case-study__index { position: absolute; z-index: 1; right: 18px; bottom: 14px; color: #fff; font-family: var(--display); font-size: 4rem; line-height: 1; opacity: 0.8; }
.case-study__copy h3 { margin-bottom: 20px; color: #fff; font-size: clamp(2.4rem, 4vw, 4.4rem); }
.case-study__copy > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.68); font-size: 1.04rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 34px; padding: 0; list-style: none; }
.tag-list li { padding: 7px 11px; border: 1px solid var(--white-line); border-radius: 999px; color: rgba(255, 255, 255, 0.72); font-size: 0.7rem; }
.case-study__details { display: grid; gap: 16px; margin-bottom: 30px; }
.case-study__details div { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding-top: 15px; border-top: 1px solid var(--white-line); }
.case-study__details strong { color: #fff; font-size: 0.82rem; }
.case-study__details span { color: rgba(255, 255, 255, 0.58); font-size: 0.82rem; line-height: 1.55; }
.work .text-link { color: var(--sea); }

.process { background: var(--paper); }
.process-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-list li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 30px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--sea-deep); font-size: 0.72rem; font-weight: 700; }
.process-list div { display: grid; grid-template-columns: minmax(180px, 0.5fr) minmax(0, 1fr); gap: 40px; }
.process-list h3 { margin: 0; }
.process-list p { max-width: 620px; margin: 0; }

.about { display: grid; grid-template-columns: minmax(200px, 0.32fr) minmax(0, 1fr); gap: 60px; color: #fff; background: linear-gradient(135deg, var(--sea-deep), var(--blue)); }
.about h2 { max-width: 920px; margin-bottom: 34px; color: #fff; }
.about__copy p { max-width: 750px; color: rgba(255, 255, 255, 0.72); font-size: 1.04rem; }

.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.65fr); gap: clamp(50px, 8vw, 130px); color: #fff; background: var(--ink); }
.contact h2 { max-width: 760px; color: #fff; }
.contact__intro > p:last-child { max-width: 620px; color: rgba(255, 255, 255, 0.65); }
.contact-form { display: grid; gap: 20px; align-content: start; }
.contact-form label { display: grid; gap: 8px; color: rgba(255, 255, 255, 0.72); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.32); border-radius: 0; outline: 0; color: #fff; background: transparent; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--sea); }
.contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.34); }
.contact-form .button { justify-self: start; margin-top: 8px; }
.contact-form__note { margin: 0; color: rgba(255, 255, 255, 0.42); font-size: 0.72rem; }
.contact-form__note a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form__success { padding: 12px 14px; border: 1px solid rgba(53, 224, 209, 0.42); border-radius: 8px; color: #fff; background: rgba(53, 224, 209, 0.1); }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

.site-footer { display: grid; grid-template-columns: auto 1fr auto auto; gap: 35px; align-items: center; padding: 28px var(--gutter); border-top: 1px solid var(--white-line); color: rgba(255, 255, 255, 0.62); background: var(--ink); font-size: 0.76rem; }
.brand--footer { color: #fff; }
.brand--footer img { padding: 3px; border-radius: 6px; background: #fff; }
.site-footer p { margin: 0; color: inherit; font-size: inherit; }
.site-footer div { display: flex; flex-wrap: wrap; gap: 18px; }

.legal-header { position: static; }
.legal-main { min-height: 72vh; padding: 130px var(--gutter) 100px; background: var(--paper); }
.legal-page { max-width: 820px; margin: 0 auto; }
.legal-page h1 { margin-bottom: 18px; font-size: clamp(2.8rem, 7vw, 5.8rem); }
.legal-page h2 { margin: 48px 0 14px; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.15; }
.legal-page p, .legal-page li { color: rgba(7, 28, 38, 0.75); line-height: 1.75; }
.legal-page ul { padding-left: 1.2rem; }
.legal-page a { color: var(--sea-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { margin-bottom: 46px; color: rgba(7, 28, 38, 0.55) !important; font-size: 0.86rem; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media (max-width: 1040px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-study, .case-study--reverse { grid-template-columns: 1fr; }
  .case-study--reverse .case-study__visual { order: 0; }
  .contact { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  h1 { font-size: clamp(3.35rem, 17vw, 5.8rem); }
  .site-header { grid-template-columns: auto auto; }
  .nav-toggle { justify-self: end; display: grid; gap: 6px; width: 42px; height: 42px; padding: 12px; border: 1px solid currentColor; border-radius: 50%; color: inherit; background: transparent; }
  .nav-toggle span { display: block; height: 1px; background: currentColor; }
  .site-nav { position: fixed; inset: 67px 0 auto; display: none; justify-self: stretch; padding: 20px var(--gutter) 32px; color: var(--ink); background: var(--sand); box-shadow: var(--shadow); }
  body.nav-open .site-nav { display: grid; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { border: 0; border-radius: 0; }
  .hero { min-height: 92svh; padding-top: 120px; }
  .hero__orb--one { width: 85vw; right: -40%; }
  .hero__foot { justify-content: flex-start; margin-top: 52px; }
  .section { padding-block: 78px; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card > span { margin-bottom: 56px; }
  .case-study { padding: 62px 0; }
  .case-study__details div { grid-template-columns: 1fr; gap: 7px; }
  .process-list li { grid-template-columns: 54px 1fr; gap: 12px; }
  .process-list div { grid-template-columns: 1fr; gap: 10px; }
  .site-footer { grid-template-columns: 1fr; gap: 20px; }
}
