@font-face { font-family: "IBM Plex Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("/assets/ibm-plex-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }

/* Direction C — luminous field. One family, one blue, a light surface;
   the point field is the only decorative element (hero, interpretation, Wunderlich). */
:root {
  color-scheme: light;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --ink: #000a2e;
  --ink-2: #3d4759;
  --ink-3: #5d687b;
  --line: #dde3ea;
  --line-2: #c4ccd7;
  --blue: #1a6fc4;
  --blue-hover: #155da6;
  --blue-soft: rgba(26, 111, 196, .08);
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --g: clamp(16px, 5vw, 72px);
  --max: 1200px;
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.7 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); line-height: 1.02; font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.1; font-weight: 300; max-width: 22ch; }
h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 500; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g); }
.eyebrow { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.2rem; }
.lede { color: var(--ink-2); max-width: 40rem; }
.lede + .lede { margin-top: 1rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: .6rem .9rem; border-radius: 4px; z-index: 50; }
.skip:focus { left: 8px; }

/* controls */
.btn { display: inline-flex; align-items: center; gap: .7rem; min-height: 48px; padding: 0 1.3rem; border-radius: 4px; background: var(--blue); color: #fff; text-decoration: none; font: 500 .95rem/1 var(--font); border: 0; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--blue-hover); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.sm { min-height: 40px; padding: 0 1rem; font-size: .9rem; }
.link { color: var(--blue); font-weight: 500; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ext::after { content: " ↗"; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 2rem; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(244, 246, 249, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 2rem; height: 80px; }
.top .logo img { height: 56px; width: auto; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .92rem; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* sections */
.sec { padding: clamp(80px, 10vw, 144px) 0; border-top: 1px solid var(--line); position: relative; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.6rem clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }

/* hero */
.hero { position: relative; min-height: calc(100svh - 80px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(244, 246, 249, .95) 0%, rgba(244, 246, 249, .62) 40%, rgba(244, 246, 249, 0) 70%); }
.hero .wrap { padding-top: 96px; padding-bottom: clamp(64px, 11vh, 128px); }
.hero h1 { max-width: 12ch; margin-bottom: 1.6rem; }
.hero .lede { font-size: 1.15rem; max-width: 33rem; }

/* principle */
.principle p { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 300; line-height: 1.12; letter-spacing: -.025em; max-width: 20ch; }
.principle p span { color: var(--blue); }

/* what we do */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 30px; display: flex; flex-direction: column; gap: .7rem; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgba(0, 10, 46, .35); }
.card .tag { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.card p { color: var(--ink-2); font-size: .97rem; flex: 1; }
.card .link { margin-top: .6rem; }

/* list: the one list style used everywhere */
.list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
.list.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.list li { padding: .85rem 0 .85rem 1.5rem; border-top: 1px solid var(--line); position: relative; color: var(--ink-2); font-size: .97rem; }
.list li::before { content: ""; position: absolute; left: 0; top: 1.5rem; width: .7rem; height: 1px; background: var(--blue); }

/* field panels (interpretation, Wunderlich) */
.field { position: relative; aspect-ratio: 1 / 1; max-height: 560px; width: 100%; }
.field canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.note { margin-top: 1.6rem; font-size: .9rem; color: var(--ink-3); }

/* Simvidence */
.sv-brand { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 1.6rem; }
.sv-brand svg { height: 28px; width: auto; display: block; }
.sv-brand .div { width: 1px; height: 34px; background: var(--line-2); }
.sv-brand img { height: 25px; width: auto; }
.lg-ink { fill: #000a2e; } .lg-v { fill: #0a75bc; }
.tablet { padding: clamp(10px, 1.5vw, 20px); border-radius: clamp(18px, 2.4vw, 34px); background: linear-gradient(145deg, #eef1f5, #c7ced8 45%, #e3e7ec); box-shadow: 0 50px 110px -55px rgba(0, 10, 46, .55), inset 0 1px 0 rgba(255, 255, 255, .8); }
.tablet img { border-radius: clamp(6px, 1vw, 14px); width: 100%; }
.cap { margin-top: 1.1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .88rem; color: var(--ink-3); }

/* about */
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lead-block { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.partners-label { margin: clamp(56px, 7vw, 88px) 0 0; }
.lead-label { margin: 0 0 1.2rem; }
.partners-label + .partners { margin-top: 1.2rem; }
.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.person { font-size: 1.35rem; font-weight: 400; letter-spacing: -.01em; margin-bottom: .2rem; }
.role { color: var(--ink-3); margin-bottom: 1.4rem; }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(48px, 6vw, 72px); }
.partner { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.4rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.partner img { max-height: 52px; width: auto; filter: grayscale(1) brightness(.35); opacity: .85; justify-self: center; }
.partner p { font-size: .95rem; color: var(--ink-2); }
.partner b { display: block; color: var(--ink); font-weight: 500; margin-bottom: .2rem; }

/* contact */
.contact-ways { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .6rem; }
form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 1.1rem; }
.field-row { display: grid; gap: .45rem; }
.field-row label { font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.field-row input, .field-row textarea { font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 4px; padding: .75rem .85rem; min-height: 48px; }
.field-row textarea { min-height: 140px; resize: vertical; }
.field-row input:focus, .field-row textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 111, 196, .18); background: #fff; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form-foot p { font-size: .85rem; color: var(--ink-3); max-width: 24rem; }
.form-foot a { color: var(--blue); }
.sent { font-size: .9rem; color: var(--blue); min-height: 1.4em; }
.hp { position: absolute; left: -5000px; }
/* the form posts with fetch (site.js); without JavaScript show the email address instead */
.nojs-note { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; color: var(--ink-2); }
html:not(.js) .nojs-note { display: block; }
html:not(.js) #enquiry:not([data-mockup]) { display: none; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 calc(96px + env(safe-area-inset-bottom)); font-size: .85rem; color: var(--ink-3); }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem clamp(40px, 6vw, 96px); }
footer .logo img { height: 56px; width: auto; }
footer .tagline { margin-top: .9rem; color: var(--ink-2); letter-spacing: .02em; }
footer .legal { display: grid; gap: .25rem; align-content: start; }
footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: .8rem; }
footer a { text-decoration: none; color: var(--ink-2); }
footer a:hover { color: var(--ink); }

/* reveal */
/* hidden only once site.js has started (it adds .js to <html>), so the page stays readable without JavaScript */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* proposal-only marker for unconfirmed items */
.claims-toggle { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; font: 500 .75rem/1 var(--font); background: var(--surface); color: var(--ink-2); border: 1px dashed var(--ink-3); padding: .7rem .9rem; cursor: pointer; border-radius: 4px; }
.claims-toggle b { color: var(--blue); }
body.show-claims [data-confirm] { outline: 1px dashed #c0392b; outline-offset: 4px; position: relative; }
body.show-claims [data-confirm]::after { content: "Confirm: " attr(data-confirm); position: absolute; left: 0; top: calc(100% + 8px); z-index: 25; width: max-content; max-width: 300px; font: 500 .72rem/1.4 var(--font); letter-spacing: 0; text-transform: none; background: #c0392b; color: #fff; padding: .45rem .6rem; border-radius: 3px; }

/* privacy page */
.doc { padding: clamp(56px, 8vw, 112px) 0 clamp(80px, 10vw, 144px); }
.doc .draft { background: #fff7e6; border: 1px solid #f0d7a1; color: #6b4e12; border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .92rem; margin-bottom: 2.4rem; max-width: 48rem; }
.doc h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 1rem; max-width: 18ch; }
.doc .meta { color: var(--ink-3); font-size: .92rem; margin-bottom: 3rem; }
.doc section { max-width: 48rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.doc h2 { font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: .8rem; max-width: none; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: .8rem; }
.doc ul { margin: .6rem 0 0; padding-left: 1.2rem; }
.doc li + li { margin-top: .3rem; }
.ph { background: var(--blue-soft); color: var(--blue); padding: 0 .3rem; border-radius: 3px; font-weight: 500; }

/* responsive */
@media (max-width: 1080px) { .nav { display: none; } .top .wrap { justify-content: space-between; } }
@media (max-width: 900px) {
  .split, .head, .facts, footer .wrap { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners { grid-template-columns: 1fr; }
  .field { max-height: 380px; aspect-ratio: 4 / 3; }
  .hero::after { background: linear-gradient(0deg, rgba(244, 246, 249, .97) 34%, rgba(244, 246, 249, .3) 78%); }
}
@media (max-width: 600px) {
  .top .wrap { height: 68px; } .top .logo img { height: 42px; }
  html { scroll-padding-top: 76px; }
  .list, .list.three { grid-template-columns: 1fr; }
  .cards.four { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 1fr; justify-items: start; }
  .partner img { justify-self: start; }
  .sv-brand svg { height: 20px; } .sv-brand img { height: 18px; } .sv-brand .div { height: 24px; }
  .claims-toggle { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .card { transition: none; }
}

/* spacing helpers (no inline style attributes: the live CSP blocks them) */
.mt-lede { margin-top: 1.4rem; }
.mt-role { margin-top: .6rem; }
.focus-label { margin: 0 0 -.6rem; }
.fig0 { margin: 0; }
.split.top-align { align-items: start; }

/* 404 */
.notfound { min-height: calc(100svh - 80px); display: flex; align-items: center; }
.notfound .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .notfound .wrap { grid-template-columns: 1fr; } }
