/* Invenion — public site
   Look & feel follows the original invenion.nl: white space, black type,
   Poppins light body text, Acumin-style headings, the yellow "ion" accent,
   full-bleed photo heroes with straight edges and dark bands. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }

:root {
  --ink: #0d0d0f;
  --ink-2: #2a2b2e;
  --muted: #5d6067;
  --line: #e4e4e6;
  --paper: #ffffff;
  --paper-2: #f5f5f3;
  --dark: #141416;
  --dark-2: #1f2023;
  --accent: #ffff00;        /* the yellow of "ion" in the logo */
  --accent-ink: #0d0d0f;
  --accent-soft: #ffffcc;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "acumin-pro", "Acumin Pro", "Poppins", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(0,0,0,.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); font-weight: 300; font-size: 1rem; line-height: 1.7; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong { font-weight: 500; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--accent); padding: .5rem 1rem; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }
.center { text-align: center; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------ type scale */
.h-xl { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.h-lg { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.h-md { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.eyebrow { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem; }
.eyebrow .icon-eyebrow { width: 1.3em; height: 1.3em; color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; max-width: 46rem; }
.meta { color: var(--muted); font-size: .88rem; margin-bottom: .35rem; }

/* ---------------------------------------------------------------- logo */
.logo { font-family: var(--font-body); font-weight: 600; font-size: 1.75rem; letter-spacing: .01em; text-decoration: none; color: var(--ink); line-height: 1; }
.logo span { color: var(--accent); }
.logo-light { color: #fff; }

/* -------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font: 500 .9rem/1 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .15s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ffff66; border-color: #ffff66; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* --------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: block; padding: .5rem .75rem; text-decoration: none; font-size: .92rem; font-weight: 400; border-radius: 6px; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav li:last-child { margin-left: .6rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Transparent header over the home hero */
.has-hero .site-header:not(.scrolled):not(.open) { background: transparent; backdrop-filter: none; color: #fff; }
.has-hero .site-header:not(.scrolled):not(.open) .logo { color: #fff; }
.has-hero .site-header:not(.scrolled):not(.open) .btn { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.has-hero .site-header { position: fixed; left: 0; right: 0; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; color: inherit; }
  .site-nav { position: fixed; inset: 76px 0 auto 0; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.5rem; display: none; box-shadow: var(--shadow); }
  .site-header.open .site-nav { display: block; }
  .site-header.open { background: #fff; color: var(--ink); }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a:not(.btn) { padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav li:last-child { margin: 1rem 0 0; }
  .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); }
}

/* ----------------------------------------------------------------- hero */
.hero, .page-hero, .band { position: relative; color: #fff; background-color: var(--dark); isolation: isolate; overflow: hidden; }
/* Default (no photo): deep graphite with a soft yellow glow and a fine grid. */
.hero::before, .page-hero::before, .band::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(255,255,0,.22), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(80,110,160,.25), transparent 60%),
    linear-gradient(160deg, #1b1c20 0%, #0d0d0f 70%);
}
.has-image::before { background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55)), var(--hero-img) center / cover no-repeat; }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.has-image .hero-grid { display: none; }
/* Home hero: same scale as the interior page headers.
   Top padding adds the 76px fixed header that overlays it. */
.hero { padding: calc(76px + clamp(36px, 5vw, 64px)) 0 clamp(36px, 5vw, 64px); }
.hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 26ch; margin-bottom: 1rem; }
.hero .eyebrow, .page-hero .eyebrow { color: rgba(255,255,255,.75); }
.hero .lead { color: rgba(255,255,255,.88); margin-bottom: 1.5rem; }
.hero .lead, .page-hero .lead { font-size: clamp(1rem, 1.3vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.page-hero { padding: clamp(36px, 5vw, 64px) 0; }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 26ch; }
.page-hero .lead { color: rgba(255,255,255,.85); }
.crumbs { font-size: .82rem; color: rgba(255,255,255,.65); margin-bottom: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

.band { padding: clamp(90px, 14vw, 180px) 0; }
.band-title { font-family: var(--font-head); font-weight: 500; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.05; max-width: 12ch; margin: 0; }

/* -------------------------------------------------------------- sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .eyebrow { color: rgba(255,255,255,.6); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.row-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.row-head .h-xl { margin-bottom: 0; }
.section-sub { color: var(--muted); font-size: 1.05rem; }
.two-col { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.two-col-wide { grid-template-columns: 1fr 1.4fr; }
@media (max-width: 860px) { .two-col, .two-col-wide { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.card-grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: .4rem; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.3rem; margin: .6rem 0 .2rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0 0 .8rem; }
.card-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); flex: none; }
.card-icon .icon { width: 26px; height: 26px; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; font-size: .9rem; }
.card-more .icon { width: 1em; height: 1em; transition: transform .15s; }
.card:hover .card-more .icon, .tile:hover .card-more .icon, .job:hover .card-more .icon { transform: translateX(4px); }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile-media { aspect-ratio: 16 / 10; background: var(--dark); overflow: hidden; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover .tile-media img { transform: scale(1.03); }
.tile-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--accent); background: radial-gradient(70% 90% at 80% 10%, rgba(255,255,0,.25), transparent 60%), var(--dark); }
.tile-placeholder .icon { width: 56px; height: 56px; }
.tile-body { padding: 22px 24px 26px; }
.tile-body h3 { font-size: 1.25rem; }
.tile-body p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }

/* ----------------------------------------------------------- whitepapers */
.paper-list { display: grid; gap: 24px; max-width: 60rem; }
.paper { display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 3vw, 36px); padding: clamp(22px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 100px; }
.paper:not(:has(.paper-cover)) { grid-template-columns: 1fr; }
.paper-cover { aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; background: var(--dark); }
.paper-cover img { width: 100%; height: 100%; object-fit: cover; }
.paper-body h2 { margin-bottom: .8rem; }
.paper-body .prose { color: var(--ink-2); margin-bottom: 1.4rem; }
.paper-size { font-weight: 400; opacity: .75; }
@media (max-width: 640px) { .paper { grid-template-columns: 1fr; } .paper-cover { max-width: 180px; } }

/* -------------------------------------------------------- home features */
.intro .prose { font-size: 1.08rem; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.feature-list li { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list .num { font-family: var(--font-head); font-size: 1.1rem; color: var(--muted); padding-top: .15rem; }
.feature-list h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.feature-list p { color: var(--muted); margin: 0; }

.cap-grid { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.cap-grid a { display: flex; flex-direction: column; gap: .3rem; height: 100%; padding: 26px; background: var(--dark); text-decoration: none; transition: background .2s; }
.cap-grid a:hover { background: var(--dark-2); }
.cap-num { font-family: var(--font-head); color: var(--accent); font-size: .95rem; font-weight: 500; }
.cap-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; line-height: 1.25; }
.cap-sum { color: rgba(255,255,255,.65); font-size: .9rem; }

.process { list-style: none; margin: 0 0 clamp(40px, 6vw, 72px); padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; counter-reset: s; position: relative; }
.process::before { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--line)); }
.process li { position: relative; }
.process-dot { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 500; margin-bottom: 1rem; border: 4px solid #fff; }
.process li:first-child .process-dot { background: var(--accent); color: var(--ink); }
.process h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.process p { font-size: .88rem; color: var(--muted); margin: 0; }
@media (max-width: 1020px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
}
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

.models { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.model { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--paper-2); border-left: 4px solid var(--accent); }
.section-alt .model { background: #fff; }
.model h3 { font-size: 1.4rem; }
.model p:last-child { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .models { grid-template-columns: 1fr; } }

.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 20px; }
.ind { padding: 24px; background: #fff; border-radius: var(--radius); border-top: 3px solid var(--ink); }
.ind h3 { font-size: 1.15rem; }
.ind p { color: var(--muted); font-size: .92rem; margin: 0; }

.team-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 24px; }
.team-strip a { display: flex; flex-direction: column; gap: .15rem; text-decoration: none; }
.team-strip .avatar { margin-bottom: .8rem; }
.team-strip span { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.avatar { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); filter: grayscale(1); transition: filter .3s; background: var(--line); }
a:hover .avatar, .member:hover .avatar { filter: none; }
.avatar-initials { display: grid; place-items: center; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); color: var(--accent); background: radial-gradient(70% 90% at 80% 10%, rgba(255,255,0,.18), transparent 60%), var(--dark); filter: none; }

.notice { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: 1rem 1.3rem; margin-bottom: 1.8rem; border-radius: var(--radius-sm); background: var(--accent-soft); text-decoration: none; }
.notice .icon { width: 1em; height: 1em; }

/* ------------------------------------------------------------------- CTA */
.cta { background: var(--dark-2); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem 4rem; align-items: center; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.cta p { color: rgba(255,255,255,.75); margin: 0; max-width: 36rem; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.cta-mail { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: rgba(255,255,255,.85); }
.cta-mail:hover { color: var(--accent); }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); font-size: .92rem; padding: clamp(48px, 7vw, 80px) 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand p { margin-top: 1rem; }
.footer-h { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 500; margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-address { font-style: normal; line-height: 1.8; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; padding-top: 20px; font-size: .8rem; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- content pages */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
@media (max-width: 960px) { .sidebar { position: static; } }
.side-box { padding: 26px; border-radius: var(--radius); background: var(--paper-2); }
.side-dark { background: var(--dark); color: #fff; }
.side-dark p { color: rgba(255,255,255,.75); }
.side-dark a:not(.btn) { color: var(--accent); }
.side-h { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: .45rem 0; text-decoration: none; font-size: .92rem; border-bottom: 1px solid var(--line); }
.side-nav a:hover, .side-nav a[aria-current="page"] { font-weight: 500; }
.side-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: .7rem; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist .icon { color: var(--ink); background: var(--accent); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }

.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-top: 2.2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose ul li::marker { color: var(--accent); }
.prose a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--accent); background: var(--paper-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: var(--radius-sm); margin: 1.5rem 0; }
.prose code { background: var(--paper-2); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.prose pre { background: var(--dark); color: #eee; padding: 1rem; border-radius: var(--radius-sm); overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose-sm { font-size: .95rem; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; background: var(--paper-2); }
.lead-image img { width: 100%; border-radius: var(--radius); margin: 0 0 2rem; }

.callout { margin-top: 2rem; padding: 1.4rem 1.6rem; background: var(--accent-soft); border-radius: var(--radius); }
.callout p:last-child { margin: 0; font-size: 1.05rem; }
.callout .eyebrow { margin-bottom: .4rem; color: var(--ink); }

/* services overview */
.service-list { display: grid; gap: 0; }
.service-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 1.6rem; align-items: start; padding: 2rem 0; border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: .2rem; }
.service-row h2 a { text-decoration: none; }
.service-row h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.service-row p:last-child { color: var(--muted); margin: 0; max-width: 44rem; }
.service-row .link-arrow { align-self: center; white-space: nowrap; }
@media (max-width: 760px) { .service-row { grid-template-columns: 1fr; gap: .8rem; } }

/* capabilities */
.cap-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.cap-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 100px; }
.cap-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.cap-card h2 { font-size: 1.35rem; }
.cap-card h2 a { text-decoration: none; }
.cap-card > p { color: var(--muted); }
.cap-card .link-arrow { margin-top: auto; align-self: flex-start; }
.tags { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: .78rem; padding: .3rem .7rem; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); line-height: 1.3; }
.topic-group { margin-bottom: 2.6rem; }
.topics { margin: 0; display: grid; border-top: 1px solid var(--line); }
.topics > div { display: grid; grid-template-columns: minmax(150px, 15rem) 1fr; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.topics dt { font-weight: 500; }
.topics dd { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .topics > div { grid-template-columns: 1fr; gap: .2rem; } }

/* facts */
.facts { margin: 0 0 1rem; display: grid; gap: .7rem; }
.facts dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 400; }

/* team page */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px); }
.member { display: grid; grid-template-columns: 170px 1fr; gap: 1.6rem; align-items: start; scroll-margin-top: 100px; }
.member h2 { font-size: 1.5rem; margin-bottom: .1rem; }
.member .tags { margin: .8rem 0 1rem; }
@media (max-width: 520px) { .member { grid-template-columns: 1fr; } .member .avatar { max-width: 220px; } }

/* vacancies */
.job-list { display: grid; gap: 16px; }
.job { display: grid; grid-template-columns: 1fr auto; gap: .6rem 2rem; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.job:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.job h2 { font-size: 1.4rem; }
.job p { color: var(--muted); margin: 0; }
.job-meta { list-style: none; margin: 0; padding: 0; font-size: .9rem; display: grid; gap: .3rem; align-content: start; }
.job-meta li { display: flex; align-items: center; gap: .4rem; }
.job .card-more { grid-column: 1 / -1; }
@media (max-width: 640px) { .job { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 1.05rem; font-size: 1.6rem; font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary h2 { font-size: 1.2rem; margin: 0; display: inline; }
.faq .prose { padding-bottom: 1.3rem; color: var(--ink-2); }

/* forms */
.form { display: grid; gap: 1.1rem; max-width: 44rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 400; margin-bottom: .35rem; }
.field input:not([type="checkbox"]), .field textarea { width: 100%; font: inherit; font-weight: 300; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #c62828 !important; }
.field.check label { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.field.check input { margin-top: .35rem; accent-color: var(--ink); }
.field-error { color: #c62828; font-size: .85rem; margin: .3rem 0 0; }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.success { padding: 2rem; border-radius: var(--radius); background: var(--accent-soft); }
.contact-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list .icon { margin-top: .25rem; }

/* misc */
.empty { text-align: center; padding: 3rem 1rem; background: var(--paper-2); border-radius: var(--radius); }
.pager { display: flex; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; align-items: center; }
.rss { margin-top: 2rem; font-size: .85rem; color: var(--muted); }
.more { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .cta, .sidebar .side-dark, .hero-actions { display: none !important; }
  .hero, .page-hero { color: #000; background: none; padding: 1rem 0; min-height: 0; }
  .hero::before, .page-hero::before { display: none; }
}
